From fe54c54da3051dafcfa208eb3ddaa1eccac47ee7 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 12 Sep 1997 22:14:48 +0000
Subject: [PATCH] Allow SELECT NULL as EMPTY_FIELD, Patrick.

---
 src/backend/parser/gram.y | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 87cbb180a06..7e74bac4183 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -10,7 +10,7 @@
  *
  *
  * 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
  *	  AUTHOR			DATE			MAJOR EVENT
@@ -2740,7 +2740,7 @@ res_target_list2: res_target_list2 ',' res_target_el2
 		;
 
 /* 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);
 					$$->name = $3;
-- 
GitLab