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/backend/utils | |
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/backend/utils')
-rw-r--r-- | src/backend/utils/mmgr/portalmem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/utils/mmgr/portalmem.c b/src/backend/utils/mmgr/portalmem.c index 1be86efe2f3..da4aee4d162 100644 --- a/src/backend/utils/mmgr/portalmem.c +++ b/src/backend/utils/mmgr/portalmem.c @@ -12,7 +12,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.90 2006/07/14 14:52:25 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.91 2006/08/08 01:23:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -244,6 +244,7 @@ CreateNewPortal(void) */ void PortalDefineQuery(Portal portal, + const char *prepStmtName, const char *sourceText, const char *commandTag, List *parseTrees, @@ -257,6 +258,7 @@ PortalDefineQuery(Portal portal, Assert(commandTag != NULL || parseTrees == NIL); + portal->prepStmtName = prepStmtName; portal->sourceText = sourceText; portal->commandTag = commandTag; portal->parseTrees = parseTrees; |