aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2019-01-10 15:53:45 -0500
committerAndrew Dunstan <andrew@dunslane.net>2019-01-10 16:24:57 -0500
commit076ffbcb5f45eeffb20940842e0f45bdcb4a32fc (patch)
tree7df2592bd119f92df9c9a03d7f40d9350ee15989 /src/backend/executor/nodeModifyTable.c
parent312d21d8635065c14d392b4e5469e7abc03f2bde (diff)
downloadpostgresql-076ffbcb5f45eeffb20940842e0f45bdcb4a32fc.tar.gz
postgresql-076ffbcb5f45eeffb20940842e0f45bdcb4a32fc.zip
Fix missing values when doing ALTER TABLE ALTER COLUMN TYPE
This was an oversight in commit 16828d5c. If the table is going to be rewritten, we simply clear all the missing values from all the table's attributes, since there will no longer be any rows with the attributes missing. Otherwise, we repackage the missing value in an array constructed with the new type specifications. Backpatch to release 11. This fixes bug #15446, reported by Dmitry Molotkov Reviewed by Dean Rasheed
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions