Re: [HACKERS] datetime.h defines like PM conflict with externallibraries

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] datetime.h defines like PM conflict with externallibraries
Дата
Msg-id 20180207042834.7fshnbh7jdoxc2aj@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [HACKERS] datetime.h defines like PM conflict with externallibraries  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund wrote:

> Medium term, it
> seems to me, we should start actually move a lot of the adt code into a
> library that can be included (or possibly just compiled?) both by
> frontend and backend code.  Which kinda seems to imply we'd need
> compatible elog support for frontend code, which I'd wished for many
> times.

I remember looking into moving this code into src/common/ a couple of
years ago, but the API was not identical in ecpg than backend mostly
because of the use of a few GUC vars, so I didn't finish it.  In many
cases it seemed possible to resolve easily (just change hardcoded use of
a GUC in the function with a parameter), but I'm not sure it was the
case everywhere.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: [HACKERS] Vacuum: allow usage of more than 1GB of work mem
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] advanced partition matching algorithm forpartition-wise join