Re: pg15 inherited stats expressions: cache lookup failed for statistics object - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg15 inherited stats expressions: cache lookup failed for statistics object
Date
Msg-id Y19ePmKU7v6F1PkN@paquier.xyz
Whole thread Raw
In response to Re: pg15 inherited stats expressions: cache lookup failed for statistics object  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: pg15 inherited stats expressions: cache lookup failed for statistics object  (Richard Guo <guofenglinux@gmail.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: heavily contended lwlocks with long wait queues scale badly
Next
From: Shubham Shingne
Date:
Subject: Limit of WAL LSN value of type pg_lsn