Re: BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation
Amit Langote <langote_amit_f8@lab.ntt.co.jp>
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Alvaro Herrera <alvherre@2ndquadrant.com>,
Amit Langote <amitlangote09@gmail.com>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Jürgen Strobel <juergen+postgresql@strobel.info>
Date: 2018-12-14T04:22:26Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- 0001-Disallow-creating-partitions-with-mismatching-collat.patch (text/plain) patch 0001
On 2018/11/09 14:04, Amit Langote wrote: > On 2018/11/09 4:39, Alvaro Herrera wrote: >> I included the test case for collations to the three branches, but no >> code changes. We can patch master for the handling of collations per >> your patch, > > Okay, but should we back-patch it by adding WARNING to back-branches as > you suggest? I was looking at the pending patches that I'd sent and noticed this one to throw an error when a partition specifies a collation for a column that doesn't match the parent's. Do we want to apply the attached rebased patch to HEAD and leave the back-branches (10 and 11) alone? Thanks, Amit
Commits
-
Revise attribute handling code on partition creation
- e0c05bf4a7e6 11.2 landed
- 705d433fd5e2 12.0 landed
- 21c9e4973cec 10.7 landed