aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-05-18 13:48:10 -0400
committerRobert Haas <rhaas@postgresql.org>2017-05-18 13:49:31 -0400
commit3ec76ff1f2cf52e9b900349957b42d28128b7bc7 (patch)
treeb7eef4bb3d490b31ec2d25f7067912d4ea9d20c4 /src/backend/utils/adt/jsonfuncs.c
parent2df537e43fdc432cccbe64de166ac97363cbca3c (diff)
downloadpostgresql-3ec76ff1f2cf52e9b900349957b42d28128b7bc7.tar.gz
postgresql-3ec76ff1f2cf52e9b900349957b42d28128b7bc7.zip
Don't explicitly mark range partitioning columns NOT NULL.
This seemed like a good idea originally because there's no way to mark a range partition as accepting NULL, but that now seems more like a current limitation than something we want to lock down for all time. For example, there's a proposal to add the notion of a default partition which accepts all rows not otherwise routed, which directly conflicts with the idea that a range-partitioned table should never allow nulls anywhere. So let's change this while we still can, by putting the NOT NULL test into the partition constraint instead of changing the column properties. Amit Langote and Robert Haas, reviewed by Amit Kapila Discussion: http://postgr.es/m/8e2dd63d-c6fb-bb74-3c2b-ed6d63629c9d@lab.ntt.co.jp
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions