Michael Paquier <[email protected]> writes:
> On Tue, May 27, 2014 at 1:39 AM, Tom Lane <[email protected]> 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
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers