1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

For protocol-level prepare/bind/execute:

o  print user name for all
	o  print portal name if defined for all
	o  print query for all
	o  reduce log_statement header to single keyword
	o  print bind parameters as DETAIL if text mode
This commit is contained in:
Bruce Momjian
2006-08-08 01:23:15 +00:00
parent 2dd7ab0627
commit 3716f90c39
7 changed files with 63 additions and 24 deletions

View File

@ -10,7 +10,7 @@
* Copyright (c) 2002-2006, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.58 2006/07/14 14:52:18 momjian Exp $
* $PostgreSQL: pgsql/src/backend/commands/prepare.c,v 1.59 2006/08/08 01:23:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -201,6 +201,7 @@ ExecuteQuery(ExecuteStmt *stmt, ParamListInfo params,
}
PortalDefineQuery(portal,
NULL,
query_string,
entry->commandTag,
query_list,