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