Re: Declarative partitioning - another take
Alexander Korotkov <a.korotkov@postgrespro.ru>
On Thu, Dec 8, 2016 at 7:29 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Thu, Dec 8, 2016 at 11:13 AM, Dmitry Ivanov <d.ivanov@postgrespro.ru> > wrote: > > We (PostgresPro) have been working on pg_pathman for quite a while, and > > since it's obviously going to become the thing of the past, it would be a > > wasted effort if we didn't try to participate. > > > > For starters, I'd love to work on both plan-time & run-time partition > > pruning. I created a custom node for run-time partition elimination, so I > > think I'm capable of developing something similar. That would be fantastic. I and my colleagues at EnterpriseDB can > surely help review; Great! And it is very cool that we have basic infrastructure already committed. Thanks a lot to you and everybody involved. > of course, maybe you and some of your colleagues > would like to help review our patches, too. We understand our reviewing performance is not sufficient. Will try to do better during next commitfest. > Do you think this is > likely to be something where you can get something done quickly, with > the hope of getting it into v10? Yes, because we have set of features already implemented in pg_pathman. In particular we have following features from your list and some more. - more efficient plan-time partition pruning (constraint exclusion is too slow) - run-time partition pruning - insert (and eventually update) tuple routing for foreign partitions - hash partitioning - not scanning the parent Time is growing short, but it would > be great to polish this a little more before we ship it. > Yes. Getting at least some of this features committed to v10 would be great and improve partitioning usability a lot. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Fix typo.
- 03bf59676ea0 10.0 landed
-
Document trigger-firing behavior for inheritance/partitioning.
- e17628145ac3 10.0 landed
-
Fire per-statement triggers on partitioned tables.
- e180c8aa8caf 10.0 landed
-
Set ecxt_scantuple correctly for tuple routing.
- 132488bfee68 10.0 landed
-
Fix interaction of partitioned tables with BulkInsertState.
- b1ecb9b3fcfb 10.0 landed
-
Avoid core dump for empty prepared statement in an aborted transaction.
- ba61a04bc7fe 10.0 cited
-
Fix some problems in check_new_partition_bound().
- 8a8afe2f54c2 10.0 landed
-
Remove unnecessary arguments from partitioning functions.
- 18fc5192a631 10.0 cited
-
Fix reporting of constraint violations for table partitioning.
- f1b4c771ea74 10.0 cited
-
Fix tuple routing in cases where tuple descriptors don't match.
- 2ac3ef7a01df 10.0 cited
-
Invalid parent's relcache after CREATE TABLE .. PARTITION OF.
- 7cd0fd655d68 10.0 landed
-
Doc: improve documentation about inheritance.
- 162477a63d3c 10.0 cited