Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3026027

Browse files
committed
set_ps_display when calling functions via fastpath
This improves tag output by log_line_prefix
1 parent b68193c commit 3026027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/tcop/postgres.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3994,8 +3994,9 @@ PostgresMain(int argc, char *argv[], const char *username)
39943994
/* Set statement_timestamp() */
39953995
SetCurrentStatementStartTimestamp();
39963996

3997-
/* Tell the collector what we're doing */
3997+
/* Report query to various monitoring facilities. */
39983998
pgstat_report_activity("<FASTPATH> function call");
3999+
set_ps_display("<FASTPATH>", false);
39994000

40004001
/* start an xact for this function invocation */
40014002
start_xact_command();

0 commit comments

Comments
 (0)