Re: Autoconf, libpq and replacement function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autoconf, libpq and replacement function
Дата
Msg-id 8304.1227216651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autoconf, libpq and replacement function  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Autoconf, libpq and replacement function  (Magnus Hagander <magnus@hagander.net>)
Re: Autoconf, libpq and replacement function  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> AFAICS, we're not doing this for any other functions though - or am I
> too tired and just looking in the wrong place? Or is that because
> they're just function definitions and not #defines?
> (I want to be sure to stick whatever new file there is in the same place..)

src/include/rusagestub.h is doing things more or less this way.

Also, right now we have got

src/include/getaddrinfo.h
src/include/getopt_long.h

which really make me itch now that I am contemplating the possibility
that we try to use libc-supplied code for these functions along with
our own header definitions.

I think the reason we've avoided putting such stuff into include/port/
is that right now that directory consists exclusively of OS-specific
files.  Maybe we need another include subdirectory?
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: array_agg and array_accum (patch)