Re: Re: popen and pclose redefinitions causing many warning in Windows build - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Re: popen and pclose redefinitions causing many warning in Windows build
Date
Msg-id CAB7nPqTshgz=ZwWQLLOc-fN2m62gFRyeDeRJU06HordJwXDrTw@mail.gmail.com
Whole thread Raw
In response to Re: Re: popen and pclose redefinitions causing many warning in Windows build  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: popen and pclose redefinitions causing many warning in Windows build
List pgsql-hackers
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?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD
Next
From: Tom Lane
Date:
Subject: Re: Re: popen and pclose redefinitions causing many warning in Windows build