diff options
author | adam <adam@pkgsrc.org> | 2008-06-20 08:27:57 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2008-06-20 08:27:57 +0000 |
commit | 6fbe71741ad380258f94ed5627df4b78e1047ada (patch) | |
tree | da0ecb1cb09f27791883882fc601c45de7663c69 /databases/postgresql81 | |
parent | 33296c1f96099b54f931e45bc2e0ea845f896261 (diff) | |
download | pkgsrc-6fbe71741ad380258f94ed5627df4b78e1047ada.tar.gz |
Changes 8.1.13:
* Make pg_get_ruledef() parenthesize negative constants (Tom)
Before this fix, a negative constant in a view or rule might be
dumped as, say, -42::integer, which is subtly incorrect: it should
be (-42)::integer due to operator precedence rules. Usually this
would make little difference, but it could interact with another
recent patch to cause PostgreSQL to reject what had been a valid
"SELECT DISTINCT" view query. Since this could result in pg_dump
output failing to reload, it is being treated as a high-priority
fix. The only released versions in which dump output is actually
incorrect are 8.3.1 and 8.2.7.
* Make "ALTER AGGREGATE ... OWNER TO" update pg_shdepend (Tom)
This oversight could lead to problems if the aggregate was later
involved in a "DROP OWNED" or "REASSIGN OWNED" operation.
Diffstat (limited to 'databases/postgresql81')
-rw-r--r-- | databases/postgresql81/Makefile.common | 4 | ||||
-rw-r--r-- | databases/postgresql81/distinfo | 12 | ||||
-rw-r--r-- | databases/postgresql81/patches/patch-ab | 10 | ||||
-rw-r--r-- | databases/postgresql81/patches/patch-ad | 13 |
4 files changed, 19 insertions, 20 deletions
diff --git a/databases/postgresql81/Makefile.common b/databases/postgresql81/Makefile.common index 47eab420e84..1cbd903fa85 100644 --- a/databases/postgresql81/Makefile.common +++ b/databases/postgresql81/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2008/04/23 12:40:40 ghen Exp $ +# $NetBSD: Makefile.common,v 1.17 2008/06/20 08:27:57 adam Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution except jdbc-postgresql. @@ -37,7 +37,7 @@ PATCHDIR?= ${.CURDIR}/../postgresql81/patches # # Note: Do not forget jdbc-postgresql81 when updating version # -DIST_VERS?= 8.1.11 +DIST_VERS?= 8.1.13 BASE_VERS?= ${DIST_VERS} BUILDLINK_API_DEPENDS.postgresql81-client+= postgresql81-client>=${BASE_VERS} diff --git a/databases/postgresql81/distinfo b/databases/postgresql81/distinfo index 7d392784f98..a274e51c95c 100644 --- a/databases/postgresql81/distinfo +++ b/databases/postgresql81/distinfo @@ -1,12 +1,12 @@ -$NetBSD: distinfo,v 1.11 2008/01/07 20:14:23 adam Exp $ +$NetBSD: distinfo,v 1.12 2008/06/20 08:27:57 adam Exp $ -SHA1 (postgresql-8.1.11.tar.bz2) = 73c0f09754fc8e3c7f8d7de49d70244b76927416 -RMD160 (postgresql-8.1.11.tar.bz2) = 9fb98eadc4f1015205970f26b31b68ea0378bda9 -Size (postgresql-8.1.11.tar.bz2) = 11735420 bytes +SHA1 (postgresql-8.1.13.tar.bz2) = 6d4b771aa4011fa3e8aed726f1521b77cd91772a +RMD160 (postgresql-8.1.13.tar.bz2) = fe9fab1b70fa93b4dc0bd19f63a590f75511e79e +Size (postgresql-8.1.13.tar.bz2) = 11744780 bytes SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d -SHA1 (patch-ab) = 5bf5f46e86025772cbdb9c9d22c942b40288f82f +SHA1 (patch-ab) = 56e8bce0631e1007b2c2df8e740c0d48134b2242 SHA1 (patch-ac) = cbd302a60d43171854c37171b57ee7bbf1194ad9 -SHA1 (patch-ad) = 51243fecc142d20e5353b8043e24f38007aa38d9 +SHA1 (patch-ad) = f9bf7bdc6a8e3d8e66be5c9b8ed8f5aaa2b41081 SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6 SHA1 (patch-af) = 89cb9318946cb7c34ad79dbae107ce66bd1c5022 SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d diff --git a/databases/postgresql81/patches/patch-ab b/databases/postgresql81/patches/patch-ab index 373b2041d9f..b059bcd89f4 100644 --- a/databases/postgresql81/patches/patch-ab +++ b/databases/postgresql81/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.2 2007/01/12 22:49:24 joerg Exp $ +$NetBSD: patch-ab,v 1.3 2008/06/20 08:27:57 adam Exp $ ---- configure.orig 2007-01-06 05:29:02.000000000 +0000 +--- configure.orig 2008-06-09 03:17:31.000000000 +0200 +++ configure @@ -1501,6 +1501,7 @@ case $host_os in darwin*) template=darwin ;; @@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.2 2007/01/12 22:49:24 joerg Exp $ hpux*) template=hpux ;; irix*) template=irix ;; linux*|gnu*|k*bsd*-gnu) -@@ -4753,9 +4754,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 +@@ -4807,9 +4808,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5 echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6 @@ -21,7 +21,7 @@ $NetBSD: patch-ab,v 1.2 2007/01/12 22:49:24 joerg Exp $ echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 echo "${ECHO_T}$perl_embed_ldflags" >&6 fi -@@ -21604,17 +21603,12 @@ cat confdefs.h >>conftest.$ac_ext +@@ -21677,17 +21676,12 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @@ -42,7 +42,7 @@ $NetBSD: patch-ab,v 1.2 2007/01/12 22:49:24 joerg Exp $ ; return 0; } -@@ -21659,17 +21653,12 @@ cat confdefs.h >>conftest.$ac_ext +@@ -21732,17 +21726,12 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ diff --git a/databases/postgresql81/patches/patch-ad b/databases/postgresql81/patches/patch-ad index a0e4fa1043a..fa694ab7da1 100644 --- a/databases/postgresql81/patches/patch-ad +++ b/databases/postgresql81/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ +$NetBSD: patch-ad,v 1.2 2008/06/20 08:27:57 adam Exp $ ---- src/backend/port/dynloader/netbsd.c.orig 2005-07-07 01:55:58.000000000 +0900 +--- src/backend/port/dynloader/netbsd.c.orig 2008-06-20 09:58:20.000000000 +0200 +++ src/backend/port/dynloader/netbsd.c -@@ -44,65 +44,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be +@@ -44,64 +44,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be #include "dynloader.h" @@ -25,7 +25,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ -BSD44_derived_dlopen(const char *file, int num) +pg_dlopen(const char *file, int num) { --#if defined(__mips__) +-#if !defined(HAVE_DLOPEN) - snprintf(error_message, sizeof(error_message), - "dlopen (%s) not supported", file); + elog(ERROR, "dynamic load not supported"); @@ -44,7 +44,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ -BSD44_derived_dlsym(void *handle, const char *name) +pg_dlsym(void *handle, const char *name) { --#if defined(__mips__) +-#if !defined(HAVE_DLOPEN) - snprintf(error_message, sizeof(error_message), - "dlsym (%s) failed", name); return NULL; @@ -70,8 +70,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $ -BSD44_derived_dlclose(void *handle) +pg_dlclose(void *handle) { --#if defined(__mips__) --#else +-#if defined(HAVE_DLOPEN) - dlclose(handle); -#endif } |