Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats()

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Mankirat Singh <mankiratsingh1315(at)gmail(dot)com>, pg(at)bowt(dot)ie, andrew(at)dunslane(dot)net, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats()
Date: 2025-10-20 19:55:26
Message-ID: CA+TgmoZ3f+-CQqWKSBc58w-8PD-77Fjc-Q9FWSubbOhXM5M03A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 20, 2025 at 3:34 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Nathan Bossart <nathandbossart(at)gmail(dot)com> writes:
> > Here is an updated patch set.
>
> The v3 patches work for me.
>
> BTW, not critical right now, but thought I'd mention it: ISTM
> this mechanism obviates the need for the single-purpose NodeTag ABI
> checks installed by commit eea9fa9b2. We still need the checks in
> gen_node_support.pl to ensure that the makefiles and meson files
> build things the same way, but we shouldn't need the parts that were
> intended to prevent accidental ABI changes in the back branches.
> Since that stuff requires nonzero manual maintenance, I plan to get
> rid of it once we're satisfied that the ABI checker is working well.

Hmm, but: the code in gen_node_support.pl would tell you about trouble
before you committed, whereas the ABI checks would only tell you about
trouble after you commit. It seems to me that we are in desperate need
of reducing, rather than increasing, the number of mistakes you can
make and find out about only after commit.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2025-10-20 19:59:51 Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Previous Message Tom Lane 2025-10-20 19:33:53 Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats()