mirror of
https://github.com/postgres/postgres.git
synced 2025-05-20 00:03:14 -04:00
Remove Dan's fix of SELECT NULL to fix INSERT NULL.
This commit is contained in:
parent
7f8b8b9e42
commit
c0941ab7f0
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.10 1996/11/30 18:06:34 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.11 1996/12/07 04:38:10 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -654,9 +654,7 @@ make_const(Value *value)
|
|||||||
elog(NOTICE,"unknown type : %d\n", nodeTag(value));
|
elog(NOTICE,"unknown type : %d\n", nodeTag(value));
|
||||||
|
|
||||||
/* null const */
|
/* null const */
|
||||||
/* if we don't set a type here, things will break. */
|
con = makeConst(0, 0, (Datum)NULL, TRUE, 0, FALSE);
|
||||||
/* so set it to type 'unknown'. */
|
|
||||||
con = makeConst(UNKNOWNOID, 0, (Datum)NULL, TRUE, 0, FALSE);
|
|
||||||
return con;
|
return con;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* ylib.c--
|
* parser.c--
|
||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.14 1996/11/30 18:06:37 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.15 1996/12/07 04:38:11 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user