From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: popen and pclose redefinitions causing many warning in Windows build |
Date: | 2014-05-27 01:46:44 |
Message-ID: | CAB7nPqTshgz=ZwWQLLOc-fN2m62gFRyeDeRJU06HordJwXDrTw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, May 27, 2014 at 1:39 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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 | Content-Type | Size |
---|---|---|
20140527_mingw_statstt_warnings.patch | text/x-patch | 749 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-05-27 02:24:30 | Re: Re: popen and pclose redefinitions causing many warning in Windows build |
Previous Message | Tom Lane | 2014-05-27 01:07:55 | Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD |