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