1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-08 22:02:03 +03:00

set_ps_display when calling functions via fastpath

This improves tag output by log_line_prefix
This commit is contained in:
Alvaro Herrera 2010-12-17 18:51:22 -03:00
parent b68193c0c7
commit 3026027ec3

View File

@ -3994,8 +3994,9 @@ PostgresMain(int argc, char *argv[], const char *username)
/* Set statement_timestamp() */ /* Set statement_timestamp() */
SetCurrentStatementStartTimestamp(); SetCurrentStatementStartTimestamp();
/* Tell the collector what we're doing */ /* Report query to various monitoring facilities. */
pgstat_report_activity("<FASTPATH> function call"); pgstat_report_activity("<FASTPATH> function call");
set_ps_display("<FASTPATH>", false);
/* start an xact for this function invocation */ /* start an xact for this function invocation */
start_xact_command(); start_xact_command();