summaryrefslogtreecommitdiff
path: root/src/include/commands/prepare.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-22 17:45:46 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-22 17:45:46 +0000
commite98edb5555de0197ba4ffc99b4f3db134c99a86f (patch)
treef022547496d97cf1984bae42f972e5da458510a5 /src/include/commands/prepare.h
parent84d73a6dbc23dda43bf4d83ee71b344063524cbe (diff)
downloadpostgresql-e98edb5555de0197ba4ffc99b4f3db134c99a86f.tar.gz
Fix the mechanism for reporting the original table OID and column number
of columns of a query result so that it can "see through" cursors and prepared statements. Per gripe a couple months back from John DeSoi.
Diffstat (limited to 'src/include/commands/prepare.h')
-rw-r--r--src/include/commands/prepare.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/prepare.h b/src/include/commands/prepare.h
index 4a8cde5235..b6c315bd42 100644
--- a/src/include/commands/prepare.h
+++ b/src/include/commands/prepare.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.13 2005/01/01 05:43:09 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.14 2005/06/22 17:45:46 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -59,5 +59,6 @@ extern PreparedStatement *FetchPreparedStatement(const char *stmt_name,
extern void DropPreparedStatement(const char *stmt_name, bool showError);
extern List *FetchPreparedStatementParams(const char *stmt_name);
extern TupleDesc FetchPreparedStatementResultDesc(PreparedStatement *stmt);
+extern List *FetchPreparedStatementTargetList(PreparedStatement *stmt);
#endif /* PREPARE_H */