summaryrefslogtreecommitdiff
path: root/src/backend/nodes/equalfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-02 02:13:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-02 02:13:02 +0000
commit248c67d7ed505d98d3a94cd3954835255317ff16 (patch)
treedc45c941a494e35842a70e1383129d31aa8f25e0 /src/backend/nodes/equalfuncs.c
parentc7a165adc64e3e67e0dcee4088d84a0638b3515a (diff)
downloadpostgresql-248c67d7ed505d98d3a94cd3954835255317ff16.tar.gz
CREATE OR REPLACE VIEW, CREATE OR REPLACE RULE.
Gavin Sherry, Neil Conway, and Tom Lane all got their hands dirty on this one ...
Diffstat (limited to 'src/backend/nodes/equalfuncs.c')
-rw-r--r--src/backend/nodes/equalfuncs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c
index 10b8e79933..7f677c0837 100644
--- a/src/backend/nodes/equalfuncs.c
+++ b/src/backend/nodes/equalfuncs.c
@@ -20,7 +20,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.157 2002/08/31 22:10:43 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.158 2002/09/02 02:13:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1003,6 +1003,8 @@ _equalRuleStmt(RuleStmt *a, RuleStmt *b)
return false;
if (a->instead != b->instead)
return false;
+ if (a->replace != b->replace)
+ return false;
if (!equal(a->actions, b->actions))
return false;
@@ -1067,6 +1069,8 @@ _equalViewStmt(ViewStmt *a, ViewStmt *b)
return false;
if (!equal(a->query, b->query))
return false;
+ if (a->replace != b->replace)
+ return false;
return true;
}