Thu Mar 13 00:31:12 2008 UTC ()
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.


(tonnerre)
diff -r1.41 -r1.42 pkgsrc/databases/p5-DBD-postgresql/Makefile
diff -r1.18 -r1.19 pkgsrc/databases/p5-DBD-postgresql/distinfo

cvs diff -r1.41 -r1.42 pkgsrc/databases/p5-DBD-postgresql/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBD-postgresql/Makefile 2007/06/09 23:45:18 1.41
+++ pkgsrc/databases/p5-DBD-postgresql/Makefile 2008/03/13 00:31:12 1.42
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.41 2007/06/09 23:45:18 abs Exp $ 1# $NetBSD: Makefile,v 1.42 2008/03/13 00:31:12 tonnerre Exp $
2# 2#
3 3
4VER= 1.49 4VER= 2.2.2
5DISTNAME= DBD-Pg-${VER} 5DISTNAME= DBD-Pg-${VER}
6PKGNAME= p5-DBD-postgresql-${VER} 6PKGNAME= p5-DBD-postgresql-${VER}
7SVR4_PKGNAME= p5dpo 7SVR4_PKGNAME= p5dpo
8CATEGORIES= databases perl5 8CATEGORIES= databases perl5
9MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} 9MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://gborg.postgresql.org/project/dbdpg/projdisplay.php 12HOMEPAGE= http://gborg.postgresql.org/project/dbdpg/projdisplay.php
13COMMENT= Perl DBI/DBD driver for PostgreSQL databases 13COMMENT= Perl DBI/DBD driver for PostgreSQL databases
14 14
15PKG_INSTALLATION_TYPES= overwrite pkgviews 15PKG_INSTALLATION_TYPES= overwrite pkgviews
16 16
17PERL5_PACKLIST= auto/DBD/Pg/.packlist 17PERL5_PACKLIST= auto/DBD/Pg/.packlist

cvs diff -r1.18 -r1.19 pkgsrc/databases/p5-DBD-postgresql/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBD-postgresql/distinfo 2007/06/09 23:45:18 1.18
+++ pkgsrc/databases/p5-DBD-postgresql/distinfo 2008/03/13 00:31:12 1.19
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.18 2007/06/09 23:45:18 abs Exp $ 1$NetBSD: distinfo,v 1.19 2008/03/13 00:31:12 tonnerre Exp $
2 2
3SHA1 (DBD-Pg-1.49.tar.gz) = 37c1c37a02afa00d48f8dd739d5d8502a7c40045 3SHA1 (DBD-Pg-2.2.2.tar.gz) = aebb50fd35096eda4993c449a4f0788732df0cb4
4RMD160 (DBD-Pg-1.49.tar.gz) = 171c1df5f56a11cb9aa3d3eab85e220671f73010 4RMD160 (DBD-Pg-2.2.2.tar.gz) = 2f8987bc969b0bc1050871427e94dc006ede8bc1
5Size (DBD-Pg-1.49.tar.gz) = 147310 bytes 5Size (DBD-Pg-2.2.2.tar.gz) = 187876 bytes