diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-11-22 15:48:32 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-11-22 15:48:32 -0500 |
commit | 17958972fe3bb03454a4b53756b29d65dc285efa (patch) | |
tree | 07421734b1b170cc6229bac01cc3daf79792209c /src/backend/access/gist/gistproc.c | |
parent | 9fe649ea295f00baf6d0f0c1f9b0cb1298f64fb9 (diff) | |
download | postgresql-17958972fe3bb03454a4b53756b29d65dc285efa.tar.gz postgresql-17958972fe3bb03454a4b53756b29d65dc285efa.zip |
Allow a multi-row INSERT to specify DEFAULTs for a generated column.
One can say "INSERT INTO tab(generated_col) VALUES (DEFAULT)" and not
draw an error. But the equivalent case for a multi-row VALUES list
always threw an error, even if one properly said DEFAULT in each row.
Fix that. While here, improve the test cases for nearby logic about
OVERRIDING SYSTEM/USER values.
Dean Rasheed
Discussion: https://postgr.es/m/9q0sgcr416t.fsf@gmx.us
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions