From 11b7398b36b32aeacd800ee2f62138746510747f Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 7 Feb 2009 17:44:40 +0000 Subject: [PATCH] Changes 8.2.12: * Improve handling of URLs in headline() function * Improve handling of overlength headlines in headline() function * Prevent possible Assert failure or misconversion if an encoding conversion is created with the wrong conversion function for the specified pair of encodings * Fix possible Assert failure if a statement executed in PL/pgSQL is rewritten into another kind of statement, for example if an "INSERT" is rewritten into an "UPDATE" * Ensure that a snapshot is available to datatype input functions * Make it safer for SPI-using functions to be used within datatype I/O; in particular, to be used in domain check constraints * Avoid unnecessary locking of small tables in "VACUUM" * Fix a problem that made UPDATE RETURNING tableoid return zero instead of the correct OID * Fix planner misestimation of selectivity when transitive equality is applied to an outer-join clause This could result in bad plans for queries like ... from a left join b on a.a1 = b.b1 where a.a1 = 42 ... * Improve optimizer's handling of long IN lists This change avoids wasting large amounts of time on such lists when constraint exclusion is enabled. * Ensure that the contents of a holdable cursor don't depend on the contents of TOAST tables * Fix memory leak when a set-returning function is terminated without reading its whole result * Fix "contrib/dblink"'s dblink_get_result(text,bool) function * Fix possible garbage output from "contrib/sslinfo" functions * Fix configure script to properly report failure when unable to obtain linkage information for PL/Perl * Make all documentation reference pgsql-bugs and/or pgsql-hackers as appropriate, instead of the now-decommissioned pgsql-ports and pgsql-patches mailing lists * Update time zone data files to tzdata release 2009a (for Kathmandu and historical DST corrections in Switzerland, Cuba) --- databases/postgresql82-client/PLIST | 8 ++++++-- databases/postgresql82-server/PLIST | 3 ++- databases/postgresql82/Makefile.common | 4 ++-- databases/postgresql82/distinfo | 12 ++++++------ databases/postgresql82/patches/patch-aa | 9 +++++---- databases/postgresql82/patches/patch-ab | 10 +++++----- 6 files changed, 26 insertions(+), 20 deletions(-) diff --git a/databases/postgresql82-client/PLIST b/databases/postgresql82-client/PLIST index ad92dd90b475..d960c9e9b6e2 100644 --- a/databases/postgresql82-client/PLIST +++ b/databases/postgresql82-client/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.11 2008/11/04 09:52:39 adam Exp $ +@comment $NetBSD: PLIST,v 1.12 2009/02/07 17:44:41 adam Exp $ ${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/af/LC_MESSAGES/libpq.mo ${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/initdb.mo ${PG_SUBPREFIX}${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/libpq.mo @@ -1199,6 +1199,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-20.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-21.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-22.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-23.html +${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-24.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-2.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-3.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-4.html @@ -1219,6 +1220,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-16.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-17.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-18.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-19.html +${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-20.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-2.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-3.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-4.html @@ -1235,6 +1237,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-12.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-13.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-14.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-15.html +${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-16.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-2.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-3.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-4.html @@ -1248,6 +1251,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-1.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-10.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-11.html +${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-12.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-2.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-3.html ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-4.html @@ -1521,7 +1525,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/wal-intro.html ${PG_SUBPREFIX}share/doc/postgresql/html/wal-reliability.html ${PG_SUBPREFIX}share/doc/postgresql/html/wal.html ${PG_SUBPREFIX}share/doc/postgresql/html/warm-standby.html -${PG_SUBPREFIX}share/doc/postgresql/html/x71215.html +${PG_SUBPREFIX}share/doc/postgresql/html/x71214.html ${PG_SUBPREFIX}share/doc/postgresql/html/xaggr.html ${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-c.html ${PG_SUBPREFIX}share/doc/postgresql/html/xfunc-internal.html diff --git a/databases/postgresql82-server/PLIST b/databases/postgresql82-server/PLIST index 1ef8deff02c3..65851f3ad142 100644 --- a/databases/postgresql82-server/PLIST +++ b/databases/postgresql82-server/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2008/11/04 09:52:39 adam Exp $ +@comment $NetBSD: PLIST,v 1.9 2009/02/07 17:44:41 adam Exp $ ${PG_SUBPREFIX}bin/postgres ${PG_SUBPREFIX}bin/postmaster ${PG_SUBPREFIX}lib/postgresql/ascii_and_mic.la @@ -314,6 +314,7 @@ ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kabul ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kamchatka ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Karachi ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kashgar +${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kathmandu ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Katmandu ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Kolkata ${PG_SUBPREFIX}share/postgresql/timezone/Asia/Krasnoyarsk diff --git a/databases/postgresql82/Makefile.common b/databases/postgresql82/Makefile.common index 9b29a9f52845..cd07098a2d4b 100644 --- a/databases/postgresql82/Makefile.common +++ b/databases/postgresql82/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.14 2008/11/04 09:52:39 adam Exp $ +# $NetBSD: Makefile.common,v 1.15 2009/02/07 17:44:40 adam Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -36,7 +36,7 @@ PATCHDIR?= ${.CURDIR}/../postgresql82/patches # # Note: Do not forget jdbc-postgresql82 when updating version # -DIST_VERS?= 8.2.11 +DIST_VERS?= 8.2.12 BASE_VERS?= ${DIST_VERS} BUILDLINK_API_DEPENDS.postgresql82-client+= postgresql82-client>=${BASE_VERS} diff --git a/databases/postgresql82/distinfo b/databases/postgresql82/distinfo index cf60804aa27a..b73d919d6c24 100644 --- a/databases/postgresql82/distinfo +++ b/databases/postgresql82/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.14 2008/11/04 09:52:39 adam Exp $ +$NetBSD: distinfo,v 1.15 2009/02/07 17:44:40 adam Exp $ -SHA1 (postgresql-8.2.11.tar.bz2) = 5410c25a369f19fc4a376f942351553aff710d8f -RMD160 (postgresql-8.2.11.tar.bz2) = 30e1f792a9168fa78b1c7d27742c6f98a7e2a08c -Size (postgresql-8.2.11.tar.bz2) = 12564132 bytes -SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d -SHA1 (patch-ab) = 138221d6b3b2fe33d68d8d4aacf23b6913f6c809 +SHA1 (postgresql-8.2.12.tar.bz2) = 7460978e309c204772e82ba9f927888807e78c47 +RMD160 (postgresql-8.2.12.tar.bz2) = 49deeb33bf8bbe20ffae3dfbd30e8a67311f7f57 +Size (postgresql-8.2.12.tar.bz2) = 12569185 bytes +SHA1 (patch-aa) = 850a02acbd718a01d3597a99e929e3b3f663f07c +SHA1 (patch-ab) = d09e44921e9dd005e1b1dfbb5da4e56737ea05ab SHA1 (patch-ac) = cbd302a60d43171854c37171b57ee7bbf1194ad9 SHA1 (patch-ad) = 84ce70fa661b44f267a502ea73fe01b84776c91c SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6 diff --git a/databases/postgresql82/patches/patch-aa b/databases/postgresql82/patches/patch-aa index f50877d2737c..41e4136c0b1e 100644 --- a/databases/postgresql82/patches/patch-aa +++ b/databases/postgresql82/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ +$NetBSD: patch-aa,v 1.2 2009/02/07 17:44:41 adam Exp $ ---- config/perl.m4.orig 2003-11-30 04:51:17.000000000 +0900 +--- config/perl.m4.orig 2008-11-12 01:00:53.000000000 +0100 +++ config/perl.m4 -@@ -28,8 +28,6 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS], +@@ -28,9 +28,7 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS], AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS], [AC_REQUIRE([PGAC_PATH_PERL]) AC_MSG_CHECKING(for flags to link embedded Perl) @@ -11,4 +11,5 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ -perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` +perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` AC_SUBST(perl_embed_ldflags)dnl - AC_MSG_RESULT([$perl_embed_ldflags])]) + if test -z "$perl_embed_ldflags" ; then + AC_MSG_RESULT(no) diff --git a/databases/postgresql82/patches/patch-ab b/databases/postgresql82/patches/patch-ab index c5ceb9b3929f..8ae14fdb3d3c 100644 --- a/databases/postgresql82/patches/patch-ab +++ b/databases/postgresql82/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.4 2008/06/20 07:46:49 adam Exp $ +$NetBSD: patch-ab,v 1.5 2009/02/07 17:44:41 adam Exp $ ---- configure.orig 2008-06-09 02:34:31.000000000 +0200 +--- configure.orig 2009-01-30 04:13:33.000000000 +0100 +++ configure @@ -1504,6 +1504,7 @@ case $host_os in darwin*) template=darwin ;; @@ -18,6 +18,6 @@ $NetBSD: patch-ab,v 1.4 2008/06/20 07:46:49 adam Exp $ -pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` -perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` +perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` - echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 - echo "${ECHO_T}$perl_embed_ldflags" >&6 - fi + if test -z "$perl_embed_ldflags" ; then + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6