Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0941ab

Browse files
committed
Remove Dan's fix of SELECT NULL to fix INSERT NULL.
1 parent7f8b8b9 commitc0941ab

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

‎src/backend/parser/parse_query.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.10 1996/11/30 18:06:34 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.11 1996/12/07 04:38:10 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -654,9 +654,7 @@ make_const(Value *value)
654654
elog(NOTICE,"unknown type : %d\n",nodeTag(value));
655655

656656
/* null const */
657-
/* if we don't set a type here, things will break. */
658-
/* so set it to type 'unknown'. */
659-
con=makeConst(UNKNOWNOID,0, (Datum)NULL, TRUE,0, FALSE);
657+
con=makeConst(0,0, (Datum)NULL, TRUE,0, FALSE);
660658
returncon;
661659
}
662660
}

‎src/backend/parser/parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*-------------------------------------------------------------------------
22
*
3-
*ylib.c--
3+
*parser.c--
44
*
55
* Copyright (c) 1994, Regents of the University of California
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.14 1996/11/30 18:06:37 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.15 1996/12/07 04:38:11 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp