[rt.cpan.org #20447] Different in getline function removing new lines

"[email protected] via RT" <[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
Thu Jul 13 14:52:08 2006: Request 20447 was acted upon.
Transaction: Ticket created by [email protected]
       Queue: DBD-Pg
     Subject: Different in getline function removing new lines
   Broken in: 1.49
    Severity: Normal
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20447 >


The behavior of getline is different depending on if the old PQgetline
or new PGgetCopyData functions are used.  The old interface removed the
"\n" at the end of the line.  The new interface leaves the "\n" at the end.

This is a regression between old versions of DBD::Pg. And will be
different when old versions of libpq are used with DBD::Pg 1.49.
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.