Re: duplicate function oid symbols

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: duplicate function oid symbols
Дата
Msg-id CAFBsxsHxBB+VE91XmTGLz3O6cwWYkh10VEyFeD4dUH6LrXZZtQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: duplicate function oid symbols  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: duplicate function oid symbols  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


On Wed, Oct 28, 2020 at 3:24 PM Tom Lane <tgl@sss.pgh.pa.us> 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

Here is a quick patch implementing this much.

--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company 
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: libpq compression
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Deduplicate aggregates and transition functions in planner