Re: A bug in mapping attributes in ATExecAttachPartition()
Amit Langote <langote_amit_f8@lab.ntt.co.jp>
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>,
Amit Langote <amitlangote09@gmail.com>
Date: 2017-09-14T04:59:55Z
Lists: pgsql-hackers
Attachments
- 0001-Typo-attachRel-is-now-attachrel.patch (text/plain) patch 0001
- 0002-Teach-ATExecAttachPartition-to-skip-validation-in-mo.patch (text/plain) patch 0002
On 2017/08/07 11:05, Amit Langote wrote: > By the way, bulk of 0004 is refactoring which it seems is what Jeevan's > default partition patch set also includes as one of the patches [1]. It > got a decent amount review from Ashutosh. I broke it down into a separate > patch, so that the patch to add the new feature is its own tiny patch. > > I also spotted a couple of comments referring to attachRel that we just > recently renamed. > > So, attached are: > > 0001: s/attachRel/attachrel/g > 0002: Refactoring to introduce a PartConstraintImpliedByRelConstraint > 0003: Add the feature to skip the scan of individual leaf partitions Since Jeevan Ladhe mentioned this patch [1] earlier this week, sending the rebased patches here for consideration. Actually there are only 2 patches now, because 0002 above is rendered unnecessary by ecfe59e50fb [2]. Thanks, Amit [1] https://www.postgresql.org/message-id/CAOgcT0MWwG8WBw8frFMtRYHAgDD=tpt6U7WcsO_L2k0KYpm4Jg@mail.gmail.com [2] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=ecfe59e50fb
Commits
-
Fix inconsistent capitalization.
- 29f021160ea7 10.0 landed
- 42651bdd68a1 11.0 landed
-
Fix bug in deciding whether to scan newly-attached partition.
- f85f88bcc270 10.0 landed
-
Fix lock upgrade hazard in ATExecAttachPartition.
- 972b6ec20bf0 10.0 landed
-
Code beautification for ATExecAttachPartition.
- 583df3b5c562 10.0 landed
-
Teach predtest.c about CHECK clauses to fix partitioning bugs.
- b08df9cab777 10.0 landed
-
Don't explicitly mark range partitioning columns NOT NULL.
- 3ec76ff1f2cf 10.0 cited