mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Fix coredump in plpgsql when trying to return a rowtype result.
Need to return a TupleTableSlot, not just a bare tuple.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
*
|
||||
* spi.h
|
||||
*
|
||||
* $Id: spi.h,v 1.31 2001/11/05 17:46:33 momjian Exp $
|
||||
* $Id: spi.h,v 1.32 2001/11/05 19:41:56 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -89,6 +89,8 @@ extern int SPI_freeplan(void *plan);
|
||||
|
||||
extern HeapTuple SPI_copytuple(HeapTuple tuple);
|
||||
extern TupleDesc SPI_copytupledesc(TupleDesc tupdesc);
|
||||
extern TupleTableSlot *SPI_copytupleintoslot(HeapTuple tuple,
|
||||
TupleDesc tupdesc);
|
||||
extern HeapTuple SPI_modifytuple(Relation rel, HeapTuple tuple, int natts,
|
||||
int *attnum, Datum *Values, char *Nulls);
|
||||
extern int SPI_fnumber(TupleDesc tupdesc, char *fname);
|
||||
|
Reference in New Issue
Block a user