Security update to version 8.3.19.

Changes:

* Fix incorrect password transformation in contrib/pgcrypto's DES crypt() function (Solar Designer)
* If a password string contained the byte value 0x80, the remainder of the password was ignored, causing the password to be much weaker than it appeared. With this fix, the rest of the string is properly included in the DES hash. Any stored password values that are affected by this bug will thus no longer match, so the stored values may need to be updated. (CVE-2012-2143)
* Ignore SECURITY DEFINER and SET attributes for a procedural language's call handler (Tom Lane)
* Applying such attributes to a call handler could crash the server. (CVE-2012-2655)
* Allow numeric timezone offsets in timestamp input to be up to 16 hours away from UTC (Tom Lane)
* Some historical time zones have offsets larger than 15 hours, the previous limit. This could result in dumped data values being rejected during reload.
* Fix timestamp conversion to cope when the given time is exactly the last DST transition time for the current timezone (Tom Lane)
* This oversight has been there a long time, but was not noticed previously because most DST-using zones are presumed to have an indefinite sequence of future DST transitions.
* Fix text to name and char to name casts to perform string truncation correctly in multibyte encodings (Karl Schnaitter)
* Fix memory copying bug in to_tsquery() (Heikki Linnakangas)
* Fix slow session startup when pg_attribute is very large (Tom Lane)
* If pg_attribute exceeds one-fourth of shared_buffers, cache rebuilding code that is sometimes needed during session start would trigger the synchronized-scan logic, causing it to take many times longer than normal. The problem was particularly acute if many new sessions were starting at once.
* Ensure sequential scans check for query cancel reasonably often (Merlin Moncure)
* A scan encountering many consecutive pages that contain no live tuples would not respond to interrupts meanwhile.
* Ensure the Windows implementation of PGSemaphoreLock() clears ImmediateInterruptOK before returning (Tom Lane)
* This oversight meant that a query-cancel interrupt received later in the same query could be accepted at an unsafe time, with unpredictable but not good consequences.
* Show whole-row variables safely when printing views or rules (Abbas Butt, Tom Lane)
* Corner cases involving ambiguous names (that is, the name could be either a table or column name of the query) were printed in an ambiguous way, risking that the view or rule would be interpreted differently after dump and reload. Avoid the ambiguous case by attaching a no-op cast.
* Ensure autovacuum worker processes perform stack depth checking properly (Heikki Linnakangas)
* Previously, infinite recursion in a function invoked by auto-ANALYZE could crash worker processes.
* Fix logging collector to not lose log coherency under high load (Andrew Dunstan)
* The collector previously could fail to reassemble large messages if it got too busy.
* Fix logging collector to ensure it will restart file rotation after receiving SIGHUP (Tom Lane)
* Fix PL/pgSQL's GET DIAGNOSTICS command when the target is the function's first variable (Tom Lane)
* Fix several performance problems in pg_dump when the database contains many objects (Jeff Janes, Tom Lane)
* pg_dump could get very slow if the database contained many schemas, or if many objects are in dependency loops, or if there are many owned sequences.
* Fix contrib/dblink's dblink_exec() to not leak temporary database connections upon error (Tom Lane)
* Update time zone data files to tzdata release 2012c for DST law changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also historical corrections for Canada.
This commit is contained in:
morr 2012-07-01 19:19:42 +00:00
parent 49cfd098d9
commit 36785aadd9
5 changed files with 11 additions and 10 deletions

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.20 2012/03/05 14:12:21 adam Exp $
@comment $NetBSD: PLIST,v 1.21 2012/07/01 19:19:42 morr Exp $
bin/clusterdb
bin/createdb
bin/createlang
@ -1302,6 +1302,7 @@ share/doc/postgresql/html/release-8-3-15.html
share/doc/postgresql/html/release-8-3-16.html
share/doc/postgresql/html/release-8-3-17.html
share/doc/postgresql/html/release-8-3-18.html
share/doc/postgresql/html/release-8-3-19.html
share/doc/postgresql/html/release-8-3-2.html
share/doc/postgresql/html/release-8-3-3.html
share/doc/postgresql/html/release-8-3-4.html

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.13 2012/06/14 07:45:39 sbd Exp $
# $NetBSD: Makefile,v 1.14 2012/07/01 19:19:42 morr Exp $
PKGNAME= ${DISTNAME:C/-/83-plpython-/}
PKGREVISION= 2
COMMENT= PL/Python procedural language for the PostgreSQL backend
PKG_DESTDIR_SUPPORT= user-destdir

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.17 2011/12/15 17:31:09 adam Exp $
@comment $NetBSD: PLIST,v 1.18 2012/07/01 19:19:42 morr Exp $
bin/postgres
bin/postmaster
lib/postgresql/ascii_and_mic.so
@ -161,6 +161,7 @@ share/postgresql/timezone/America/Chihuahua
share/postgresql/timezone/America/Coral_Harbour
share/postgresql/timezone/America/Cordoba
share/postgresql/timezone/America/Costa_Rica
share/postgresql/timezone/America/Creston
share/postgresql/timezone/America/Cuiaba
share/postgresql/timezone/America/Curacao
share/postgresql/timezone/America/Danmarkshavn

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.23 2012/03/11 10:32:35 wiz Exp $
# $NetBSD: Makefile.common,v 1.24 2012/07/01 19:19:42 morr Exp $
#
# used by databases/postgresql83-adminpack/Makefile
# used by databases/postgresql83-client/Makefile
@ -15,7 +15,7 @@
# <lang>-postgresql client-side interface to PostgreSQL
# postgresql-<lang> server-side module for PostgreSQL backend
DISTNAME= postgresql-8.3.18
DISTNAME= postgresql-8.3.19
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.21 2012/03/05 14:12:21 adam Exp $
$NetBSD: distinfo,v 1.22 2012/07/01 19:19:42 morr Exp $
SHA1 (postgresql-8.3.18.tar.bz2) = 0d832fc9c7dba5de1716921274ce0ca276418070
RMD160 (postgresql-8.3.18.tar.bz2) = d276a468f59b4def821b686b5504a549bd0491c3
Size (postgresql-8.3.18.tar.bz2) = 14563583 bytes
SHA1 (postgresql-8.3.19.tar.bz2) = bd7fcb188f668d30029f02048b5b5b86b9d3d14e
RMD160 (postgresql-8.3.19.tar.bz2) = 1611a009386ba6984689fbbf8663c49d405f864c
Size (postgresql-8.3.19.tar.bz2) = 14570746 bytes
SHA1 (patch-aa) = 6d5e9aa58975181d189060f8523c022aa6c82277
SHA1 (patch-ab) = 1ba1bb53ca5a74d09fc2b7d07d98b0a0ffd57202
SHA1 (patch-ac) = 8e3a7021fdd01810d4ebcbd20002b28164b22279