diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-11-24 00:44:37 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-11-24 00:44:37 +0000 |
commit | bb10bf319eb301cdb5d11a5fb1709348754ac6b3 (patch) | |
tree | 830a88642fbc598f9901d8464a582ef0f9335e20 /src/backend/executor/execMain.c | |
parent | 6f9ff92cc0ff6a07d2fe38abe044286ee98d44a0 (diff) | |
download | postgresql-bb10bf319eb301cdb5d11a5fb1709348754ac6b3.tar.gz postgresql-bb10bf319eb301cdb5d11a5fb1709348754ac6b3.zip |
Rename heap_replace to heap_update.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r-- | src/backend/executor/execMain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 1785093d0ec..4d5b25a7d9f 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -26,7 +26,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.100 1999/11/07 23:08:05 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.101 1999/11/24 00:44:31 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1350,7 +1350,7 @@ ExecReplace(TupleTableSlot *slot, * replace the heap tuple */ lreplace:; - result = heap_replace(resultRelationDesc, tupleid, tuple, &ctid); + result = heap_update(resultRelationDesc, tupleid, tuple, &ctid); switch (result) { case HeapTupleSelfUpdated: @@ -1378,7 +1378,7 @@ lreplace:; return; default: - elog(ERROR, "Unknown status %u from heap_replace", result); + elog(ERROR, "Unknown status %u from heap_update", result); return; } @@ -1396,7 +1396,7 @@ lreplace:; /* * process indices * - * heap_replace updates a tuple in the base relation by invalidating it + * heap_update updates a tuple in the base relation by invalidating it * and then appending a new tuple to the relation. As a side effect, * the tupleid of the new tuple is placed in the new tuple's t_ctid * field. So we now insert index tuples using the new tupleid stored |