Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 31545
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: xdrudis [...] tinet.cat
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 2.0.0



Subject: Docs of bind_param use nonexported symbol PG_INTEGER
Date: Fri, 14 Dec 2007 21:55:35 +0100
To: bug-DBD-Pg [...] rt.cpan.org
From: Xavi Drudis Ferran <xdrudis [...] tinet.cat>
Hello. Thanks for this driver. I just wanted to ask for a small fix in the documentation (or else in the code, who knows). In one of the last examples of the doc for bind_param it uses as pg_type the value PG_INTEGER, but the Pg.pm file lists PG_INT4, PG_INT2, PG_INT8 but no PG_INTEGER (there's SQL_INTEGER in another module). May seem trivial but I just took the code sample at face value and spent quite a long time banging my head on a wall because the program complained that PG_INTEGER wasn't an integer... I'm using libdbd-pg-perl from debian sid, version 1.49-5 and I've checked in cpan.org it's up to date and the docs and source posted there contain the bug/typo This is perl, v5.8.8 built for i486-linux-gnu-thread-multi (but who cares of versions in this case?) Well, thanks again and happy maintaining. Xavi Drudis Ferran
Thanks for the tip, fixed in subversion, will be part of the next release.