diff options
| author | Bruce Momjian <bruce@momjian.us> | 2006-08-08 01:23:15 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2006-08-08 01:23:15 +0000 |
| commit | 3716f90c39150ccc97d4ebd8615fcb6141663b8e (patch) | |
| tree | 6b3d873d851a4f941b6d3db761ac7a9718f6604b /src/include/utils/portal.h | |
| parent | 2dd7ab062793c89419bb6a49e3f5c3f6120e830f (diff) | |
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
Diffstat (limited to 'src/include/utils/portal.h')
| -rw-r--r-- | src/include/utils/portal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h index 059948f2aec..3704240ff50 100644 --- a/src/include/utils/portal.h +++ b/src/include/utils/portal.h @@ -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, |
