*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.508 2006/09/08 15:55:53 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.509 2006/09/13 21:59:04 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
break;
case 2:
ereport(LOG,
- (errmsg("duration: %s ms bind %s to %s: %s",
+ (errmsg("duration: %s ms bind %s%s%s: %s",
msec_str,
- *portal_name ? portal_name : "<unnamed>",
*stmt_name ? stmt_name : "<unnamed>",
+ *portal_name ? "/" : "",
+ *portal_name ? portal_name : "",
pstmt->query_string ? pstmt->query_string : "<source not stored>"),
errdetail_params(params)));
break;
ereport(LOG,
(errmsg("%s %s%s%s%s%s",
execute_is_fetch ?
- _("statement: execute fetch from") :
- _("statement: execute"),
+ _("execute fetch from") :
+ _("execute"),
prepStmtName,
*portal_name ? "/" : "",
*portal_name ? portal_name : "",