]> granicus.if.org Git - postgresql/blob - src/include/access/printtup.h
Update copyright to 2002.
[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.20 2002/06/20 20:29:43 momjian 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);
20
21 extern void debugSetup(DestReceiver *self, int operation,
22                                            const char *portalName, TupleDesc typeinfo);
23 extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
24                                          DestReceiver *self);
25
26 /* XXX this one is really in executor/spi.c */
27 extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc,
28                          DestReceiver *self);
29
30 extern bool getTypeOutputInfo(Oid type, Oid *typOutput, Oid *typElem,
31                                   bool *typIsVarlena);
32
33 #endif   /* PRINTTUP_H */