aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-10-09 22:00:50 -0700
committerAndres Freund <andres@anarazel.de>2019-10-09 22:00:50 -0700
commit93765bd956bea26206043de8cbb0ae4b67e4df15 (patch)
tree41aad2f3c03176d3f43c78e65b4a0c2dcee01b45 /src/backend/access/gist/gistbuildbuffers.c
parent50518ec296aea3af3e00c43c2ccef74c96cb5762 (diff)
downloadpostgresql-93765bd956bea26206043de8cbb0ae4b67e4df15.tar.gz
postgresql-93765bd956bea26206043de8cbb0ae4b67e4df15.zip
Fix table rewrites that include a column without a default.
In c2fe139c201c I made ATRewriteTable() use tuple slots. Unfortunately I did not notice that columns can be added in a rewrite that do not have a default, when another column is added/altered requiring one. Initialize columns to NULL again, and add tests. Bug: #16038 Reported-By: anonymous Author: Andres Freund Discussion: https://postgr.es/m/16038-5c974541f2bf6749@postgresql.org Backpatch: 12, where the bug was introduced in c2fe139c201c
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions