{"format": 1, "mode": "release", "from_release": null, "to_release": {"date": "2024-11-21", "build": "14.15", "major": "14", "minor": 15, "manual": "14", "status": "stable", "doc_git": "", "version": "14.15", "eol_date": "2026-11-12", "date_text": "2024-11-21", "supported": true, "manual_url": "/docs/14/release-14-15.html", "source_url": "/docs/release/14.15/", "entry_count": 7, "placeholder": false, "content_hash": "77e3911158c0b81f7afc23faac5f18933f224075572d1aa8d029ab084eb88c43", "manual_build": "14.24", "source_as_of": "", "changes_count": 7, "doc_loaded_at": "2026-09-26T02:56:39.341991", "migration_html": "<p>对于运行 14.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，如果是从早于 14.14 的版本升级，请参见<a href=\"/docs/14/release-14-14.html\" title=\"E.11. 发布版本 14.14\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "14.15", "status_label": "受支持版本", "eol": "2026-11-12", "age_days": 678, "support_days": 43}, "groups": [{"date": "2024-11-21", "build": "14.15", "major": "14", "minor": 15, "manual": "14", "status": "stable", "doc_git": "", "version": "14.15", "eol_date": "2026-11-12", "date_text": "2024-11-21", "supported": true, "manual_url": "/docs/14/release-14-15.html", "source_url": "/docs/release/14.15/", "entry_count": 7, "placeholder": false, "content_hash": "77e3911158c0b81f7afc23faac5f18933f224075572d1aa8d029ab084eb88c43", "manual_build": "14.24", "source_as_of": "", "changes_count": 7, "doc_loaded_at": "2026-09-26T02:56:39.341991", "migration_html": "<p>对于运行 14.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，如果是从早于 14.14 的版本升级，请参见<a href=\"/docs/14/release-14-14.html\" title=\"E.11. 发布版本 14.14\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "14.15", "status_label": "受支持版本", "eol": "2026-11-12", "age_days": 678, "support_days": 43, "entries": [{"id": "14.15-21d6cfdc332a4791", "cves": [], "html": "<p>修复与 struct <code>ResultRelInfo</code> 协作的扩展的 ABI 破坏（Tom Lane）<a href=\"https://postgr.es/c/6bfacd368\">§</a></p>\n<p>上周的次版本发布无意中破坏了与 <span>timescaledb</span> 及若干其他扩展的二进制兼容性。现将受影响的结构体恢复到先前大小，以便此类扩展无需重新构建。</p>", "text": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏（Tom Lane）§ 上周的次版本发布无意中破坏了与 timescaledb 及若干其他扩展的二进制兼容性。现将受影响的结构体恢复到先前大小，以便此类扩展无需重新构建。", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "commits": ["6bfacd368"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "a2f978003b8d5abc5d4a24c9f5ed4e49588fd83fad9404046aed4367abc670a9", "section_path": ["变更"], "commit_groups": [["099e711b7", "17db248f3", "6bfacd368", "ee33d5847"]], "identity_text": "Repair ABI break for extensions that work with struct ResultRelInfo (Tom Lane) Last week's minor releases unintentionally broke binary compatibility with timescaledb and several other extensions. Restore the affected structure to its previous size, so that such extensions need not be rebuilt.", "commit_aliases": ["099e711b7", "17db248f3", "6bfacd368", "ee33d5847"], "source_commits": ["099e711b7"], "source_entry_id": "14.15/changes/001", "db_id": "de763be496358f3e7348203940378465", "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848", "relations": [{"rule": 2, "type": "equivalent", "target": "168f409145dd973b0f389e0faa385826", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}, {"rule": 2, "type": "equivalent", "target": "69437a2d1a205badf04c74ff87163e3e", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}, {"rule": 2, "type": "equivalent", "target": "a929df65b7c7dd604ebadc2316aa26ac", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}], "version": "14.15", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a929df65b7c7dd604ebadc2316aa26ac", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=17.2#17.2-21d6cfdc332a4791", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "69437a2d1a205badf04c74ff87163e3e", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=16.6#16.6-21d6cfdc332a4791", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "168f409145dd973b0f389e0faa385826", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=15.10#15.10-21d6cfdc332a4791", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}]}, {"id": "14.15-422cf39c7394aada", "cves": ["CVE-2024-10978"], "html": "<p>恢复 <code>ALTER {ROLE|DATABASE} SET role</code> 的功能（Tom Lane，Noah Misch）<a href=\"https://postgr.es/c/be062bfa5\">§</a></p>\n<p>针对 CVE-2024-10978 的修复意外导致来自非交互式来源的 <code>role</code> 设置不被应用，包括之前的 <code>ALTER {ROLE|DATABASE}</code> 命令和 <code>PGOPTIONS</code> 环境变量。</p>", "text": "恢复 ALTER {ROLE|DATABASE} SET role 的功能（Tom Lane，Noah Misch）§ 针对 CVE-2024-10978 的修复意外导致来自非交互式来源的 role 设置不被应用，包括之前的 ALTER {ROLE|DATABASE} 命令和 PGOPTIONS 环境变量。", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "commits": ["be062bfa5"], "section": "变更", "category": "security", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "51c915d51b848d02e7ca31ed2b0278c010047f2f77e6c003ad97dad26e5134c2", "section_path": ["变更"], "commit_groups": [["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"]], "identity_text": "Restore functionality of ALTER {ROLE|DATABASE} SET role (Tom Lane, Noah Misch) The fix for CVE-2024-10978 accidentally caused settings for role to not be applied if they come from non-interactive sources, including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS environment variable.", "commit_aliases": ["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"], "source_commits": ["be062bfa5"], "source_entry_id": "14.15/changes/002", "db_id": "e4a3a55b29e3e45132a44ee9d76a8b7a", "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1", "relations": [{"rule": 2, "type": "equivalent", "target": "2738c31dbd265aa929daa4b4aa4a67ba", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "5b38c75ca60bfc75793b4821795e8ef6", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "acf7b13b266fc0c0b48132f58dda40a4", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "bbc5cf6b20273068c4d6c9dd65da0b05", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "f20342f7ad93514b4af50956c971c3b8", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}], "version": "14.15", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f20342f7ad93514b4af50956c971c3b8", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=17.2#17.2-d77293a82e3a14e5", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "bbc5cf6b20273068c4d6c9dd65da0b05", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=16.6#16.6-59096cd01766b695", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "5b38c75ca60bfc75793b4821795e8ef6", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=15.10#15.10-d3c8a67fc12652c8", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "2738c31dbd265aa929daa4b4aa4a67ba", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=13.18#13.18-2dcb90b343e7bf55", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}, {"db_id": "acf7b13b266fc0c0b48132f58dda40a4", "kind": "equivalent", "version": "12.22", "label": "12.22", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=12.22#12.22-87cfe420bf12aef8", "source_url": "/docs/release/12.22/#id-1.11.6.6.6"}]}, {"id": "14.15-dbdf316123c7d4cb", "cves": [], "html": "<p>修复逻辑复制槽的 <code>restart_lsn</code> 可能后退的情况（Masahiko Sawada）<a href=\"https://postgr.es/c/26c4e8968\">§</a></p>\n<p>之前，重启逻辑复制有时会导致复制槽的重启点被重新计算为一个比 <code>pg_replication_slots</code> 中先前公布值更旧的位置。这是有问题的，因为例如 WAL 文件可能已经根据较新的 <code>restart_lsn</code> 值被删除，在这种情况下复制将无法重启。</p>", "text": "修复逻辑复制槽的 restart_lsn 可能后退的情况（Masahiko Sawada）§ 之前，重启逻辑复制有时会导致复制槽的重启点被重新计算为一个比 pg_replication_slots 中先前公布值更旧的位置。这是有问题的，因为例如 WAL 文件可能已经根据较新的 restart_lsn 值被删除，在这种情况下复制将无法重启。", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "commits": ["26c4e8968"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "aec992c6dc8fd1134d66222f9ba95459262b2c0671acf5afaadb796815cefffb", "section_path": ["变更"], "commit_groups": [["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"]], "identity_text": "Fix cases where a logical replication slot's restart_lsn could go backwards (Masahiko Sawada) Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in pg_replication_slots. This is bad, since for example WAL files might have been removed on the basis of the later restart_lsn value, in which case replication would fail to restart.", "commit_aliases": ["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"], "source_commits": ["26c4e8968"], "source_entry_id": "14.15/changes/003", "db_id": "eeac887b0b63b2fdf6611c932284ec81", "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48", "relations": [{"rule": 2, "type": "equivalent", "target": "2379d7430937e26c867f0b3b2bc9112f", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "7314b3acc1bcea03af87a29d6ae66d66", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "8f0e270da299adb30e1901570a8fe309", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "f3d3824aa67522cf3e92153b05732253", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}], "version": "14.15", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7314b3acc1bcea03af87a29d6ae66d66", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=17.2#17.2-75cf64383155ff92", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "8f0e270da299adb30e1901570a8fe309", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=16.6#16.6-20c2a4b20819e474", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f3d3824aa67522cf3e92153b05732253", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=15.10#15.10-0aa3e2da88ef79d2", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "2379d7430937e26c867f0b3b2bc9112f", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=13.18#13.18-73debc97f1da2a16", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "14.15-2ca9269314939c80", "cves": [], "html": "<p>避免在 <span>pg_rewind</span> 过程中删除仍然需要的 WAL 文件（Polina Bungina，Alexander Kukushkin）<a href=\"https://postgr.es/c/ba2535841\">§</a></p>\n<p>之前，在不巧的情况下，<span>pg_rewind</span> 可能会从被回退的降级主库中删除重要的 WAL 文件。特别是当这些文件已经被标记为待归档（即其 <code>.ready</code> 文件已创建）但尚未归档时，就会发生这种情况。此时新提升的节点不再拥有这些文件，因为它们已经被回收，但降级节点的恢复可能需要它们。如果 <span>pg_rewind</span> 将它们删除，恢复就不再可能了。</p>", "text": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件（Polina Bungina，Alexander Kukushkin）§ 之前，在不巧的情况下，pg_rewind 可能会从被回退的降级主库中删除重要的 WAL 文件。特别是当这些文件已经被标记为待归档（即其 .ready 文件已创建）但尚未归档时，就会发生这种情况。此时新提升的节点不再拥有这些文件，因为它们已经被回收，但降级节点的恢复可能需要它们。如果 pg_rewind 将它们删除，恢复就不再可能了。", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "commits": ["ba2535841"], "section": "变更", "category": "improvement", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "87ff1f81598b512b32e16360ee9ff1c41ff011700c977cdfec5b6219b6b90afe", "section_path": ["变更"], "commit_groups": [["90bcc7c2d", "ba2535841", "cb844d66b", "e28cf2fbc", "ea1649c35"]], "identity_text": "Avoid deleting still-needed WAL files during pg_rewind (Polina Bungina, Alexander Kukushkin) Previously, in unlucky cases, it was possible for pg_rewind to remove important WAL files from the rewound demoted primary. In particular this happens if those files have been marked for archival (i.e., their .ready files were created) but not yet archived. Then the newly promoted node no longer has such files because of them having been recycled, but likely they are needed for recovery in the demoted node. If pg_rewind removes them, recovery is not possible anymore.", "commit_aliases": ["90bcc7c2d", "ba2535841", "cb844d66b", "e28cf2fbc", "ea1649c35"], "source_commits": ["ba2535841"], "source_entry_id": "14.15/changes/004", "db_id": "807626e2c9a2f106ad39d890276237af", "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac", "relations": [{"rule": 2, "type": "equivalent", "target": "1896f4f2f5b9418011061c7f0dbc7045", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}, {"rule": 2, "type": "equivalent", "target": "d2603878b41c2d936f901ed56a1d37ec", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}, {"rule": 2, "type": "equivalent", "target": "d42182b95044d61916eb49e3d9a2ae1f", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}], "version": "14.15", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d2603878b41c2d936f901ed56a1d37ec", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=17.2#17.2-9ee78747990a7f5d", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "1896f4f2f5b9418011061c7f0dbc7045", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=16.6#16.6-8d0c746f2a07d9fd", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "d42182b95044d61916eb49e3d9a2ae1f", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=15.10#15.10-02e466d0de6e4be8", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}]}, {"id": "14.15-710830664c07845c", "cves": [], "html": "<p>在统计视图中统计 <code>contrib/bloom</code> 索引的索引扫描次数，例如 <code>pg_stat_user_indexes</code>.<code>idx_scan</code> 计数器（Masahiro Ikeda）<a href=\"https://postgr.es/c/2a30b6836\">§</a></p>", "text": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器（Masahiro Ikeda）§", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "commits": ["2a30b6836"], "section": "变更", "category": "improvement", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "eac3a5b91cc397907b5d5357ccd4b462bc2f9b2fcbad3a01a91807a1cfcb441c", "section_path": ["变更"], "commit_groups": [["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"]], "identity_text": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda)", "commit_aliases": ["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"], "source_commits": ["2a30b6836"], "source_entry_id": "14.15/changes/005", "db_id": "2fcab360df6135d0065be944b026bbf0", "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270", "relations": [{"rule": 2, "type": "equivalent", "target": "7b67908fa8be25ef7ac6fdbb980b3930", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "82d8483a4776666f82eb5d319fa2b1c1", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "cb76eb7a731699077eb60167ca0eaf1f", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "f15dfa16542819f1af89c8405c6b3e28", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}], "version": "14.15", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "82d8483a4776666f82eb5d319fa2b1c1", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=17.2#17.2-90ea7632563c16a8", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "cb76eb7a731699077eb60167ca0eaf1f", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=16.6#16.6-a73ff36aadffcfcb", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f15dfa16542819f1af89c8405c6b3e28", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=15.10#15.10-b6a38e4d700ac60e", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "7b67908fa8be25ef7ac6fdbb980b3930", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=13.18#13.18-9fa998bb55f0e4c4", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "14.15-05619bc8173d26d7", "cves": [], "html": "<p>修复在检查索引的 opclass 选项是否已更改时发生的崩溃（Alexander Korotkov）<a href=\"https://postgr.es/c/247e7647f\">§</a></p>\n<p>如果表具有带非默认操作符类选项的索引，某些形式的 <code>ALTER TABLE</code> 会失败。</p>", "text": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃（Alexander Korotkov）§ 如果表具有带非默认操作符类选项的索引，某些形式的 ALTER TABLE 会失败。", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "commits": ["247e7647f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "0ebed9e92e6bb2a9e7a5d8fe4d7c475cc393a4f54ad4e8257e5dea4098e46043", "section_path": ["变更"], "commit_groups": [["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"]], "identity_text": "Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) Some forms of ALTER TABLE would fail if the table has an index with non-default operator class options.", "commit_aliases": ["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"], "source_commits": ["247e7647f"], "source_entry_id": "14.15/changes/006", "db_id": "3968d61ee6b6651ba3b84916f84db243", "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f", "relations": [{"rule": 2, "type": "equivalent", "target": "0fdbd063d8cd025895b7106b3f929362", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "207e3b56e933a534b2897c6a7ad86253", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "7c45f4d1fde089f5aee8f5683dbb0d41", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "ef15430b70b7e1fec1a9ca0e57cd347b", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}], "version": "14.15", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0fdbd063d8cd025895b7106b3f929362", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=17.2#17.2-04c251017e57618e", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "ef15430b70b7e1fec1a9ca0e57cd347b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=16.6#16.6-99266a3c2d9d8f9c", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "7c45f4d1fde089f5aee8f5683dbb0d41", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=15.10#15.10-9cdcfef81a8480ac", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "207e3b56e933a534b2897c6a7ad86253", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=13.18#13.18-d30b13f05cc1c528", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "14.15-43c204e1b7fb072b", "cves": [], "html": "<p>避免正则表达式解析中由断开的 NFA 子图导致的断言失败（Tom Lane）<a href=\"https://postgr.es/c/2bdd3b248\">§</a></p>\n<p>此错误在非断言构建版本中似乎没有可见的后果。</p>", "text": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败（Tom Lane）§ 此错误在非断言构建版本中似乎没有可见的后果。", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "commits": ["2bdd3b248"], "section": "变更", "category": "improvement", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16", "source_hash": "2766a1b6ccf58ee9b361bf98dbde37a6a1759057458f5235614697f4a8094b97", "section_path": ["变更"], "commit_groups": [["2496c3f6f", "2bdd3b248", "5f28e6ba7", "b6312becc", "b69bdcee9"]], "identity_text": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing (Tom Lane) This bug does not appear to have any visible consequences in non-assert builds.", "commit_aliases": ["2496c3f6f", "2bdd3b248", "5f28e6ba7", "b6312becc", "b69bdcee9"], "source_commits": ["2bdd3b248"], "source_entry_id": "14.15/changes/007", "db_id": "94a032b95e9db1fe83976fb39e718933", "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004", "relations": [{"rule": 2, "type": "equivalent", "target": "7132e8ee5e563160e4af1338d1453f50", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}, {"rule": 2, "type": "equivalent", "target": "bf21d683f8d0d96f9d055bb4bef1de43", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}, {"rule": 2, "type": "equivalent", "target": "ed482b33005a888ec593b9b1ccf803d9", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}], "version": "14.15", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7132e8ee5e563160e4af1338d1453f50", "kind": "equivalent", "version": "17.2", "label": "17.2", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=17.2#17.2-8da3b12ee4e5a2f0", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES"}, {"db_id": "bf21d683f8d0d96f9d055bb4bef1de43", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=16.6#16.6-2bddeab9fc0ea18f", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "ed482b33005a888ec593b9b1ccf803d9", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=15.10#15.10-8a351c4062ed4ce2", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}]}]}], "stats": [{"key": "all", "label": "全部变更", "count": 7}, {"key": "feature", "label": "新功能", "count": 0}, {"key": "bugfix", "label": "BUG 修复", "count": 3}, {"key": "security", "label": "安全相关", "count": 1}, {"key": "performance", "label": "性能改进", "count": 0}, {"key": "compatibility", "label": "兼容性变化", "count": 0}, {"key": "improvement", "label": "其他改进", "count": 3}], "total": 7, "release_count": 1, "cross_major": false, "cve_count": 1, "cves": [{"id": "CVE-2024-10978", "url": "https://www.postgresql.org/support/security/CVE-2024-10978/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 4.2, "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10978", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE , SET SESSION AUTHORIZATION , or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION . The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Tom Lane for reporting this problem.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "14.14"}], "cve_available": true, "remaining_cves": [], "security_regressions": [], "warnings": [], "candidate_count": 7, "already_in_source_count": 0, "duplicate_count": 0, "excluded_count": 0, "exclusions": [], "source_as_of": "2026-09-26", "security_as_of": "2026-09-26"}