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:
parent
b68193c0c7
commit
3026027ec3
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user