r51472 - in /branches/upstream/libdbd-pg-perl/current: Changes META.yml Makefile.PL Pg.h Pg.pm Pg.xs README SIGNATURE dbdimp.c dbdimp.h lib/Bundle/DBD/Pg.pm quote.c t/03dbmethod.t t/06bytea.t types.c

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Jan 24 17:51:07 UTC 2010


Author: jawnsy-guest
Date: Sun Jan 24 17:51:02 2010
New Revision: 51472

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51472
Log:
[svn-upgrade] Integrating new upstream version, libdbd-pg-perl (2.16.1)

Modified:
    branches/upstream/libdbd-pg-perl/current/Changes
    branches/upstream/libdbd-pg-perl/current/META.yml
    branches/upstream/libdbd-pg-perl/current/Makefile.PL
    branches/upstream/libdbd-pg-perl/current/Pg.h
    branches/upstream/libdbd-pg-perl/current/Pg.pm
    branches/upstream/libdbd-pg-perl/current/Pg.xs
    branches/upstream/libdbd-pg-perl/current/README
    branches/upstream/libdbd-pg-perl/current/SIGNATURE
    branches/upstream/libdbd-pg-perl/current/dbdimp.c
    branches/upstream/libdbd-pg-perl/current/dbdimp.h
    branches/upstream/libdbd-pg-perl/current/lib/Bundle/DBD/Pg.pm
    branches/upstream/libdbd-pg-perl/current/quote.c
    branches/upstream/libdbd-pg-perl/current/t/03dbmethod.t
    branches/upstream/libdbd-pg-perl/current/t/06bytea.t
    branches/upstream/libdbd-pg-perl/current/types.c

Modified: branches/upstream/libdbd-pg-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/Changes?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/Changes (original)
+++ branches/upstream/libdbd-pg-perl/current/Changes Sun Jan 24 17:51:02 2010
@@ -1,4 +1,9 @@
 ('GSM' is Greg Sabino Mullane, greg at turnstep.com)
+
+2.16.1 Released January 20, 2010
+
+  - Output error messages in UTF-8 as needed. Reported by 
+    Michael Hofmann. [GSM] (CPAN bug #53854)
 
 2.16.0 Released December 17, 2009
 

Modified: branches/upstream/libdbd-pg-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/META.yml?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/META.yml (original)
+++ branches/upstream/libdbd-pg-perl/current/META.yml Sun Jan 24 17:51:02 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name                        : DBD-Pg
-version                     : 2.16.0
+version                     : 2.16.1
 abstract                    : DBI PostgreSQL interface
 author:              
   - Greg Sabino Mullane <greg at turnstep.com>
@@ -39,10 +39,10 @@
 provides:
   DBD::Pg:
     file                    : Pg.pm
-    version                 : 2.16.0
+    version                 : 2.16.1
   Bundle::DBD::Pg:
     file                    : lib/Bundle/DBD/Pg.pm
-    version                 : 2.16.0
+    version                 : 2.16.1
 
 keywords:
   - Postgres

Modified: branches/upstream/libdbd-pg-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/Makefile.PL?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/Makefile.PL (original)
+++ branches/upstream/libdbd-pg-perl/current/Makefile.PL Sun Jan 24 17:51:02 2010
@@ -1,4 +1,4 @@
-# $Id: Makefile.PL 13673 2009-12-17 17:06:50Z turnstep $
+# $Id: Makefile.PL 13751 2010-01-20 19:14:51Z 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.16.0';
+my $VERSION = '2.16.1';
 
 my $lib;
 BEGIN {

Modified: branches/upstream/libdbd-pg-perl/current/Pg.h
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/Pg.h?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/Pg.h (original)
+++ branches/upstream/libdbd-pg-perl/current/Pg.h Sun Jan 24 17:51:02 2010
@@ -1,7 +1,7 @@
 /*
-   $Id: Pg.h 12599 2009-03-10 23:28:35Z turnstep $
+   $Id: Pg.h 13752 2010-01-20 19:19:06Z turnstep $
 
-   Copyright (c) 2000-2009 Greg Sabino Mullane and others: see the Changes file
+   Copyright (c) 2000-2010 Greg Sabino Mullane and others: see the Changes file
    Copyright (c) 1997-2000 Edmund Mergl
    Portions Copyright (c) 1994-1997 Tim Bunce
 

Modified: branches/upstream/libdbd-pg-perl/current/Pg.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/Pg.pm?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/Pg.pm (original)
+++ branches/upstream/libdbd-pg-perl/current/Pg.pm Sun Jan 24 17:51:02 2010
@@ -1,7 +1,7 @@
 #  -*-cperl-*-
-#  $Id: Pg.pm 13672 2009-12-17 17:04:11Z turnstep $
+#  $Id: Pg.pm 13752 2010-01-20 19:19:06Z turnstep $
 #
-#  Copyright (c) 2002-2009 Greg Sabino Mullane and others: see the Changes file
+#  Copyright (c) 2002-2010 Greg Sabino Mullane and others: see the Changes file
 #  Portions Copyright (c) 2002 Jeffrey W. Baker
 #  Portions Copyright (c) 1997-2001 Edmund Mergl
 #  Portions Copyright (c) 1994-1997 Tim Bunce
@@ -17,7 +17,7 @@
 {
 	package DBD::Pg;
 
-	use version; our $VERSION = qv('2.16.0');
+	use version; our $VERSION = qv('2.16.1');
 
 	use DBI ();
 	use DynaLoader ();
@@ -1731,7 +1731,7 @@
 
 =head1 VERSION
 
-This documents version 2.16.0 of the DBD::Pg module
+This documents version 2.16.1 of the DBD::Pg module
 
 =head1 DESCRIPTION
 
@@ -4199,7 +4199,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 1994-2009, Greg Sabino Mullane
+Copyright (C) 1994-2010, Greg Sabino Mullane
 
 This module (DBD::Pg) is free software; you can redistribute it and/or modify it 
 under the same terms as Perl 5.10.0. For more details, see the full text of the 

Modified: branches/upstream/libdbd-pg-perl/current/Pg.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/Pg.xs?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/Pg.xs (original)
+++ branches/upstream/libdbd-pg-perl/current/Pg.xs Sun Jan 24 17:51:02 2010
@@ -1,7 +1,7 @@
 /*
-  $Id: Pg.xs 13342 2009-09-15 14:31:01Z turnstep $
-
-  Copyright (c) 2000-2009 Greg Sabino Mullane and others: see the Changes file
+  $Id: Pg.xs 13752 2010-01-20 19:19:06Z turnstep $
+
+  Copyright (c) 2000-2010 Greg Sabino Mullane and others: see the Changes file
   Portions Copyright (c) 1997-2000 Edmund Mergl
   Portions Copyright (c) 1994-1997 Tim Bunce
 

Modified: branches/upstream/libdbd-pg-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/README?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/README (original)
+++ branches/upstream/libdbd-pg-perl/current/README Sun Jan 24 17:51:02 2010
@@ -1,4 +1,4 @@
-DBD::Pg is Copyright (C) 1994-2009, Greg Sabino Mullane
+DBD::Pg is Copyright (C) 1994-2010, Greg Sabino Mullane
 
 DBD::Pg  --  the DBI PostgreSQL interface for Perl
 
@@ -6,7 +6,7 @@
 DESCRIPTION:
 ------------
 
-This is version 2.16.0 of DBD::Pg, the Perl interface to Postgres using DBI. 
+This is version 2.16.1 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/
@@ -348,7 +348,7 @@
 COPYRIGHT:
 ----------
 
-	Copyright (c) 2002-2009 Greg Sabino Mullane and others: see the Changes file
+	Copyright (c) 2002-2010 Greg Sabino Mullane and others: see the Changes file
 	Portions Copyright (c) 2002 Jeffrey W. Baker
 	Portions Copyright (c) 1997-2001 Edmund Mergl
 	Portions Copyright (c) 1994-1997 Tim Bunce

Modified: branches/upstream/libdbd-pg-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/SIGNATURE?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/SIGNATURE (original)
+++ branches/upstream/libdbd-pg-perl/current/SIGNATURE Sun Jan 24 17:51:02 2010
@@ -15,35 +15,35 @@
 Hash: RIPEMD160
 
 SHA1 415d25a8628815a50a8f79317de4abff11ac73e8 .perlcriticrc
-SHA1 8b72c39e57c4fc9c59e1e8f1c02b9de88403199f Changes
+SHA1 61ababe84bab1f17beffd7fc9f712a3f76859bd9 Changes
 SHA1 21bc5f3c797d4d5b72285198ffeb1e4e1f0a2902 LICENSES/artistic.txt
 SHA1 06877624ea5c77efe3b7e39b0f909eda6e25a4ec LICENSES/gpl-2.0.txt
 SHA1 4025b3973c4a10c37fc7ad2f7a63fd9faa36f599 MANIFEST
 SHA1 dc863ce481b321833db84c95bbe976e8c65f296e MANIFEST.SKIP
-SHA1 218bff8ed292b96832ac3d64859d877468491196 META.yml
-SHA1 43320f9e9f12c3e71211952293d2c5b016c5dfaa Makefile.PL
-SHA1 23ff9a53497b927573048b7457d5eb8173d8b9b0 Pg.h
-SHA1 6f3448bd7b559929e0478ac100bfb7a5a33148ff Pg.pm
-SHA1 2f052e8b2f1c8a6e449822f340d78b49d704957d Pg.xs
-SHA1 495ff0d518d9822efcaa4ae47bad1b7cb39217df README
+SHA1 68c6a46d1ee510f2d24979150c8c21935a207a02 META.yml
+SHA1 34de4fefe6a7e6d91d31ca2cde46561dca9f9748 Makefile.PL
+SHA1 85c2b29c21312a022524a730f26b2c4b30fc4211 Pg.h
+SHA1 38b622161de0aa97a6f832069f226f89b968a3c9 Pg.pm
+SHA1 526e543d114e0448343e0f7b7f516489b27a7eff Pg.xs
+SHA1 20c1143b25d5391047bda462af408a8b59c5f124 README
 SHA1 4078d5452d087f83c7f43915fd329a51e66b0f6a README.dev
 SHA1 7e213bf90f513595b59c0a2c4ef94fea1592efcf README.win32
 SHA1 7330c41dd3a581aee4e1ca862b7403450454ce77 TODO
-SHA1 cdac7235a52397feec7529e8d8eabd5acc4ec920 dbdimp.c
-SHA1 bbc79c5ee1fbc1cdaac98ced768ae031a696a304 dbdimp.h
+SHA1 3377518030d81cd77473955f7ece656a80b7b151 dbdimp.c
+SHA1 2dbe05ed5fd97aca5d5e06eafd5e3d0b0ad408bd dbdimp.h
 SHA1 6c33bcf138e577722283bef02fceb8cbce4d100d dbivport.h
-SHA1 110aca105f77471f11f4a71bc8b0f523d1eeaa7c lib/Bundle/DBD/Pg.pm
-SHA1 10aecc125180e97a19c8e0b7ea82a64d0356efea quote.c
+SHA1 41e743c30b6bc555a0b32eb2e010d3133a6fd4ce lib/Bundle/DBD/Pg.pm
+SHA1 11dc1f05bf7dc7e97d2ffe4796367506a0f86c9d quote.c
 SHA1 54f10c6d76db2f2bfbaa7f345d7034029b88453c quote.h
 SHA1 93aa7e8cae0a361d1e6163dea0281ebff41f3c5f t/00-signature.t
 SHA1 073baf503a601ceeb49516d61bd275f0c1e51563 t/00basic.t
 SHA1 f407ad828fe5898e1fa585523852b204ce9b5b2d t/01connect.t
 SHA1 1e0d8cad9de0063d4258739f6c8eb2cee27d9937 t/01constants.t
 SHA1 01f352b31c7d68eeb09cf3b65a88cb09d95af341 t/02attribs.t
-SHA1 1e32a11968bfacf6f4cf3b09cd7822408f0ecb4c t/03dbmethod.t
+SHA1 102de1d793ed8ee9f6c11b6a64d1b9f6fb54f147 t/03dbmethod.t
 SHA1 56c1dbf645c0849ad10ec7fc9542a4a4bed11f47 t/03smethod.t
 SHA1 910d6c2234d77a74a49cf189b6c799e13bf75280 t/04misc.t
-SHA1 504cd18cb0b6d72f2b72d79a997f552c281134e4 t/06bytea.t
+SHA1 3bdff339d707130208e2e9fa216f7f7037983754 t/06bytea.t
 SHA1 e55c0c4bf65b8d25dff7b7c9fed429fb8d07259b t/07copy.t
 SHA1 3aa283c6065bc2a7b734fc4c7d1f21ac79acfdde t/08async.t
 SHA1 dbbb66906bed8f24879ad757e58be889ac4cee4d t/09arrays.t
@@ -58,12 +58,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 848bb1039afb9b111afbf93e364d620654602531 types.c
+SHA1 d40844215f3959fdbcb05e6b68180d0e3c980e0c types.c
 SHA1 144146d529684b716165811e687bea6a930c361c types.h
 SHA1 f07cd5ecaeb854c81ceb9206364979cf607e6546 win32.mak
 -----BEGIN PGP SIGNATURE-----
 
-iEYEAREDAAYFAksqZiIACgkQvJuQZxSWSsj2LQCgtpmKBSK6Y2osBshzRcpBewfz
-kdQAnRVOtMBKqmjyvK+Mf76HSO2BqL94
-=eUJK
+iEYEAREDAAYFAktXb8wACgkQvJuQZxSWSshKoQCgwuI9VmfTr8S0s1Y/Y85dHba0
+np4An1DLbA6LMbBZgTILSwgCNruT+vHc
+=K99o
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libdbd-pg-perl/current/dbdimp.c
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/dbdimp.c?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/dbdimp.c (original)
+++ branches/upstream/libdbd-pg-perl/current/dbdimp.c Sun Jan 24 17:51:02 2010
@@ -1,8 +1,8 @@
 /*
 
-  $Id: dbdimp.c 13667 2009-12-17 14:45:23Z turnstep $
-
-  Copyright (c) 2002-2009 Greg Sabino Mullane and others: see the Changes file
+  $Id: dbdimp.c 13752 2010-01-20 19:19:06Z turnstep $
+
+  Copyright (c) 2002-2010 Greg Sabino Mullane and others: see the Changes file
   Portions Copyright (c) 2002 Jeffrey W. Baker
   Portions Copyright (c) 1997-2000 Edmund Mergl
   Portions Copyright (c) 1994-1997 Tim Bunce
@@ -270,6 +270,10 @@
 	sv_setiv(DBIc_ERR(imp_xxh), (IV)error_num);
 	sv_setpvn(DBIc_ERRSTR(imp_xxh), error_msg, error_len);
 	sv_setpv(DBIc_STATE(imp_xxh), (char*)imp_dbh->sqlstate);
+
+	/* Set as utf-8 */
+	if (imp_dbh->pg_enable_utf8)
+		SvUTF8_on(DBIc_ERRSTR(imp_xxh));
 
 	if (TEND) TRC(DBILOGFP, "%sEnd pg_error\n", THEADER);
 

Modified: branches/upstream/libdbd-pg-perl/current/dbdimp.h
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/dbdimp.h?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/dbdimp.h (original)
+++ branches/upstream/libdbd-pg-perl/current/dbdimp.h Sun Jan 24 17:51:02 2010
@@ -1,7 +1,7 @@
 /*
-	$Id: dbdimp.h 13162 2009-08-04 18:10:35Z turnstep $
+	$Id: dbdimp.h 13752 2010-01-20 19:19:06Z turnstep $
 	
-    Copyright (c) 2000-2009 Greg Sabino Mullane and others: see the Changes file
+    Copyright (c) 2000-2010 Greg Sabino Mullane and others: see the Changes file
 	Portions Copyright (c) 1997-2000 Edmund Mergl
 	Portions Copyright (c) 1994-1997 Tim Bunce
 	

Modified: branches/upstream/libdbd-pg-perl/current/lib/Bundle/DBD/Pg.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/lib/Bundle/DBD/Pg.pm?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/lib/Bundle/DBD/Pg.pm (original)
+++ branches/upstream/libdbd-pg-perl/current/lib/Bundle/DBD/Pg.pm Sun Jan 24 17:51:02 2010
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-$VERSION = '2.16.0';
+$VERSION = '2.16.1';
 
 1;
 

Modified: branches/upstream/libdbd-pg-perl/current/quote.c
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/quote.c?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/quote.c (original)
+++ branches/upstream/libdbd-pg-perl/current/quote.c Sun Jan 24 17:51:02 2010
@@ -1,8 +1,8 @@
 /*
 
-   $Id: quote.c 13129 2009-07-27 21:57:32Z turnstep $
-
-   Copyright (c) 2003-2009 Greg Sabino Mullane and others: see the Changes file
+   $Id: quote.c 13752 2010-01-20 19:19:06Z turnstep $
+
+   Copyright (c) 2003-2010 Greg Sabino Mullane and others: see the Changes file
 
    You may distribute under the terms of either the GNU General Public
    License or the Artistic License, as specified in the Perl README file.

Modified: branches/upstream/libdbd-pg-perl/current/t/03dbmethod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/t/03dbmethod.t?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/t/03dbmethod.t (original)
+++ branches/upstream/libdbd-pg-perl/current/t/03dbmethod.t Sun Jan 24 17:51:02 2010
@@ -693,6 +693,13 @@
 	[ undef, $schema, $table3, '0', undef, 'dbd_pg_test3_pred',    'btree',  1, 'c', 'A', '0', '1', '((c > 0) AND (c < 45))' ],
 	],
 };
+
+## Make some per-version tweaks
+
+## 8.5 changed the way foreign key names are generated
+if ($pgversion >= 80500) {
+	$correct_stats->{two}[1][5] = $correct_stats->{two}[2][5] = 'dbd_pg_test2_b_c_key';
+}
 
 my $stats;
 

Modified: branches/upstream/libdbd-pg-perl/current/t/06bytea.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/t/06bytea.t?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/t/06bytea.t (original)
+++ branches/upstream/libdbd-pg-perl/current/t/06bytea.t Sun Jan 24 17:51:02 2010
@@ -62,10 +62,10 @@
 $t='Ensure proper handling of high bit characters';
 $sth->execute(403);
 ($binary_in) = $sth->fetchrow_array();
-ok( $binary_in eq $binary_out, $t );
+ok ($binary_in eq $binary_out, $t);
 $sth->execute(404);
 ($binary_in) = $sth->fetchrow_array();
-ok( $binary_in eq $binary_out, $t );
+ok ($binary_in eq $binary_out, $t);
 
 $t='quote properly handles bytea strings';
 my $string = "abc\123\\def\0ghi";

Modified: branches/upstream/libdbd-pg-perl/current/types.c
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbd-pg-perl/current/types.c?rev=51472&op=diff
==============================================================================
--- branches/upstream/libdbd-pg-perl/current/types.c (original)
+++ branches/upstream/libdbd-pg-perl/current/types.c Sun Jan 24 17:51:02 2010
@@ -1,8 +1,8 @@
 /*
 
-   $Id: types.c 12781 2009-05-19 01:48:10Z turnstep $
-
-   Copyright (c) 2003-2009 Greg Sabino Mullane and others: see the Changes file
+   $Id: types.c 11297 2008-05-20 21:52:34Z turnstep $
+
+   Copyright (c) 2003-2010 Greg Sabino Mullane and others: see the Changes file
    
    You may distribute under the terms of either the GNU General Public
    License or the Artistic License, as specified in the Perl README file.
@@ -602,7 +602,7 @@
 
    \$Id: types.c 11297 2008-05-20 21:52:34Z turnstep \$
 
-   Copyright (c) 2003-2009 Greg Sabino Mullane and others: see the Changes file
+   Copyright (c) 2003-2010 Greg Sabino Mullane and others: see the Changes file
    
    You may distribute under the terms of either the GNU General Public
    License or the Artistic License, as specified in the Perl README file.




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