postgresql/src
Andrew Dunstan 3b174b1a35 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
2019-01-10 15:53:45 -05:00
..
backend Fix missing values when doing ALTER TABLE ALTER COLUMN TYPE 2019-01-10 15:53:45 -05:00
bin Don't use address of array as boolean 2019-01-10 13:59:40 -03:00
common Use perfect hashing, instead of binary search, for keyword lookup. 2019-01-09 19:47:46 -05:00
fe_utils pgbench: add \cset and \gset commands 2019-01-10 13:42:20 -03:00
include Fix C++ compile failures in headers. 2019-01-10 14:07:01 -05:00
interfaces Add .gitignore entry for a derived file created by "make distprep". 2019-01-10 14:20:28 -05:00
makefiles Ensure link commands list *.o files before LDFLAGS. 2019-01-02 13:57:54 -05:00
pl Use perfect hashing, instead of binary search, for keyword lookup. 2019-01-09 19:47:46 -05:00
port Update copyright for 2019 2019-01-02 12:44:25 -05:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix missing values when doing ALTER TABLE ALTER COLUMN TYPE 2019-01-10 15:53:45 -05:00
timezone Update copyright for 2019 2019-01-02 12:44:25 -05:00
tools Use perfect hashing, instead of binary search, for keyword lookup. 2019-01-09 19:47:46 -05:00
tutorial Update copyright for 2019 2019-01-02 12:44:25 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix program build rule in src/bin/scripts/Makefile. 2019-01-04 19:12:22 -05:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk