diff options
author | Amit Langote <amitlan@postgresql.org> | 2024-09-06 10:13:03 +0900 |
---|---|---|
committer | Amit Langote <amitlan@postgresql.org> | 2024-09-06 10:14:01 +0900 |
commit | 565caaa79af9a6b3853b161b0652527e716326b8 (patch) | |
tree | ff716cdbbf96fd714ef26e42873996ba97c848cc /src/backend/access/gist/gist.c | |
parent | 68222851d5a8d2ca152a97ee69fe18a95970ed20 (diff) | |
download | postgresql-565caaa79af9a6b3853b161b0652527e716326b8.tar.gz postgresql-565caaa79af9a6b3853b161b0652527e716326b8.zip |
SQL/JSON: Fix default ON ERROR behavior for JSON_TABLE
Use EMPTY ARRAY instead of EMPTY.
This change does not affect the runtime behavior of JSON_TABLE(),
which continues to return an empty relation ON ERROR. It only alters
whether the default ON ERROR behavior is shown in the deparsed output.
Reported-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxEo4sUjKCYtda0_qt9tazqqKPmF1cqhW9KBOUeJFqQd2g@mail.gmail.com
Backpatch-through: 17
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions