Re: bug in COPY - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug in COPY
Date
Msg-id 3111.1030478115@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in COPY  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: bug in COPY  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>       else if (*s == 0)
> !         elog(ERROR, "pg_atoi: zero-length string!");

The exclamation point seems inappropriate.  Perhaps "zero-length input"
would be better than "string" also.

Otherwise this seems like a reasonable thing to do.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Open 7.3 items
Next
From: Bruce Momjian
Date:
Subject: Re: bug in COPY