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

Commit0b4bf85

Browse files
committed
Make logging of extended-protocol commands a bit more consistent, per
discussion with Guillaume Smet.
1 parent33d3ad4 commit0b4bf85

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.508 2006/09/08 15:55:53 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.509 2006/09/13 21:59:04 tgl Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1610,10 +1610,11 @@ exec_bind_message(StringInfo input_message)
16101610
break;
16111611
case2:
16121612
ereport(LOG,
1613-
(errmsg("duration: %s ms bind %s to%s: %s",
1613+
(errmsg("duration: %s ms bind %s%s%s: %s",
16141614
msec_str,
1615-
*portal_name ?portal_name :"<unnamed>",
16161615
*stmt_name ?stmt_name :"<unnamed>",
1616+
*portal_name ?"/" :"",
1617+
*portal_name ?portal_name :"",
16171618
pstmt->query_string ?pstmt->query_string :"<source not stored>"),
16181619
errdetail_params(params)));
16191620
break;
@@ -1740,8 +1741,8 @@ exec_execute_message(const char *portal_name, long max_rows)
17401741
ereport(LOG,
17411742
(errmsg("%s %s%s%s%s%s",
17421743
execute_is_fetch ?
1743-
_("statement:execute fetch from") :
1744-
_("statement:execute"),
1744+
_("execute fetch from") :
1745+
_("execute"),
17451746
prepStmtName,
17461747
*portal_name ?"/" :"",
17471748
*portal_name ?portal_name :"",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp