Re: duplicate function oid symbols - Mailing list pgsql-hackers

From Andres Freund
Subject Re: duplicate function oid symbols
Date
Msg-id 20201028192840.ddnlok66ldxkbjz7@alap3.anarazel.de
Whole thread Raw
In response to Re: duplicate function oid symbols  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: duplicate function oid symbols
List pgsql-hackers
On 2020-10-28 15:24:20 -0400, Tom Lane wrote:
> Nah.  What I'm imagining is just that pg_type.h contains
> 
> #ifdef EXPOSE_TO_CLIENT_CODE
> 
> /*
>  * Backwards compatibility for ancient random spellings of OID macros.
>  * Don't use these macros in new code.
>  */
> #define CASHOID  MONEYOID
> #define LSNOID   PG_LSNOID
> 
> #endif

Ah, good idea. +1


> We don't need to complicate genbki.pl with a new facility.

I assume you plan to error out if oid_symbol is defined for pg_type
going forward?



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: libpq compression
Next
From: John Naylor
Date:
Subject: Re: duplicate function oid symbols