Re: Compiling libpq with VC6

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compiling libpq with VC6
Дата
Msg-id 2137.1092849439@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compiling libpq with VC6  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Compiling libpq with VC6  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Andreas Pflug wrote:
>> Not really. The backend will still use the reliable pg_ functions.
>> Frontends continue to use the libc functions, which are totally
>> sufficient in non-concurrent access situations.

> I would like to keep full Unix semantics for these functions even in
> libpq, if possible.

libpq doesn't use either rename or unlink AFAIK.  However, if we make
the patch be something involving #ifdef FRONTEND, then it will affect
other code that might want to use those.

One thing that hasn't been real clear to me is why this only affects
fe-lobj.c, when we have many other files that include <io.h> after
including postgres.h.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Compiling libpq with VC6
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Compiling libpq with VC6