Re: Declarative partitioning - another take
Robert Haas <robertmhaas@gmail.com>
On Thu, Dec 8, 2016 at 11:43 AM, Alexander Korotkov <a.korotkov@postgrespro.ru> wrote: > Great! And it is very cool that we have basic infrastructure already > committed. Thanks a lot to you and everybody involved. Thanks. >> 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. Not trying to throw stones, just want to get as much committed as possible. And I think our patches are good and valuable improvements too, so I want to see them go in because they will help everybody. Thanks for trying to increase the reviewing effort; it is sorely needed. >> 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 That's a lot of stuff. Getting even a couple of those would be a big win. >> 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. +1. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL 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