aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-01-27 23:24:11 +0000
committerNeil Conway <neilc@samurai.com>2005-01-27 23:24:11 +0000
commita885ecd6efc28b57b8079ae865a6a09035d1fc3d (patch)
tree8c1a1dcd62a1c842823a839b721f689cf65ccf6d /src/backend/commands/async.c
parent728775d781a1e18899240d099461dff163456225 (diff)
downloadpostgresql-a885ecd6efc28b57b8079ae865a6a09035d1fc3d.tar.gz
postgresql-a885ecd6efc28b57b8079ae865a6a09035d1fc3d.zip
Change heap_modifytuple() to require a TupleDesc rather than a
Relation. Patch from Alvaro Herrera, minor editorializing by Neil Conway.
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r--src/backend/commands/async.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index e93d9b71163..06f453df6df 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -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 */