Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3026027

Browse files
committed
set_ps_display when calling functions via fastpath
This improves tag output by log_line_prefix
1 parentb68193c commit3026027

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)

[8]ページ先頭

©2009-2025 Movatter.jp