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 2023-03-10 22:09:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-DBD-Pg (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-Pg" Fri Mar 10 22:09:19 2023 rev:57 rq:1070770 version:3.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-DBD-Pg/perl-DBD-Pg.changes 2022-08-12 16:07:15.115579748 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBD-Pg.new.31432/perl-DBD-Pg.changes 2023-03-10 22:09:33.985729754 +0100 @@ -1,0 +2,18 @@ +Fri Mar 10 03:06:23 UTC 2023 - Tina Müller <[email protected]> + +- updated to 3.16.1 + see /usr/share/doc/packages/perl-DBD-Pg/Changes + + + Version 3.16.1 (released March 5, 2023) + - Add new attribute "pg_int8_as_string", for backwards compatibility. + [Alexander Gorlov] + (Github pull request #100) + - Add a META.json file; rename META.yml to META.yaml + - Fix 03smethod.t $sth->last_insert_id skip count for DBI < 1.642 + [Dagfinn Ilmari Mannsåker] + (Github issue #99) + - Documentation improvements for service files + [Erik Rijkers] + +------------------------------------------------------------------- Old: ---- DBD-Pg-3.16.0.tar.gz New: ---- DBD-Pg-3.16.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DBD-Pg.spec ++++++ --- /var/tmp/diff_new_pack.BkyWm9/_old 2023-03-10 22:09:34.521732194 +0100 +++ /var/tmp/diff_new_pack.BkyWm9/_new 2023-03-10 22:09:34.525732213 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-Pg # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define cpan_name DBD-Pg Name: perl-DBD-Pg -Version: 3.16.0 +Version: 3.16.1 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: DBI PostgreSQL interface ++++++ DBD-Pg-3.16.0.tar.gz -> DBD-Pg-3.16.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/.perlcriticrc new/DBD-Pg-3.16.1/.perlcriticrc --- old/DBD-Pg-3.16.0/.perlcriticrc 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/.perlcriticrc 2023-03-05 18:39:40.000000000 +0100 @@ -1,8 +1,9 @@ verbose = %f [%p] %m at line %l, column %c. (Severity: %s)\n profile-strictness = quiet +exclude = Mardem [Documentation::PodSpelling] -stop_words = ActiveKids afterwards arrayref arrayrefs attr autocommit AutoCommit AutoInactiveDestroy backend bitmask bool boolean Bunce bytea CachedKids cancelled ChildHandles ChopBlanks CompatMode CursorName datatype Datatype datatypes dbd DBD dbdpg dbh DBI dev dr DSN enum ErrCount errstr fd FetchHashKeyName filename func getfd getline github HandleError HandleSetErr hashref hashrefs InactiveDestroy JSON largeobject len libpq LongReadLen LongTruncOk lseg Mergl Momjian Mullane nullable NULLABLE Oid OID onwards param ParamTypes ParamValues perl Perlish PgBouncer pgbuiltin pgend pglibpq pglogin pgprefix pgquote PGSERVICE pgsql pgstart PGSYSCONFDIR PID Postgres PostgreSQL PQexecParams PQexecPrepared PrintError PrintWarn pseudotype RaiseError README ReadOnly RowCache RowCacheSize RowsInCache runtime Sabino savepoint savepoints Savepoints schemas ShowErrorStatement SQL SQLSTATE SSL sslmode STDERR STDIN STDOUT tablename tablespace tablespaces TaintIn TaintOut TraceLevel tuple typename und ef username Username UTF varchar +stop_words = ActiveKids afterwards arrayref arrayrefs attr autocommit AutoCommit AutoInactiveDestroy backend bitmask bool boolean Bunce bytea CachedKids cancelled ChildHandles ChopBlanks CompatMode CursorName datatype Datatype datatypes dbd DBD dbdpg dbh DBI dev dr DSN enum ErrCount errstr fd FetchHashKeyName filename func getfd getline github HandleError HandleSetErr hashref hashrefs InactiveDestroy JSON largeobject len libpq LongReadLen LongTruncOk lseg Mergl Momjian Mullane nullable NULLABLE Oid OID onwards param ParamTypes ParamValues perl Perlish PgBouncer pgbuiltin pgend pglibpq pglogin pgprefix pgquote PGSERVICE PGSERVICEFILE pgsql pgstart PGSYSCONFDIR PID Postgres PostgreSQL PQexecParams PQexecPrepared PrintError PrintWarn pseudotype RaiseError README ReadOnly RowCache RowCacheSize RowsInCache runtime Sabino savepoint savepoints Savepoints schemas ShowErrorStatement SQL SQLSTATE SSL sslmode STDERR STDIN STDOUT subdirectory tablename tablespace tablespaces TaintIn TaintOut Tr aceLevel tuple typename undef username Username UTF varchar [-Bangs::ProhibitBitwiseOperators] [-Bangs::ProhibitCommentedOutCode] @@ -82,6 +83,8 @@ [-OTRS::ProhibitRequire] [-OTRS::RequireCamelCase] [-OTRS::RequireParensWithMethods] +[-ProhibitImplicitImport] +[-ProhibitOrReturn] [-References::ProhibitDoubleSigils] [-RegularExpressions::ProhibitCaptureWithoutTest] [-RegularExpressions::ProhibitComplexRegexes] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/Changes new/DBD-Pg-3.16.1/Changes --- old/DBD-Pg-3.16.0/Changes 2022-08-08 19:30:58.000000000 +0200 +++ new/DBD-Pg-3.16.1/Changes 2023-03-05 19:03:22.000000000 +0100 @@ -2,6 +2,23 @@ RT refers to rt.cpan.org + +Version 3.16.1 (released March 5, 2023) + + - Add new attribute "pg_int8_as_string", for backwards compatibility. + [Alexander Gorlov] + (Github pull request #100) + + - Add a META.json file; rename META.yml to META.yaml + + - Fix 03smethod.t $sth->last_insert_id skip count for DBI < 1.642 + [Dagfinn Ilmari Mannsåker] + (Github issue #99) + + - Documentation improvements for service files + [Erik Rijkers] + + Version 3.16.0 (August 8, 2022) - Automatically use 64-bit versions of large object functions when available diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/MANIFEST new/DBD-Pg-3.16.1/MANIFEST --- old/DBD-Pg-3.16.0/MANIFEST 2021-01-10 18:00:07.000000000 +0100 +++ new/DBD-Pg-3.16.1/MANIFEST 2022-08-23 16:09:30.000000000 +0200 @@ -3,7 +3,8 @@ CONTRIBUTING.md SIGNATURE Pg.pm -META.yml +META.yaml +META.json TODO Makefile.PL .dir-locals.el diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/META.json new/DBD-Pg-3.16.1/META.json --- old/DBD-Pg-3.16.0/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/DBD-Pg-3.16.1/META.json 2022-08-23 16:13:39.000000000 +0200 @@ -0,0 +1,62 @@ +{ + "generated_by" : "emacs", + "dynamic_config" : "1", + "recommends" : { + "Encode" : "0", + "Module::Signature" : "0.50", + "Cwd" : "0" + }, + "name" : "DBD-Pg", + "resources" : { + "homepage" : "http://search.cpan.org/dist/DBD-Pg/", + "MailingList" : "http://www.nntp.perl.org/group/perl.dbd.pg/", + "repository" : "https://github.com/bucardo/dbdpg", + "bugtracker" : "https://github.com/bucardo/dbdpg/issues", + "license" : "http://dev.perl.org/licenses/", + "IRC" : "irc://irc.libera.chat/#postgresql" + }, + "provides" : { + "DBD::Pg" : { + "file" : "Pg.pm", + "version" : "3.16.1" + }, + "Bundle::DBD::Pg" : { + "version" : "3.16.1", + "file" : "lib/Bundle/DBD/Pg.pm" + } + }, + "version" : "3.16.1", + "requires" : { + "perl" : "5.008001", + "DBI" : "1.614", + "version" : "0" + }, + "keywords" : [ + "Postgres", + "PostgreSQL", + "DBI", + "libpq", + "dbdpg" + ], + "meta-spec" : { + "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html", + "version" : "1.4" + }, + "author" : [ + "Greg Sabino Mullane <[email protected]>" + ], + "configure_requires" : { + "DBI" : "1.614", + "version" : "0" + }, + "license" : "perl", + "distribution_type" : "module", + "build_requires" : { + "File::Temp" : "0", + "version" : "0", + "Time::HiRes" : "0", + "DBI" : "1.614", + "Test::More" : "0.88" + }, + "abstract" : "DBI PostgreSQL interface" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/META.yaml new/DBD-Pg-3.16.1/META.yaml --- old/DBD-Pg-3.16.0/META.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/DBD-Pg-3.16.1/META.yaml 2022-08-23 16:13:30.000000000 +0200 @@ -0,0 +1,57 @@ +--- #YAML:1.0 +name : DBD-Pg +version : 3.16.1 +abstract : DBI PostgreSQL interface +author: + - Greg Sabino Mullane <[email protected]> + +license : perl +distribution_type : module +dynamic_config : 1 + +requires: + DBI : 1.614 + perl : 5.008001 + version : 0 +build_requires: + DBI : 1.614 + File::Temp : 0 + Test::More : 0.88 + Time::HiRes : 0 + version : 0 +configure_requires: + DBI : 1.614 + version : 0 +recommends: + Cwd : 0 + Encode : 0 + Module::Signature : 0.50 + +provides: + DBD::Pg: + file : Pg.pm + version : 3.16.1 + Bundle::DBD::Pg: + file : lib/Bundle/DBD/Pg.pm + version : 3.16.1 + +keywords: + - Postgres + - PostgreSQL + - DBI + - libpq + - dbdpg + +resources: + homepage : http://search.cpan.org/dist/DBD-Pg/ + license : http://dev.perl.org/licenses/ + bugtracker : https://github.com/bucardo/dbdpg/issues + repository : https://github.com/bucardo/dbdpg + MailingList : http://www.nntp.perl.org/group/perl.dbd.pg/ + IRC : irc://irc.libera.chat/#postgresql + +meta-spec: + version : 1.4 + url : http://module-build.sourceforge.net/META-spec-v1.4.html + +generated_by : emacs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/META.yml new/DBD-Pg-3.16.1/META.yml --- old/DBD-Pg-3.16.0/META.yml 2022-08-08 18:17:40.000000000 +0200 +++ new/DBD-Pg-3.16.1/META.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,57 +0,0 @@ ---- #YAML:1.0 -name : DBD-Pg -version : 3.16.0 -abstract : DBI PostgreSQL interface -author: - - Greg Sabino Mullane <[email protected]> - -license : perl -distribution_type : module -dynamic_config : 1 - -requires: - DBI : 1.614 - perl : 5.008001 - version : 0 -build_requires: - DBI : 1.614 - File::Temp : 0 - Test::More : 0.88 - Time::HiRes : 0 - version : 0 -configure_requires: - DBI : 1.614 - version : 0 -recommends: - Cwd : 0 - Encode : 0 - Module::Signature : 0.50 - -provides: - DBD::Pg: - file : Pg.pm - version : 3.16.0 - Bundle::DBD::Pg: - file : lib/Bundle/DBD/Pg.pm - version : 3.16.0 - -keywords: - - Postgres - - PostgreSQL - - DBI - - libpq - - dbdpg - -resources: - homepage : http://search.cpan.org/dist/DBD-Pg/ - license : http://dev.perl.org/licenses/ - bugtracker : https://github.com/bucardo/dbdpg/issues - repository : https://github.com/bucardo/dbdpg - MailingList : http://www.nntp.perl.org/group/perl.dbd.pg/ - IRC : irc://irc.libera.chat/#postgresql - -meta-spec: - version : 1.4 - url : http://module-build.sourceforge.net/META-spec-v1.4.html - -generated_by : emacs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/Makefile.PL new/DBD-Pg-3.16.1/Makefile.PL --- old/DBD-Pg-3.16.0/Makefile.PL 2022-08-08 18:17:20.000000000 +0200 +++ new/DBD-Pg-3.16.1/Makefile.PL 2022-08-23 16:21:41.000000000 +0200 @@ -5,7 +5,7 @@ use 5.008001; ## No version.pm for this one, as the prereqs are not loaded yet. -my $VERSION = '3.16.0'; +my $VERSION = '3.16.1'; ## App::Info is stored inside t/lib ## Create a proper path so we can use it below @@ -221,7 +221,7 @@ AUTHOR => 'Greg Sabino Mullane', ABSTRACT => 'PostgreSQL database driver for the DBI module', PREREQ_PM => { - 'ExtUtils::MakeMaker' => '6.11', + 'ExtUtils::MakeMaker' => '6.58', 'DBI' => '1.614', 'File::Temp' => '0', 'Test::More' => '0.88', @@ -232,12 +232,13 @@ PERL_MALLOC_OK => 1, NEEDS_LINKING => 1, NO_META => 1, + NO_MYMETA => 1, NORECURS => 1, PM => { 'Pg.pm' => '$(INST_LIBDIR)/Pg.pm', 'lib/Bundle/DBD/Pg.pm' => '$(INST_LIB)/Bundle/DBD/Pg.pm', }, - clean => { FILES => 'trace Pg.xsi README.testdatabase cover_db' }, + clean => { FILES => 'trace Pg.xsi README.testdatabase cover_db *.tst' }, realclean => { FILES => 'dbdpg_test_database/' }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/Pg.h new/DBD-Pg-3.16.1/Pg.h --- old/DBD-Pg-3.16.0/Pg.h 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/Pg.h 2023-01-03 14:52:29.000000000 +0100 @@ -1,5 +1,5 @@ /* - Copyright (c) 2000-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2000-2023 Greg Sabino Mullane and others: see the Changes file Copyright (c) 1997-2000 Edmund Mergl Portions Copyright (c) 1994-1997 Tim Bunce diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/Pg.pm new/DBD-Pg-3.16.1/Pg.pm --- old/DBD-Pg-3.16.0/Pg.pm 2022-08-08 18:37:32.000000000 +0200 +++ new/DBD-Pg-3.16.1/Pg.pm 2023-03-05 03:23:20.000000000 +0100 @@ -1,6 +1,6 @@ # -*-cperl-*- # -# Copyright (c) 2002-2022 Greg Sabino Mullane and others: see the Changes file +# Copyright (c) 2002-2023 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 @@ -16,7 +16,7 @@ { package DBD::Pg; - use version; our $VERSION = qv('3.16.0'); + use version; our $VERSION = qv('3.16.1'); 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.16.0'); + my $realversion = qv('3.16.1'); $drh = DBI::_new_drh($class, { 'Name' => 'Pg', @@ -1587,6 +1587,7 @@ return { pg_async_status => undef, pg_bool_tf => undef, + pg_int8_as_string => undef, pg_db => undef, pg_default_port => undef, pg_enable_utf8 => undef, @@ -1698,7 +1699,7 @@ =head1 VERSION -This documents version 3.16.0 of the DBD::Pg module +This documents version 3.16.1 of the DBD::Pg module =head1 DESCRIPTION @@ -1760,8 +1761,15 @@ to merely being empty strings), DBI will use the environment variables I<DBI_USER> and I<DBI_PASS> if they exist. -You can also connect by using a service connection file, which is named -F<pg_service.conf>. The location of this file can be controlled by +You can also connect by using a service connection file. +Service names can be defined in either a per-user service file or a system-wide +file. If the same service name exists in both the user and the system file, +the user file takes precedence. By default, the per-user service file is +named ~/.pg_service.conf. On Microsoft Windows, it is named %APPDATA% +\postgresql\.pg_service.conf (where %APPDATA% refers to the Application Data +subdirectory in the user's profile). A different file name can be specified +by setting the environment variable PGSERVICEFILE. The system-wide file is +named F<pg_service.conf>. The location of this file can be controlled by setting the I<PGSYSCONFDIR> environment variable. To use one of the named services within the file, set the name by using either the I<service> parameter or the environment variable I<PGSERVICE>. Note that when connecting this way, @@ -2788,7 +2796,7 @@ 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.16.0'>. It returns 0 (false) if the connection is not valid, +B<'DBD::Pg ping test v3.16.1'>. It returns 0 (false) if the connection is not valid, otherwise it returns a positive number (true). The value returned indicates the current state: @@ -3295,6 +3303,15 @@ pg_enable_utf8 to -1 to force DBD::Pg to read in the new client_encoding and act accordingly. +=head3 B<pg_int8_as_string> (integer) + +DBD::Pg specific attribute. Since version 3.0.0 the processing of SQL_INT8 has +changed, before that 64 bit values were returned as strings, starting from +version 3.0.0 64 bit values are returned as numbers. This flag makes it +possible to return the old behavior. The old behavior is useful when encoding +the results of a call in JSON format and passing it to JavaScript for +processing, where integer values have a precision of no more than 53 bits. + =head3 B<pg_errorlevel> (integer) DBD::Pg specific attribute. Sets the amount of information returned by the server's @@ -4479,7 +4496,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright (C) 1994-2022, Greg Sabino Mullane +Copyright (C) 1994-2023, 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/Pg.xs new/DBD-Pg-3.16.1/Pg.xs --- old/DBD-Pg-3.16.0/Pg.xs 2022-08-08 18:16:09.000000000 +0200 +++ new/DBD-Pg-3.16.1/Pg.xs 2023-03-05 00:55:34.000000000 +0100 @@ -1,6 +1,6 @@ /* - Copyright (c) 2000-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2000-2023 Greg Sabino Mullane and others: see the Changes file Portions Copyright (c) 1997-2000 Edmund Mergl Portions Copyright (c) 1994-1997 Tim Bunce diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/README new/DBD-Pg-3.16.1/README --- old/DBD-Pg-3.16.0/README 2022-08-08 18:18:25.000000000 +0200 +++ new/DBD-Pg-3.16.1/README 2023-01-03 14:52:29.000000000 +0100 @@ -1,12 +1,12 @@ -DBD::Pg is Copyright (C) 1994-2022, Greg Sabino Mullane +DBD::Pg is Copyright (C) 1994-2023, Greg Sabino Mullane DBD::Pg -- the DBI PostgreSQL interface for Perl DESCRIPTION: ------------ -This is version 3.16.0 of DBD::Pg, the Perl interface to Postgres using DBI. +This is version 3.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/ @@ -389,7 +389,7 @@ COPYRIGHT: ---------- - Copyright (c) 2002-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2002-2023 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/README.dev new/DBD-Pg-3.16.1/README.dev --- old/DBD-Pg-3.16.0/README.dev 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/README.dev 2022-08-23 16:07:32.000000000 +0200 @@ -91,7 +91,9 @@ Makefile - Generated automatically by Makefile.PL. Not part of the distribution. -META.yml - YAML description file. Updated by hand and contains a version number in three places. +META.yaml - YAML description file. Updated by hand and contains a version number in three places. + +META.json - JSON description file. Updated by hand and contains a version number in three places. lib/Bundle/DBD/Pg.pm - Simple file used to enable perl -MCPAN -e 'install Bundle::DBD::Pg' Contains a version number. @@ -207,7 +209,7 @@ t/99_pod.t - Verifies the POD of Pg.pm. Requires Test::POD version 0.95, and Test::Pod::Coverage 1.04. -t/99_yaml.t - Uses Test::YAML::Meta to verify the META.yml file. +t/99_yaml.t - Uses Test::YAML::Meta to verify the META.yaml file. t/99_spellcheck.t - Checks the spelling of everything it can. @@ -540,13 +542,14 @@ tells CPAN not to consider this a "real" release. For example, if the upcoming release is 2.2.4, the first release candidate would be 2.2.3_1. A second would be 2.2.3_2 etc. -Version numbers are currently set in six files: +Version numbers are currently set in seven files: README (one place, two if a beta version) Pg.pm (three places) Changes Makefile.PL -META.yml (three places) +META.yaml (three places) +META.json (three places) lib/Bundle/DBD/Pg.pm @@ -596,7 +599,7 @@ * Make sure everything is up to date in git (git status) * Update the versions (see ** Version Numbers) in README, Pg.pm (3 places!), Makefile.PL, - lib/Bundle/DBD/Pg.pm, META.yml (3 places!), and Changes. Run the t/00_release.t file + lib/Bundle/DBD/Pg.pm, META.yaml and META.json (3 places each), and Changes. Run the t/00_release.t file to double check you got everything. * If a final version, put the release date into the Changes file. @@ -686,6 +689,8 @@ Checksums for the file. +See past announcements in the z_announcements directory. + * Post to [email protected] if this is a major or important version. * Post to the "PostgreSQL news" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/SIGNATURE new/DBD-Pg-3.16.1/SIGNATURE --- old/DBD-Pg-3.16.0/SIGNATURE 2022-08-08 19:37:35.000000000 +0200 +++ new/DBD-Pg-3.16.1/SIGNATURE 2023-03-06 00:01:07.000000000 +0100 @@ -15,35 +15,36 @@ Hash: RIPEMD160 SHA256 e4c6f4cdc9560a09492f196fc9a180867fab12742d7d05052d9842b395c6a9eb .dir-locals.el -SHA256 6955483d3b06de252f0ad63f79e8b9e2db548ba9f2d35e374208f11783adec48 .perlcriticrc +SHA256 839a179d6b1260f4e3df6108741b618a940cae4219fed6a18e451ed11649b5f3 .perlcriticrc SHA256 56479e9cf7c00a72bc5458593463a5a6e5481f74f3a4be5ef94129e01c3e2f91 CONTRIBUTING.md -SHA256 52298b1ec25ad14694136449526233a34b3e79343e59c971354919bcffa5356b Changes +SHA256 76437a70ec9bfa0cc98c91363bc52c1d65e638803ab746494a657ff23194689a Changes SHA256 d52a34724b2e3c40ffa2b3b378b574b9e3db27bc3132c88e0be3675f93f378a5 LICENSES/artistic.txt SHA256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSES/gpl-2.0.txt -SHA256 e15fb8180cca35de2c3de6854e5cf23152a7733dfa89640825ae13f6f83b0e72 MANIFEST +SHA256 3245a2e349e0a05429a3ea97c12badeb13678b167ea4424f97d6ffeffff83303 MANIFEST SHA256 0d4dfe54c01254ecc426b4c863fe7b018222c493b3779a6fa0f351d45c7edc62 MANIFEST.SKIP -SHA256 c74c3d87d3127ccb6013a6e8f2de95ca2dffd9b71127a5f91e934cfa53a74077 META.yml -SHA256 9b35a9daba06d2aa0485e0f7ade788855ca0701f26412b61ff101195b00d8445 Makefile.PL -SHA256 2328fcf8d7f8bfa302c0a33849f962c954cd4a84f5f8e3eb10ed39dc109d6e48 Pg.h -SHA256 798bafdb47421047031ce1213877d3f51247cfc218198e2177384f91b2ec7955 Pg.pm -SHA256 4016ca9499117caf522a68b1e2941bea4d7337b90e2f6b5e084645883531c8ae Pg.xs -SHA256 a4e3d9700906180f748a496d5f5c18b7657ab6e38a48b2d81a2531cf2f5c1644 README -SHA256 1da8295c86767f603fca161ded7849a5e15dc1bae7cc4f9210c990b533d80b79 README.dev +SHA256 6baf0bad3645419ed9b8c5055c37ff2eed93c6ef2b10af0a9b0471bcb969ff58 META.json +SHA256 18832f987b5d640637cbf91fca8104d05bcab6ac94190825af098efbd5b654ad META.yaml +SHA256 4a766ebfca1a2001788939aee35db0ad8cfb5d94329d42497339f6bde22bfae8 Makefile.PL +SHA256 197aa5c474d2fbf54776dad96defe4f7a4911efdaa2f47af301851fd80bf4ac2 Pg.h +SHA256 4eb10479328e8c6b930cd9ff5fd0cae2c2a3a6d3917522f3e5b697ac729137f7 Pg.pm +SHA256 288554d935bf3ebf3b59639d7300892951fb3cc6718e4b10421489b89b4c0885 Pg.xs +SHA256 45a1eae71c9bf2376700243631827027afcc6c74741ceedff43f75330fe5898b README +SHA256 89ae826b231c54739b5a24d3e984d1e4b7b1498f7f1a3e5236587bbc3e2558bf README.dev SHA256 a1d224603fe3a343ba0a0f40086065c81d57fbebc734b5382b0d359da16bdd94 README.win32 SHA256 f449097b5796005dffa234e0bcf03863ebe89cb5c573cb50211081d790de2009 TODO -SHA256 82486872136a95c961035b17c8cbe2c41b4a181a6f4b959afa2d28fd324d8929 dbdimp.c -SHA256 75727d16a4ffcc313ab7efaf0ef4e68ee4c71601f75ab9dcfdff8d22202cf641 dbdimp.h +SHA256 0855d0022901160b9468578915eb9134d02ba46a1a136af124c52ab9a85c0077 dbdimp.c +SHA256 98c8956da2c2294a3f08e162e522699fc3addf4150fb50c6bbf7914be831962b dbdimp.h SHA256 9e53f7f41aaaf1b540e2784756ef6f16f61b63df0d9956483aded3c49b6e0f48 dbivport.h -SHA256 d85b062ca2ff284ff808d30873007e79d5d87dbf77099a0001c342c7dad7a393 lib/Bundle/DBD/Pg.pm -SHA256 7e204ad6b4b5eef61a39038666d3524af7a02c53e09ad5a22bf3ca69610b8072 quote.c +SHA256 28b4e41753bc3a223e8ac7c3e2de058c0e34c794f8d13579f488b0a2ac003d43 lib/Bundle/DBD/Pg.pm +SHA256 9d16f85571f49a89b1385afc205cd3e62fc8c18635c797f9b1d9dd6c502e239c quote.c SHA256 1ee43f02036bbb68c151903c2718c483ed223aff6cc93fb1408a9158adad9136 quote.h SHA256 49950c2c882018916ef89b59a1707b732064eb3bb6acb6a350111e1dc81000b8 t/00_signature.t SHA256 4a95e025f903ed2d6a0aa4470f46f075d4692b9a21bd1d316ead19fb9cabd2dd t/00basic.t -SHA256 19c34e8f25985d5fca96fe49bb3bbc89981a6499962b846af2601755e2cd4f59 t/01connect.t +SHA256 afa4b1e216e1dd523096b6f70780c692e56c19259e6f316d03e359e2d6d210f6 t/01connect.t SHA256 50ce2e03b34dfc5e45c0af8f4078825b1ed449d201f165d8d05453762110ae72 t/01constants.t SHA256 089cf8dd34a415438f90a78282116a90585f65e4a6978460f8fc2eecc3e253bc t/02attribs.t -SHA256 85068dd6ee1578da1a57e950ba57889ddbb041a2fffbeb68e1d78a36dc095255 t/03dbmethod.t -SHA256 db32515a2955990ef8a937e7586f06c409622fb3f7d1bb8508a857929a008710 t/03smethod.t +SHA256 f73a75dbc930bacef282e5e0d2c4628cb686f067d2f97a3f66af3385ab5462f2 t/03dbmethod.t +SHA256 233aff8341a9964beeee7afedcc7acac81592123c4b27116eb077fb02ca3dca0 t/03smethod.t SHA256 a3767a1b6e9adf62ec73f9d38b8bca151eb2fd872d42c2f77aeaef72178b1c56 t/04misc.t SHA256 d30d52695492fbcb2d051c48d0d3afb621b0d5b29d876208b5fd79c5bc50b3fa t/06bytea.t SHA256 f172234f057e485a8d5838db6986dbda18f4fe81fcf9ad0885728b8aec31b852 t/07copy.t @@ -54,7 +55,7 @@ SHA256 982a438ec73b0428c263ed4608d82fd466a1668cfd4095c69d93ae002486368c t/20savepoints.t SHA256 6bdf1b5d0bdc049bf8ff8a66d36fc41dfaea2d15e8550dc7e19ce152aa73c918 t/30unicode.t SHA256 16b874ee36dcedc566b6c9b4c8142173e3a6babc660721939756d8a0a7d697f2 t/99cleanup.t -SHA256 56f45cc6f3c2c40e8ef77841fa6ea793f68f9d23477c41bdedc1b445e5f7e359 t/dbdpg_test_setup.pl +SHA256 cb533815df12b5f19d3e473640eb5651301594604c2b73c70b63b8551cb1a6a4 t/dbdpg_test_setup.pl SHA256 3f53191613dc10d2d30414f7e6e31a3b3486d91fe07ee77d24ea3d6f2eb61bb6 t/lib/App/Info.pm SHA256 8faf2c2b3ff952ff0721c04ac8e04ec143939592b0d55a135ea15d310144f576 t/lib/App/Info/Handler.pm SHA256 e3c5a92afea9c568bf9534a0f13e84864bce0899d2d96857bdaba2c2c565d6e8 t/lib/App/Info/Handler/Print.pm @@ -64,12 +65,12 @@ SHA256 17ffc3a80591fbdddc74bd13a622284e05421c58f773c8deaaad6e0eae417c77 t/lib/App/Info/Request.pm SHA256 0cc067040c7056734dec93ea399d7b4dbc7d202aa5c081e6030081c5ed726ff6 t/lib/App/Info/Util.pm SHA256 8d75602cfe99c246a2b62ca7765f599104ba2cbf730054a6bae6d085bcec9ab1 testme.tmp.pl -SHA256 b7acea80181ac43edc39bec66373e18d6f01a264b54537347a2dd51a51557db7 types.c +SHA256 3cb0adcc5fe082e89aa39c138f4361103a9e0809eb87f9a894cf4552ae7fcf13 types.c SHA256 789d430468f518ec7d46114bae5fcb11f08f29bd573999b02712ac8b6e75a72a types.h SHA256 4628f92764bdb3e2b04bda7f30fc497231fbbf80dfd24cc09ee3df2e6d6d4387 win32.mak -----BEGIN PGP SIGNATURE----- -iF0EAREDAB0WIQQlKd9quPeUB+lERbS8m5BnFJZKyAUCYvFJzgAKCRC8m5BnFJZK -yALcAJ93175EngM5L1L/HJP2fr4W7EY9NQCeMebKj1lROUmANMxu3Sv9aufCsnc= -=6/2P +iF0EAREDAB0WIQQlKd9quPeUB+lERbS8m5BnFJZKyAUCZAUfMwAKCRC8m5BnFJZK +yFi/AKCQHmPpx+p0kapz+QhB4Ksc2W+OAwCg92y8QuoEj8U0e5Q1oT57rEqkvxg= +=OH69 -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/dbdimp.c new/DBD-Pg-3.16.1/dbdimp.c --- old/DBD-Pg-3.16.0/dbdimp.c 2022-08-08 18:27:01.000000000 +0200 +++ new/DBD-Pg-3.16.1/dbdimp.c 2023-03-05 03:09:47.000000000 +0100 @@ -1,6 +1,6 @@ /* - Copyright (c) 2002-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2002-2023 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 @@ -254,6 +254,7 @@ imp_dbh->async_sth = NULL; imp_dbh->last_result = NULL; /* NULL or the last PGresult returned by a database or statement handle */ imp_dbh->result_clearable = DBDPG_TRUE; + imp_dbh->pg_int8_as_string = DBDPG_FALSE; /* Tell DBI that we should call destroy when the handle dies */ DBIc_IMPSET_on(imp_dbh); @@ -495,7 +496,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.16.0 */"); + result = PQexec(imp_dbh->conn, "/* DBD::Pg ping test v3.16.1 */"); status = PQresultStatus(result); PQclear(result); if (PGRES_FATAL_ERROR == status) { @@ -825,12 +826,15 @@ retsv = newSViv((IV)imp_dbh->expand_array); break; - case 17: /* pg_server_prepare pg_server_version */ + case 17: /* pg_server_prepare pg_server_version pg_int8_as_string */ if (strEQ("pg_server_prepare", key)) retsv = newSViv((IV)imp_dbh->server_prepare); else if (strEQ("pg_server_version", key)) retsv = newSViv((IV)imp_dbh->pg_server_version); + else if (strEQ("pg_int8_as_string", key)) { + retsv = newSViv((IV)imp_dbh->pg_int8_as_string); + } break; case 18: /* pg_switch_prepared */ @@ -984,12 +988,16 @@ } break; - case 17: /* pg_server_prepare */ + case 17: /* pg_server_prepare pg_int8_as_string */ if (strEQ("pg_server_prepare", key)) { imp_dbh->server_prepare = newval ? DBDPG_TRUE : DBDPG_FALSE; retval = 1; } + else if (strEQ("pg_int8_as_string", key)) { + imp_dbh->pg_int8_as_string = newval!=0 ? DBDPG_TRUE : DBDPG_FALSE; + retval = 1; + } break; case 18: /* pg_switch_prepared */ @@ -3811,11 +3819,15 @@ else sv_setiv(sv, '1' == *value ? 1 : 0); break; - case PG_INT2: - case PG_INT4: #if IVSIZE >= 8 && LONGSIZE >= 8 case PG_INT8: + if (imp_dbh->pg_int8_as_string) { + sv_setpvn(sv, (char *)value, value_len); + break; + } #endif + case PG_INT2: + case PG_INT4: sv_setiv(sv, atol((char *)value)); break; case PG_FLOAT4: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/dbdimp.h new/DBD-Pg-3.16.1/dbdimp.h --- old/DBD-Pg-3.16.0/dbdimp.h 2022-08-08 17:46:20.000000000 +0200 +++ new/DBD-Pg-3.16.1/dbdimp.h 2023-03-05 03:09:47.000000000 +0100 @@ -1,5 +1,5 @@ /* - Copyright (c) 2000-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2000-2023 Greg Sabino Mullane and others: see the Changes file Portions Copyright (c) 1997-2000 Edmund Mergl Portions Copyright (c) 1994-1997 Tim Bunce @@ -34,6 +34,7 @@ bool pg_bool_tf; /* do bools return 't'/'f'? Set by user, default is 0 */ + bool pg_int8_as_string; /* Return bigint values as string values always, default is 0 */ bool prepare_now; /* force immediate prepares, even with placeholders. Set by user, default is 0 */ bool done_begin; /* have we done a begin? (e.g. are we in a transaction?) */ bool dollaronly; /* only consider $1, $2 ... as valid placeholders */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/lib/Bundle/DBD/Pg.pm new/DBD-Pg-3.16.1/lib/Bundle/DBD/Pg.pm --- old/DBD-Pg-3.16.0/lib/Bundle/DBD/Pg.pm 2022-08-08 18:18:07.000000000 +0200 +++ new/DBD-Pg-3.16.1/lib/Bundle/DBD/Pg.pm 2022-08-23 16:12:56.000000000 +0200 @@ -5,7 +5,7 @@ use warnings; use 5.008001; -our $VERSION = '3.16.0'; +our $VERSION = '3.16.1'; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/quote.c new/DBD-Pg-3.16.1/quote.c --- old/DBD-Pg-3.16.0/quote.c 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/quote.c 2023-01-03 14:52:29.000000000 +0100 @@ -1,6 +1,6 @@ /* - Copyright (c) 2003-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2003-2023 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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/t/01connect.t new/DBD-Pg-3.16.1/t/01connect.t --- old/DBD-Pg-3.16.0/t/01connect.t 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/t/01connect.t 2022-08-11 23:02:46.000000000 +0200 @@ -76,7 +76,7 @@ SKIP: { my $alias = qr{(database|db|dbname)}; if ($ENV{DBI_DSN} !~ /$alias\s*=\s*\S+/) { - skip ('DBI_DSN contains no database option, so skipping connection tests', 7); + skip ('DBI_DSN contains no database option, so skipping connection tests', 8); } $t=q{Connect with invalid option fails}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/t/03dbmethod.t new/DBD-Pg-3.16.1/t/03dbmethod.t --- old/DBD-Pg-3.16.0/t/03dbmethod.t 2022-08-08 18:40:56.000000000 +0200 +++ new/DBD-Pg-3.16.1/t/03dbmethod.t 2023-03-05 01:17:25.000000000 +0100 @@ -622,7 +622,7 @@ $t='DB handle method "get_info" returns expected result for SQL_DEFAULT_TXN_ISOLATION'; $result = $dbh->get_info('SQL_DEFAULT_TXN_ISOLATION'); -ok (($result==2 or $result==8), $t); +ok ((2==$result or 8==$result), $t); $t='DB handle method "get_info" returns correct string for SQL_DATA_SOURCE_READ_ONLY when "on"'; $dbh->do(q{SET transaction_read_only = 'on'}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/t/03smethod.t new/DBD-Pg-3.16.1/t/03smethod.t --- old/DBD-Pg-3.16.0/t/03smethod.t 2022-08-08 17:46:10.000000000 +0200 +++ new/DBD-Pg-3.16.1/t/03smethod.t 2023-01-03 14:52:29.000000000 +0100 @@ -840,7 +840,7 @@ SKIP: { if ($DBI::VERSION < 1.642) { - skip ('DBI must be at least version 1.642 to test $sth->last_insert_id', 10); + skip ('DBI must be at least version 1.642 to test $sth->last_insert_id', 12); } $t='Statement handle method "last_insert_id" fails when no arguments are given'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/t/dbdpg_test_setup.pl new/DBD-Pg-3.16.1/t/dbdpg_test_setup.pl --- old/DBD-Pg-3.16.0/t/dbdpg_test_setup.pl 2022-08-08 18:59:54.000000000 +0200 +++ new/DBD-Pg-3.16.1/t/dbdpg_test_setup.pl 2022-08-11 23:11:41.000000000 +0200 @@ -238,7 +238,7 @@ if (! $testdsn) { $helpconnect = 1; - $testdsn = $^O =~ /Win32/ ? 'dbi:Pg:host=localhost' : 'dbi:Pg:'; + $testdsn = $^O =~ /Win32/ ? 'dbi:Pg:host=localhost' : 'dbi:Pg:dbname=postgres'; } if (! $testuser) { $testuser = 'postgres'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-Pg-3.16.0/types.c new/DBD-Pg-3.16.1/types.c --- old/DBD-Pg-3.16.0/types.c 2022-08-08 18:16:09.000000000 +0200 +++ new/DBD-Pg-3.16.1/types.c 2023-03-05 00:55:34.000000000 +0100 @@ -1,6 +1,6 @@ /* - Copyright (c) 2003-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2003-2023 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. @@ -737,7 +737,7 @@ print $newfh qq{$slashstar - Copyright (c) 2003-2022 Greg Sabino Mullane and others: see the Changes file + Copyright (c) 2003-2023 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.
