summaryrefslogtreecommitdiff
path: root/databases/postgresql11
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-08-13 11:54:43 +0000
committeradam <adam@pkgsrc.org>2021-08-13 11:54:43 +0000
commit4d5f8800408415416a7e0a815b10753bfe019cd7 (patch)
tree3e721eb7361594c7e670de45109072aacf638253 /databases/postgresql11
parent9df48ed852a477e8bf517062f3ed671edf9c7aab (diff)
downloadpkgsrc-4d5f8800408415416a7e0a815b10753bfe019cd7.tar.gz
postgresql: updated to 13.4, 12.8, 11.13, 10.18, 9.6.23
PostgreSQL 13.4, 12.8, 11.13, 10.18, 9.6.23 Security Issues CVE-2021-3677: Memory disclosure in certain queries Versions Affected: 11 - 13. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting. Bug Fixes and Improvements This update also fixes over 75 bugs that were reported in the last several months. Some of these issues affect only version 13, but many affect all supported versions. Some of these fixes include: Completely disable TLS/SSL renegotiation. This was previously disabled, but the server would still execute a client-initiated renegotiation request. Restore the Portal-level snapshot after COMMIT or ROLLBACK within a procedure. This change fixes cases where an attempt to fetch a toasted value immediately after COMMIT/ROLLBACK would fail with errors like "no known snapshots" or "missing chunk number 0 for toast value". Avoid misbehavior when persisting the output of a cursor that's reading a volatile query. Reject cases where a query in WITH rewrites to just NOTIFY, which would cause a crash. Several corner-case fixes for numeric types. ALTER EXTENSION now locks the extension when adding or removing a member object. The "enabled" status is now copied when a partitioned table's triggers are cloned to a new partition. Avoid alias conflicts in queries generated for REFRESH MATERIALIZED VIEW CONCURRENTLY. This command failed on materialized views containing columns with certain names, notably mv and newdata. Disallow whole-row variables in GENERATED expressions. Several fixes for DROP OWNED BY behavior in relation to row-level security (RLS) policies. Re-allow old-style Windows locale names in CREATE COLLATION commands. walsenders now show their latest replication command in pg_stat_activity, instead of just showing the latest SQL command. pg_settings.pending_restart now shows as true when a pertinent entry in postgresql.conf is removed. On 64-bit Windows, allow the effective value of work_mem * hash_mem_multiplier to exceed 2GB. Update minimum recovery point when WAL replay of a transaction abort record causes file truncation. Advance oldest-required-WAL-segment horizon properly after a replication slot is invalidated. This fixes an issue where the server's WAL storage could run out of space. Improve progress reporting for the sort phase of a parallel B-tree index build. Fix assorted crash cases in logical replication of partitioned-table updates and when firing AFTER triggers of partitioned tables. Prevent infinite loops in SP-GiST index insertion. Ensure that SP-GiST index insertion can be terminated by a query cancel request. In psql and other client programs, avoid overrunning the ends of strings when dealing with invalidly-encoded data. Fix pg_dump to correctly handle triggers on partitioned tables whose enabled status is different from their parent triggers' status. Avoid "invalid creation date in header" warnings when running pg_restore on a file created in a different time zone. pg_upgrade now carries forward the old installation's oldestXID value and no longer forces an anti-wraparound VACUUM." Extend pg_upgrade to detect and warn about extensions that should be upgraded. Fix contrib/postgres_fdw to better work with generated columns, so long as a generated column in a foreign table represents a generated column in the remote table.
Diffstat (limited to 'databases/postgresql11')
-rw-r--r--databases/postgresql11/Makefile3
-rw-r--r--databases/postgresql11/Makefile.common4
-rw-r--r--databases/postgresql11/distinfo10
3 files changed, 8 insertions, 9 deletions
diff --git a/databases/postgresql11/Makefile b/databases/postgresql11/Makefile
index eaced7bfdec..a92326309df 100644
--- a/databases/postgresql11/Makefile
+++ b/databases/postgresql11/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2021/05/24 19:49:46 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2021/08/13 11:54:44 adam Exp $
PKGNAME= ${DISTNAME:S/-/11-/}
-PKGREVISION= 1
COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql11-client>=${PKGVERSION_NOREV}:../../databases/postgresql11-client
diff --git a/databases/postgresql11/Makefile.common b/databases/postgresql11/Makefile.common
index c60e81bc99a..bfe934f0598 100644
--- a/databases/postgresql11/Makefile.common
+++ b/databases/postgresql11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2021/06/13 08:56:26 nia Exp $
+# $NetBSD: Makefile.common,v 1.23 2021/08/13 11:54:44 adam Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -16,7 +16,7 @@
# used by databases/postgresql11-pltcl/Makefile
# used by databases/postgresql11-server/Makefile
-DISTNAME= postgresql-11.12
+DISTNAME= postgresql-11.13
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/postgresql11/distinfo b/databases/postgresql11/distinfo
index 1c364336c60..989c73f46d2 100644
--- a/databases/postgresql11/distinfo
+++ b/databases/postgresql11/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2021/07/12 09:06:21 mlelstv Exp $
+$NetBSD: distinfo,v 1.17 2021/08/13 11:54:44 adam Exp $
-SHA1 (postgresql-11.12.tar.bz2) = 4058af97fde72064c5fd18a508eda6a5526359df
-RMD160 (postgresql-11.12.tar.bz2) = cd4a28a42b4828df710502b2bc8c9a5da0eaf2d3
-SHA512 (postgresql-11.12.tar.bz2) = 668914424e1dbe09a66d5272e5b0a17fa24c90d3d099f8161f1420eaa76675ea1c622e4d149bdfcb31f07af19602a500913cb97c49d717df23e374de09dc0274
-Size (postgresql-11.12.tar.bz2) = 20075485 bytes
+SHA1 (postgresql-11.13.tar.bz2) = 7c0b06bdbe2bd3d966fb7d875843f022694e9b1a
+RMD160 (postgresql-11.13.tar.bz2) = d682247742b45048c4f30f977a2402ee79396cf7
+SHA512 (postgresql-11.13.tar.bz2) = 1b2061d505a7460e0aaae53818e77fc99fa7b73eea119033a98a3d7dd3d70d00403998654990b03bbf6eb2df383e2f44791137c8922ea4015715f8bf49c5837f
+Size (postgresql-11.13.tar.bz2) = 20123787 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = b3393d0f28e97f89ae20297d85553c508b3896bb
SHA1 (patch-configure) = b0a758023b3b263ff51b154d0da32cf02520c6cd