Commit fe54c54d authored by Bruce Momjian's avatar Bruce Momjian

Allow SELECT NULL as EMPTY_FIELD, Patrick.

parent 4213e44a
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.43 1997/09/08 03:19:57 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.44 1997/09/12 22:14:48 momjian Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -2740,7 +2740,7 @@ res_target_list2: res_target_list2 ',' res_target_el2 ...@@ -2740,7 +2740,7 @@ res_target_list2: res_target_list2 ',' res_target_el2
; ;
/* AS is not optional because shift/red conflict with unary ops */ /* AS is not optional because shift/red conflict with unary ops */
res_target_el2: a_expr AS ColId res_target_el2: a_expr_or_null AS ColId
{ {
$$ = makeNode(ResTarget); $$ = makeNode(ResTarget);
$$->name = $3; $$->name = $3;
......
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