From: Bruce Momjian Date: Sat, 7 Dec 1996 04:38:11 +0000 (+0000) Subject: Remove Dan's fix of SELECT NULL to fix INSERT NULL. X-Git-Tag: REL2_0~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0941ab7f02768694991bc54d59b0d2ba9d7ea89;p=postgresql Remove Dan's fix of SELECT NULL to fix INSERT NULL. --- diff --git a/src/backend/parser/parse_query.c b/src/backend/parser/parse_query.c index 30028c3f81..d3fffc1b24 100644 --- a/src/backend/parser/parse_query.c +++ b/src/backend/parser/parse_query.c @@ -8,7 +8,7 @@ * * * 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)); /* null const */ - /* if we don't set a type here, things will break. */ - /* so set it to type 'unknown'. */ - con = makeConst(UNKNOWNOID, 0, (Datum)NULL, TRUE, 0, FALSE); + con = makeConst(0, 0, (Datum)NULL, TRUE, 0, FALSE); return con; } } diff --git a/src/backend/parser/parser.c b/src/backend/parser/parser.c index b93fe94ec4..728b326feb 100644 --- a/src/backend/parser/parser.c +++ b/src/backend/parser/parser.c @@ -1,12 +1,12 @@ /*------------------------------------------------------------------------- * - * ylib.c-- + * parser.c-- * * Copyright (c) 1994, Regents of the University of California * * * 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 $ * *------------------------------------------------------------------------- */