]> granicus.if.org Git - postgresql/blob - src/include/access/printtup.h
688a75cd2db48b340c050472309e3d3660428aac
[postgresql] / src / include / access / printtup.h
1 /*-------------------------------------------------------------------------
2  *
3  * printtup.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: printtup.h,v 1.24 2003/05/05 00:44:56 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PRINTTUP_H
15 #define PRINTTUP_H
16
17 #include "tcop/dest.h"
18
19 extern DestReceiver *printtup_create_DR(bool isBinary, bool sendDescrip);
20
21 extern void SendRowDescriptionMessage(TupleDesc typeinfo);
22
23 extern void debugSetup(DestReceiver *self, int operation,
24                    const char *portalName, TupleDesc typeinfo);
25 extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
26                  DestReceiver *self);
27
28 /* XXX these are really in executor/spi.c */
29 extern void spi_dest_setup(DestReceiver *self, int operation,
30                    const char *portalName, TupleDesc typeinfo);
31 extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc,
32                          DestReceiver *self);
33
34 #endif   /* PRINTTUP_H */