pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-DBD-postgresql Updated databases/p5-DBD-p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89500e728e37
branches:  trunk
changeset: 539770:89500e728e37
user:      tonnerre <tonnerre%pkgsrc.org@localhost>
date:      Thu Mar 13 00:31:12 2008 +0000

description:
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.

diffstat:

 databases/p5-DBD-postgresql/Makefile |  4 ++--
 databases/p5-DBD-postgresql/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 318af365e3ba -r 89500e728e37 databases/p5-DBD-postgresql/Makefile
--- a/databases/p5-DBD-postgresql/Makefile      Thu Mar 13 00:30:39 2008 +0000
+++ b/databases/p5-DBD-postgresql/Makefile      Thu Mar 13 00:31:12 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2007/06/09 23:45:18 abs Exp $
+# $NetBSD: Makefile,v 1.42 2008/03/13 00:31:12 tonnerre Exp $
 #
 
-VER=           1.49
+VER=           2.2.2
 DISTNAME=      DBD-Pg-${VER}
 PKGNAME=       p5-DBD-postgresql-${VER}
 SVR4_PKGNAME=  p5dpo
diff -r 318af365e3ba -r 89500e728e37 databases/p5-DBD-postgresql/distinfo
--- a/databases/p5-DBD-postgresql/distinfo      Thu Mar 13 00:30:39 2008 +0000
+++ b/databases/p5-DBD-postgresql/distinfo      Thu Mar 13 00:31:12 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2007/06/09 23:45:18 abs Exp $
+$NetBSD: distinfo,v 1.19 2008/03/13 00:31:12 tonnerre Exp $
 
-SHA1 (DBD-Pg-1.49.tar.gz) = 37c1c37a02afa00d48f8dd739d5d8502a7c40045
-RMD160 (DBD-Pg-1.49.tar.gz) = 171c1df5f56a11cb9aa3d3eab85e220671f73010
-Size (DBD-Pg-1.49.tar.gz) = 147310 bytes
+SHA1 (DBD-Pg-2.2.2.tar.gz) = aebb50fd35096eda4993c449a4f0788732df0cb4
+RMD160 (DBD-Pg-2.2.2.tar.gz) = 2f8987bc969b0bc1050871427e94dc006ede8bc1
+Size (DBD-Pg-2.2.2.tar.gz) = 187876 bytes



Home | Main Index | Thread Index | Old Index