Commit 3026027e authored by Alvaro Herrera's avatar Alvaro Herrera

set_ps_display when calling functions via fastpath

This improves tag output by log_line_prefix
parent b68193c0
...@@ -3994,8 +3994,9 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment