Nathan Bossart <nathandbossart(at)gmail(dot)com> writes:
> This function returns the values in the sequence tuple, primarily for
> pg_dump (see commit bd15b7d). IIUC your patch would break pg_dump on v18
> and newer versions.
The proposed patch includes a change to pg_dump that I suppose is
meant to compensate. But I'm not 100% sure that it does so correctly.
Anyway, given that it's supposed to provide low-level inspection of
the sequence tuple, I think that it's best not to be too cute.
regards, tom lane