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
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1999-07-16 01:04:24 +02:00
|
|
|
* $Id: printtup.h,v 1.11 1999/07/15 23:03:35 momjian 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
|
|
|
|
1999-05-25 18:15:34 +02: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,
|
1999-05-26 00:43:53 +02:00
|
|
|
DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
extern void printtup_internal(HeapTuple tuple, TupleDesc typeinfo,
|
1999-05-26 00:43:53 +02:00
|
|
|
DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
|
|
|
|
/* XXX this one is really in executor/spi.c */
|
|
|
|
extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc,
|
1999-05-26 00:43:53 +02:00
|
|
|
DestReceiver *self);
|
1999-01-27 01:36:28 +01:00
|
|
|
|
1999-05-25 18:15:34 +02:00
|
|
|
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 */
|