pgsql: SQL/JSON: Prevent ON EMPTY for EXISTS columns in JSON_TABLE()
Started by Amit Langotealmost 2 years ago1 messagescomitters
SQL/JSON: Prevent ON EMPTY for EXISTS columns in JSON_TABLE()
Due to an oversight in de3600452b61, the ON EMPTY clause was
incorrectly allowed in the EXISTS column. Fix the grammar to prevent
this.
Discussion: /messages/by-id/CA+HiwqHh3YDXTpccgAo4CdfV9Mhy+mg=oh6t8rfM5uLW1BJN4g@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e3c1393efc31ac70de7b68e9a283ec3f2d7f9bd2
Modified Files
--------------
src/backend/parser/gram.y | 6 +++---
src/test/regress/expected/sqljson_jsontable.out | 5 +++++
src/test/regress/sql/sqljson_jsontable.sql | 3 +++
3 files changed, 11 insertions(+), 3 deletions(-)