summaryrefslogtreecommitdiff
path: root/databases/postgresql73
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-08-07 18:19:16 +0000
committeradrianp <adrianp>2005-08-07 18:19:16 +0000
commit45001b10967c30dbc0634617cfec82286a957e53 (patch)
tree320277aa8389e6304ac39b9376afe3863e329fbc /databases/postgresql73
parente3610357092b687029c1d4c964a102ec6d1a6916 (diff)
downloadpkgsrc-45001b10967c30dbc0634617cfec82286a957e53.tar.gz
Update to 7.3.10
Posted on 2005-05-12: In order to address several security issues identified over the past two weeks, as well as one "low probability" race condition, we are releasing new version of PostgreSQL as far back as the 7.2.x branch. Please note that the security issues were those already reported by Tom Lane, as well as a manual fix for them. These releases are mainly to ensure that those installing and/or upgrading existing installations have those fixes automatically. For details on the fixes, please see the HISTORY file included in the Release, but a summary consists of: * Change encoding function signature to prevent misuse * Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function results * Repair race condition between relation extension and VACUUM This could theoretically have caused loss of a page's worth of freshly-inserted data, although the scenario seems of very low probability. There are no known cases of it having caused more than an Assert failure.
Diffstat (limited to 'databases/postgresql73')
-rw-r--r--databases/postgresql73/Makefile.common4
-rw-r--r--databases/postgresql73/distinfo9
-rw-r--r--databases/postgresql73/patches/patch-al60
3 files changed, 6 insertions, 67 deletions
diff --git a/databases/postgresql73/Makefile.common b/databases/postgresql73/Makefile.common
index c9abb89c934..a38696866a6 100644
--- a/databases/postgresql73/Makefile.common
+++ b/databases/postgresql73/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2005/07/13 15:34:01 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.11 2005/08/07 18:19:16 adrianp Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -33,7 +33,7 @@ PATCHDIR?= ${.CURDIR}/../postgresql73/patches
# BASE_VERS pkgsrc-mangled version number (convert pl -> .)
#
# Note: Do not forget jdbc-postgresql when updating version
-DIST_VERS?= 7.3.9
+DIST_VERS?= 7.3.10
BASE_VERS?= ${DIST_VERS}
BUILDLINK_DEPENDS.postgresql73-lib?= postgresql73-lib>=${BASE_VERS}
diff --git a/databases/postgresql73/distinfo b/databases/postgresql73/distinfo
index 42d495d1e86..ffa55cef9bd 100644
--- a/databases/postgresql73/distinfo
+++ b/databases/postgresql73/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/05/02 02:14:23 markd Exp $
+$NetBSD: distinfo,v 1.10 2005/08/07 18:19:16 adrianp Exp $
-SHA1 (postgresql-7.3.9.tar.gz) = 01481f3af507cb6b361bd71fc51c0fb8c06905da
-RMD160 (postgresql-7.3.9.tar.gz) = 61b97bd71cee3e107419598b75d0ec0734df2791
-Size (postgresql-7.3.9.tar.gz) = 11288172 bytes
+SHA1 (postgresql-7.3.10.tar.gz) = 173bfb9c4ae7d4bd84a90babdbf34d420fcb90c2
+RMD160 (postgresql-7.3.10.tar.gz) = 544602d752a8e2f0d2b90e1e2e4c50431b98c44b
+Size (postgresql-7.3.10.tar.gz) = 11296380 bytes
SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
SHA1 (patch-ab) = d45df2da17b1ff67f5f82b4ff743afe350500786
SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
@@ -14,4 +14,3 @@ SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
-SHA1 (patch-al) = f2827e29d063d3aa8dfcead3f16f9aa27459bbf7
diff --git a/databases/postgresql73/patches/patch-al b/databases/postgresql73/patches/patch-al
deleted file mode 100644
index bbc02a6fdf4..00000000000
--- a/databases/postgresql73/patches/patch-al
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-al,v 1.2 2005/05/02 02:14:23 markd Exp $
-
---- src/pl/plpgsql/src/gram.y.orig 2005-01-26 20:44:42.000000000 -0500
-+++ src/pl/plpgsql/src/gram.y 2005-03-17 16:34:50.000000000 -0500
-@@ -1626,6 +1626,13 @@
- }
- }
-
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = lno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
-+
- expr = malloc(sizeof(PLpgSQL_expr) + sizeof(int) * nparams - sizeof(int));
- expr->dtype = PLPGSQL_DTYPE_EXPR;
- expr->query = strdup(plpgsql_dstring_get(&ds));
-@@ -1761,6 +1768,13 @@
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
-+
- tok = yylex();
- switch(tok)
- {
-@@ -1821,6 +1835,13 @@
- plpgsql_dstring_append(&ds, yytext);
- break;
- }
-+
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
- }
-
- expr = malloc(sizeof(PLpgSQL_expr) + sizeof(int) * nparams - sizeof(int));
-@@ -1892,6 +1913,13 @@
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
-+
- tok = yylex();
- switch(tok)
- {