r4201 - in /packages/libdbd-pg-perl/trunk/debian: NEWS changelog
control
hertzog at users.alioth.debian.org
hertzog at users.alioth.debian.org
Mon Nov 13 22:36:37 CET 2006
Author: hertzog
Date: Mon Nov 13 22:36:37 2006
New Revision: 4201
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4201
Log:
* Documented in NEWS.Debian the required changes to scripts due to the use
of server side placeholders. Closes: #315708
* Now other changes apart from that, so it's safe for etch. Thus
urgency=high.
Added:
packages/libdbd-pg-perl/trunk/debian/NEWS
Modified:
packages/libdbd-pg-perl/trunk/debian/changelog
packages/libdbd-pg-perl/trunk/debian/control
Added: packages/libdbd-pg-perl/trunk/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-pg-perl/trunk/debian/NEWS?rev=4201&op=file
==============================================================================
--- packages/libdbd-pg-perl/trunk/debian/NEWS (added)
+++ packages/libdbd-pg-perl/trunk/debian/NEWS Mon Nov 13 22:36:37 2006
@@ -1,0 +1,23 @@
+libdbd-pg-perl (1.42-1) unstable; urgency=low
+
+ DBD::Pg changed its behaviour concerning the use of placeholders. It
+ implements now server side placeholders, this is more efficient but has the
+ drawback of being more strict in the syntax of placeholder as it must
+ match what PostgreSQL will accept.
+
+ Here are some examples of things which used to be accepted and which aren't
+ any more (you can easily extrapolate for other types):
+ SELECT ... WHERE pdate > now() - interval ?
+ SELECT inet ?
+ The correct queries are:
+ SELECT ... WHERE pdate > now() - ?::interval
+ SELECT ?::inet
+
+ If you don't want to replace the queries, a simple work around is to disable
+ the server side queries with:
+ $dbh->{pg_server_prepare} = 0;
+
+ Some useful links can be found in the bug report #315708:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315708;msg=86
+
+ -- Raphael Hertzog <hertzog at debian.org> Mon, 13 Nov 2006 22:05:02 +0100
Modified: packages/libdbd-pg-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-pg-perl/trunk/debian/changelog?rev=4201&op=diff
==============================================================================
--- packages/libdbd-pg-perl/trunk/debian/changelog (original)
+++ packages/libdbd-pg-perl/trunk/debian/changelog Mon Nov 13 22:36:37 2006
@@ -1,3 +1,12 @@
+libdbd-pg-perl (1.49-2) unstable; urgency=high
+
+ * Documented in NEWS.Debian the required changes to scripts due to the use
+ of server side placeholders. Closes: #315708
+ * Now other changes apart from that, so it's safe for etch. Thus
+ urgency=high.
+
+ -- Raphael Hertzog <hertzog at debian.org> Thu, 25 May 2006 22:10:34 +0000
+
libdbd-pg-perl (1.49-1) unstable; urgency=low
* New upstream release.
Modified: packages/libdbd-pg-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdbd-pg-perl/trunk/debian/control?rev=4201&op=diff
==============================================================================
--- packages/libdbd-pg-perl/trunk/debian/control (original)
+++ packages/libdbd-pg-perl/trunk/debian/control Mon Nov 13 22:36:37 2006
@@ -4,7 +4,7 @@
Maintainer: Raphael Hertzog <hertzog at debian.org>
Uploaders: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>, Ivan Kohler <ivan-debian at 420.am>
Standards-Version: 3.7.2
-XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-perl/packages/libdbd-pg-perl/trunk/
+XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/packages/libdbd-pg-perl/trunk/
Build-Depends: perl (>= 5.8.0), debhelper (>= 4), libdbi-perl (>= 1.45), libpq-dev (>= 8.0)
Package: libdbd-pg-perl
More information about the Pkg-perl-cvs-commits
mailing list