mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
set_ps_display when calling functions via fastpath
This improves tag output by log_line_prefix
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user