mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
set_ps_display when calling functions via fastpath
This improves tag output by log_line_prefix
This commit is contained in:
parent
b68193c0c7
commit
3026027ec3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user