mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Change heap_modifytuple() to require a TupleDesc rather than a
Relation. Patch from Alvaro Herrera, minor editorializing by Neil Conway.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.118 2004/12/31 21:59:41 pgsql Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/async.c,v 1.119 2005/01/27 23:23:54 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -523,7 +523,7 @@ AtCommit_Notify(void)
|
||||
ItemPointerData ctid;
|
||||
int result;
|
||||
|
||||
rTuple = heap_modifytuple(lTuple, lRel,
|
||||
rTuple = heap_modifytuple(lTuple, tdesc,
|
||||
value, nulls, repl);
|
||||
|
||||
/*
|
||||
@ -942,7 +942,7 @@ ProcessIncomingNotify(void)
|
||||
* tried to UNLISTEN us, so there can be no uncommitted
|
||||
* changes.
|
||||
*/
|
||||
rTuple = heap_modifytuple(lTuple, lRel, value, nulls, repl);
|
||||
rTuple = heap_modifytuple(lTuple, tdesc, value, nulls, repl);
|
||||
simple_heap_update(lRel, &lTuple->t_self, rTuple);
|
||||
|
||||
#ifdef NOT_USED /* currently there are no indexes */
|
||||
|
Reference in New Issue
Block a user