PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
printtup.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * printtup.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/access/printtup.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PRINTTUP_H
15 #define PRINTTUP_H
16 
17 #include "utils/portal.h"
18 
20 
21 extern void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal);
22 
23 extern void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist,
24  int16 *formats);
25 
26 extern void debugStartup(DestReceiver *self, int operation,
27  TupleDesc typeinfo);
28 extern bool debugtup(TupleTableSlot *slot, DestReceiver *self);
29 
30 /* XXX these are really in executor/spi.c */
31 extern void spi_dest_startup(DestReceiver *self, int operation,
32  TupleDesc typeinfo);
33 extern bool spi_printtup(TupleTableSlot *slot, DestReceiver *self);
34 
35 #endif /* PRINTTUP_H */
signed short int16
Definition: c.h:255
bool spi_printtup(TupleTableSlot *slot, DestReceiver *self)
Definition: spi.c:1683
void spi_dest_startup(DestReceiver *self, int operation, TupleDesc typeinfo)
Definition: spi.c:1636
CommandDest
Definition: dest.h:86
void debugStartup(DestReceiver *self, int operation, TupleDesc typeinfo)
Definition: printtup.c:513
DestReceiver * printtup_create_DR(CommandDest dest)
Definition: printtup.c:73
bool debugtup(TupleTableSlot *slot, DestReceiver *self)
Definition: printtup.c:532
void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal)
Definition: printtup.c:101
void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist, int16 *formats)
Definition: printtup.c:188
Definition: pg_list.h:45