Header And Logo

PostgreSQL
| The world's most advanced open source database.

printtup.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * printtup.h
00004  *
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/access/printtup.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef PRINTTUP_H
00015 #define PRINTTUP_H
00016 
00017 #include "utils/portal.h"
00018 
00019 extern DestReceiver *printtup_create_DR(CommandDest dest);
00020 
00021 extern void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal);
00022 
00023 extern void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist,
00024                           int16 *formats);
00025 
00026 extern void debugStartup(DestReceiver *self, int operation,
00027              TupleDesc typeinfo);
00028 extern void debugtup(TupleTableSlot *slot, DestReceiver *self);
00029 
00030 /* XXX these are really in executor/spi.c */
00031 extern void spi_dest_startup(DestReceiver *self, int operation,
00032                  TupleDesc typeinfo);
00033 extern void spi_printtup(TupleTableSlot *slot, DestReceiver *self);
00034 
00035 #endif   /* PRINTTUP_H */