summaryrefslogtreecommitdiff
path: root/src/include/libpq/libpq.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-01-27 00:36:28 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-01-27 00:36:28 +0000
commit422221c90de5d65213e8e697ac0da77098ba22a9 (patch)
tree2248f8bc5a5afcf67abb052be918a32d17360dad /src/include/libpq/libpq.h
parent36693c05257c7a34be8f1dd1e6b4a7ce45980fa5 (diff)
Another SELECT speedup: extract OIDs of column print functions
only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
Diffstat (limited to 'src/include/libpq/libpq.h')
-rw-r--r--src/include/libpq/libpq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index cd036ca67f5..e654899909c 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq.h,v 1.25 1999/01/24 02:47:15 tgl Exp $
+ * $Id: libpq.h,v 1.26 1999/01/27 00:36:09 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,8 +18,7 @@
#include <netinet/in.h>
#include "libpq/libpq-be.h"
-#include "access/htup.h"
-#include "access/tupdesc.h"
+#include "tcop/dest.h"
/* ----------------
@@ -236,7 +235,8 @@ extern PortalEntry *be_currentportal(void);
extern PortalEntry *be_newportal(void);
extern void be_typeinit(PortalEntry *entry, TupleDesc attrs,
int natts);
-extern void be_printtup(HeapTuple tuple, TupleDesc typeinfo);
+extern void be_printtup(HeapTuple tuple, TupleDesc typeinfo,
+ DestReceiver* self);
/* in be-pqexec.c */