PostgreSQL Source Code  git master
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 
24  TupleDesc typeinfo, List *targetlist, 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:283
bool spi_printtup(TupleTableSlot *slot, DestReceiver *self)
Definition: spi.c:1704
void spi_dest_startup(DestReceiver *self, int operation, TupleDesc typeinfo)
Definition: spi.c:1657
CommandDest
Definition: dest.h:86
void debugStartup(DestReceiver *self, int operation, TupleDesc typeinfo)
Definition: printtup.c:588
void SendRowDescriptionMessage(StringInfo buf, TupleDesc typeinfo, List *targetlist, int16 *formats)
Definition: printtup.c:197
DestReceiver * printtup_create_DR(CommandDest dest)
Definition: printtup.c:78
bool debugtup(TupleTableSlot *slot, DestReceiver *self)
Definition: printtup.c:606
static char * buf
Definition: pg_test_fsync.c:67
void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal)
Definition: printtup.c:106
Definition: pg_list.h:45