summaryrefslogtreecommitdiff
path: root/src/timezone/strftime.c
diff options
context:
space:
mode:
authorAlvaro Herrera2024-05-02 08:51:46 +0000
committerAlvaro Herrera2024-05-02 08:54:12 +0000
commit13daa33fa5a6d340f9be280db14e7b07ed11f92e (patch)
treecd28beb773b906285d3a0cda911484751b975ef6 /src/timezone/strftime.c
parenta27ccc235d5fd313d79ee16d45ba9bf0b0d80f5f (diff)
Disallow NO INHERIT not-null constraints on partitioned tables
Such constraints are semantically useless and only bring weird cases along, so reject them. As a side effect, we can no longer have "throwaway" constraints in pg_dump for primary keys in partitioned tables, but since they don't serve any useful purpose, we can just omit them. Maybe this should be done for all types of constraints, but it's just not-null ones that acquired this "ability" in the 17 timeframe, so for the moment I'm not changing anything else. Per note by Alexander Lakhin. Discussion: https://postgr.es/m/7d923a66-55f0-3395-cd40-81c142b5448b@gmail.com
Diffstat (limited to 'src/timezone/strftime.c')
0 files changed, 0 insertions, 0 deletions