diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/include/commands/command.h | |
parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) | |
download | postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.zip |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/include/commands/command.h')
-rw-r--r-- | src/include/commands/command.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/include/commands/command.h b/src/include/commands/command.h index 850da5681b1..d91d7b3a913 100644 --- a/src/include/commands/command.h +++ b/src/include/commands/command.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: command.h,v 1.3 1996/11/06 08:05:02 scrappy Exp $ + * $Id: command.h,v 1.4 1997/08/19 21:38:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,16 +18,6 @@ extern MemoryContext PortalExecutorHeapMemory; /* - * PortalCleanup -- - * Cleans up the query state of the portal. - * - * Exceptions: - * BadArg if portal invalid. - */ -extern void PortalCleanup(Portal portal); - - -/* * PerformPortalFetch -- * Performs the POSTQUEL function FETCH. Fetches count (or all if 0) * tuples in portal with name in the forward direction iff goForward. @@ -45,6 +35,8 @@ extern void PerformPortalFetch(char *name, bool forward, int count, */ extern void PerformPortalClose(char *name, CommandDest dest); +extern void PortalCleanup(Portal portal); + /* * PerformAddAttribute -- * Performs the POSTQUEL function ADD. |