diff options
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/dest.h | 10 | ||||
| -rw-r--r-- | src/include/tcop/pquery.h | 5 | ||||
| -rw-r--r-- | src/include/tcop/utility.h | 5 |
3 files changed, 13 insertions, 7 deletions
diff --git a/src/include/tcop/dest.h b/src/include/tcop/dest.h index e23eb6bc58d..d5ac420ce6e 100644 --- a/src/include/tcop/dest.h +++ b/src/include/tcop/dest.h @@ -39,7 +39,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: dest.h,v 1.28 2001/11/05 17:46:36 momjian Exp $ + * $Id: dest.h,v 1.29 2002/02/26 22:47:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -48,6 +48,11 @@ #include "access/htup.h" + +/* buffer size to use for command completion tags */ +#define COMPLETION_TAG_BUFSIZE 64 + + /* ---------------- * CommandDest is a simplistic means of identifying the desired * destination. Someday this will probably need to be improved. @@ -88,7 +93,7 @@ extern void BeginCommand(char *pname, int operation, TupleDesc attinfo, bool isIntoRel, bool isIntoPortal, char *tag, CommandDest dest); extern DestReceiver *DestToFunction(CommandDest dest); -extern void EndCommand(char *commandTag, CommandDest dest); +extern void EndCommand(const char *commandTag, CommandDest dest); /* Additional functions that go with destination management, more or less. */ @@ -96,6 +101,5 @@ extern void SendCopyBegin(void); extern void ReceiveCopyBegin(void); extern void NullCommand(CommandDest dest); extern void ReadyForQuery(CommandDest dest); -extern void UpdateCommandInfo(int operation, Oid lastoid, uint32 tuples); #endif /* DEST_H */ diff --git a/src/include/tcop/pquery.h b/src/include/tcop/pquery.h index dbca9de8c69..6333e01653c 100644 --- a/src/include/tcop/pquery.h +++ b/src/include/tcop/pquery.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pquery.h,v 1.19 2001/11/05 17:46:36 momjian Exp $ + * $Id: pquery.h,v 1.20 2002/02/26 22:47:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,8 @@ #include "utils/portal.h" -extern void ProcessQuery(Query *parsetree, Plan *plan, CommandDest dest); +extern void ProcessQuery(Query *parsetree, Plan *plan, CommandDest dest, + char *completionTag); extern EState *CreateExecutorState(void); diff --git a/src/include/tcop/utility.h b/src/include/tcop/utility.h index 8e05c424a4a..5b37eb01916 100644 --- a/src/include/tcop/utility.h +++ b/src/include/tcop/utility.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: utility.h,v 1.13 2001/11/05 17:46:36 momjian Exp $ + * $Id: utility.h,v 1.14 2002/02/26 22:47:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +16,7 @@ #include "executor/execdesc.h" -extern void ProcessUtility(Node *parsetree, CommandDest dest); +extern void ProcessUtility(Node *parsetree, CommandDest dest, + char *completionTag); #endif /* UTILITY_H */ |
