1996-08-27 23:50:29 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* printtup.h
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/access/printtup.h
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PRINTTUP_H
|
|
|
|
#define PRINTTUP_H
|
|
|
|
|
2008-11-30 21:51:25 +01:00
|
|
|
#include "utils/portal.h"
|
1996-08-27 23:50:29 +02:00
|
|
|
|
2008-11-30 21:51:25 +01:00
|
|
|
extern DestReceiver *printtup_create_DR(CommandDest dest);
|
|
|
|
|
|
|
|
extern void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal);
|
2003-05-05 02:44:56 +02:00
|
|
|
|
2017-10-12 01:49:31 +02:00
|
|
|
extern void SendRowDescriptionMessage(StringInfo buf,
|
|
|
|
TupleDesc typeinfo, List *targetlist, int16 *formats);
|
2000-12-01 23:10:31 +01:00
|
|
|
|
2003-05-06 22:26:28 +02:00
|
|
|
extern void debugStartup(DestReceiver *self, int operation,
|
2003-05-08 20:16:37 +02:00
|
|
|
TupleDesc typeinfo);
|
2016-06-06 20:52:58 +02:00
|
|
|
extern bool debugtup(TupleTableSlot *slot, DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
|
2003-01-21 23:06:12 +01:00
|
|
|
/* XXX these are really in executor/spi.c */
|
2003-05-06 22:26:28 +02:00
|
|
|
extern void spi_dest_startup(DestReceiver *self, int operation,
|
2003-05-08 20:16:37 +02:00
|
|
|
TupleDesc typeinfo);
|
2016-06-06 20:52:58 +02:00
|
|
|
extern bool spi_printtup(TupleTableSlot *slot, DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
|
1996-08-27 23:50:29 +02:00
|
|
|
#endif /* PRINTTUP_H */
|