r25599 - in /trunk/libdbd-pg-perl: Changes META.yml Makefile.PL Pg.pm README SIGNATURE debian/changelog lib/Bundle/DBD/Pg.pm t/01connect.t t/dbdpg_test_setup.pl types.c

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed Sep 24 20:18:36 UTC 2008


Author: gregoa
Date: Wed Sep 24 20:18:33 2008
New Revision: 25599

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25599
Log:
New upstream release.

Modified:
    trunk/libdbd-pg-perl/Changes
    trunk/libdbd-pg-perl/META.yml
    trunk/libdbd-pg-perl/Makefile.PL
    trunk/libdbd-pg-perl/Pg.pm
    trunk/libdbd-pg-perl/README
    trunk/libdbd-pg-perl/SIGNATURE
    trunk/libdbd-pg-perl/debian/changelog
    trunk/libdbd-pg-perl/lib/Bundle/DBD/Pg.pm
    trunk/libdbd-pg-perl/t/01connect.t
    trunk/libdbd-pg-perl/t/dbdpg_test_setup.pl
    trunk/libdbd-pg-perl/types.c

Modified: trunk/libdbd-pg-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/Changes?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/Changes (original)
+++ trunk/libdbd-pg-perl/Changes Wed Sep 24 20:18:33 2008
@@ -1,6 +1,13 @@
 ('GSM' is Greg Sabino Mullane, greg at turnstep.com)
 
-2.10.6 Released September 19, 2008
+2.10.7 Released September 22, 2008
+
+	- Fix test issue when dbname contains dashes.
+		[Rainer Tammer]
+	- Revert META.yml to 1.0, until such time as tools 
+		can handle 1.1 (CPAN bug #39461) [Taro Nishino]
+
+2.10.6 Released September 19, 2008 (subversion r11830)
 
 	- Correctly quote all bytea characters. (CPAN bug #39390) [Rod Taylor]
 	- Prevent core dump when checking $dbh->{standard_conforming_strings}

Modified: trunk/libdbd-pg-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/META.yml?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/META.yml (original)
+++ trunk/libdbd-pg-perl/META.yml Wed Sep 24 20:18:33 2008
@@ -1,6 +1,6 @@
---- #YAML:1.1
+--- #YAML:1.0
 name                        : DBD-Pg
-version                     : 2.10.6
+version                     : 2.10.7
 abstract                    : DBI PostgreSQL interface
 author:              
   - Greg Sabino Mullane <greg at turnstep.com>
@@ -38,10 +38,10 @@
 provides:
   DBD::Pg:
     file                    : Pg.pm
-    version                 : 2.10.6
+    version                 : 2.10.7
   Bundle::DBD::Pg:
     file                    : lib/Bundle/DBD/Pg.pm
-    version                 : 2.10.6
+    version                 : 2.10.7
 
 keywords:
   - Postgres

Modified: trunk/libdbd-pg-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/Makefile.PL?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/Makefile.PL (original)
+++ trunk/libdbd-pg-perl/Makefile.PL Wed Sep 24 20:18:33 2008
@@ -1,4 +1,4 @@
-# $Id: Makefile.PL 11803 2008-09-17 22:02:51Z turnstep $
+# $Id: Makefile.PL 11866 2008-09-22 23:13:10Z turnstep $
 
 use ExtUtils::MakeMaker;
 use Config;
@@ -7,7 +7,7 @@
 use 5.006001;
 
 ## No version.pm for this one, as the prereqs are not loaded yet.
-my $VERSION = '2.10.6';
+my $VERSION = '2.10.7';
 
 my $lib;
 BEGIN {

Modified: trunk/libdbd-pg-perl/Pg.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/Pg.pm?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/Pg.pm (original)
+++ trunk/libdbd-pg-perl/Pg.pm Wed Sep 24 20:18:33 2008
@@ -1,5 +1,5 @@
 #  -*-cperl-*-
-#  $Id: Pg.pm 11806 2008-09-17 22:22:54Z turnstep $
+#  $Id: Pg.pm 11864 2008-09-22 23:07:24Z turnstep $
 #
 #  Copyright (c) 2002-2008 Greg Sabino Mullane and others: see the Changes file
 #  Portions Copyright (c) 2002 Jeffrey W. Baker
@@ -17,7 +17,7 @@
 {
 	package DBD::Pg;
 
-	use version; our $VERSION = qv('2.10.6');
+	use version; our $VERSION = qv('2.10.7');
 
 	use DBI ();
 	use DynaLoader ();
@@ -1703,7 +1703,7 @@
 
 =head1 VERSION
 
-This documents version 2.10.6 of the DBD::Pg module
+This documents version 2.10.7 of the DBD::Pg module
 
 =head1 DESCRIPTION
 
@@ -2402,10 +2402,10 @@
 statement, as it will not be executed. However, it should have the same
 number of placeholders as your prepared statement. Example:
 
-  $dbh->do("PREPARE mystat AS SELECT COUNT(*) FROM pg_class WHERE reltuples < ?");
-  $sth = $dbh->prepare("SELECT ?");
+  $dbh->do('PREPARE mystat AS SELECT COUNT(*) FROM pg_class WHERE reltuples < ?');
+  $sth = $dbh->prepare('SELECT ?');
   $sth->bind_param(1, 1, SQL_INTEGER);
-  $sth->{pg_prepare_name} = "mystat";
+  $sth->{pg_prepare_name} = 'mystat';
   $sth->execute(123);
 
 The above will run the equivalent of this query on the backend:
@@ -2544,11 +2544,11 @@
 
 Some examples:
 
-  $dbh->do("CREATE SEQUENCE lii_seq START 1");
-  $dbh->do("CREATE TABLE lii (
+  $dbh->do('CREATE SEQUENCE lii_seq START 1');
+  $dbh->do(q{CREATE TABLE lii (
     foobar INTEGER NOT NULL UNIQUE DEFAULT nextval('lii_seq'),
-    baz VARCHAR)");
-  $SQL = "INSERT INTO lii(baz) VALUES (?)";
+    baz VARCHAR)});
+  $SQL = 'INSERT INTO lii(baz) VALUES (?)';
   $sth = $dbh->prepare($SQL);
   for (qw(uno dos tres cuatro)) {
     $sth->execute($_);
@@ -2558,10 +2558,10 @@
 
 If you did not want to worry about the sequence name:
 
-  $dbh->do("CREATE TABLE lii2 (
+  $dbh->do('CREATE TABLE lii2 (
     foobar SERIAL UNIQUE,
-    baz VARCHAR)");
-  $SQL = "INSERT INTO lii2(baz) VALUES (?)";
+    baz VARCHAR)');
+  $SQL = 'INSERT INTO lii2(baz) VALUES (?)';
   $sth = $dbh->prepare($SQL);
   for (qw(uno dos tres cuatro)) {
     $sth->execute($_);
@@ -2594,7 +2594,7 @@
 Example:
 
   $dbh->{AutoCommit} = 1;
-  $dbh->do("INSERT INTO foo VALUES (123)"); ## Changes committed immediately
+  $dbh->do('INSERT INTO foo VALUES (123)'); ## Changes committed immediately
   $dbh->begin_work();
   ## Not in a transaction yet, but AutoCommit is set to 0
 

Modified: trunk/libdbd-pg-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/README?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/README (original)
+++ trunk/libdbd-pg-perl/README Wed Sep 24 20:18:33 2008
@@ -1,12 +1,12 @@
 
 DBD::Pg  --  the DBI PostgreSQL interface for Perl
 
-# $Id: README 11803 2008-09-17 22:02:51Z turnstep $
+# $Id: README 11866 2008-09-22 23:13:10Z turnstep $
 
 DESCRIPTION:
 ------------
 
-This is version 2.10.6 of DBD::Pg, the Perl interface to Postgres using DBI. 
+This is version 2.10.7 of DBD::Pg, the Perl interface to Postgres using DBI. 
 The web site for this interface, and the latest version, can be found at:
 
 	http://search.cpan.org/dist/DBD-Pg/

Modified: trunk/libdbd-pg-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/SIGNATURE?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/SIGNATURE (original)
+++ trunk/libdbd-pg-perl/SIGNATURE Wed Sep 24 20:18:33 2008
@@ -15,27 +15,27 @@
 Hash: RIPEMD160
 
 SHA1 14d7a3c7a0b0497e4ab463b67850bd5e1f70409d .perlcriticrc
-SHA1 a83dc346eeb9fdcdadc901061c651d32abc88d75 Changes
+SHA1 fcb3bfb40d8c36ad8c3ca8b90207b7ceee353fee Changes
 SHA1 4d91c71e5dbb19ece1505ab75c36d00a744bb076 MANIFEST
 SHA1 22055b195f5cf15d7909e8a08468e617f46154e7 MANIFEST.SKIP
-SHA1 d95d5380fd3d79e11987b82064c817770c9b3aa6 META.yml
-SHA1 56f3ade7a370cc8a7def08c454b6b77743df26de Makefile.PL
+SHA1 b430714a84c9fb3cd81efab39173f7038d6bafb6 META.yml
+SHA1 11c74a12496d31d8124c08c6685861299c6b6c32 Makefile.PL
 SHA1 c51356c52c139265e20a2ad33bc8d3ee04f6ff48 Pg.h
-SHA1 d9863b63a025c1554d2e1d7335260e3f9a3fad5c Pg.pm
+SHA1 fb4bd9a231477abd9d77d707914a32ab51d03399 Pg.pm
 SHA1 caf6c843024b2853bc2460c60f9c667f9150cbd4 Pg.xs
-SHA1 356be150aff2608f6b87505eed03b37b984ca541 README
+SHA1 8a9d05559a59bc3b97530b231726307ef24f327d README
 SHA1 c6d2633bdb72186bfb2887d6a1efab3a06f44cbd README.dev
 SHA1 968d5fad61bce160b31a9cb1a21dd240b9df930f README.win32
 SHA1 cb3078ec98906fc6381ca0af9e146e2d8b4176c6 TODO
 SHA1 de56b7328d402a3ba32431b97410d401aedc7f45 dbdimp.c
 SHA1 e079dca9f560b265daba52e7daee42e1a17184bb dbdimp.h
 SHA1 6c33bcf138e577722283bef02fceb8cbce4d100d dbivport.h
-SHA1 6a3c7c46fc7db7e76c7333026bf714e1458137fb lib/Bundle/DBD/Pg.pm
+SHA1 1a52a88ba5ed8a39f7d659b2e98be26f58c845c3 lib/Bundle/DBD/Pg.pm
 SHA1 dbe8b0bd24538a61d4c617848e7fca27fd4ea3eb quote.c
 SHA1 0a1fdd0406c5c367a9aba366d1d35cfa8d5272ae quote.h
 SHA1 93aa7e8cae0a361d1e6163dea0281ebff41f3c5f t/00-signature.t
 SHA1 073baf503a601ceeb49516d61bd275f0c1e51563 t/00basic.t
-SHA1 e5c88f4796bed486507104d3a751315995c77b94 t/01connect.t
+SHA1 f407ad828fe5898e1fa585523852b204ce9b5b2d t/01connect.t
 SHA1 ec842e6aaf11d6a55809318d69bd11ce8245092f t/01constants.t
 SHA1 73c4d8f20e828885828505f8266629af4f2e8ae9 t/02attribs.t
 SHA1 790f36471738f6b701e86654f8cd0ffafce03f0b t/03dbmethod.t
@@ -52,7 +52,7 @@
 SHA1 29ee4d1ebb593b2148e2b50f75e55c7c4b8ee376 t/99_spellcheck.t
 SHA1 ace40437561196dc6a08b5e725de35aed0e9902c t/99_yaml.t
 SHA1 60031c2db489d77291078ab6a418723e1a35f137 t/99cleanup.t
-SHA1 1ecceecf54ab48affeae320e0cd8dfbcacfd51d5 t/dbdpg_test_setup.pl
+SHA1 5e0f55ec185c686b583ceb0b94f54dd60d808f02 t/dbdpg_test_setup.pl
 SHA1 bc4a58bdd5e853139f9e1fc6129f83e50a07a2c6 t/lib/App/Info.pm
 SHA1 58befda00c12b1721875262505112203bf230450 t/lib/App/Info/Handler.pm
 SHA1 b5bf85b12a5fc207c44113a9c028fb7fbd68531f t/lib/App/Info/Handler/Prompt.pm
@@ -60,12 +60,12 @@
 SHA1 c4526a50a9266817c64a8f8a9e3fa19b27715f50 t/lib/App/Info/RDBMS/PostgreSQL.pm
 SHA1 188d73fe871cc0afa65837c19eb2a6b43884a8f4 t/lib/App/Info/Request.pm
 SHA1 6eaa2bdb5bc68d1b68933f59dd21882b920a5df0 t/lib/App/Info/Util.pm
-SHA1 619d9ee5107906d8e0aaa3d6e1329336b1b383c7 types.c
+SHA1 c2e57ee10f8a32d66d6c7a314ca5a0f886bc8618 types.c
 SHA1 01c443add5e4541921943d361025d3e82e9bc7d0 types.h
 SHA1 f07cd5ecaeb854c81ceb9206364979cf607e6546 win32.mak
 -----BEGIN PGP SIGNATURE-----
 
-iEYEAREDAAYFAkjTqRQACgkQvJuQZxSWSshUHQCgrdRP5fxrnfWKeGBUpLP084l0
-r+YAni9pa97s07shGU5LGSjiTUmOeZnO
-=lkDO
+iEYEAREDAAYFAkjYXlYACgkQvJuQZxSWSshmdQCgxoBXsxaWQ5G2xI8ISAEx6oq/
+Er4AoOOwG+EW8rSJ9nFYBqQU9ykSZpVd
+=qfFx
 -----END PGP SIGNATURE-----

Modified: trunk/libdbd-pg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/changelog?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/changelog (original)
+++ trunk/libdbd-pg-perl/debian/changelog Wed Sep 24 20:18:33 2008
@@ -1,3 +1,9 @@
+libdbd-pg-perl (2.10.7-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Wed, 24 Sep 2008 22:17:31 +0200
+
 libdbd-pg-perl (2.10.6-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libdbd-pg-perl/lib/Bundle/DBD/Pg.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/lib/Bundle/DBD/Pg.pm?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/lib/Bundle/DBD/Pg.pm (original)
+++ trunk/libdbd-pg-perl/lib/Bundle/DBD/Pg.pm Wed Sep 24 20:18:33 2008
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-$VERSION = '2.10.6';
+$VERSION = '2.10.7';
 
 1;
 

Modified: trunk/libdbd-pg-perl/t/01connect.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/t/01connect.t?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/t/01connect.t (original)
+++ trunk/libdbd-pg-perl/t/01connect.t Wed Sep 24 20:18:33 2008
@@ -89,7 +89,7 @@
 	$t=q{Connect using a quoted database argument};
 	eval {
 		$dbh and $dbh->disconnect();
-		(undef,$err,$dbh) = connect_database({dbquotes => 1});
+		(undef,$err,$dbh) = connect_database({dbquotes => 1, nocreate => 1});
 	};
 	is ($@, q{}, $t);
 }

Modified: trunk/libdbd-pg-perl/t/dbdpg_test_setup.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/t/dbdpg_test_setup.pl?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/t/dbdpg_test_setup.pl (original)
+++ trunk/libdbd-pg-perl/t/dbdpg_test_setup.pl Wed Sep 24 20:18:33 2008
@@ -82,7 +82,7 @@
 			$testdsn =~ s/$alias\s*=/$arg->{dbreplace}=/;
 		}
 		if ($arg->{dbquotes}) {
-			$testdsn =~ s/$alias\s*=(\w+)/'db="'.lc $2.'"'/e;
+			$testdsn =~ s/$alias\s*=([\-\w]+)/'db="'.lc $2.'"'/e;
 		}
 
 		goto GOTDBH if eval {

Modified: trunk/libdbd-pg-perl/types.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/types.c?rev=25599&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/types.c (original)
+++ trunk/libdbd-pg-perl/types.c Wed Sep 24 20:18:33 2008
@@ -1,6 +1,6 @@
 /*
 
-   $Id: types.c 11572 2008-07-23 03:57:59Z turnstep $
+   $Id: types.c 11867 2008-09-23 02:32:59Z turnstep $
 
    Copyright (c) 2003-2008 Greg Sabino Mullane and others: see the Changes file
    
@@ -376,7 +376,7 @@
 while(<$fh>) {
 	s/FLOAT8PASSBYVAL/t/;
 	s/FLOAT4PASSBYVAL/t/;
-	if (/^DATA\(insert OID\s+=\s+(\d+)\s+\(\s+(\S+)\s+\S+ \S+\s+\S+\s+[t|f]\s+. ([tf]) \\(\d+) (\d+)\s+(\d+) (\d+) (\S+) (\S+) (\S+) (\S+)/o) {
+	if (/^DATA\(insert OID\s+=\s+(\d+)\s+\(\s+(\S+)\s+\S+ \S+\s+\S+\s+[t|f]\s+. . [tf] ([tf]) \\(\d+) (\d+)\s+(\d+) (\d+) (\S+) (\S+) (\S+) (\S+)/o) {
 		my ($oid,$name,$typedef,$delim,$typrelid,$typelem,$typarray,$tin,$tout,$bin,$bout) =
 			($1,$2,$3,chr(oct($4)),$5,$6,$7,$8,$9,$10,$11);
 		die "Duplicated OID $oid!: $_\n" if exists $pgtype{$oid};




More information about the Pkg-perl-cvs-commits mailing list