Don't disallow dropping NOT NULL for a list partition key.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +13 −9 |
| src/test/regress/expected/alter_table.out | modified | +4 −0 |
| src/test/regress/sql/alter_table.sql | modified | +5 −0 |