aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-03-20 23:40:34 +0000
committerNeil Conway <neilc@samurai.com>2005-03-20 23:40:34 +0000
commitfe7015f5e821d70428995f04726215fc79294f10 (patch)
tree380d001fd45874f03058f49004f27cd1468c6913 /src/backend/executor/execMain.c
parent9e0dd8459658c93ffb6f6bad9bbdd7122e551d51 (diff)
downloadpostgresql-fe7015f5e821d70428995f04726215fc79294f10.tar.gz
postgresql-fe7015f5e821d70428995f04726215fc79294f10.zip
Change the return value of HeapTupleSatisfiesUpdate() to be an enum,
rather than an integer, and fix the associated fallout. From Alvaro Herrera.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 0294063d3f5..ad3ff3e5b90 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.242 2005/03/16 21:38:06 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.243 2005/03/20 23:40:25 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1116,7 +1116,7 @@ lnext: ;
Buffer buffer;
HeapTupleData tuple;
TupleTableSlot *newSlot;
- int test;
+ HTSU_Result test;
if (!ExecGetJunkAttribute(junkfilter,
slot,
@@ -1396,7 +1396,7 @@ ExecDelete(TupleTableSlot *slot,
ResultRelInfo *resultRelInfo;
Relation resultRelationDesc;
ItemPointerData ctid;
- int result;
+ HTSU_Result result;
/*
* get information on the (current) result relation
@@ -1500,7 +1500,7 @@ ExecUpdate(TupleTableSlot *slot,
ResultRelInfo *resultRelInfo;
Relation resultRelationDesc;
ItemPointerData ctid;
- int result;
+ HTSU_Result result;
int numIndices;
/*