1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * printtup.h |
4 | * |
5 | * |
6 | * |
7 | * Portions Copyright (c) 1996-2019, 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 | |
19 | extern DestReceiver *printtup_create_DR(CommandDest dest); |
20 | |
21 | extern void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal); |
22 | |
23 | extern void SendRowDescriptionMessage(StringInfo buf, |
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 */ |
36 | |