Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-DBD-Pg for openSUSE:Factory 
checked in at 2024-01-04 18:11:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-Pg (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DBD-Pg"

Thu Jan  4 18:11:03 2024 rev:60 rq:1136840 version:3.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-Pg/perl-DBD-Pg.changes  2023-09-13 
20:44:57.386917591 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.28375/perl-DBD-Pg.changes       
2024-01-04 18:11:05.329526301 +0100
@@ -1,0 +2,14 @@
+Thu Dec  7 03:06:29 UTC 2023 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 3.18.0
+   see /usr/share/doc/packages/perl-DBD-Pg/Changes
+
+  Version 3.18.0 (released December 6, 2023)
+
+   - Support new PQclosePrepared function, added in Postgres 17
+     [Greg Sabino Mullane]
+
+   - Better docs about ping always returning a value
+     (Github issue #121)
+
+-------------------------------------------------------------------

Old:
----
  DBD-Pg-3.17.0.tar.gz

New:
----
  DBD-Pg-3.18.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-DBD-Pg.spec ++++++
--- /var/tmp/diff_new_pack.AIzq0L/_old  2024-01-04 18:11:06.009551133 +0100
+++ /var/tmp/diff_new_pack.AIzq0L/_new  2024-01-04 18:11:06.013551279 +0100
@@ -18,7 +18,7 @@
 
 %define cpan_name DBD-Pg
 Name:           perl-DBD-Pg
-Version:        3.17.0
+Version:        3.18.0
 Release:        0
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        DBI PostgreSQL interface

++++++ DBD-Pg-3.17.0.tar.gz -> DBD-Pg-3.18.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/Changes new/DBD-Pg-3.18.0/Changes
--- old/DBD-Pg-3.17.0/Changes   2023-08-24 02:29:50.000000000 +0200
+++ new/DBD-Pg-3.18.0/Changes   2023-12-07 00:42:21.000000000 +0100
@@ -2,6 +2,15 @@
 
 RT refers to rt.cpan.org
 
+Version 3.18.0 (released December 6, 2023)
+
+ - Support new PQclosePrepared function, added in Postgres 17
+   [Greg Sabino Mullane]
+
+ - Better docs about ping always returning a value
+   (Github issue #121)
+
+
 Version 3.17.0  (released August 23, 2023)
 
  - New database handle attribute pg_skip_deallocate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/META.json new/DBD-Pg-3.18.0/META.json
--- old/DBD-Pg-3.17.0/META.json 2023-08-23 01:21:30.000000000 +0200
+++ new/DBD-Pg-3.18.0/META.json 2023-12-04 16:33:40.000000000 +0100
@@ -18,14 +18,14 @@
    "provides" : {
       "DBD::Pg" : {
          "file" : "Pg.pm",
-         "version" : "3.17.0"
+         "version" : "3.18.0"
       },
       "Bundle::DBD::Pg" : {
-         "version" : "3.17.0",
+         "version" : "3.18.0",
          "file" : "lib/Bundle/DBD/Pg.pm"
       }
    },
-   "version" : "3.17.0",
+   "version" : "3.18.0",
    "requires" : {
       "perl" : "5.008001",
       "DBI" : "1.614",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/META.yml new/DBD-Pg-3.18.0/META.yml
--- old/DBD-Pg-3.17.0/META.yml  2023-08-23 01:21:29.000000000 +0200
+++ new/DBD-Pg-3.18.0/META.yml  2023-12-04 16:33:28.000000000 +0100
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name                        : DBD-Pg
-version                     : 3.17.0
+version                     : 3.18.0
 abstract                    : DBI PostgreSQL interface
 author:              
   - Greg Sabino Mullane <g...@turnstep.com>
@@ -30,10 +30,10 @@
 provides:
   DBD::Pg:
     file                    : Pg.pm
-    version                 : 3.17.0
+    version                 : 3.18.0
   Bundle::DBD::Pg:
     file                    : lib/Bundle/DBD/Pg.pm
-    version                 : 3.17.0
+    version                 : 3.18.0
 
 keywords:
   - Postgres
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/Makefile.PL 
new/DBD-Pg-3.18.0/Makefile.PL
--- old/DBD-Pg-3.17.0/Makefile.PL       2023-08-23 01:21:37.000000000 +0200
+++ new/DBD-Pg-3.18.0/Makefile.PL       2023-12-04 16:34:07.000000000 +0100
@@ -5,7 +5,7 @@
 use 5.008001;
 
 ## No version.pm for this one, as the prereqs are not loaded yet.
-my $VERSION = '3.17.0';
+my $VERSION = '3.18.0';
 
 ## App::Info is stored inside t/lib
 ## Create a proper path so we can use it below
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/Pg.pm new/DBD-Pg-3.18.0/Pg.pm
--- old/DBD-Pg-3.17.0/Pg.pm     2023-08-24 02:26:49.000000000 +0200
+++ new/DBD-Pg-3.18.0/Pg.pm     2023-12-04 16:32:56.000000000 +0100
@@ -16,7 +16,7 @@
 {
     package DBD::Pg;
 
-    use version; our $VERSION = qv('3.17.0');
+    use version; our $VERSION = qv('3.18.0');
 
     use DBI 1.614 ();
     use Exporter ();
@@ -137,7 +137,7 @@
         $class .= '::dr';
 
         ## Work around for issue found in 
https://rt.cpan.org/Ticket/Display.html?id=83057
-        my $realversion = qv('3.17.0');
+        my $realversion = qv('3.18.0');
 
         $drh = DBI::_new_drh($class, {
             'Name'        => 'Pg',
@@ -1700,7 +1700,7 @@
 
 =head1 VERSION
 
-This documents version 3.17.0 of the DBD::Pg module
+This documents version 3.18.0 of the DBD::Pg module
 
 =head1 DESCRIPTION
 
@@ -2798,9 +2798,9 @@
 
 The C<ping> method determines if there is a working connection to an active 
 database server. It does this by sending a small query to the server, 
currently 
-B<'DBD::Pg ping test v3.17.0'>. It returns 0 (false) if the connection is not 
valid, 
-otherwise it returns a positive number (true). The value returned indicates 
the 
-current state:
+B<'DBD::Pg ping test v3.18.0'>. It returns 0 (false) if the connection is not 
valid, 
+otherwise it returns a positive number (true). It should never throw an 
exception. 
+The value returned indicates the current state:
 
   Value    Meaning
   --------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/README new/DBD-Pg-3.18.0/README
--- old/DBD-Pg-3.17.0/README    2023-08-23 01:21:44.000000000 +0200
+++ new/DBD-Pg-3.18.0/README    2023-12-05 21:43:19.000000000 +0100
@@ -6,7 +6,7 @@
 DESCRIPTION:
 ------------
 
-This is version 3.17.0 of DBD::Pg, the Perl interface to Postgres using DBI.
+This is version 3.18.0 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/
@@ -15,6 +15,9 @@
 
     http://www.nntp.perl.org/group/perl.dbd.pg/
 
+Subscribe with an email to dbd-pg-subscr...@perl.org
+
+
 The development of DBD::Pg can be tracked at:
 
     git://github.com/bucardo/dbdpg.git
@@ -37,7 +40,7 @@
 DBD::Pg needs to know where to find the libpq libraries: this is usually done 
 by checking the output of the pg_config executable. If pg_config is not 
available, 
 then you may need to install the development package for PostgreSQL. To do 
this 
-on Debian and Ubuntu, use: apt-get install libpq-dev; on RedHat and CentOS, 
+on Debian and Ubuntu, use: apt-get install libpq-dev; on RedHat, CentOS, etc. 
 use: yum install postgresql-devel. Note that the development libraries are 
needed 
 even if you already have PostgreSQL up and running.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/README.dev new/DBD-Pg-3.18.0/README.dev
--- old/DBD-Pg-3.17.0/README.dev        2023-08-16 19:35:45.000000000 +0200
+++ new/DBD-Pg-3.18.0/README.dev        2023-12-05 21:43:20.000000000 +0100
@@ -784,8 +784,11 @@
 == Resources ==
 ===============
 
-The primary resource is the mailing list, where the developers live. Other 
-resources depend on the subject:
+The primary resource is the mailing list, where the developers live.
+
+Subscribe with an email to dbd-pg-subscr...@perl.org
+
+Other resources depend on the subject:
 
 * DBD::Pg
 
@@ -800,12 +803,16 @@
 
 The DBI developers list:
 http://lists.perl.org/showlist.cgi?name=dbi-dev
+Subscribe: dbi-dev-subscr...@perl.org
 
 The DBI users list:
 http://lists.perl.org/showlist.cgi?name=dbi-users
+Subscribe: dbi-users-subscr...@perl.org
 
 The DBI announcement list:
 http://lists.perl.org/showlist.cgi?name=dbi-announce
+Subscribe: dbi-announce-subscr...@perl.org
+
 
 The latest DBI:
 http://search.cpan.org/dist/DBI/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/SIGNATURE new/DBD-Pg-3.18.0/SIGNATURE
--- old/DBD-Pg-3.17.0/SIGNATURE 2023-08-24 02:31:23.000000000 +0200
+++ new/DBD-Pg-3.18.0/SIGNATURE 2023-12-07 00:43:57.000000000 +0100
@@ -17,25 +17,25 @@
 SHA256 e4c6f4cdc9560a09492f196fc9a180867fab12742d7d05052d9842b395c6a9eb 
.dir-locals.el
 SHA256 88f72a6f8c23e8a33060255223170598b145b00a9bfc7bbea5d18b85bf302430 
.perlcriticrc
 SHA256 56479e9cf7c00a72bc5458593463a5a6e5481f74f3a4be5ef94129e01c3e2f91 
CONTRIBUTING.md
-SHA256 42f8fcd4c3afc9e8b49fc4d7efb6fc295264c4a7988534c6bd62dc870f65e8a0 Changes
+SHA256 59b20a7b6c0980d2c383787bcffb0f7f292441023b7ccddb2351a14ef881dbaa Changes
 SHA256 d52a34724b2e3c40ffa2b3b378b574b9e3db27bc3132c88e0be3675f93f378a5 
LICENSES/artistic.txt
 SHA256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 
LICENSES/gpl-2.0.txt
 SHA256 41e641a5fbbcd2feabc78a372b644fa93e31bda4df515db0b22a2418fd10c800 
MANIFEST
 SHA256 d047d160c71de8982b183a4b43b932b3a88f88be52bd49fd5d2af66656602fed 
MANIFEST.SKIP
-SHA256 1d0f2b3ef9de27866d940a29a52601e2100f7a06de7cf4f5d38bd6093558d6cd 
META.json
-SHA256 3a6eb6e1a771739af6652a5fff40afa3057aed9f7f02ae6a2e9e0c5f4e7ba65b 
META.yml
-SHA256 b0c5d21113542f15810b0a148ecba29d75ff9a5eeeca2ec515d0c0f3b68f9002 
Makefile.PL
+SHA256 ea408ca4c42d8b19bd400fc0badd6c9a404b91c0ff8a33a0e1d33c835b80d53c 
META.json
+SHA256 206b2fb5d4e3f8ff0cc16eb3045a81ba98cc679ddb401829881587a53cc795a8 
META.yml
+SHA256 1a2b84ad7404b90348a64f297a024d094d0ebde031c8eb61f9d48659b04b6313 
Makefile.PL
 SHA256 197aa5c474d2fbf54776dad96defe4f7a4911efdaa2f47af301851fd80bf4ac2 Pg.h
-SHA256 b20775cdcb28810100aee886fbc7e97885d19d3211c1ed2cac9520e85a2c1df6 Pg.pm
+SHA256 76e43d92d4ca732ad01a30b48eee9861a1f03c82655436600c8db1d8838aaea1 Pg.pm
 SHA256 288554d935bf3ebf3b59639d7300892951fb3cc6718e4b10421489b89b4c0885 Pg.xs
-SHA256 67f20e99f62a676fc8455b825de967c5f48ca7d83665037d214cd9ebc1d0d8ae README
-SHA256 f21f7dbd8d915d48b417af441ef76cdfddba872f28e568abc40291713d4d66f6 
README.dev
+SHA256 c5433360801a6c5a506abd213c62e87073f5cee9b7a77870ab645798b86f9d35 README
+SHA256 7a1b8a9b39498d4a004c467a88a7029120ccf55b354e4aeacc3ea8a85886c43d 
README.dev
 SHA256 a1d224603fe3a343ba0a0f40086065c81d57fbebc734b5382b0d359da16bdd94 
README.win32
-SHA256 4bf51a35d6307b2a7504f140abe5c8af0bfad2973a4972d1ec3ef1c9e4776ade TODO
-SHA256 3d9ae88d3ecaf2785479bb6896939ac64c2585c196eec8fe8377f645b489c8ad 
dbdimp.c
+SHA256 f449097b5796005dffa234e0bcf03863ebe89cb5c573cb50211081d790de2009 TODO
+SHA256 c181cbc80d47a01829920ac494bf9064d8598dd022eba859788ab5890c7652c4 
dbdimp.c
 SHA256 f744d04f9b31cc36d21ec3e43cb515777ea36419c4ad810d63db286ffeccabd8 
dbdimp.h
 SHA256 9e53f7f41aaaf1b540e2784756ef6f16f61b63df0d9956483aded3c49b6e0f48 
dbivport.h
-SHA256 ac9fdb36bc5117622313441175daa0f9450b8808b4159cddd96d0d596c900911 
lib/Bundle/DBD/Pg.pm
+SHA256 5c1172530e9804a26bd21a44ad465ea5c0ac103c85c55d23245c214ddb673e06 
lib/Bundle/DBD/Pg.pm
 SHA256 9d16f85571f49a89b1385afc205cd3e62fc8c18635c797f9b1d9dd6c502e239c quote.c
 SHA256 1ee43f02036bbb68c151903c2718c483ed223aff6cc93fb1408a9158adad9136 quote.h
 SHA256 49950c2c882018916ef89b59a1707b732064eb3bb6acb6a350111e1dc81000b8 
t/00_signature.t
@@ -70,7 +70,7 @@
 SHA256 4628f92764bdb3e2b04bda7f30fc497231fbbf80dfd24cc09ee3df2e6d6d4387 
win32.mak
 -----BEGIN PGP SIGNATURE-----
 
-iF0EAREDAB0WIQQlKd9quPeUB+lERbS8m5BnFJZKyAUCZOak0QAKCRC8m5BnFJZK
-yNXtAKCG4CmU7GTQcB0ZNjRbUqNGjaH2/ACffrZBB6kpPi0QI3AsN+/2XcR3BX4=
-=xJb5
+iF0EAREDAB0WIQQlKd9quPeUB+lERbS8m5BnFJZKyAUCZXEHHgAKCRC8m5BnFJZK
+yAuuAKD80u+u+VeXMXOXUHgYXjjQu2DFCgCfQVGYJnMwRpKbe/uvgAw4IxWu+P8=
+=Crme
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/TODO new/DBD-Pg-3.18.0/TODO
--- old/DBD-Pg-3.17.0/TODO      2023-08-16 20:24:54.000000000 +0200
+++ new/DBD-Pg-3.18.0/TODO      2023-11-02 17:47:46.000000000 +0100
@@ -3,7 +3,6 @@
 Feature requests can be entered at 
 https://github.com/bucardo/dbdpg/issues
 
-- Add support for PQclose to replace manual DEALLOCATE
 - Support pipeline mode: 
https://www.postgresql.org/docs/14/libpq-pipeline-mode.html
 - Consider adding pg_application_name
 - Evaluate if we really need strtod in the code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/dbdimp.c new/DBD-Pg-3.18.0/dbdimp.c
--- old/DBD-Pg-3.17.0/dbdimp.c  2023-08-24 02:26:49.000000000 +0200
+++ new/DBD-Pg-3.18.0/dbdimp.c  2023-12-04 16:33:04.000000000 +0100
@@ -499,7 +499,7 @@
     }
 
     /* No matter what state we are in, send an empty query to the backend */
-    result = PQexec(imp_dbh->conn, "/* DBD::Pg ping test v3.17.0 */");
+    result = PQexec(imp_dbh->conn, "/* DBD::Pg ping test v3.18.0 */");
     status = PQresultStatus(result);
     PQclear(result);
     if (PGRES_FATAL_ERROR == status) {
@@ -4027,6 +4027,16 @@
         }
     }
 
+#if PGLIBVERSION >= 170000
+
+    if (TRACE5_slow)
+        TRC(DBILOGFP, "%sUsing PQclosePrepared: %s\n", THEADER_slow, 
imp_sth->prepare_name);
+
+    imp_dbh->last_result = imp_sth->result
+        = PQclosePrepared(imp_dbh->conn, imp_sth->prepare_name);
+    imp_dbh->result_clearable = DBDPG_FALSE;
+    status = _sqlstate(aTHX_ imp_dbh, imp_sth->result);
+#else
     New(0, stmt, strlen("DEALLOCATE ") + strlen(imp_sth->prepare_name) + 1, 
char); /* freed below */
 
     sprintf(stmt, "DEALLOCATE %s", imp_sth->prepare_name);
@@ -4036,6 +4046,8 @@
 
     status = _result(aTHX_ imp_dbh, stmt);
     Safefree(stmt);
+#endif
+
     if (PGRES_COMMAND_OK != status) {
         TRACE_PQERRORMESSAGE;
         pg_error(aTHX_ sth, status, PQerrorMessage(imp_dbh->conn));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DBD-Pg-3.17.0/lib/Bundle/DBD/Pg.pm 
new/DBD-Pg-3.18.0/lib/Bundle/DBD/Pg.pm
--- old/DBD-Pg-3.17.0/lib/Bundle/DBD/Pg.pm      2023-08-23 01:21:11.000000000 
+0200
+++ new/DBD-Pg-3.18.0/lib/Bundle/DBD/Pg.pm      2023-12-04 16:34:17.000000000 
+0100
@@ -5,7 +5,7 @@
 use warnings;
 use 5.008001;
 
-our $VERSION = '3.17.0';
+our $VERSION = '3.18.0';
 
 1;
 

Reply via email to