Beta of DBD::Pg 1.44 available

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Beta of DBD::Pg 1.44 available
Date: 2005-09-14 00:24:12
Message-ID: 3018ff362cbf96cac90844ff9641bc10@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The first beta of DBD::Pg version 1.44 is now available at:

http://search.cpan.org/~dbdpg/

SHA1 and MD5 Checksums for the tarball:

1c8593d2bf66562ac9ff1f169bb02aabb178ad00 DBD-Pg-1.43_1.tar.gz
a5752ac6d69928f7a8b2254ae8377ee0 DBD-Pg-1.43_1.tar.gz

This version has some deep changes, so testing is much appreciated. In
particular, both the do() and quote() methods have been rewritten.
In addition, the get_info() information has been greatly expanded.
Information I was not sure about is marked with a "## ??" in the Pg.pm
code - anyone familiar with the ODBC / ANSI standards, please take a look.

Here is the complete list of changes:

- Added $dbh->{pg_default_port} method [GSM]
- Overhaul get_info data, add many more values [GSM]
- Overhaul type_info data (fixes CPAN bug #13806) [GSM]
- Explicitly prevent any parsing of statements for placeholders
unless they begin with "SELECT", "INSERT", "UPDATE", or "DELETE"
Suggested by (and fixes) CPAN bug #13608 [GSM]
- Rewrite some of the quoting functions, reduce dependence
on libpq versions. [GSM]
- Rewrite and optimize the do() method. Should be much faster
when called without placeholders. Thanks to Tom Lane
for suggesting this. [GSM]
- Double check PQserverVersion return and use alternate
method if it returns 0 (CPAN bug #14302)
- Add support for specifying type in $dbh->quote(),
such as $dbh->quote($var, {pg_type => DBD::Pg::PG_BYTEA}).
Also support type => SQL_xx [GSM] (fixes CPAN bug #13942)
- Fix pg_notifies() bug (CPAN bug #14232) [door(at)lcpi(dot)ru]
- Add pg_ping() method [GSM]
- Make sure ping returns true, even if in failed transaction state.
[thanks to Bill Moseley] [GSM]
- Fix COPY-related core dump [GSM]
- Fix strncpy bug in quote.c [Jun Kuriyama]
- Fix error in is_high_bit_set(). [Alexey Tourbin] (CPAN bug #13406)

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200509132018
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFDJ2yFvJuQZxSWSsgRAg+xAKD6sNJTITEnLDYxpENjPWZinotGpwCfdI/+
tvg9CbWzz9B8jBf132dv/6o=
=ev63
-----END PGP SIGNATURE-----

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sean Davis 2005-09-14 10:50:44 Re: Beta of DBD::Pg 1.44 available
Previous Message Tom Lane 2005-09-12 19:57:04 Re: Backup 7.3 was 19GB, restored on 8.0.3 was only 4GB