Don't disallow dropping NOT NULL for a list partition key.
authorRobert Haas <rhaas@postgresql.org>
Tue, 14 Feb 2017 17:12:34 +0000 (12:12 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 14 Feb 2017 17:13:41 +0000 (12:13 -0500)
commite28b1156122f4d48d6f6f7a7f26381ee7af65a91
tree347f926ed6f1525cdab3f7e0299b48250251b90a
parent8d396a0a7046438ced8d8ada6ceb7c0756e58351
Don't disallow dropping NOT NULL for a list partition key.

Range partitioning doesn't support nulls in the partitioning columns,
but list partitioning does.

Amit Langote, per a complaint from Amul Sul
src/backend/commands/tablecmds.c
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql