{"format": 1, "mode": "release", "from_release": null, "to_release": {"date": "2024-11-21", "build": "17.2", "major": "17", "minor": 2, "manual": "17", "status": "stable", "doc_git": "", "version": "17.2", "eol_date": "2029-11-08", "date_text": "2024-11-21", "supported": true, "manual_url": "/docs/17/release-17-2.html", "source_url": "/docs/release/17.2/", "entry_count": 8, "placeholder": false, "content_hash": "da84400866a5ccd1f887d715fba7b812619a0447d7f1bb57096a9c7195a4d8a6", "manual_build": "17.11", "source_as_of": "", "changes_count": 8, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 17.X.</p>\n<p>However, if you are upgrading from a version earlier than 17.1, see <a href=\"/docs/17/release-17-1.html\" title=\"E.11. Release 17.1\">Section E.11</a>.</p>", "compatibility_count": 0, "label": "17.2", "status_label": "Supported", "eol": "2029-11-08", "age_days": 677, "support_days": 1136}, "groups": [{"date": "2024-11-21", "build": "17.2", "major": "17", "minor": 2, "manual": "17", "status": "stable", "doc_git": "", "version": "17.2", "eol_date": "2029-11-08", "date_text": "2024-11-21", "supported": true, "manual_url": "/docs/17/release-17-2.html", "source_url": "/docs/release/17.2/", "entry_count": 8, "placeholder": false, "content_hash": "da84400866a5ccd1f887d715fba7b812619a0447d7f1bb57096a9c7195a4d8a6", "manual_build": "17.11", "source_as_of": "", "changes_count": 8, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 17.X.</p>\n<p>However, if you are upgrading from a version earlier than 17.1, see <a href=\"/docs/17/release-17-1.html\" title=\"E.11. Release 17.1\">Section E.11</a>.</p>", "compatibility_count": 0, "label": "17.2", "status_label": "Supported", "eol": "2029-11-08", "age_days": 677, "support_days": 1136, "entries": [{"id": "17.2-21d6cfdc332a4791", "cves": [], "html": "<p>Repair ABI break for extensions that work with struct <code>ResultRelInfo</code> (Tom Lane) <a href=\"https://postgr.es/c/6bfacd368\">§</a></p>\n<p>Last week's minor releases unintentionally broke binary compatibility with <span>timescaledb</span> and several other extensions. Restore the affected structure to its previous size, so that such extensions need not be rebuilt.</p>", "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.", "title": "Repair ABI break for extensions that work with struct ResultRelInfo", "commits": ["6bfacd368"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "873ea5c44787337a288e47c3062d4c858c30dd2e00093c9418693256e15ee3d2", "section_path": ["Changes"], "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": ["6bfacd368"], "source_entry_id": "17.2/changes/001", "db_id": "a929df65b7c7dd604ebadc2316aa26ac", "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": "de763be496358f3e7348203940378465", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}], "version": "17.2", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "69437a2d1a205badf04c74ff87163e3e", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Repair ABI break for extensions that work with struct ResultRelInfo", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=16.6#16.6-789af84344fc2dcd", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "168f409145dd973b0f389e0faa385826", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Repair ABI break for extensions that work with struct ResultRelInfo", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=15.10#15.10-33aa2cbd75ac71f6", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}, {"db_id": "de763be496358f3e7348203940378465", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Repair ABI break for extensions that work with struct ResultRelInfo", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=14.15#14.15-993119bae55151c8", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}, {"id": "17.2-d77293a82e3a14e5", "cves": ["CVE-2024-10978"], "html": "<p>Restore functionality of <code>ALTER {ROLE|DATABASE} SET role</code> (Tom Lane, Noah Misch) <a href=\"https://postgr.es/c/1c05004a8\">§</a></p>\n<p>The fix for CVE-2024-10978 accidentally caused settings for <code>role</code> to not be applied if they come from non-interactive sources, including previous <code>ALTER {ROLE|DATABASE}</code> commands and the <code>PGOPTIONS</code> environment variable.</p>", "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.", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "commits": ["1c05004a8"], "section": "Changes", "category": "security", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "7d47d42a1fdc68232fa6979c4e272c87bb5fe6a3397cd31a84556c61b1f5c2b1", "section_path": ["Changes"], "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": ["1c05004a8"], "source_entry_id": "17.2/changes/002", "db_id": "f20342f7ad93514b4af50956c971c3b8", "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": "e4a3a55b29e3e45132a44ee9d76a8b7a", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}], "version": "17.2", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "bbc5cf6b20273068c4d6c9dd65da0b05", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Restore functionality of 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": "Restore functionality of 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/#id-1.11.6.15.5"}, {"db_id": "e4a3a55b29e3e45132a44ee9d76a8b7a", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Restore functionality of ALTER {ROLE|DATABASE} SET role", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=14.15#14.15-422cf39c7394aada", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}, {"db_id": "2738c31dbd265aa929daa4b4aa4a67ba", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "Restore functionality of 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": "Restore functionality of 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": "17.2-75cf64383155ff92", "cves": [], "html": "<p>Fix cases where a logical replication slot's <code>restart_lsn</code> could go backwards (Masahiko Sawada) <a href=\"https://postgr.es/c/568e78a65\">§</a></p>\n<p>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 <code>pg_replication_slots</code>. This is bad, since for example WAL files might have been removed on the basis of the later <code>restart_lsn</code> value, in which case replication would fail to restart.</p>", "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.", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "commits": ["568e78a65"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "1021cc93d5638a2fac5982e1314ca337f15102a5e3d7740a463546506601d5be", "section_path": ["Changes"], "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": ["568e78a65"], "source_entry_id": "17.2/changes/003", "db_id": "7314b3acc1bcea03af87a29d6ae66d66", "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": "8f0e270da299adb30e1901570a8fe309", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "eeac887b0b63b2fdf6611c932284ec81", "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": "17.2", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "8f0e270da299adb30e1901570a8fe309", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "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": "Fix cases where a logical replication slot's restart_lsn could go backwards", "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/#id-1.11.6.15.5"}, {"db_id": "eeac887b0b63b2fdf6611c932284ec81", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=14.15#14.15-dbdf316123c7d4cb", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}, {"db_id": "2379d7430937e26c867f0b3b2bc9112f", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "Fix cases where a logical replication slot's restart_lsn could go backwards", "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": "17.2-9ee78747990a7f5d", "cves": [], "html": "<p>Avoid deleting still-needed WAL files during <span>pg_rewind</span> (Polina Bungina, Alexander Kukushkin) <a href=\"https://postgr.es/c/cb844d66b\">§</a></p>\n<p>Previously, in unlucky cases, it was possible for <span>pg_rewind</span> 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 <code>.ready</code> 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 <span>pg_rewind</span> removes them, recovery is not possible anymore.</p>", "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.", "title": "Avoid deleting still-needed WAL files during pg_rewind", "commits": ["cb844d66b"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "1f06ddabc297d025564ad945d7358f0104d261d557a9f7ba80766c89a6b20bd0", "section_path": ["Changes"], "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": ["cb844d66b"], "source_entry_id": "17.2/changes/004", "db_id": "d2603878b41c2d936f901ed56a1d37ec", "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": "807626e2c9a2f106ad39d890276237af", "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": "17.2", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "1896f4f2f5b9418011061c7f0dbc7045", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Avoid deleting still-needed WAL files during pg_rewind", "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": "Avoid deleting still-needed WAL files during pg_rewind", "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/#id-1.11.6.15.5"}, {"db_id": "807626e2c9a2f106ad39d890276237af", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Avoid deleting still-needed WAL files during pg_rewind", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=14.15#14.15-2ca9269314939c80", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}, {"id": "17.2-5bdf47a527bf9a4a", "cves": [], "html": "<p>Fix race conditions associated with dropping shared statistics entries (Kyotaro Horiguchi, Michael Paquier) <a href=\"https://postgr.es/c/1d6a03ea4\">§</a></p>\n<p>These bugs could lead to loss of statistics data, assertion failures, or <span>“<span>can only drop stats once</span>”</span> errors.</p>", "text": "Fix race conditions associated with dropping shared statistics entries (Kyotaro Horiguchi, Michael Paquier) § These bugs could lead to loss of statistics data, assertion failures, or “can only drop stats once” errors.", "title": "Fix race conditions associated with dropping shared statistics entries", "commits": ["1d6a03ea4"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "769d505e23f87533d640957706be831a9daec8164839c30f97ec07d6876699d3", "section_path": ["Changes"], "commit_groups": [["154c5b42a", "1d6a03ea4", "818119afc", "afa20845d"]], "identity_text": "Fix race conditions associated with dropping shared statistics entries (Kyotaro Horiguchi, Michael Paquier) These bugs could lead to loss of statistics data, assertion failures, or can only drop stats once errors.", "commit_aliases": ["154c5b42a", "1d6a03ea4", "818119afc", "afa20845d"], "source_commits": ["1d6a03ea4"], "source_entry_id": "17.2/changes/005", "db_id": "1d18528def1b782960ba34e22414bb1f", "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671", "relations": [{"rule": 2, "type": "equivalent", "target": "00720585f872ae63f854331bb55a962b", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}}, {"rule": 2, "type": "equivalent", "target": "0fa7615bea3ddf6bfd82ccaebff2bbd7", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}}], "version": "17.2", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "00720585f872ae63f854331bb55a962b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Fix race conditions associated with dropping shared statistics entries", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}, "url": "/docs/compare/?release=16.6#16.6-47157203c08b0395", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "0fa7615bea3ddf6bfd82ccaebff2bbd7", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "Fix race conditions associated with dropping shared statistics entries", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}, "url": "/docs/compare/?release=15.10#15.10-b26f48ce588203d8", "source_url": "/docs/release/15.10/#id-1.11.6.15.5"}]}, {"id": "17.2-90ea7632563c16a8", "cves": [], "html": "<p>Count index scans in <code>contrib/bloom</code> indexes in the statistics views, such as the <code>pg_stat_user_indexes</code>.<code>idx_scan</code> counter (Masahiro Ikeda) <a href=\"https://postgr.es/c/7af6d1306\">§</a></p>", "text": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda) §", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "commits": ["7af6d1306"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "21d4fa5b98756a383162dbc7534361de9f95d1159cad472562ffdb50c00b282f", "section_path": ["Changes"], "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": ["7af6d1306"], "source_entry_id": "17.2/changes/006", "db_id": "82d8483a4776666f82eb5d319fa2b1c1", "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270", "relations": [{"rule": 2, "type": "equivalent", "target": "2fcab360df6135d0065be944b026bbf0", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "7b67908fa8be25ef7ac6fdbb980b3930", "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": "17.2", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb76eb7a731699077eb60167ca0eaf1f", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "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": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "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/#id-1.11.6.15.5"}, {"db_id": "2fcab360df6135d0065be944b026bbf0", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=14.15#14.15-710830664c07845c", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}, {"db_id": "7b67908fa8be25ef7ac6fdbb980b3930", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter", "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": "17.2-04c251017e57618e", "cves": [], "html": "<p>Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) <a href=\"https://postgr.es/c/a6fa869cf\">§</a></p>\n<p>Some forms of <code>ALTER TABLE</code> would fail if the table has an index with non-default operator class options.</p>", "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.", "title": "Fix crash when checking to see if an index's opclass options have changed", "commits": ["a6fa869cf"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "70d5f5b79045caf987fc2a8d2a39434f6aba865965d682a8915f0900f81fa64b", "section_path": ["Changes"], "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": ["a6fa869cf"], "source_entry_id": "17.2/changes/007", "db_id": "0fdbd063d8cd025895b7106b3f929362", "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f", "relations": [{"rule": 2, "type": "equivalent", "target": "207e3b56e933a534b2897c6a7ad86253", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "3968d61ee6b6651ba3b84916f84db243", "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": "17.2", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "ef15430b70b7e1fec1a9ca0e57cd347b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Fix crash when checking to see if an index's opclass options have changed", "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": "Fix crash when checking to see if an index's opclass options have changed", "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/#id-1.11.6.15.5"}, {"db_id": "3968d61ee6b6651ba3b84916f84db243", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Fix crash when checking to see if an index's opclass options have changed", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=14.15#14.15-05619bc8173d26d7", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}, {"db_id": "207e3b56e933a534b2897c6a7ad86253", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "Fix crash when checking to see if an index's opclass options have changed", "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": "17.2-8da3b12ee4e5a2f0", "cves": [], "html": "<p>Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing (Tom Lane) <a href=\"https://postgr.es/c/5f28e6ba7\">§</a></p>\n<p>This bug does not appear to have any visible consequences in non-assert builds.</p>", "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.", "title": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing", "commits": ["5f28e6ba7"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "33068f2046385c1e45167cf0dbbde6f7239485c5e283df5f41ff663a1c653d50", "section_path": ["Changes"], "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": ["5f28e6ba7"], "source_entry_id": "17.2/changes/008", "db_id": "7132e8ee5e563160e4af1338d1453f50", "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004", "relations": [{"rule": 2, "type": "equivalent", "target": "94a032b95e9db1fe83976fb39e718933", "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": "17.2", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "bf21d683f8d0d96f9d055bb4bef1de43", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing", "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": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing", "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/#id-1.11.6.15.5"}, {"db_id": "94a032b95e9db1fe83976fb39e718933", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=14.15#14.15-43c204e1b7fb072b", "source_url": "/docs/release/14.15/#id-1.11.6.15.5"}]}]}], "stats": [{"key": "all", "label": "All changes", "count": 8}, {"key": "feature", "label": "Features", "count": 0}, {"key": "bugfix", "label": "Bug fixes", "count": 4}, {"key": "security", "label": "Security", "count": 1}, {"key": "performance", "label": "Performance", "count": 0}, {"key": "compatibility", "label": "Compatibility", "count": 0}, {"key": "improvement", "label": "Improvements", "count": 3}], "total": 8, "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": "Restore functionality of 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": "17.1"}], "cve_available": true, "remaining_cves": [], "security_regressions": [], "warnings": [], "candidate_count": 8, "already_in_source_count": 0, "duplicate_count": 0, "excluded_count": 0, "exclusions": [], "source_as_of": "2026-09-26", "security_as_of": "2026-09-26"}