|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | * NOTES
|
14 | 14 | * this is the "main" module of the postgres backend and
|
@@ -1610,10 +1610,11 @@ exec_bind_message(StringInfo input_message)
|
1610 | 1610 | break;
|
1611 | 1611 | case2:
|
1612 | 1612 | ereport(LOG,
|
1613 |
| -(errmsg("duration: %s ms bind %s to%s: %s", |
| 1613 | +(errmsg("duration: %s ms bind %s%s%s: %s", |
1614 | 1614 | msec_str,
|
1615 |
| -*portal_name ?portal_name :"<unnamed>", |
1616 | 1615 | *stmt_name ?stmt_name :"<unnamed>",
|
| 1616 | +*portal_name ?"/" :"", |
| 1617 | +*portal_name ?portal_name :"", |
1617 | 1618 | pstmt->query_string ?pstmt->query_string :"<source not stored>"),
|
1618 | 1619 | errdetail_params(params)));
|
1619 | 1620 | break;
|
@@ -1740,8 +1741,8 @@ exec_execute_message(const char *portal_name, long max_rows)
|
1740 | 1741 | ereport(LOG,
|
1741 | 1742 | (errmsg("%s %s%s%s%s%s",
|
1742 | 1743 | execute_is_fetch ?
|
1743 |
| -_("statement:execute fetch from") : |
1744 |
| -_("statement:execute"), |
| 1744 | +_("execute fetch from") : |
| 1745 | +_("execute"), |
1745 | 1746 | prepStmtName,
|
1746 | 1747 | *portal_name ?"/" :"",
|
1747 | 1748 | *portal_name ?portal_name :"",
|
|