Hi Bruce. On Tue, May 15, 2018 at 12:46 PM, Amit Langote <langote_amit...@lab.ntt.co.jp> wrote: > On 2018/05/15 5:30, Bruce Momjian wrote: >> I like it, done. > > Thank you.
I wonder what you think about including this little performance item: https://www.postgresql.org/message-id/e1eotsq-0005v0...@gemulon.postgresql.org especially considering the part of the commit message which states ...Still, testing shows that this makes single-row inserts significantly faster on a table with many partitions without harming the bulk-insert case. I recall seeing those inserts being as much as 2x faster as partition count grows beyond hundreds. One might argue that we should think about publicizing this only after we've dealt with the lock-all-partitions issue that's also mentioned in the commit message which is still a significant portion of the time spent and I'm totally fine with that. Thanks, Amit