From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Sebastien Flaesch <sebastien(dot)flaesch(at)4js(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, M Tarkeshwar Rao <m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: After upgrading libpq, the same function(PQftype) call returns a different OID |
Date: | 2025-03-20 18:54:04 |
Message-ID: | 1092933.1742496844@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> That said, we could add a comment that makes this more obvious:
> ...
> This looks a tad redundant in pg_type.h itself, but makes the generated
> pg_type_d.h file more obvious:
I think it's a mistake to suppose that pg_type_d.h is the only
place where there's a risk of confusion. We should be thinking
about this more generally: genbki.pl is taking zero thought to
make what it emits readable. I think it would help to
label the sections it emits, perhaps along the lines of
/* Auto-generated OID macros */
for this part, and I'm not sure what other parts would be useful
to label.
As for CASHOID and LSNOID, surely those have been deprecated long
enough that we could just remove them?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2025-03-20 20:08:54 | Re: After upgrading libpq, the same function(PQftype) call returns a different OID |
Previous Message | Nathan Bossart | 2025-03-20 18:13:02 | Re: Disabling vacuum truncate for autovacuum |