[rt.cpan.org #20435] New COPY support breaks old idiom

"Michael_G_Schwern via RT" <[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
       Queue: DBD-Pg
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20435 >

On Wed Jul 12 14:08:17 2006, MSCHWERN wrote:
> But that code no longer works.  DBD::Pg 1.49 complains "Must call
> pg_endcopy before issuing more commands".

The problem was the behavior of getline() changed, as reported in
[rt.cpan.org 20447].  The existing code works just fine as long as the
change to getline() is taken into account.

The error message could be better.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.