1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

Add INSERT(..., DEFAULT, ).

Rod Taylor
This commit is contained in:
Bruce Momjian
2002-04-05 11:56:55 +00:00
parent aab0b8f5eb
commit 97b4e5ad30
11 changed files with 123 additions and 16 deletions

View File

@@ -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.122 2002/03/29 19:06:08 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.123 2002/04/05 11:56:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -773,6 +773,12 @@ _equalFuncWithArgs(FuncWithArgs *a, FuncWithArgs *b)
&& equal(a->funcargs, b->funcargs);
}
static bool
_equalInsertDefault(InsertDefault *a, InsertDefault *b)
{
return true;
}
static bool
_equalClosePortalStmt(ClosePortalStmt *a, ClosePortalStmt *b)
{
@@ -2215,6 +2221,9 @@ equal(void *a, void *b)
case T_FuncWithArgs:
retval = _equalFuncWithArgs(a, b);
break;
case T_InsertDefault:
retval = _equalInsertDefault(a, b);
break;
default:
elog(WARNING, "equal: don't know whether nodes of type %d are equal",