Subject: CVS commit: pkgsrc/databases
From: Adam Ciarcinski
Date: 2018-11-09 19:12:28
Message id: 20181109181229.0D97AFB1F@cvs.NetBSD.org

Log Message:
postgresNN: updated to the latest

The PostgreSQL Global Development Group has released an update to all supported \ 
versions of our database system, including 11.1, 10.6, 9.6.11, 9.5.15, 9.4.20, \ 
and 9.3.25. This release fixes one security issue as well as bugs reported over \ 
the last three months.

All users using the affected versions of PostgreSQL should update as soon as \ 
possible. Please see the notes on "Updating" below for any post-update \ 
steps that may be required if you are using pg_stat_statements in your \ 
installation.

This update is also the final release for PostgreSQL 9.3, which is now \ 
end-of-life and will no longer receive any bug or security fixes. If your \ 
environment still uses PostgreSQL 9.3, please make plans to update to a \ 
community supported version as soon as possible. Please see our versioning \ 
policy for more information.

Security Issues

One security vulnerability has been closed by this release:

CVE-2018-16850: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... \ 
REFERENCING.
Versions Affected: 10, 11

Using a purpose-crafted trigger definition, an attacker can run arbitrary SQL \ 
statements with superuser privileges when a superuser runs pg_upgrade on the \ 
database or during a pg_dump dump/restore cycle. This attack requires a CREATE \ 
privilege on some non-temporary schema or a TRIGGER privilege on a table. This \ 
is exploitable in the default PostgreSQL configuration, where all users have \ 
CREATE privilege on public schema.

Bug Fixes and Improvements

This update also fixes numerous bugs that were reported in the last several \ 
months. Some of these issues affect only version 11, but many affect all \ 
supported versions.

These releases include fixes that:

Ensure that automatically created child indexes are created in the same \ 
tablespace as the parent partitioned index
Fix several crashes with triggers
Fix problems with applying ON COMMIT DELETE ROWS to a partitioned temporary table
Fix how NULL values are handled when using LEFT JOIN with a parallelized hash join
Several fixes around using named or defaulted arguments in CALL statements
Fix for strict aggregate functions (i.e. aggregates that cannot accept NULL \ 
inputs) with ORDER BY columns that enforces the strictness check
Fix with CASE statements where an expression was cast to an array type
Disable an optimization for updating expression indexes in order to prevent a crash
Fix a memory leak that occurred on a specific case of using a SP-GiST index
Fix for pg_verify_checksums incorrectly reporting on files that are not expected \ 
to have checksums
Prevent the PostgreSQL server from starting when wal_level is set to a value \ 
that cannot support an existing replication slot
Ensure that the server will process already-received NOTIFY and SIGTERM \ 
interrupts before waiting for client input
Allow PL/Ruby to work with newer versions of PostgreSQL
Fix for character-class checks on Windows for Unicode characters above U+FFFF, \ 
which affected full-text search as well as contrib/ltree and contrib/pg_trgm
Fix a case where psql would not report the receipt of a message from a NOTIFY \ 
call until after the next command
Fix build problems on macOS 10.14 (Mojave)
Several build fixes for the Windows platform
This updates also contains tzdata release 2018g for DST law changes in Chile, \ 
Fiji, Morocco, and Russia (Volgograd), plus historical corrections for China, \ 
Hawaii, Japan, Macau, and North Korea.

Files:
RevisionActionfile
1.8modifypkgsrc/databases/postgresql10/Makefile
1.10modifypkgsrc/databases/postgresql10/Makefile.common
1.8modifypkgsrc/databases/postgresql10/distinfo
1.5modifypkgsrc/databases/postgresql10-client/Makefile
1.3modifypkgsrc/databases/postgresql10-contrib/Makefile
1.3modifypkgsrc/databases/postgresql10-contrib/PLIST
1.3modifypkgsrc/databases/postgresql10-docs/Makefile
1.7modifypkgsrc/databases/postgresql10-docs/PLIST
1.3modifypkgsrc/databases/postgresql10-plperl/Makefile
1.3modifypkgsrc/databases/postgresql10-plpython/Makefile
1.3modifypkgsrc/databases/postgresql10-pltcl/Makefile
1.4modifypkgsrc/databases/postgresql10-server/Makefile
1.3modifypkgsrc/databases/postgresql10/patches/patch-src_Makefile.shlib
1.2modifypkgsrc/databases/postgresql11/Makefile.common
1.2modifypkgsrc/databases/postgresql11/distinfo
1.2modifypkgsrc/databases/postgresql11/options.mk
1.2modifypkgsrc/databases/postgresql11-contrib/PLIST
1.2modifypkgsrc/databases/postgresql11-docs/PLIST
1.2modifypkgsrc/databases/postgresql11-plpython/PLIST
1.15modifypkgsrc/databases/postgresql93/Makefile
1.36modifypkgsrc/databases/postgresql93/Makefile.common
1.32modifypkgsrc/databases/postgresql93/distinfo
1.17modifypkgsrc/databases/postgresql93-client/Makefile
1.5modifypkgsrc/databases/postgresql93-contrib/Makefile
1.11modifypkgsrc/databases/postgresql93-docs/Makefile
1.27modifypkgsrc/databases/postgresql93-docs/PLIST
1.16modifypkgsrc/databases/postgresql93-plperl/Makefile
1.11modifypkgsrc/databases/postgresql93-plpython/Makefile
1.10modifypkgsrc/databases/postgresql93-pltcl/Makefile
1.14modifypkgsrc/databases/postgresql93-server/Makefile
1.10modifypkgsrc/databases/postgresql94/Makefile
1.28modifypkgsrc/databases/postgresql94/Makefile.common
1.24modifypkgsrc/databases/postgresql94/distinfo
1.9modifypkgsrc/databases/postgresql94-client/Makefile
1.3modifypkgsrc/databases/postgresql94-contrib/Makefile
1.8modifypkgsrc/databases/postgresql94-docs/Makefile
1.22modifypkgsrc/databases/postgresql94-docs/PLIST
1.11modifypkgsrc/databases/postgresql94-plperl/Makefile
1.5modifypkgsrc/databases/postgresql94-plpython/Makefile
1.5modifypkgsrc/databases/postgresql94-pltcl/Makefile
1.6modifypkgsrc/databases/postgresql94-server/Makefile
1.7modifypkgsrc/databases/postgresql95/Makefile
1.22modifypkgsrc/databases/postgresql95/Makefile.common
1.17modifypkgsrc/databases/postgresql95/distinfo
1.9modifypkgsrc/databases/postgresql95-client/Makefile
1.5modifypkgsrc/databases/postgresql95-contrib/Makefile
1.5modifypkgsrc/databases/postgresql95-docs/Makefile
1.15modifypkgsrc/databases/postgresql95-docs/PLIST
1.7modifypkgsrc/databases/postgresql95-plperl/Makefile
1.5modifypkgsrc/databases/postgresql95-plpython/Makefile
1.5modifypkgsrc/databases/postgresql95-pltcl/Makefile
1.6modifypkgsrc/databases/postgresql95-server/Makefile
1.3modifypkgsrc/databases/postgresql96/Makefile
1.16modifypkgsrc/databases/postgresql96/Makefile.common
1.13modifypkgsrc/databases/postgresql96/distinfo
1.7modifypkgsrc/databases/postgresql96-client/Makefile
1.5modifypkgsrc/databases/postgresql96-contrib/Makefile
1.3modifypkgsrc/databases/postgresql96-docs/Makefile
1.11modifypkgsrc/databases/postgresql96-docs/PLIST
1.3modifypkgsrc/databases/postgresql96-plperl/Makefile
1.3modifypkgsrc/databases/postgresql96-plpython/Makefile
1.3modifypkgsrc/databases/postgresql96-pltcl/Makefile
1.3modifypkgsrc/databases/postgresql96-server/Makefile