Re: Performance regression with PostgreSQL 11 and partitioning
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>,
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>,
Amit Langote <amitlangote09@gmail.com>,
Thomas Reiss <thomas.reiss@dalibo.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-06-26T00:53:14Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > On 2018-Jun-18, David Rowley wrote: >> I've attached a patch which cleans up my earlier version and moves the >> setup of the append_rel_array into its own function instead of >> sneaking code into setup_simple_rel_arrays(). I've also now updated >> the comment above find_childrel_appendrelinfo(), which is now an >> unused function. > I checked that this patch fixes the originally reported performance > regression. > Unless there are objections, I intend to push this patch tomorrow. If find_childrel_appendrelinfo is now unused, we should remove it. regards, tom lane
Commits
-
Fix typo in comment
- f5545287dc5f 11.0 landed
-
Allow direct lookups of AppendRelInfo by child relid
- 7d872c91a3f9 11.0 landed
-
Teach adjust_appendrel_attrs(_multilevel) to do multiple translations.
- 480f1f4329f1 11.0 cited