1996-08-27 23:50:29 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* printtup.h
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
|
|
|
*
|
2002-06-20 22:29:54 +02:00
|
|
|
* Portions Copyright (c) 1996-2002, 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
|
|
|
*
|
2003-05-08 20:16:37 +02:00
|
|
|
* $Id: printtup.h,v 1.27 2003/05/08 18:16:37 tgl Exp $
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef PRINTTUP_H
|
1996-08-27 23:50:29 +02:00
|
|
|
#define PRINTTUP_H
|
|
|
|
|
1999-07-16 01:04:24 +02:00
|
|
|
#include "tcop/dest.h"
|
1996-08-27 23:50:29 +02:00
|
|
|
|
2003-05-08 20:16:37 +02:00
|
|
|
extern DestReceiver *printtup_create_DR(CommandDest dest, Portal portal);
|
2003-05-05 02:44:56 +02:00
|
|
|
|
2003-05-08 20:16:37 +02:00
|
|
|
extern void SendRowDescriptionMessage(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);
|
1999-01-27 01:36:28 +01:00
|
|
|
extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
|
2002-09-04 22:31:48 +02:00
|
|
|
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);
|
2003-05-06 22:26:28 +02:00
|
|
|
extern void spi_printtup(HeapTuple tuple, TupleDesc typeinfo,
|
2001-03-22 05:01:46 +01:00
|
|
|
DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PRINTTUP_H */
|