diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-05-09 14:15:37 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-05-09 14:15:37 -0400 |
commit | fe20afaee8aac7838ed6e4a76baa83e547629582 (patch) | |
tree | 4317539d93de3fc37ef65fcd3898f2b176130369 /contrib/jsonb_plpython/sql/jsonb_plpython.sql | |
parent | 29904f5f2fdafbbb96ef3685fd361053b061aeb1 (diff) | |
download | postgresql-fe20afaee8aac7838ed6e4a76baa83e547629582.tar.gz postgresql-fe20afaee8aac7838ed6e4a76baa83e547629582.zip |
Fix core dump in transformValuesClause when there are no columns.
The parser code that transformed VALUES from row-oriented to
column-oriented lists failed if there were zero columns.
You can't write that straightforwardly (though probably you
should be able to), but the case can be reached by expanding
a "tab.*" reference to a zero-column table.
Per bug #17477 from Wang Ke. Back-patch to all supported branches.
Discussion: https://postgr.es/m/17477-0af3c6ac6b0a6ae0@postgresql.org
Diffstat (limited to 'contrib/jsonb_plpython/sql/jsonb_plpython.sql')
0 files changed, 0 insertions, 0 deletions