mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-05 12:57:37 +08: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:
@ -39,7 +39,7 @@
|
||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.63 2006/07/13 18:01:02 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.64 2006/08/08 01:23:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -100,6 +100,7 @@ typedef struct PortalData
|
||||
{
|
||||
/* Bookkeeping data */
|
||||
const char *name; /* portal's name */
|
||||
const char *prepStmtName; /* protocol prepare name */
|
||||
MemoryContext heap; /* subsidiary memory for portal */
|
||||
ResourceOwner resowner; /* resources owned by portal */
|
||||
void (*cleanup) (Portal portal); /* cleanup hook */
|
||||
@ -202,6 +203,7 @@ extern void PortalDrop(Portal portal, bool isTopCommit);
|
||||
extern void DropDependentPortals(MemoryContext queryContext);
|
||||
extern Portal GetPortalByName(const char *name);
|
||||
extern void PortalDefineQuery(Portal portal,
|
||||
const char *prepStmtName,
|
||||
const char *sourceText,
|
||||
const char *commandTag,
|
||||
List *parseTrees,
|
||||
|
||||
Reference in New Issue
Block a user