Re: Wrong argument name in error message from attribute_stats functions

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Wrong argument name in error message from attribute_stats functions
Date: 2026-07-15 12:27:59
Message-ID: CAHGQGwGvD1gZz-51prQkf_yiYzGpi3M+hYYtQFpn2vHM5Moz8g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 13, 2026 at 10:20 PM Ilia Evdokimov
<ilya(dot)evdokimov(at)tantorlabs(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message torikoshia 2026-07-15 12:40:58 Re: Why is the LSN reported for pg_logical_emit_message() different from other decoded operations?
Previous Message Christoph Berg 2026-07-15 12:10:52 Re: meson vs. llvm bitcode files