Re: Errors/Warnings missing line numbers

"Greg Sabino Mullane" <greg-738XdyZ4GzZWk0Htik3J/[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I installed DBD::Pg 1.49 but I am still not seeing line numbers
> reported with errors or warnings from DBD::Pg... Is it really
> DBD::Pg or do I need a later version of something else?

You need a version of DBD::Pg that does what I *meant* to do, not
what I *actually* did in the last version. :) Specifically, search
for the sring "final newline" in dbdimp.c and change the next
two lines to this:

if (err[strlen(err)-1] == '\n')
  err[strlen(err)-1] = '\0';

Very sorry about that. Serves me right for not making a proper
test for it in the test suite. Thank you for following up on this.

- --
Greg Sabino Mullane greg-738XdyZ4GzZWk0Htik3J/[email protected]
PGP Key: 0x14964AC8 200606072246
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFEh4/KvJuQZxSWSsgRAt9rAJ99AgA3FCEW4yGEk14yyvkErSTiFwCg2C0u
2IBy/DBkHqtm1943eJK66cY=
=tPCt
-----END PGP SIGNATURE-----
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.