pgsql: SQL/JSON: Prevent ON EMPTY for EXISTS columns in JSON_TABLE()

Поиск
Список
Период
Сортировка
От Amit Langote
Тема pgsql: SQL/JSON: Prevent ON EMPTY for EXISTS columns in JSON_TABLE()
Дата
Msg-id E1sN3lk-003K40-CH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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: https://postgr.es/m/CA%2BHiwqHh3YDXTpccgAo4CdfV9Mhy%2Bmg%3Doh6t8rfM5uLW1BJN4g%40mail.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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Update modules/injection_points/.gitignore
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Prevent summarizer hang when summarize_wal turned off and back o