mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Update 3.0 protocol support to match recent agreements about how to
handle multiple 'formats' for data I/O. Restructure CommandDest and DestReceiver stuff one more time (it's finally starting to look a bit clean though). Code now matches latest 3.0 protocol document as far as message formats go --- but there is no support for binary I/O yet.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: printtup.h,v 1.26 2003/05/06 20:26:27 tgl Exp $
|
||||
* $Id: printtup.h,v 1.27 2003/05/08 18:16:37 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,18 +16,19 @@
|
||||
|
||||
#include "tcop/dest.h"
|
||||
|
||||
extern DestReceiver *printtup_create_DR(CommandDest dest);
|
||||
extern DestReceiver *printtup_create_DR(CommandDest dest, Portal portal);
|
||||
|
||||
extern void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist);
|
||||
extern void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist,
|
||||
int16 *formats);
|
||||
|
||||
extern void debugStartup(DestReceiver *self, int operation,
|
||||
const char *portalName, TupleDesc typeinfo, List *targetlist);
|
||||
TupleDesc typeinfo);
|
||||
extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
|
||||
DestReceiver *self);
|
||||
|
||||
/* XXX these are really in executor/spi.c */
|
||||
extern void spi_dest_startup(DestReceiver *self, int operation,
|
||||
const char *portalName, TupleDesc typeinfo, List *targetlist);
|
||||
TupleDesc typeinfo);
|
||||
extern void spi_printtup(HeapTuple tuple, TupleDesc typeinfo,
|
||||
DestReceiver *self);
|
||||
|
||||
|
Reference in New Issue
Block a user