0002-Remove-js_quotes-union-entry.patch.nocfbot

text/plain

Filename: 0002-Remove-js_quotes-union-entry.patch.nocfbot
Type: text/plain
Part: 1
Message: Re: remaining sql/json patches
From b669a45c9603a23db240cf1566b3f2e726254ac4 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Tue, 21 Nov 2023 05:28:17 +0100
Subject: [PATCH 2/6] Remove js_quotes %union entry

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

diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 9a7058b767..a8cce5b00e 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -280,7 +280,6 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
 	struct KeyAction *keyaction;
 	JsonBehavior *jsbehavior;
 	JsonBehaviorClause *jsbehaviorclause;
-	JsonQuotes	js_quotes;
 }
 
 %type <node>	stmt toplevel_stmt schema_stmt routine_body_stmt
@@ -662,12 +661,12 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
 %type <ival>	json_encoding_clause_opt
 				json_predicate_type_constraint
 				json_wrapper_behavior
+				json_quotes_clause_opt
 %type <boolean>	json_key_uniqueness_constraint_opt
 				json_object_constructor_null_clause_opt
 				json_array_constructor_null_clause_opt
 %type <jsbehavior>	json_behavior
 %type <jsbehaviorclause> json_behavior_clause_opt
-%type <js_quotes>	json_quotes_clause_opt
 
 
 /*
-- 
2.42.1