From c70e606a4c9ab39d730ef79faf59bdcd9e8d779f Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 25 Jun 2003 03:40:19 +0000 Subject: Includes: - LIKE [ INCLUDING DEFAULTS | EXCLUDING DEFAULTS ] - Quick cleanup of analyze.c function prototypes. - New non-reserved keywords (INCLUDING, EXCLUDING, DEFAULTS), SQL 200X Opted not to extend for check constraints at this time. As per the definition that it's user defined columns, OIDs are NOT inherited. Doc and Source patches attached. -- Rod Taylor --- src/backend/nodes/equalfuncs.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/backend/nodes/equalfuncs.c') diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c index 23c1018968d..0e46d46ea1b 100644 --- a/src/backend/nodes/equalfuncs.c +++ b/src/backend/nodes/equalfuncs.c @@ -18,7 +18,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.196 2003/06/24 23:14:43 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.197 2003/06/25 03:40:17 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -785,6 +785,15 @@ _equalCreateStmt(CreateStmt *a, CreateStmt *b) return true; } +static bool +_equalInhRelation(InhRelation *a, InhRelation *b) +{ + COMPARE_NODE_FIELD(relation); + COMPARE_SCALAR_FIELD(including_defaults); + + return true; +} + static bool _equalDefineStmt(DefineStmt *a, DefineStmt *b) { @@ -1807,6 +1816,9 @@ equal(void *a, void *b) case T_CreateStmt: retval = _equalCreateStmt(a, b); break; + case T_InhRelation: + retval = _equalInhRelation(a,b); + break; case T_DefineStmt: retval = _equalDefineStmt(a, b); break; -- cgit v1.2.3