What's new in this version: Security Issues: CVE-2021-32027: Buffer overrun from integer overflow in array subscripting calculations: - Versions Affected: 9.6 - 13. The security team typically does not test unsupported versions, but this problem is quite old - While modifying certain SQL array values, missing bounds checks let authenticated database users write arbitrary bytes to a wide area of server memory - The PostgreSQL project thanks Tom Lane for reporting this problem
CVE-2021-32028: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE: - Versions Affected: 9.6 - 13. The security team typically does not test unsupported versions. The feature first appeared in 9.5 - Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an attacker can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will. A user lacking the CREATE and TEMPORARY privileges on all databases and the CREATE privilege on all schemas cannot use this attack at will. - The PostgreSQL project thanks Andres Freund for reporting this problem
CVE-2021-32029: Memory disclosure in partitioned-table UPDATE ... RETURNING: - Versions Affected: 11 - 13 - Using an UPDATE ... RETURNING on a purpose-crafted partitioned table, an attacker can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will. A user lacking the CREATE and TEMPORARY privileges on all databases and the CREATE privilege on all schemas typically cannot use this attack at will.
Bug Fixes and Improvements: - This update fixes over 45 bugs that were reported in the last several months. Some of these issues only affect version 13, but could also apply to other supported versions.
Some of these fixes include: - Fix potential incorrect computation of UPDATE ... RETURNING outputs for joined, cross-partition updates - Fix ALTER TABLE ... ALTER CONSTRAINT when used on foreign-key constraints on partitioned tables. The command would fail to adjust the DEFERRABLE and/or INITIALLY DEFERRED properties of the constraints and triggers of leaf partitions, leading to unexpected behavior. After updating to this version, you can execute the ALTER TABLE ... ALTER CONSTRAINT command to fix any misbehaving partitioned tables. - Ensure that when a child table is attached with ALTER TABLE ... INHERIT that generated columns in the parent are generated in the same way in the child - Forbid marking an identity column as NULL - Allow ALTER ROLE ... SET/ALTER DATABASE ... SET to set the role, session_authorization, and temp_buffers parameters - Ensure that REINDEX CONCURRENTLY preserves any statistics target set for the index - Fix an issue where, in some cases, saving records within AFTER triggers could cause crashes - Fix how to_char() handles Roman-numeral month format codes with negative intervals - Fix use of uninitialized value while parsing an {m,n} quantifier in a BRE-mode regular expression - Fix "could not find pathkey item to sort" planner errors that occur in some situations when the sort key involves an aggregate or window function - Fix issue with BRIN index bitmap scans that could lead to "could not open file" errors - Fix potentially wrong answers from GIN tsvector index searches when there are many matching records - Fixes for COMMIT AND CHAIN functionality on both the server and psql - Avoid incorrect timeline change while recovering uncommitted two-phase transactions from WAL, which could lead to consistency issues and the inability to restart the server. - Ensure thatwal_sync_method is set to fdatasync by default on newer FreeBSD releases - Disable the vacuum_cleanup_index_scale_factor parameter and storage option - Fix several memory leaks in the server, including one with SSL/TLS parameter initialization - Restore the previous behavior of connect service=XYZ to psql, i.e. disallow environmental variables (e.g. PGPORT) from overriding entries in the service file - Fix how pg_dump handles generated columns in partitioned tables - Add additional checks to pg_upgrade for user tables containing non-upgradable data types - On Windows, initdb now prints instructions about how to start the server with pg_ctl using backslash separators - Fix pg_waldump to count XACT records correctly when generating per-record statistics
PostgreSQL 13.3 相關參考資料
13.3. 鎖定模式
13.3.3. Page-Level Locks. 除了資料表和資料列層級的鎖定之外,頁面層級共享/獨占鎖定用於控制對共享緩衝區中資料表頁面的讀寫存取。在取得或更新一筆資料後,就會立即 ...
https://docs.postgresql.tw
Documentation: 13: E.12. Release 13.3
2021年5月13日 — E.12. Release 13.3 ... This release contains a variety of fixes from 13.2. For information about new features in major release 13, see Section E.
https://www.postgresql.org
Downloads
PostgreSQL is available for download as ready-to-use packages or installers for various platforms, as well as a source code archive if you want to build it ...
https://www.postgresql.org
PostgreSQL 13.3 Documentation
2021年9月30日 — This book is the official documentation of PostgreSQL. It has been written by the PostgreSQL developers and other volunteers in parallel to ...
https://www.postgresql.fastwar
PostgreSQL 13.3, 12.7, 11.12, 10.17, and 9.6.22 Released!
2021年5月13日 — The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 13.3, 12.7, ...
https://www.postgresql.org
PostgreSQL: File Browser
postgresql-13.3.tar.bz2, 2021-05-10 20:54:07, 20.1 MB. postgresql-13.3.tar.bz2.md5, 2021-05-10 20:54:07, 58 bytes. postgresql-13.3.tar.bz2.sha256 ...
https://www.postgresql.org
升級Amazon Aurora PostgreSQL 資料庫叢集
將Aurora PostgreSQL 13.3 資料庫叢集升級至Aurora PostgreSQL 13.7 是次要版本升級。 ... Aurora PostgreSQL 會透過對Aurora PostgreSQL 資料庫叢集的維護任務新增建議,來 ...
https://docs.aws.amazon.com
在Windows中绿色安装PostgreSQL 13.3数据库
2022年8月9日 — 打开PostgreSQL 官网https://www.postgresql.org/,点击菜单栏上的Download ,可以看到这里包含了很多平台的安装包,包括Linux、Windows、Mac OS等。
https://www.modb.pro
識別Amazon Aurora PostgreSQL 版本
從PostgreSQL 10 開始,PostgreSQL 資料庫引擎版本的所有版本都使用「 主要 . 次要 」編號規則。幾個範例包括PostgreSQL 10.18、PostgreSQL 12.7 和PostgreSQL 13.3。
https://docs.aws.amazon.com
|