projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68193c
)
set_ps_display when calling functions via fastpath
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Fri, 17 Dec 2010 21:51:22 +0000
(18:51 -0300)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Fri, 17 Dec 2010 21:51:22 +0000
(18:51 -0300)
This improves tag output by log_line_prefix
src/backend/tcop/postgres.c
patch
|
blob
|
history
diff --git
a/src/backend/tcop/postgres.c
b/src/backend/tcop/postgres.c
index ff2e9bd0aaa87b22b2aa66098aa54a35d61aec7a..e690cdbf39964a79009fda25ce16cbcf47cf6262 100644
(file)
--- a/
src/backend/tcop/postgres.c
+++ b/
src/backend/tcop/postgres.c
@@
-3994,8
+3994,9
@@
PostgresMain(int argc, char *argv[], const char *username)
/* Set statement_timestamp() */
SetCurrentStatementStartTimestamp();
- /*
Tell the collector what we're doing
*/
+ /*
Report query to various monitoring facilities.
*/
pgstat_report_activity("<FASTPATH> function call");
+ set_ps_display("<FASTPATH>", false);
/* start an xact for this function invocation */
start_xact_command();