Re: Re: popen and pclose redefinitions causing many warning in Windows build

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: popen and pclose redefinitions causing many warning in Windows build
Дата
Msg-id 15514.1401157470@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: popen and pclose redefinitions causing many warning in Windows build  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> On Tue, May 27, 2014 at 1:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The best alternative I can think of is to use strncmp() to check for
>> whether the head of the string matches "COPY ", and then perform the
>> integer conversion using strtoull() #ifdef HAVE_STRTOULL and strtoul()
>> otherwise.

> What about the attached?

Looks good to me --- pushed.
        regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Re: popen and pclose redefinitions causing many warning in Windows build
Следующее
От: Shigeru Hanada
Дата:
Сообщение: Re: postgres_fdw and connection management