On Mon, Jul 4, 2011 at 12:02 PM, Tom Lane wrote:
> "Steve Haslam" writes:
>> ... Apparently, the data read from \copy
>> is incrementing the script line number counter?
>
> Yeah, so it is. That is correct behavior for COPY FROM STDIN,
> but not so much for copying from a separate file.
>
> The a
On Mon, Jul 04, 2011 at 12:02:12PM -0400, Tom Lane wrote:
> "Steve Haslam" writes:
> > ... Apparently, the data read from \copy is incrementing the
> > script line number counter?
>
> Yeah, so it is. That is correct behavior for COPY FROM STDIN, but
> not so much for copying from a separate file
"Steve Haslam" writes:
> ... Apparently, the data read from \copy
> is incrementing the script line number counter?
Yeah, so it is. That is correct behavior for COPY FROM STDIN,
but not so much for copying from a separate file.
The attached patch seems like an appropriate fix. However, I'm uns
The following bug has been logged online:
Bug reference: 6083
Logged by: Steve Haslam
Email address: araq...@googlemail.com
PostgreSQL version: 9.0.4
Operating system: Debian GNU/Linux (amd64)
Description:psql script line numbers incorrectly count \copy data
Details: