Re: Wrong argument name in error message from attribute_stats functions - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Wrong argument name in error message from attribute_stats functions
Date
Msg-id CAHGQGwGvD1gZz-51prQkf_yiYzGpi3M+hYYtQFpn2vHM5Moz8g@mail.gmail.com
Whole thread
In response to Re: Wrong argument name in error message from attribute_stats functions  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
List pgsql-hackers
On Mon, Jul 13, 2026 at 10:20 PM Ilia Evdokimov
<ilya.evdokimov@tantorlabs.com> wrote:
> >> In v1-patch I propose naming these the same way `pg_proc.dat` does, i.e.
> >> `schemaname` and `relname`.
> > Thanks for the patch! LGTM.

I've pushed the patch and backpatched it to v18,
where pg_clear_attribute_stats() was introduced. Thanks!


> Since Beta 2 is scheduled for July 16, it might be worth getting this
> fixed before then. Incorrect error messages can mislead users during
> debugging.

Although we're still before the v19 beta2 release, the beta2 tag has
already been created, so this fix won't make it into beta2. It will be
included in the next v19 beta or RC release, as well as the next
minor releases.

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: meson vs. llvm bitcode files
Next
From: Anton Voloshin
Date:
Subject: Re: NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup