Re: pg15 inherited stats expressions: cache lookup failed for statistics object
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, Tomas Vondra <tomas.vondra@enterprisedb.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-31T05:33:50Z
Lists: pgsql-hackers
On Mon, Oct 31, 2022 at 01:12:09PM +0800, Richard Guo wrote: > BTW, I noticed a micro-optimization opportunity in examine_variable that > we can fetch the RangeTblEntry for 'onerel' outside the foreach loop > when iterating the extended stats so that we can do it only once rather > than for each stat. Isn't that the kind of thing where we'd better have some regression coverage? -- Michael
Commits
-
Fix planner failure with extended statistics on partitioned tables.
- f4857082bc16 16.0 landed
- 1f1865e90836 15.1 landed