Re: Moving of INT64_FORMAT to c.h

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Moving of INT64_FORMAT to c.h
Дата
Msg-id CA+TgmoZisf0cVNxUfBegqnUxAS2ZwpTiR2HcMksr0m0kxOvyVw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Moving of INT64_FORMAT to c.h  (Steve Singer <steve@ssinger.info>)
Ответы Re: Moving of INT64_FORMAT to c.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Moving of INT64_FORMAT to c.h  (Steve Singer <steve@ssinger.info>)
Список pgsql-hackers
On Wed, Oct 22, 2014 at 4:12 PM, Steve Singer <steve@ssinger.info> wrote:
> So the header of c.h says "Note that the definitions here are not intended
> to be exposed to clients"
> but
> postgres_fe.h says "This should be the first file included by PostgreSQL
> client libraries and"
>
> Should client programs that live outside the postgres source tree be
> including postgres_fe.h ?  I have a feeling the answer is no. If the answer
> is no, then why does a make install install postgres_fe.h ?

I think the answer is yes.

> Slonik used to include postgre_fe.h but back in 2011 or so we stopped doing
> so because it was causing issues (I think on win32 builds)

That seems like something we ought to consider fixing, but obviously
we'd need more details.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Steve Singer
Дата:
Сообщение: Re: Moving of INT64_FORMAT to c.h
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Moving of INT64_FORMAT to c.h