diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2019-01-10 15:53:45 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2019-01-10 15:53:45 -0500 |
commit | 3b174b1a355f0de2d433c16eb350b3356bdd08b8 (patch) | |
tree | 82110f952e5c2b6070864e343add8af640705982 /contrib/postgres_fdw/postgres_fdw.c | |
parent | f6cddbd4d7c0ab222f884883ef297b81b35c816e (diff) | |
download | postgresql-3b174b1a355f0de2d433c16eb350b3356bdd08b8.tar.gz postgresql-3b174b1a355f0de2d433c16eb350b3356bdd08b8.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 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions