Commit c0941ab7 authored by Bruce Momjian's avatar Bruce Momjian

Remove Dan's fix of SELECT NULL to fix INSERT NULL.

parent 7f8b8b9e
...@@ -8,7 +8,7 @@ ...@@ -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) ...@@ -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;
} }
} }
......
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* *
* 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 $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment