Skip to content

Commit fe54c54

Browse files
committed
Allow SELECT NULL as EMPTY_FIELD, Patrick.
1 parent 4213e44 commit fe54c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/parser/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.43 1997/09/08 03:19:57 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.44 1997/09/12 22:14:48 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHOR DATE MAJOR EVENT
@@ -2740,7 +2740,7 @@ res_target_list2: res_target_list2 ',' res_target_el2
27402740
;
27412741

27422742
/* AS is not optional because shift/red conflict with unary ops */
2743-
res_target_el2: a_expr AS ColId
2743+
res_target_el2: a_expr_or_null AS ColId
27442744
{
27452745
$$ = makeNode(ResTarget);
27462746
$$->name = $3;

0 commit comments

Comments
 (0)