summaryrefslogtreecommitdiff
path: root/databases/postgresql80
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-26 17:47:58 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-26 17:47:58 +0000
commit0eb97e720bdfc212422cd1bfd20be813ab0e10d7 (patch)
tree8a97b807d5a353adb40ccd30da343f31be09c326 /databases/postgresql80
parent5a1dea0e79cd48804c465f1f4ef24476514b3dd7 (diff)
downloadpkgsrc-0eb97e720bdfc212422cd1bfd20be813ab0e10d7.tar.gz
Update PostgreSQL to 7.3.15, 7.4.13, 8.0.8 and 8.1.4 respectively.
Common to all versions: * Change the server to reject invalidly-encoded multibyte characters in all cases (Tatsuo, Tom) While PostgreSQL has been moving in this direction for some time, the checks are now applied uniformly to all encodings and all textual input, and are now always errors not merely warnings. This change defends against SQL-injection attacks of the type described in CVE-2006-2313. * Reject unsafe uses of \' in string literals As a server-side defense against SQL-injection attacks of the type described in CVE-2006-2314, the server now only accepts '' and not \' as a representation of ASCII single quote in SQL string literals. By default, \' is rejected only when client_encoding is set to a client-only encoding (SJIS, BIG5, GBK, GB18030, or UHC), which is the scenario in which SQL injection is possible. A new configuration parameter backslash_quote is available to adjust this behavior when needed. Note that full security against CVE-2006-2314 may require client-side changes; the purpose of backslash_quote is in part to make it obvious that insecure clients are insecure. * Modify libpq's string-escaping routines to be aware of encoding considerations This fixes libpq-using applications for the security issues described in CVE-2006-2313 and CVE-2006-2314. Applications that use multiple PostgreSQL connections concurrently should migrate to PQescapeStringConn() and PQescapeByteaConn() to ensure that escaping is done correctly for the settings in use in each database connection. Applications that do string escaping "by hand" should be modified to rely on library routines instead. * Fix some incorrect encoding conversion functions win1251_to_iso, alt_to_iso, euc_tw_to_big5, euc_tw_to_mic, mic_to_euc_tw were all broken to varying extents. * Clean up stray remaining uses of \' in strings (Bruce, Jan) * Fix server to use custom DH SSL parameters correctly (Michael Fuhr) * Fix various minor memory leaks Additionally for 7.4.13 and later: * Fix bug that sometimes caused OR'd index scans to miss rows they should have returned * Fix WAL replay for case where a btree index has been truncated * Fix SIMILAR TO for patterns involving | (Tom) * Fix for Bonjour on Intel Macs (Ashley Clark) Additionally for 8.0.8 and 8.1.4: * Fix SELECT INTO and CREATE TABLE AS to create tables in the default tablespace, not the base directory (Kris Jurka) * Fix problem with password prompting on some Win32 systems (Robert Kinberg) Additionally for 8.1.4: * Fix weak key selection in pgcrypto (Marko Kreen) Errors in fortuna PRNG reseeding logic could cause a predictable session key to be selected by pgp_sym_encrypt() in some cases. This only affects non-OpenSSL-using builds. * Make autovacuum visible in pg_stat_activity (Alvaro) * Disable full_page_writes (Tom) In certain cases, having full_page_writes off would cause crash recovery to fail. A proper fix will appear in 8.2; for now it's just disabled. * Various planner fixes, particularly for bitmap index scans and MIN/MAX optimization (Tom) * Fix incorrect optimization in merge join (Tom) Outer joins could sometimes emit multiple copies of unmatched rows. * Fix crash from using and modifying a plpgsql function in the same transaction * Improve qsort performance (Dann Corbit) Currently this code is only used on Solaris. * Improve pg_dump's handling of default values for domains * Fix pg_dumpall to handle identically-named users and groups reasonably (only possible when dumping from a pre-8.1 server) (Tom) The user and group will be merged into a single role with LOGIN permission. Formerly the merged role wouldn't have LOGIN permission, making it unusable as a user. * Fix pg_restore -n to work as documented (Tom)
Diffstat (limited to 'databases/postgresql80')
-rw-r--r--databases/postgresql80/Makefile.common4
-rw-r--r--databases/postgresql80/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/postgresql80/Makefile.common b/databases/postgresql80/Makefile.common
index 831f2f7a1f1..68050a1cb09 100644
--- a/databases/postgresql80/Makefile.common
+++ b/databases/postgresql80/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2006/04/13 18:23:30 jlam Exp $
+# $NetBSD: Makefile.common,v 1.23 2006/05/26 17:47:58 joerg Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -35,7 +35,7 @@ PATCHDIR?= ${.CURDIR}/../postgresql80/patches
#
# Note: Do not forget jdbc-postgresql80 when updating version
#
-DIST_VERS?= 8.0.7
+DIST_VERS?= 8.0.8
BASE_VERS?= ${DIST_VERS}
BUILDLINK_API_DEPENDS.postgresql80-client+= postgresql80-client>=${BASE_VERS}
diff --git a/databases/postgresql80/distinfo b/databases/postgresql80/distinfo
index d07ae8cc251..1c1cfff5666 100644
--- a/databases/postgresql80/distinfo
+++ b/databases/postgresql80/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2006/02/21 19:05:07 joerg Exp $
+$NetBSD: distinfo,v 1.13 2006/05/26 17:47:58 joerg Exp $
-SHA1 (postgresql-8.0.7.tar.bz2) = 4aaec1bb0ed34c597eb4f1596b48e8725611c406
-RMD160 (postgresql-8.0.7.tar.bz2) = 46f6c3090709942ce18ebcdc2296749f12eda399
-Size (postgresql-8.0.7.tar.bz2) = 11175215 bytes
+SHA1 (postgresql-8.0.8.tar.bz2) = abc9a418fbdb1e101f94912099679206ef6580d1
+RMD160 (postgresql-8.0.8.tar.bz2) = 3769689e62995239ea54e25f1fe6dbe83a6fcced
+Size (postgresql-8.0.8.tar.bz2) = 11165942 bytes
SHA1 (patch-aa) = d681a5b2bb4dfce4e3db1490b97fed1b99ff445f
SHA1 (patch-ab) = 1a80710d13723f2c8130d8235bb40c43af9d9ccd
SHA1 (patch-ac) = 092d96fe2baafe8eef731b45a85d33fc40584044