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() */
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();