Commit graph

85 commits

Author SHA1 Message Date
wiz
62af42c598 p5-DBD-postgresql: update to 3.7.0.
Version 3.7.0  Released September 24, 2017 (git tag 3.7.0)

  - If no placeholders, use PQexec instead of PQexecParams
    [Greg Sabino Mullane]

  - Fix running tests with non-UTF8 server_encoding
    [Dagfinn Ilmari Mannsåker]
    (Github issue #26)

  - Fix crash with missing client_encoding
    [David Christensen, reported by Marko Tiikkaja]
    (Github issue #29)

  - Fix crash with missing server_version
    [David Christensen]

  - Fix leak in ->state methods
    [Dagfinn Ilmari Mannsåker]
    (Github issue #30)

  - Add $sth->{pg_async_status} to determine async status of a statement handle.
    Values can be 0 (no async), 1 (async), or -1 (cancelled)
    [Greg Sabino Mullane, as requested by Dmytro Zagashev (ZDM)]
    (CPAN ticket #116172)
2017-09-27 19:16:06 +00:00
ryoon
1344d8d8e3 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:22:16 +00:00
wiz
183a581d27 Updated p5-DBD-postgresql to 3.6.2.
Version 3.6.2  Released May 23, 2017 (git tag 3.6.2)

  - Remove errant debugging aid from test suite



Version 3.6.1  Released May 22, 2017 (git tag 3.6.1)

  - Various fixes to support testing against Postgres 10beta
    [David Christensen]
2017-05-29 10:56:13 +00:00
wiz
1a81e6cdde Updated p5-DBD-postgresql to 3.6.0.
Version 3.6.0  Released April 17, 2017 (git tag 3.6.0)

  - Make sure we do not inadvertently modify the string passed to prepare() when
    doing the new backslash escape manipulation.
    [Greg Sabino Mullane]
    (CPAN ticket #114000)

  - Fix bug where $DBD::Pg::DBDPG_DEFAULT not picked up as a magic
    string first time it is used in a script.
    [Greg Sabino Mullane]
    (CPAN ticket #112309)

  - Fix UTF8 flag handling in pg_(get|put)copydata
    [Dagfinn Ilmari Mannsåker]

  - Fix UTF8 double-encoding with pg_enable_utf8 = 0
    [Serge Pushkin]
    (CPAN ticket #103137)

  - Fix bug in quote_name which would fail to quote in some circumstances
    (Github Issue #22)

  - Allow clean parsing of new Postgres X.Y version format
    [Erik Rijkers    er at xs4all.nl]

  - Add pg_canonical_ids() and pg_canonical_names(), which returns information
    about each column in the result set.
    [Warstone    warstone at list.ru]
    (CPAN ticket #106858)

  - Map SQL_NUMERIC to PG_NUMERIC (instead of PG_FLOAT8)
    [Alice Maz    alice at alizemaz.com]
    (CPAN ticket #120358)

  - Force real, float, and double precision into SvNVs
    [Greg Sabino Mullane]
    (CPAN ticket #113683 and other places)

  - Support for number of rows greater than an "int". Requires support for same
    from a future version of libpq before it will work completely.
    [Greg Sabino Mullane]
    (CPAN ticket #102444)

  - Fix skipped test counts in Win32 builds
    [Andy Grundman]

  - Allow tests to work against Postgres 8.4 by tweaking client_encoding calls.
    [Pavel Raiskup    praiskup at redhat.com]
    (CPAN ticket #116179)

  - Silence warnings in t/02attribs.t and t/04misc.t
    [Dagfinn Ilmari Mannsåker]

  - Support binary COPY format
    [Dagfinn Ilmari Mannsåker]

  - Ensure tests do not use $ENV{PGSERVICE} or $ENV{PGDATABASE}
    [Erik Rijkers]

  - Switched canonical repo to git://github.com/bucardo/dbdpg.git
2017-04-19 13:43:44 +00:00
wiz
982c8f22e9 Recursive bump for all users of pgsql now that the default is 95. 2016-10-09 21:41:55 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
wiz
8624da9cfc Update to 3.5.3:
Version 3.5.3  Released October 1, 2015 (git commit 62ddf200106467ce9ad31d85715a4cdf63e8be14)

  - Minor fix in the test file t/03dbmethod.t
2015-10-04 06:19:52 +00:00
wiz
d589956d78 Update to 3.5.2:
Version 3.5.2  Released September 29, 2015 (git commit be8026c9160c4a29580a97dab57cb595c5448949)

  - Fix enum value ordering on Postgres servers 9.1 and greater
    [Dagfinn Ilmari Mannsåker]

  - Return bigint values as plain integer values when they fit
    [Dagfinn Ilmari Mannsåker]

  - Fix typo in sprintf for get_info() SQL_DATA_SOURCE_NAME
    [Craig A. James]
    (CPAN bug #106604)

  - Set the repository in META.yml to github
2015-09-30 19:23:08 +00:00
wiz
40bbad7ac6 Comment out dependencies of the style
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
2015-07-12 18:56:06 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
wiz
da8b479536 Update to 3.5.1:
Version 3.5.1  Released February 17, 2015 (git commit 6c3457ee20c19ae492d29c490af6800e7e6a0774)

  - Prevent core dump if the second argument to the quote() method
    is anything but a hashref
    [Greg Sabino Mullane]
    (CPAN bug #101980)

  - Better "support" for SQL_ASCII servers in the tests.
    Allow env var DBDPG_TEST_ALWAYS_ENV to force use of DBI_DSN and DBI_USER in tests.
    [Greg Sabino Mullane]

  - Fix client_encoding detection on pre-9.1 servers
    [Dagfinn Ilmari Mannsåker]

  - Fix operator existence check in tests on pre-8.3 servers
    [Dagfinn Ilmari Mannsåker]

  - Documentation fix
    [Stuart A Johnston]

  - Fix pg_switch_prepared database handle documentation
    [Dagfinn Ilmari Mannsåker]
2015-02-19 13:19:16 +00:00
wiz
97333420af Update to 3.5.0:
Version 3.5.0  Released January 6, 2015

  - Allow "placeholder escaping" by the use of a backslash directly before it, e.g.
    "SELECT 1 FROM jsontable WHERE foo \\? ?"
    will contain a single placeholder, and the first question mark will be sent directly
    to the backend to be parsed as an operator.
    [Greg Sabino Mullane, Tim Bunce]
    (CPAN bug #101030)

  - Improve the workings of the ping() method, so it always tests for
    a valid database backend and returns the correct true/false.
    [Greg Sabino Mullane, with help from Andrew Gierth and Tim Bunce]
    (CPAN bug #100648)

  - Add get_info(9000) => 1 to indicate driver can escape placeholders.
    [Tim Bunce]

  - In tests, force the client_encoding to UTF8, skip tests that involve
    characters not supported by the server_encoding
    [Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>]

  - Fix memory leak when selecting from arrays
    [Dagfinn Ilmari Mannsåker, reported by Krystian Samp]

  - Make get_info much more efficient and slightly simpler.
    [Tim Bunce]
2015-01-07 23:21:16 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
wiz
1d10ec3408 Update to 3.4.2:
Version 3.4.2  Released September 25, 2015 (git commit 61440e1f4ccb6c293c5838676da1942e0df67271)

  - Fix bug where single-quoted type arguments to the table_info()
    method were causing a SQL error.
    [Greg Sabino Mullane] (CPAN bug #99144)
2014-10-01 10:42:02 +00:00
wiz
220b06c82f Update to 3.4.1:
Version 3.4.1  Released August 20, 2014 (git commit cfd146effde09c493ac7573408ac29d6d9cbed47)

    - Allow '%' again for the type in table_info() and thus tables()
      It's not documented or tested in DBI, but it used to work until
      DBD::Pg 3.4.0, and the change broke DBIx::Class::Schema::Loader, which
      uses type='%'.
      [Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>]


Version 3.4.0  Released August 16, 2014 (git commit 7a5da12d84b4c2e9879f90fb6168f56c095071fa)

  - Cleanup and improve table_info()
    [Mike Pomraning <mjp@pilcrow.madison.wi.us>] (github issue #7)

    table_info() type searching now supports TABLE, VIEW, SYSTEM TABLE,
      SYSTEM VIEW, and LOCAL TEMPORARY

    table_info() object searching fully supports the above types.

    table_info() object searching no longer ignores invalid types - a filter
      of 'NOSUCH' will return no rows, and 'NOSUCH,LOCAL TEMPORARY' will
      return only temp objects.

    tableinfo() type filters are strictly matched now ... previously a
      search for SYSTEM TABLE would have fetched plain TABLE objects.

    table_info() now treats temporary tables and temporary views as LOCAL TEMPORARY

  - Make sure column_info() and table_info() can handle materialized views.
    [Greg Sabino Mullane] (CPAN bug #97032)
2014-09-06 13:35:43 +00:00
wen
d7e35a1fe2 Update to 3.3.0
Upstream changes:
Version 3.3.0  Released May 31, 2014 (git commit 055f788cf96b380b9fe0e80b6cedb88f8d1799b8)

  - Major cleanup of UTF-8 support:
      Fix quoting of UTF-8 values
      Add support for UTF-8 statement strings
      Fix UTF-8 support in placeholders and return values
    [Dagfinn Ilmari Manns氓ker] (CPAN bug #95214 and #91655)
      Test that the Pg server agrees with us about the lengths of input strings.
      Refactor Unicode test to use anon hashes to describe the tests to run.
      Test pg_enable_utf8 of -1, in addition to 0 and 1.
      Extend the Unicode round-trip tests to verify ASCII, BMP and non-BMP code points.
      Test that characters created in the server reach the client correctly.
    [Nicholas Clark]

  - Rewrite foreign_key_info to be just one query
    [Dagfinn Ilmari Manns氓ker]

  - Remove ODBC support from foreign_key_info
    [Dagfinn Ilmari Manns氓ker]

  - Remove use of dTHX in functions in quote.c and types.c
    [Nicholas Clark]


Version 3.2.1  Released May 20, 2014 (git commit a56ef5c4715440d4fc2054df5477996b0e287467)

  - Stricter testing for array slices: disallow number-colon-number from being
    parsed as a placeholder.
    [Greg Sabino Mullane] (CPAN bug #95713)

  - Fix for small leak with AutoInactiveDestroy
    [David Dick] (CPAN bug #95505)

  - Adjust test regex to fix failing t/01_connect.t on some platforms
    [Greg Sabino Mullane]

  - Further tweaks to get PGINITDB working for test suite.
    [Nicholas Clark]


Version 3.2.0  Released May 15, 2014 (git commit 897974c2865259bb9786d8b0989f8e42db0a0d79)

  - Add new attribute pg_placeholder_nocolons to turn off all parsing of
    colons into placeholders.
    [Graham Ollis] (CPAN bug #95173)

  - Fix incorrect skip count for HandleSetErr
    [Greg Sabino Mullane] (CPAN bug #94841)

  - Don't attempt to use the POSIX signalling stuff if the OS is Win
    [Greg Sabino Mullane] (CPAN bug ##94841)

  - Fix missing check for PGINITDB in the test suite.
    [Nicholas Clark]


Version 3.1.1  Released April 6, 2014 (git commit d337f93133e67267d54b65dc22a23f06e6883ad0)

  - Minor adjustments so tests pass in varying locales.


Version 3.1.0  Released April 4, 2014 (git commit 26517a3531f93de79375a02da45a79789cd3caae)

  - Make sure UTF-8 enabled notifications are handled correctly
    [Greg Sabino Mullane]

  - Allow "WITH" and "VALUES" as valid words starting a DML statement
    [Greg Sabino Mullane] (CPAN bug #92724)
2014-07-27 23:37:21 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
abs
426b81426a Updated databases/p5-DBD-postgresql to 3.0.0
Version 3.0.0

  - Major change in UTF-8 handling. If client_encoding is set to UTF-8,
    always mark returned Perl strings as utf8. See the pg_enable_utf8 docs
    for more information.
    [Greg Sabino Mullane, David E. Wheeler, David Christensen]

  - Bump DBI requirement to 1.614

  - Bump Perl requirement to 5.8.1

  - Add new handle attribute, switch_prepared, to control when we stop
    using PQexecParams and start using PQexecPrepared. The default is 2:
    in previous versions, the effective behavior was 1 (i.e. PQexecParams
    was never used).
    [Greg Sabino Mullane]

  - Better handling of items inside of arrays, particularly bytea arrays.
    [Greg Sabino Mullane] (CPAN bug #91454)

  - Map SQL_CHAR back to bpchar, not char
    [Greg Sabino Mullane, reported by H.Merijn Brand]

  - Do not force oids to Perl ints
    [Greg Sabino Mullane] (CPAN bug #85836)

  - Return better sqlstate codes on fatal errors
    [Rainer Weikusat]

  - Better prepared statement names to avoid bug
    [Spencer Sun] (CPAN bug #88827)

  - Add pg_expression field to statistics_info output to show
    functional index information
    [Greg Sabino Mullane] (CPAN bug #76608)

  - Adjust lo_import_with_oid check for 8.3
    (CPAN bug #83145)

  - Better handling of libpq errors to return SQLSTATE 08000
    [Stephen Keller]

  - Make sure CREATE TABLE .. AS SELECT returns rows in non do() cases

  - Add support for AutoInactiveDestroy
    [David Dick] (CPAN bug #68893)

  - Fix ORDINAL_POSITION in foreign_key_info
    [Dagfinn Ilmari Mannsåker] (CPAN bug #88794)

  - Fix foreign_key_info with unspecified schema
    [Dagfinn Ilmari Mannsåker] (CPAN bug #88787)

  - Allow foreign_key_info to work when pg_expand_array is off
    [Greg Sabino Mullane and Tim Bunce] (CPAN bug #51780)

  - Remove math.h linking, as we no longer need it
    (CPAN bug #79256)

  - Spelling fixes
    (CPAN bug #78168)

  - Better wording for the AutoCommit docs
    (CPAN bug #82536)

  - Change NOTICE to DEBUG1 in t/02attribs.t test for handle attribute "PrintWarn":
    implicit index creation is now quieter in Postgres.
    [Erik Rijkers]

  - Use correct SQL_BIGINT constant for int8
    [Dagfinn Ilmari Mannsåker]

  - Fix assertion when binding array columns on debug perls >= 5.16
    [Dagfinn Ilmari Mannsåker]

  - Adjust test to use 3 digit exponential values
    [Greg Sabino Mullane] (CPAN bug #59449)

  - Avoid reinstalling driver methods in threads
    [Dagfinn Ilmari Mannsåker] (CPAN bug #83638)

  - Make sure App::Info does not prompt for pg_config location
    if AUTOMATED_TESTING or PERL_MM_USE_DEFAULT is set
    [David E. Wheeler] (CPAN bug #90799)

  - Fix typo in docs for pg_placeholder_dollaronly
    [Bryan Carpenter] (CPAN bug #91400)

  - Cleanup dangling largeobjects in tests
    [Fitz Elliott] (CPAN bug #92212)

  - Fix skip test counting in t/09arrays.t
    [Greg Sabino Mullane] (CPAN bug #79544)

  - Explicitly specify en_US for spell checking
    [Dagfinn Ilmari Mannsåker] (CPAN bug #91804)
2014-02-06 13:11:32 +00:00
wiz
98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00
wiz
c29c28b253 Update to 2.19.3:
Version 2.19.3  Released August 21, 2012

  - Fix bug in pg_st_split_statement causing segfaults
    (CPAN bug #79035)
2012-10-21 22:05:40 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
asau
354ee694fd Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 21:25:15 +00:00
obache
ab4e71d90b Bump PKGREVISION for change of PostgreSQL default version to 9.1. 2012-08-05 10:02:09 +00:00
he
f63a77a2e4 Update to version 2.19.2. Changes:
Version 2.19.2  Released March 12, 2012
  - Fix errors when multiple same-named placeholders are used. [GSM]
    (CPAN bug #75713)

Version 2.19.1  Released March 10, 2012 (git commit db6f6da00467c7ea28d32c4df97e93ccc4d38f2b)
  - Fix crash when passing in an array with undefined elements. [GSM]

Version 2.19.0  Released March 9, 2012 (git commit 05ab092905ce6891ed83e173412ee70d6cdb8cb5)
  - Use proper formatting for warn() and croak() (CPAN bug #75642)
    [Niko Tyni]
  - Fix localized regex in test (CPAN bug #70759)
  - Fix for named placeholders (CPAN bug #70953) [Jan Pazdziora]
  - Various fixes to the array-marshalling code [Noah Misch, Mark
    Stosberg, and David Christensen] (CPAN bug #58552)
  - Allow hi-bit chars in dollar-quoted identifiers
    [David Christensen] (CPAN bug #73832)
  - Have do() return count for things such as CREATE TABLE .. AS SELECT
    Will only work on 9.0 or better. (CPAN bug #71073) [Pavel Stehule]
  - Better error message when trying to do things post-disconnect [GSM]
  - Always respect pg_server_prepare=0 by using PQexec not PQexecParams. [GSM]
  - Fix error in async docs (CPAN bug #72812)
  - Switch from subversion to git.
    git clone git://bucardo.org/dbdpg.git [GSM]
2012-05-18 09:06:58 +00:00
adam
726e749f67 Changes 2.18.1:
* Fix LANG testing issue
* Fix bug when async commands issued immediately after a COPY
2011-08-06 20:31:02 +00:00
adam
752343153d Changes 2.18.0:
* Fix memory leak when binding arrays
* Fix memory leak with ParamValues
* New cancel() method per DBI spec
* Fix memory leak in handle_old_async (missing PQclear)
* Fix memory leak in pg_db_cancel (missing PQclear)
* Mark pg_getcopydata strings as UTF8 as needed
* Function dequote_bytea returning void should not try to return something
* Fix the number of tests to skip in t/01connect.t when the $DBI_DSN
  environment variable lacks a database specification
* Fix algorithm for skipping tests in t/06bytea.t when running on a version
  of PostgreSQL lower than 9.0
* Small tweaks to get tests working when compiled against Postgres 7.4
* Fix failing test when run as non-superuser
2011-05-04 09:46:37 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
adam
0e0a82ae90 Changes 2.17.1:
* Only use lo_import_with_oid if Postgres libraries are 8.4 or better

Changes 2.17.0:
* Do not automatically ROLLBACK on a failed pg_cancel
* Added support for new lo_import_with_oid function.
* Don't limit stored user name to \w in tests
* Allow tests to support versions back to Postgres 7.4
2010-05-20 13:30:49 +00:00
joerg
3b5d2041bb Bump revision for change of PostgreSQL default version. 2010-02-10 19:34:05 +00:00
sno
a5c36bd05d Updating databases/p5-DBD-postgresql from 2.16.0 to 2.16.1
pkgsrc changes:
- Correcting license definition

Upstream changes:
2.16.1 Released January 20, 2010
  - Output error messages in UTF-8 as needed. Reported by
    Michael Hofmann. [GSM] (CPAN bug #53854)
2010-02-02 21:54:16 +00:00
wiz
943be2ce52 Update to 2.16.0:
2.16.0 Released December 17, 2009

 - Put in a test for high-bit characters in bytea handling.
   [Bryce Nesbitt] (see also CPAN bug #39390)

 - Better SQLSTATE code on connection failure (CPAN bug #52863)
   [Chris Travers with help from Andrew Gierth]

 - Fixed POD escapes (CPAN bug #51856) [FWIE@cpan.org]
2010-01-20 15:01:31 +00:00
wiz
4829d967c5 Update to 2.15.1:
2.15.1 Released August 7, 2009

  - Release to fix the SIGNATURE file. [GSM]

2.15.0 Released August 4, 2009 (subversion r13164)

  - Use PQexecPrepared even when no placeholders (CPAN bug #48155) [GSM]
  - Allow execute_array and bind_param_array to take oddly numbered items,
    such that DBI will make missing entries undef/null (CPAN bug #39829) [GSM]
  - Put single quotes around array literals when quoting arrays via
    the quote() method. Per report from David Garamond (CPAN bug #48420) [GSM]

2.14.1 Released July 28, 2009 (subversion r13140)

  - Remove invalid bigint assignment [Tim Bunce]

2.14.0 Released July 27, 2009 (subversion r13130)

  - Make quoting of int, floats, and names much safer. (CPAN bug #41565) [GSM]
  - Make quoting of geometric types respect all valid chars (CPAN bug #41565) [GSM]
  - Fix quoting of booleans to respect more Perlish variants (CPAN bug #41565) [GSM]
  - Return ints and bools-cast-to-number from the db as true Perlish numbers.
    (CPAN bug #47619) [GSM]
  - Fix backslash quoting of arrays (CPAN bug #46732) [GSM]
  - Fix error when destringifying array starting with '[x:y]='. Per report from
    Jeff Trout [GSM]
  - Fix problem with foreign_key_info() and NAME_uc (CPAN bug #46109) [GSM]
  - Make foreign_key_info() respect FetchHashKeyName (CPAN bug #46103) [GSM]
  - Fix Makefile.PL to apply POSTGRES_INCLUDE in a saner way.
    (CPAN bug #45769) [GAURAV@cpan.org]
  - Improve Win32 README notes [Curtis Jewell]
  - Fix spelling error in type_info (CPAN bug #47786) [justin.d.hunter@gmail.com]
  - Add functions to support MS VC++ 7.0 (CPAN bug #47858) [Taro Nishino]
2009-08-16 16:04:38 +00:00
sno
1e3fb840a8 PkgSrc changes:
- Updating package for p5 module DBD::Pg to 2.13.1 from 2.13.0
  - Setting license to artistic-2.0

Upstream changes:
2.13.1 Released April 23, 2009
  - Fix leak in pg_warn (CPAN bug #45163) [rweikusat@mssgmbh.com]
2009-04-24 07:26:40 +00:00
sno
fa4e6c3088 PkgSrc changes:
- Updating package for p5 module DBD::Pg to 2.13.0
  - Set license to artistic-2.0
  - Add p5-DBI to DEPENDS (according to META.yml)

Upstream changes:
2.13.0 Released April 13, 2009

  - Ensure we always set sqlstate inside of pg_st_prepare_statement
    (CPAN bug #44732) [rweikusat@mssgmbh.com]
  - When libpq has a connection error, return SQLSTATE 08000 ( "CONNECTION EXCEPTION" )
    instead of the more generic 02000 ( "DATA EXCEPTION" ) (CPAN bug #44744)
    [rweikusat@mssgmbh.com]
  - Fix minor Perl::Critic nags (CPAN bug #44704) (Debian #bug 521969) [GSM]
  - Clarify change of $dbh->{Name} behavior (CPAN bug 44985) [GSM]
2009-04-15 07:16:26 +00:00
sno
6aa49cc7e1 PkgSrc changes:
- updating module to 1.12.0

Upstream changes:
2.12.0 Released March 28, 2009

  - Change large object interface from lo_* to pg_lo_* and make them accessible
    via direct $dbh calls (e.g. $dbh->pg_lo_import instead of $dbh->func(..,'pg_lo_import').
    The use of $dbh->func(... 'lo_*') is deprecated. [GSM] (CPAN bug #44467)
  - Throw an exception for large_object functions called when AutoCommit is on,
    but allow pg_lo_import and pg_lo_export to work. Reported by Kynn Jones.
    [GSM] (CPAN bug #44461)
  - Fix a memory leak when parsing returned arrays. Reported by B~A!lint Szilakszi.
    [GSM] (CPAN bug #44225)
  - Do proper dequoting of boolean arrays [Armando Santos, GSM] (CPAN bug #43768)
  - Use pg_get_expr in column_info when available [Adam Sj~A,gren]
  - Fix minor bugs in POD docs. [Frank Wiegand] (CPAN bug #44242)
  - Fix minor bug in POD docs. [Tim Mattison]
2009-04-11 21:37:46 +00:00
he
d567df8fb1 Update from version 2.11.7 to 2.11.8.
This despite one of the selftests still fail.

Upstream changes:

2.11.8 Released December 28, 2008

  - Fix minor bug in t/12placeholders.t test (CPAN bug #41723)
2009-01-18 23:09:00 +00:00
he
0ae1d146a8 Update from version 2.2.2nb3 to 2.11.7.
This despite one of the self-tests failing.

Pkgsrc changes:
 o Change HOMEPAGE to using search.cpan.org


Upstream changes:

2.11.7 Released December 13, 2008

  - Fix placeholder parsing logic (CPAN bug #41582)

2.11.6 Released November 30, 2008 (subversion r12126)

  - Only set UTF8 flag on array items after UTF8 test. (CPAN bug #41253)
    [Armando Santos]

2.11.5 Released November 24, 2008 (subversion r12102)

  - Clear prepared_statement name on failure to prepare: prevents
    the wrong error when using prepare_cached. [GSM]

2.11.4 Released November 12, 2008

  - Don't set LC_MESSAGES unless superuser in tests. Remove all
    language-specific string checking for tests. (CPAN bug #40604)

2.11.3 Released November 3, 2008 (subversion r12031)

  - Force LC_MESSAGES to 'C' inside tests (CPAN bug #40604)
  - Minor compiler tweaks.
  - Fix small POD error (CPAN bug #40209)
  - Tweak Perl::Critic policy list (CPAN bug #40130)

2.11.2 Released October 15, 2008 (subversion r11983)

  - Fix core dump when invalid placeholders used. (CPAN bug #40075) [GSM]

2.11.1 Released October 14, 2008 (subversion r11980)

  - $sth->{ParamTypes} returns 'TYPE' when possible.

2.11.0 Released October 13, 2008 (subversion r11976)

  - $sth->{ParamTypes} now returns a hashref per the DBI docs. [GSM]
  - Adjustment of Makefile.PL to fix problem with Strawberry Perl.
    Thanks to Martin Evan (martin.evans@easysoft.com) and Brian
    (elspicyjack@gmail.com) on the dbi-users list.

2.10.7 Released September 22, 2008 (subversion r11869)

  - 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}
    on older servers. [GSM]
  - Skip unicode tests if server is set to 'LATIN1' [GSM]

2.10.5 Released September 16, 2008 (subversion r11800)

  - Fix SIGNATURE file

2.10.4 Released September 16, 2008 (subversion r11797)

  - Force use of math library when compiling. Per report
    of AIX problems by Rainer Tammer.

2.10.3 Released August 31, 2008 (subversion r11706)

  - Previous version had wrong SIGNATURE file

2.10.2 Released August 31, 2008 (subversion r11704)

  - Fix minor problem in t/99_yaml.t

2.10.1 Released August 31, 2008 (subversion r11697)

  - Minor testing fix.

2.10.0 Released August 26, 2008 (subversion r11678)

  - Add the 'DBD' trace setting to output only non-DBI trace messages,
    and allow 'dbd_verbose' as a connection attribute for the same
    effect. [GSM]
  - Fix a minor problem with testing against 7.4 databases [GSM]
  - Allow multi-statement do() calls with parameters to work if pg_server_prepare
    is set to 0 (CPAN bug #38623) [GSM]

2.9.2 Released August 18, 2008 (subversion r11664)

  - Empty Postgres arrays should return empty Perl arrays, not undef.
    (CPAN bug #38552) [David E. Wheeler]

2.9.1 Released August 17, 2008 (subversion r11660)

  - Return undef when mapping Postgres array to Perl array and
    the array is empty '{}'. (CPAN bug #38552) [GSM]
  - Minor documentation improvements. [GSM]

2.9.0 Released August 3, 2008 (subversion r11624)

  - Add support for database handle attribute "ReadOnly". This allows
    use of $dbh->{ReadOnly} = 1 to enforce read only mode at
    the server level. [GSM]
  - Move PQexec structures to statement handle, to prevent
    excessive malloc and free within execute function. [GSM]
  - Add more attribute tests, improve testing system. [GSM]
  - Many documentation improvements. [GSM]
  - Win32 build improvements [T.J. Ferraro]

2.8.7 Released July 24, 2008 (subversion r11582)

  - Modify test scripts to work better on FreeBSD boxes. [GSM]
  - Much documentation improvement and POD tweaking. [GSM]

2.8.6 Released July 21, 2008 (subversion r11558)

  - More testing improvements to increase odds of all tests being
    run, especially when testing as root. [GSM]

2.8.5 Released July 13, 2008 (subversion r11529)

  - Fix an obscure bug in which a coredump occurs if client_min_messages
    is set to DEBUG3 or greater, and we then exit without disconnecting
    while AutoCommit is off. The new behavior is to simply not attempt to
    output the debugging information about the final 'rollback'. [GSM]
  - More documentation improvements. [GSM]

2.8.4 Released July 10, 2008 (subversion r11520)

  - Minor Perl::Critic test adjustments. [GSM]
  - Documentation enhancements. [GSM]
  - Yet more minor testing tweaks. [GSM]

2.8.3 Released July 6, 2008 (subversion r11495)

  - Minor testing functionality tweaks, lots of test cleanups, minor doc enhancements. [GSM]

2.8.2 Released June 29, 2008 (subversion r11466)

  - Minor testing tweaks, doc fixes. [GSM]

2.8.1 Released June 11, 2008 (subversion r11417)

  - Force testing to use a custom socket dir, to avoid
    permission problems. Thanks to Frank Wiegand for
    help in uncovering this. [GSM]

2.8.0 Released June 1, 2008 (subversion r11366)

  - Added in payload strings for LISTEN/NOTIFY in 8.4
    via $dbh->pg_notifies() [GSM]
  - Fixed problem preventing some pg_type bind_arrays
    from working [GSM]
  - Fix tests in t.04misc.t to handle Windows newlines.
    (CPAN bug #36237) [Ian Macdonald]
  - Clean up get_info() information. [GSM]

2.7.2 Released May 14, 2008 (subversion r11269)

  - Handle embedded commas in quotes properly when destringifying
    arrays.(CPAN bug #35862) [GSM]
  - Fix typo in docs with trace_parser_flags() (Martin J. Evans)
  - More testing tweaks [GSM]

2.7.1 Released May 11, 2008 (subversion r11250)

  - Yet more minor testing tweaks. [GSM]

2.7.0 Released May 10, 2008 (subversion r11239)

  - Have $dbh->quote() return E'' when server is >= 8.1 and string contains
    backslashes. Fixes any problems with standard_conforming_strings.
    (CPAN bug #27538) [GSM]

2.6.6 Released May 7, 2008 (subversion r11214)

  - Fix minor problem in t/99_spellcheck.t [GSM]

2.6.5 Released May 7, 2008 (subversion r11209)

  - Add spell checker to tests. [GSM]
  - More tweaks to the testing suite. [GSM]

2.6.4 Released May 2, 2008 (subversion r11186)

  - More tweaks to the test suite. [GSM]

2.6.3 Released May 1, 2008 (subversion r11169)

  - Minor tweaks to the test suite. [GSM]

2.6.2 Released April 30, 2008 (subversion r11161)

  - Fix coredump when pg_getcopydata copies 0 rows into a
    freshly created var. (CPAN bug #35556) [David Harris]
  - Allow 'make test' create a test database from scratch if
    it cannot find an existing one to use. [GSM]

2.6.1 Released April 22, 2008 (subversion r11133)

  - Don't free placeholder section, fixes problem when using
    more than one named placeholder with the same name.
    (CPAN bug #35303) [GSM]

2.6.0 Released April 16, 2008 (subversion r11095)

  - Make pg_notifies a true function, so that you can now
    use $dbh->pg_notifies instead of $dbh->func('pg_notifies') [GSM]
  - Various performance improvements [GSM]
  - Fix minor build and compilation issues with Strawberry Perl [GSM]
  - Add Bundle::DBD::Pg [GSM]

2.5.1 Released April 7, 2008 (subversion r11056)

  - Correctly handle negative PID numbers on Win32 systems when
    generating prepared statement names (CPAN bug # 34738) [GSM]

2.5.0 Released March 23, 2008 (subversion r10990)

  - Add pg_enum_values to $dbh->column_info()
    [Dave Rolsky] (CPAN ticket #34351)
  - Minor test fixes. [GSM]

2.4.0 Released March 21, 2008 (subversion r10974)

  - Remove problematic and unneeded Test::Warn test from 00basic.t.
  - Add $sth->{pg_current_row} [GSM]

2.3.0 Released March 19, 2008 (subversion r10951)

  - Add $sth->{pg_bound} and $sth->{pg_numbound} [GSM]
  - Fix broken call to $sth->{pg_segments} [GSM]
2008-12-18 01:00:43 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
dsainty
f64ab39f62 Allow perl-5.10.0 to satisfy the dependency on p5-version.
Don't bother bumping PKGREVISION, p5-version claims to be a NOP in the
presence of built in support.
2008-10-12 21:21:19 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
dsainty
10b723081c Add dependency on p5-version, which appears to be a new requirement.
Bump PKGREVISION, because the package will gladly build and install
without p5-version, it just won't actually work unless p5-version is
available both at build time and at run time.
2008-03-17 13:29:03 +00:00
joerg
2a7055907f Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
2008-03-13 17:38:48 +00:00
tonnerre
b978ff9b13 Updated databases/p5-DBD-postgresql 1.49 -> 2.2.2
2.2.2
	- Add parse_trace_flag as statement handle method.

2.2.1
	- Fixed memory leaks in dbdimp.c
	- Fixed strlen problems in dbdimp.c
	- Change local trace_flags to lowercase.

2.1.0
	- Add PERL_NO_GET_CONTEXT #define to improve performance on threaded Perls
	- Raise the minimum DBI version to 1.52.
	- Allow arrayrefs into bind_col

2.0.0
	- Make minimum supported server 7.4.
	- Overhaul COPY functions: deprecate pg_getline, pg_putline,
		and pg_endcopy. The new functions are pg_getcopydata,
		pg_getcopydata_async, pg_putcopydata, and pg_putcopyend.
	- Add support for arrays: can pass in arrayrefs to execute, and
		they are automatically returned as arrays when fetching.
	- Add support for asynchronous queries.
	- Allow raw transaction statements through - in other words,
		do not croak if $dbh->prepare("COMMIT") is attempted.
	- Check transaction status after each command, to allow
		things such as 'PREPARE TRANSACTION' to work properly.
	- Add $dbh->{pg_placeholder_dollaronly} to allow '?' and other symbols
		to be used in prepared statements without getting interpreted as
		placeholders, i.e. the geometric operator '?#'
	- Fix memory leak in bytea quoting.
	- Fix memory leak in pg_notifies.
	- Fix memory leak when using savepoints.
	- Use adbin, not adsrc, when figuring out the sequence name for the
		last_insert_id() method. This allows the function to work properly
		if the sequence name is changed. Note that {pg_cache=>0} should be
		passed to the function if you expect this might happen.
	- Use unsigned chars when parsing passed-in queries, preventing UTF-8
		strings from ruining the prepare. UTF-16 may still cause problems.
	- Fix crash when executing query with two placeholders side by side.
	- Skip item if no matching key in foreign_key_info.
	- Fix bug in last_insert_id.
	- Fix pg_description join in table_info().
	- Make sure arrays handle UTF-8 smoothly.
	- Force column names to respect utf8-ness.
	- Make sure array items are marked as UTF as needed.
	- Force SQL_REAL and SQL_NUMERIC to be float8 not float4.
	- Allow objects with stringification overloading to work with quote().
	- Switch from pow to powf to support AIX compiler issue.
	- Add three new columns to column_info, to return unquoted
		version: pg_schema, pg_table, and pg_columns. Add all
		three to primary_key_info, and the first two to table_info.
	- Change $dbh->{User} to $dbh->{Username}
	- Change $dbh->{Name} to return the entire DSN string, minus the
		'dbi:Pg:' part.
	- Allow data_sources to accept optional arguments.
	- Add private_attribute_info() method.
	- Add SQL_INTERVAL and others to types.c
	- Added statistics_info function
	- Be much more flexible in test connection options.
	- Overhaul test suite, allow tests to be run individually.
	- Quick support for named trace level 'SQL'
	- Very experimental support for bind_param_inout, use with caution.
2008-03-13 00:31:12 +00:00
abs
1355906b87 Updated databases/p5-DBD-postgresql 0.48 -> 0.49
1.49
	- Thanks to Backcountry.com for sponsoring work on this release. [GSM]
	- Add the statement handle attribute ParamTypes, and fix an error
		in ParamValues. ParamTypes requires DBI 1.49 or better. [GSM]
	- Strip the final newline from error messages, so that die can add
		in the line number. (CPAN bug #18900) [GSM]
	- Make workaround for PQresultErrorField not returning proper
		result when an error is set and we are connecting via TCP/IP.
		This allows correct $dbh->state() values. [GSM]
	- Fix incorrect quoting preventing compiling. (CPAN bug #18640)
	- Add support for quoting and binding of geometric types: POINT,
		LINE, LSEG, BOX, PATH, POLYGON, and CIRCLE. Also added the
		TID type. [GSM]
2007-06-09 23:45:18 +00:00
jwise
d713eea2be Per Juan RP, use pkgsrc-users@ as MAINTAINER of unmaintained pkgs. 2007-03-21 19:44:10 +00:00
jwise
334802060f I'm not using any of these packages any more, and have not been keeping up
on maintaining them.  Switch MAINTAINER to tech-pkg, so I can focus on those
which I am still using.
2007-03-21 18:55:47 +00:00
joerg
331e2615fa Change PostgreSQL default version to 8.1 and bump revision of all
packages which have it active by default.
2006-12-28 12:12:57 +00:00
hiramatsu
950da8a6b3 Update p5-DBD-postgresql to 1.48.
Changes from 1.41:

1.48 April 5, 2006
        - Bump minimum DBI version to 1.45 (CPAN bug #18260) (plus problems
                in versions 1.42 and 1.44 [GSM]
        - Fix typo in Pg.pm code (CPAN bug #18537) [marc@sssonline.com]
        - Ensure begin_work is properly set before err. (CPAN bug #18387) [GSM]
        - Force PQexecParams to only run with DML. (CPAN bug #18258) [GSM]
        - Fix bytea encoding problem (CPAN bug #18264) [GSM]
        - Add documentation about connection service files (pg_service.conf).
                [David Fetter]

1.47 March 20, 2006
        - Fix problem with selecting arrays. (CPAN bugs #18128 and
                #18177) [GSM]
        - Fix problem with dollar-sign placeholders. [GSM]

1.46 March 16, 2006
        - Fix problem with dollar-sign placeholders. (husseinp@gmail.com)
                (CPAN bug #18209) [GSM]

1.45 February 27, 2006
        - Fix bug preventing bytea values over 20 characters from showing.
                Spotted by Igor Shevchenko. [GSM]

1.44 February 21, 2006
        - Make sure pg_warn does not warn if the database attribute
                PrintWarn is off. (Tyler MacDonald tyler@yi.org) [GSM]
        - Add SIGNATURE file for Module::Signature verification. [GSM]
        - Fix error in documentation for pg_errorlevel.
                (CPAN bug #17434)
        - Add experimental support for using DEFAULT values inside
                of execute with $DBDPG_DEFAULT. [GSM]
        - Return the proper SQLSTATE codes on connection failures.
                (CPAN bug #17115) [GSM]
        - Fix parser to handle leading parens. (CPAN bug #15481) [GSM]
        - Make statement handles destruction abort early if
                InactiveDestroy is set (CPAN bug #14978) [GSM]
        - Make quote work properly for time/date types
                (CPAN bug #15082) [GSM]
        - Ensure all lo_ functions begin a transaction as needed
                if they are the first action in a script
                (CPAN bug # 13810) [GSM]
        - Fix memory leak in dbdimp.c (k@sawada.cc) [Kenchi Sawada]
        - Fix memory leak in dbdimp.c (dmitri@karasik.eu.org)
                (CPAN bug #16054)
        - Move package declaration lines to fix RPM parser problems
                (CPAN bug #14509) [GSM]
        - Add support for dollar quoting (CPAN bug #13608) [GSM]
        - Added $dbh->{pg_default_port} method [GSM]
        - Overhaul get_info data, add many more values [GSM]
        - Overhaul type_info data (CPAN bug #13806) [GSM]
        - Rewrite some of the quoting functions, reduce dependence
                on libpq versions [GSM]
        - Rewrite and optimize the do() method. Should be much faster
                when called without placeholders. Thanks to Tom Lane
                for suggesting this. [GSM]
        - Double check PQserverVersion return and use alternate
                method if it returns 0 (CPAN bug #14302)
        - Add support for specifying type in $dbh->quote(),
                such as $dbh->quote($var, {pg_type => DBD::Pg::PG_BYTEA})
                Also support type => SQL_xx [GSM] (CPAN bug #13942)
        - Fix pg_notifies() bug (CPAN bug #14232) [door@lcpi.ru]
        - Add pg_ping() method [GSM]
        - Make sure ping returns true, even if in failed transaction state
                [thanks to Bill Moseley] [GSM]
        - Fix COPY-related core dump [GSM]
        - Fix strncpy bug in quote.c [Jun Kuriyama] (CPAN bug #14897)
        - Fix error in is_high_bit_set() [Alexey Tourbin] (CPAN bug #13406)

1.43 June 23, 2005
        - Added README.dev file. [GSM]
        - Fix statement-name related core dump. [GSM]
        - Ensure state() returns an empty string, not 00000 on success.
                (CPAN bug #13237) [michael.bell@web.de of OpenCA] [GSM]
        - Fix rare core dump when $sth still in scope after disconnect [GSM]
        - Enhancements to README.win32 [fenlisesi@gmail.com]
        - Fix incorrect sprintf calls (CPAN bug #12204)
                [Jakub Jelinek]
        - Fix get_info(18) ("ODBCVERSION") (CPAN bug #12968)
                [thanks to szinger@lanl.gov] [GSM]

1.42 May 21, 2005
        - Fix minor issues with copying and bytea quoting on older
                servers. Fix some other memory leaks. [GSM]
        - Fix backslash parsing in statements (CPAN bug #12870)
                [felix.klee@inka.de] [GSM]
        - Make rollback/commit reset copy state (CPAN bug #12866)
                [imb@rentrak.com] [GSM]
        - Make sure lo_creat issues a begin if necessary [GSM]
        - Fix incorrect behavior when AutoCommit switched on. (CPAN bug #12748)
                [thanks to Vivek Khera] [GSM]
        - Have last_insert_id use set_err, not die. (CPAN bug #12503)
                [thanks to Alexandra Walford] [GSM]
        - Fixed tests to correctly handle older DBI versions reporting
                failures on last_insert_id() (CPAN bug #12204)
                [jpo@di.uminho.pt] [GSM]
        - Re-enable REMARKS field on column_info (CPAN bug #12399)
                [thanks to morni@cpan.org] [GSM]
        - Many minor compiler optimizations and cleanups [GSM]
        - Fix two separate memory leaks in dbdimp.c
                [hertzog@debian.org and richardg@eSentire.com]
        - Change VARCHAROID to UNKNOWNOID, suggested by users on mailing
                list [GSM]
2006-04-23 14:22:19 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00