mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Implement feature of new FE/BE protocol whereby RowDescription identifies
the column by table OID and column number, if it's a simple column reference. Along the way, get rid of reskey/reskeyop fields in Resdoms. Turns out that representation was not convenient for either the planner or the executor; we can make the planner deliver exactly what the executor wants with no more effort. initdb forced due to change in stored rule representation.
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.24 2003/05/05 00:44:56 tgl Exp $
|
||||
* $Id: printtup.h,v 1.25 2003/05/06 00:20:33 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,16 +18,16 @@
|
||||
|
||||
extern DestReceiver *printtup_create_DR(bool isBinary, bool sendDescrip);
|
||||
|
||||
extern void SendRowDescriptionMessage(TupleDesc typeinfo);
|
||||
extern void SendRowDescriptionMessage(TupleDesc typeinfo, List *targetlist);
|
||||
|
||||
extern void debugSetup(DestReceiver *self, int operation,
|
||||
const char *portalName, TupleDesc typeinfo);
|
||||
const char *portalName, TupleDesc typeinfo, List *targetlist);
|
||||
extern void debugtup(HeapTuple tuple, TupleDesc typeinfo,
|
||||
DestReceiver *self);
|
||||
|
||||
/* XXX these are really in executor/spi.c */
|
||||
extern void spi_dest_setup(DestReceiver *self, int operation,
|
||||
const char *portalName, TupleDesc typeinfo);
|
||||
const char *portalName, TupleDesc typeinfo, List *targetlist);
|
||||
extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc,
|
||||
DestReceiver *self);
|
||||
|
||||
|
Reference in New Issue
Block a user