1996-08-27 23:50:29 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* printtup.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-08-27 23:50:29 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1999-01-27 01:36:28 +01:00
|
|
|
* $Id: printtup.h,v 1.7 1999/01/27 00:36:10 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-01-27 01:36:28 +01:00
|
|
|
#include <tcop/dest.h>
|
1996-08-27 23:50:29 +02:00
|
|
|
|
1999-01-27 01:36:28 +01:00
|
|
|
extern DestReceiver* printtup_create_DR(void);
|
1997-09-08 04:41:22 +02:00
|
|
|
extern void showatts(char *name, TupleDesc attinfo);
|
1999-01-27 01:36:28 +01:00
|
|
|
extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
|
|
|
|
DestReceiver* self);
|
|
|
|
extern void printtup_internal(HeapTuple tuple, TupleDesc typeinfo,
|
|
|
|
DestReceiver* self);
|
|
|
|
|
|
|
|
/* XXX this one is really in executor/spi.c */
|
|
|
|
extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc,
|
|
|
|
DestReceiver* self);
|
|
|
|
|
|
|
|
extern int getTypeOutAndElem(Oid type, Oid* typOutput, Oid* typElem);
|
1996-08-27 23:50:29 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* PRINTTUP_H */
|