{"format": 1, "mode": "release", "from_release": null, "to_release": {"date": "2024-11-14", "build": "16.5", "major": "16", "minor": 5, "manual": "16", "status": "stable", "doc_git": "", "version": "16.5", "eol_date": "2028-11-09", "date_text": "2024-11-14", "supported": true, "manual_url": "/docs/16/release-16-5.html", "source_url": "/docs/release/16.5/", "entry_count": 54, "placeholder": false, "content_hash": "184337ec9bf08cb39889a6b72b8798451cd8f3ea8396603294369061e5f8d0d7", "manual_build": "16.15", "source_as_of": "", "changes_count": 54, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 16.X.</p>\n<p>However, if you have ever detached a partition from a partitioned table that has a foreign-key reference to another partitioned table, and not dropped the former partition, then you may have catalog and/or data corruption to repair, as detailed in the fifth changelog entry below.</p>\n<p>Also, if you are upgrading from a version earlier than 16.3, see <a href=\"/docs/16/release-16-3.html\" title=\"E.13. Release 16.3\">Section E.13</a>.</p>", "compatibility_count": 0, "label": "16.5", "status_label": "Supported", "eol": "2028-11-09", "age_days": 684, "support_days": 772}, "groups": [{"date": "2024-11-14", "build": "16.5", "major": "16", "minor": 5, "manual": "16", "status": "stable", "doc_git": "", "version": "16.5", "eol_date": "2028-11-09", "date_text": "2024-11-14", "supported": true, "manual_url": "/docs/16/release-16-5.html", "source_url": "/docs/release/16.5/", "entry_count": 54, "placeholder": false, "content_hash": "184337ec9bf08cb39889a6b72b8798451cd8f3ea8396603294369061e5f8d0d7", "manual_build": "16.15", "source_as_of": "", "changes_count": 54, "doc_loaded_at": "2026-09-25T02:22:44.760693", "migration_html": "<p>A dump/restore is not required for those running 16.X.</p>\n<p>However, if you have ever detached a partition from a partitioned table that has a foreign-key reference to another partitioned table, and not dropped the former partition, then you may have catalog and/or data corruption to repair, as detailed in the fifth changelog entry below.</p>\n<p>Also, if you are upgrading from a version earlier than 16.3, see <a href=\"/docs/16/release-16-3.html\" title=\"E.13. Release 16.3\">Section E.13</a>.</p>", "compatibility_count": 0, "label": "16.5", "status_label": "Supported", "eol": "2028-11-09", "age_days": 684, "support_days": 772, "entries": [{"id": "16.5-8836d65ec119a87b", "cves": ["CVE-2024-10976"], "html": "<p>Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference (Nathan Bossart) <a href=\"https://postgr.es/c/562289460\">§</a></p>\n<p>If a CTE, subquery, sublink, security invoker view, or coercion projection in a query references a table with row-level security policies, we neglected to mark the resulting plan as potentially dependent on which role is executing it. This could lead to later query executions in the same session using the wrong plan, and then returning or hiding rows that should have been hidden or returned instead.</p>\n<p>The <span>PostgreSQL</span> Project thanks Wolfgang Walther for reporting this problem. (CVE-2024-10976)</p>", "text": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference (Nathan Bossart) § If a CTE, subquery, sublink, security invoker view, or coercion projection in a query references a table with row-level security policies, we neglected to mark the resulting plan as potentially dependent on which role is executing it. This could lead to later query executions in the same session using the wrong plan, and then returning or hiding rows that should have been hidden or returned instead. The PostgreSQL Project thanks Wolfgang Walther for reporting this problem. (CVE-2024-10976)", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "commits": ["562289460"], "section": "Changes", "category": "security", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "1f146bd2f3dfc421367066e6627cbe67d6467165f039ab03555a83355744732c", "section_path": ["Changes"], "commit_groups": [["448525e8a", "4e51030af", "562289460", "6db5ea8de", "952ff31e2", "cd7ab5753", "edcda9bb4"]], "identity_text": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference (Nathan Bossart) If a CTE, subquery, sublink, security invoker view, or coercion projection in a query references a table with row-level security policies, we neglected to mark the resulting plan as potentially dependent on which role is executing it. This could lead to later query executions in the same session using the wrong plan, and then returning or hiding rows that should have been hidden or returned instead. The PostgreSQL Project thanks Wolfgang Walther for reporting this problem. (CVE-2024-10976)", "commit_aliases": ["448525e8a", "4e51030af", "562289460", "6db5ea8de", "952ff31e2", "cd7ab5753", "edcda9bb4"], "source_commits": ["562289460"], "source_entry_id": "16.5/changes/001", "db_id": "d44f16c4afb566a4218e3268550f233b", "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3", "relations": [{"rule": 2, "type": "equivalent", "target": "6cb074d8615f9e4b6de7509ab5409206", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "903f54d13a35a580860ec5919ffd9391", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "b35299d8c2b91ca42ad730d56fe1d557", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "dd2d2a0ef524c238108a866aed2a3928", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "ea98dde20d96595ff5781f5e31b89a94", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}], "version": "16.5", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "903f54d13a35a580860ec5919ffd9391", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=17.1#17.1-4318690b9c90f7f0", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "6cb074d8615f9e4b6de7509ab5409206", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=15.9#15.9-0df8f5c6c57017c1", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "b35299d8c2b91ca42ad730d56fe1d557", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=14.14#14.14-ef2b342695c66732", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "ea98dde20d96595ff5781f5e31b89a94", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=13.17#13.17-262bcda4a82de7e4", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "dd2d2a0ef524c238108a866aed2a3928", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=12.21#12.21-024fbe5032a8d0a7", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-9d380df74be2cafb", "cves": ["CVE-2024-10977"], "html": "<p>Make <span>libpq</span> discard error messages received during SSL or GSS protocol negotiation (Jacob Champion) <a href=\"https://postgr.es/c/67d28bd02\">§</a></p>\n<p>An error message received before encryption negotiation is completed might have been injected by a man-in-the-middle, rather than being real server output. Reporting it opens the door to various security hazards; for example, the message might spoof a query result that a careless user could mistake for correct output. The best answer seems to be to discard such data and rely only on <span>libpq</span>'s own report of the connection failure.</p>\n<p>The <span>PostgreSQL</span> Project thanks Jacob Champion for reporting this problem. (CVE-2024-10977)</p>", "text": "Make libpq discard error messages received during SSL or GSS protocol negotiation (Jacob Champion) § An error message received before encryption negotiation is completed might have been injected by a man-in-the-middle, rather than being real server output. Reporting it opens the door to various security hazards; for example, the message might spoof a query result that a careless user could mistake for correct output. The best answer seems to be to discard such data and rely only on libpq's own report of the connection failure. The PostgreSQL Project thanks Jacob Champion for reporting this problem. (CVE-2024-10977)", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "commits": ["67d28bd02"], "section": "Changes", "category": "security", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "a29714a5708a2c94f8b22a8cd60bffee7a30702c9d460598c3b2d0c675d39426", "section_path": ["Changes"], "commit_groups": [["2a951ef0a", "67d28bd02", "7b49707b7", "a5cc4c667", "bf8835ea9", "d2c3e31c1", "e6c945476"]], "identity_text": "Make libpq discard error messages received during SSL or GSS protocol negotiation (Jacob Champion) An error message received before encryption negotiation is completed might have been injected by a man-in-the-middle, rather than being real server output. Reporting it opens the door to various security hazards; for example, the message might spoof a query result that a careless user could mistake for correct output. The best answer seems to be to discard such data and rely only on libpq's own report of the connection failure. The PostgreSQL Project thanks Jacob Champion for reporting this problem. (CVE-2024-10977)", "commit_aliases": ["2a951ef0a", "67d28bd02", "7b49707b7", "a5cc4c667", "bf8835ea9", "d2c3e31c1", "e6c945476"], "source_commits": ["67d28bd02"], "source_entry_id": "16.5/changes/002", "db_id": "170ef4172dbf8227246b2fd10f547eaf", "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e", "relations": [{"rule": 2, "type": "equivalent", "target": "041d5a2ad83eeef120f71cbf6b017715", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "343aad3da37d507acbe87e3c07339848", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "606e86fc061b8305117b462b0fb72f7e", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "91332def933a0204d60d03b6aee60a2f", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "f603cc7c23c00c33a7aaf0a8f34e4e09", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}], "version": "16.5", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "91332def933a0204d60d03b6aee60a2f", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=17.1#17.1-1082f03d8cb14619", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "f603cc7c23c00c33a7aaf0a8f34e4e09", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=15.9#15.9-5728e455ef5ad54b", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "343aad3da37d507acbe87e3c07339848", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=14.14#14.14-8e4bd7f9b172bf1c", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "606e86fc061b8305117b462b0fb72f7e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=13.17#13.17-6c940adbb9729591", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "041d5a2ad83eeef120f71cbf6b017715", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=12.21#12.21-6fc5c9c88c8d9ac9", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-315f7321f2990e19", "cves": ["CVE-2024-10978"], "html": "<p>Fix unintended interactions between <code>SET SESSION AUTHORIZATION</code> and <code>SET ROLE</code> (Tom Lane) <a href=\"https://postgr.es/c/ae340d031\">§</a> <a href=\"https://postgr.es/c/95f5a5237\">§</a></p>\n<p>The SQL standard mandates that <code>SET SESSION AUTHORIZATION</code> have a side-effect of doing <code>SET ROLE NONE</code>. Our implementation of that was flawed, creating more interaction between the two settings than intended. Notably, rolling back a transaction that had done <code>SET SESSION AUTHORIZATION</code> would revert <code>ROLE</code> to <code>NONE</code> even if that had not been the previous state, so that the effective user ID might now be different from what it had been before the transaction. Transiently setting <code>session_authorization</code> in a function <code>SET</code> clause had a similar effect. A related bug was that if a parallel worker inspected <code>current_setting('role')</code>, it saw <code>none</code> even when it should see something else.</p>\n<p>The <span>PostgreSQL</span> Project thanks Tom Lane for reporting this problem. (CVE-2024-10978)</p>", "text": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE (Tom Lane) § § The SQL standard mandates that SET SESSION AUTHORIZATION have a side-effect of doing SET ROLE NONE. Our implementation of that was flawed, creating more interaction between the two settings than intended. Notably, rolling back a transaction that had done SET SESSION AUTHORIZATION would revert ROLE to NONE even if that had not been the previous state, so that the effective user ID might now be different from what it had been before the transaction. Transiently setting session_authorization in a function SET clause had a similar effect. A related bug was that if a parallel worker inspected current_setting('role'), it saw none even when it should see something else. The PostgreSQL Project thanks Tom Lane for reporting this problem. (CVE-2024-10978)", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "commits": ["95f5a5237", "ae340d031"], "section": "Changes", "category": "security", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "13f7f6ea75300bc3f04501ae5371e905e9756ffb5cac376dc5a7a4d3121f16b3", "section_path": ["Changes"], "commit_groups": [["00b94e8e2", "0edad8654", "109a32380", "73c9f91a1", "95f5a5237", "dc7378793", "f4f5d27d8"], ["2a68808e2", "4c9d96f74", "5a2fed911", "76123ded6", "a5d2e6205", "ae340d031", "cd82afdda"]], "identity_text": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE (Tom Lane) The SQL standard mandates that SET SESSION AUTHORIZATION have a side-effect of doing SET ROLE NONE. Our implementation of that was flawed, creating more interaction between the two settings than intended. Notably, rolling back a transaction that had done SET SESSION AUTHORIZATION would revert ROLE to NONE even if that had not been the previous state, so that the effective user ID might now be different from what it had been before the transaction. Transiently setting session_authorization in a function SET clause had a similar effect. A related bug was that if a parallel worker inspected current_setting('role'), it saw none even when it should see something else. The PostgreSQL Project thanks Tom Lane for reporting this problem. (CVE-2024-10978)", "commit_aliases": ["00b94e8e2", "0edad8654", "109a32380", "2a68808e2", "4c9d96f74", "5a2fed911", "73c9f91a1", "76123ded6", "95f5a5237", "a5d2e6205", "ae340d031", "cd82afdda", "dc7378793", "f4f5d27d8"], "source_commits": ["95f5a5237", "ae340d031"], "source_entry_id": "16.5/changes/003", "db_id": "f64aff32abbe75ed4c780fc509e778f6", "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88", "relations": [{"rule": 2, "type": "equivalent", "target": "604f59cff9d6f5774f9b68abcf08958c", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "97797a7d809da6dc757cde719790fc0c", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "b1a4466d9937d8744821f08d11640f15", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "bc5ed2f456883b22d022a9a61741e828", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "fcbd66ab269c152eb9da16b5b1eeba9d", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}], "version": "16.5", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "fcbd66ab269c152eb9da16b5b1eeba9d", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=17.1#17.1-bcd14383964f2685", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "b1a4466d9937d8744821f08d11640f15", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=15.9#15.9-edbb19d6ec7f223e", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "604f59cff9d6f5774f9b68abcf08958c", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=14.14#14.14-4b483cb165d6e486", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "97797a7d809da6dc757cde719790fc0c", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=13.17#13.17-d57adda36139a851", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "bc5ed2f456883b22d022a9a61741e828", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=12.21#12.21-77f2e83b58681f50", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-3b4f7138a28e92e1", "cves": ["CVE-2024-10979"], "html": "<p>Prevent trusted PL/Perl code from changing environment variables (Andrew Dunstan, Noah Misch) <a href=\"https://postgr.es/c/8fe3e697a\">§</a> <a href=\"https://postgr.es/c/88269df4d\">§</a> <a href=\"https://postgr.es/c/168579e23\">§</a> <a href=\"https://postgr.es/c/c335264c9\">§</a> <a href=\"https://postgr.es/c/64df88700\">§</a></p>\n<p>The ability to manipulate process environment variables such as <code>PATH</code> gives an attacker opportunities to execute arbitrary code. Therefore, <span>“<span>trusted</span>”</span> PLs must not offer the ability to do that. To fix <code>plperl</code>, replace <code>%ENV</code> with a tied hash that rejects any modification attempt with a warning. Untrusted <code>plperlu</code> retains the ability to change the environment.</p>\n<p>The <span>PostgreSQL</span> Project thanks Coby Abrams for reporting this problem. (CVE-2024-10979)</p>", "text": "Prevent trusted PL/Perl code from changing environment variables (Andrew Dunstan, Noah Misch) § § § § § The ability to manipulate process environment variables such as PATH gives an attacker opportunities to execute arbitrary code. Therefore, “trusted” PLs must not offer the ability to do that. To fix plperl, replace %ENV with a tied hash that rejects any modification attempt with a warning. Untrusted plperlu retains the ability to change the environment. The PostgreSQL Project thanks Coby Abrams for reporting this problem. (CVE-2024-10979)", "title": "Prevent trusted PL/Perl code from changing environment variables", "commits": ["168579e23", "64df88700", "88269df4d", "8fe3e697a", "c335264c9"], "section": "Changes", "category": "security", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "16971486b1650decac0567739366c50c24457c8219acf06db53cd2a345abfad1", "section_path": ["Changes"], "commit_groups": [["0bd9560d9", "256e34653", "64df88700", "8d19f3fea", "9fc1c3a02", "c4252c9ef", "c834b375a"], ["168579e23"], ["16ed4f4d0", "1e457468f", "9f97c31c2", "c1fff7b1b", "c335264c9"], ["2ab12d860", "3ebcfa54d", "8fe3e697a", "b7e3a52a8", "d15ec27c9", "e428cd058", "e530835c6"], ["4cd4f3b97", "6bccd7b03", "88269df4d", "a34c33fd2", "b1e58defb", "f89bd92c9"]], "identity_text": "Prevent trusted PL/Perl code from changing environment variables (Andrew Dunstan, Noah Misch) The ability to manipulate process environment variables such as PATH gives an attacker opportunities to execute arbitrary code. Therefore, trusted PLs must not offer the ability to do that. To fix plperl, replace %ENV with a tied hash that rejects any modification attempt with a warning. Untrusted plperlu retains the ability to change the environment. The PostgreSQL Project thanks Coby Abrams for reporting this problem. (CVE-2024-10979)", "commit_aliases": ["0bd9560d9", "168579e23", "16ed4f4d0", "1e457468f", "256e34653", "2ab12d860", "3ebcfa54d", "4cd4f3b97", "64df88700", "6bccd7b03", "88269df4d", "8d19f3fea", "8fe3e697a", "9f97c31c2", "9fc1c3a02", "a34c33fd2", "b1e58defb", "b7e3a52a8", "c1fff7b1b", "c335264c9", "c4252c9ef", "c834b375a", "d15ec27c9", "e428cd058", "e530835c6", "f89bd92c9"], "source_commits": ["168579e23", "64df88700", "88269df4d", "8fe3e697a", "c335264c9"], "source_entry_id": "16.5/changes/004", "db_id": "e6325045df38d2253c8faef82c16e050", "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec", "relations": [{"rule": 2, "type": "equivalent", "target": "0a701592b8a9b3174c5f3918bbef8dd6", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "2066e4f8fce90840b573e98b707266c8", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "48c45a7465e356c96eee7b77e513f0c9", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "88cb0753c619cb8ffb55dd3992fec3ae", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "e8bdec3e3e6cd8239b40cec431d635ac", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}], "version": "16.5", "category_label": "Security", "also_in": [], "variants": [], "related_changes": [{"db_id": "88cb0753c619cb8ffb55dd3992fec3ae", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Prevent trusted PL/Perl code from changing environment variables", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=17.1#17.1-17e0d808d28707ff", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "0a701592b8a9b3174c5f3918bbef8dd6", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Prevent trusted PL/Perl code from changing environment variables", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=15.9#15.9-c9b0c46ba6e5aa14", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "48c45a7465e356c96eee7b77e513f0c9", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Prevent trusted PL/Perl code from changing environment variables", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=14.14#14.14-cc2f3258f095a62a", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "e8bdec3e3e6cd8239b40cec431d635ac", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Prevent trusted PL/Perl code from changing environment variables", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=13.17#13.17-458fde2a378dd869", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2066e4f8fce90840b573e98b707266c8", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Prevent trusted PL/Perl code from changing environment variables", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=12.21#12.21-1e5606f9a5aeeb3a", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-da80fe139c5ca832", "cves": [], "html": "<p>Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions (Jehan-Guillaume de Rorthais, Tender Wang, Álvaro Herrera) <a href=\"https://postgr.es/c/2aaf2a28b\">§</a> <a href=\"https://postgr.es/c/f7d510a38\">§</a></p>\n<p>If the referenced table is partitioned, then different catalog entries are needed for a referencing table that is stand-alone versus one that is a partition. <code>ATTACH/DETACH PARTITION</code> commands failed to perform this conversion correctly. In particular, after <code>DETACH</code> the now stand-alone table would be missing foreign-key enforcement triggers, which could result in the table later containing rows that fail the foreign-key constraint. A subsequent re-<code>ATTACH</code> could fail with surprising errors, too.</p>\n<p>The way to fix this is to do <code>ALTER TABLE DROP CONSTRAINT</code> on the now stand-alone table for each faulty constraint, and then re-add the constraint. If re-adding the constraint fails, then some erroneous data has crept in. You will need to manually re-establish consistency between the referencing and referenced tables, then re-add the constraint.</p>\n<p>This query can be used to identify broken constraints and construct the commands needed to recreate them:</p>\n<pre>SELECT conrelid::pg_catalog.regclass AS \"constrained table\",\n       conname AS constraint,\n       confrelid::pg_catalog.regclass AS \"references\",\n       pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;',\n                         conrelid::pg_catalog.regclass, conname) AS \"drop\",\n       pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;',\n                         conrelid::pg_catalog.regclass, conname,\n                         pg_catalog.pg_get_constraintdef(oid)) AS \"add\"\nFROM pg_catalog.pg_constraint c\nWHERE contype = 'f' AND conparentid = 0 AND\n   (SELECT count(*) FROM pg_catalog.pg_constraint c2\n    WHERE c2.conparentid = c.oid) &lt;&gt;\n   ((SELECT count(*) FROM pg_catalog.pg_inherits i\n    WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND\n      EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table\n              WHERE partrelid = i.inhparent)) +\n    CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN\n              (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid)\n                WHERE level = 1)\n         ELSE 0 END);\n</pre>\n<p>Since it is possible that one or more of the <code>ADD CONSTRAINT</code> steps will fail, you should save the query's output in a file and then attempt to perform each step.</p>", "text": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions (Jehan-Guillaume de Rorthais, Tender Wang, Álvaro Herrera) § § If the referenced table is partitioned, then different catalog entries are needed for a referencing table that is stand-alone versus one that is a partition. ATTACH/DETACH PARTITION commands failed to perform this conversion correctly. In particular, after DETACH the now stand-alone table would be missing foreign-key enforcement triggers, which could result in the table later containing rows that fail the foreign-key constraint. A subsequent re-ATTACH could fail with surprising errors, too. The way to fix this is to do ALTER TABLE DROP CONSTRAINT on the now stand-alone table for each faulty constraint, and then re-add the constraint. If re-adding the constraint fails, then some erroneous data has crept in. You will need to manually re-establish consistency between the referencing and referenced tables, then re-add the constraint. This query can be used to identify broken constraints and construct the commands needed to recreate them: SELECT conrelid::pg_catalog.regclass AS \"constrained table\", conname AS constraint, confrelid::pg_catalog.regclass AS \"references\", pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;', conrelid::pg_catalog.regclass, conname) AS \"drop\", pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;', conrelid::pg_catalog.regclass, conname, pg_catalog.pg_get_constraintdef(oid)) AS \"add\" FROM pg_catalog.pg_constraint c WHERE contype = 'f' AND conparentid = 0 AND (SELECT count(*) FROM pg_catalog.pg_constraint c2 WHERE c2.conparentid = c.oid) <> ((SELECT count(*) FROM pg_catalog.pg_inherits i WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table WHERE partrelid = i.inhparent)) + CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid) WHERE level = 1) ELSE 0 END); Since it is possible that one or more of the ADD CONSTRAINT steps will fail, you should save the query's output in a file and then attempt to perform each step.", "title": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions", "commits": ["2aaf2a28b", "f7d510a38"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "3e273b26f612c35ae05a38bb035e8f1aa74eceaa29113174a0dc7c4c93a63548", "section_path": ["Changes"], "commit_groups": [["1b216fcef", "2d5fe5140", "936ab6de9", "f7d510a38"], ["2aaf2a28b", "46a8c27a7", "53af9491a", "5914a22f6", "5d83bad6b", "d20194cea"]], "identity_text": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions (Jehan-Guillaume de Rorthais, Tender Wang, Álvaro Herrera) If the referenced table is partitioned, then different catalog entries are needed for a referencing table that is stand-alone versus one that is a partition. ATTACH/DETACH PARTITION commands failed to perform this conversion correctly. In particular, after DETACH the now stand-alone table would be missing foreign-key enforcement triggers, which could result in the table later containing rows that fail the foreign-key constraint. A subsequent re-ATTACH could fail with surprising errors, too. The way to fix this is to do ALTER TABLE DROP CONSTRAINT on the now stand-alone table for each faulty constraint, and then re-add the constraint. If re-adding the constraint fails, then some erroneous data has crept in. You will need to manually re-establish consistency between the referencing and referenced tables, then re-add the constraint. This query can be used to identify broken constraints and construct the commands needed to recreate them: SELECT conrelid::pg_catalog.regclass AS \"constrained table\", conname AS constraint, confrelid::pg_catalog.regclass AS \"references\", pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;', conrelid::pg_catalog.regclass, conname) AS \"drop\", pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;', conrelid::pg_catalog.regclass, conname, pg_catalog.pg_get_constraintdef(oid)) AS \"add\" FROM pg_catalog.pg_constraint c WHERE contype = 'f' AND conparentid = 0 AND (SELECT count(*) FROM pg_catalog.pg_constraint c2 WHERE c2.conparentid = c.oid) <> ((SELECT count(*) FROM pg_catalog.pg_inherits i WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table WHERE partrelid = i.inhparent)) + CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid) WHERE level = 1) ELSE 0 END); Since it is possible that one or more of the ADD CONSTRAINT steps will fail, you should save the query's output in a file and then attempt to perform each step.", "commit_aliases": ["1b216fcef", "2aaf2a28b", "2d5fe5140", "46a8c27a7", "53af9491a", "5914a22f6", "5d83bad6b", "936ab6de9", "d20194cea", "f7d510a38"], "source_commits": ["2aaf2a28b", "f7d510a38"], "source_entry_id": "16.5/changes/005", "db_id": "2e62d425855f2ef72a74f21c1ec997db", "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03", "relations": [{"rule": 2, "type": "equivalent", "target": "05faec547b57fcd479d5d3834fbd050e", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "748d33942f3736ea94422866a8d7bc90", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "876e0bbaabd424006a6c9bb02ee056db", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "c371525cbc62547fea8074194d0bbf97", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "748d33942f3736ea94422866a8d7bc90", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=17.1#17.1-3b34b5efc6680e84", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "c371525cbc62547fea8074194d0bbf97", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=15.9#15.9-87d199b0548b7397", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "876e0bbaabd424006a6c9bb02ee056db", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=14.14#14.14-84ee07415a5a9237", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "05faec547b57fcd479d5d3834fbd050e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=13.17#13.17-81cbf6771f847538", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}]}, {"id": "16.5-d9995abcba9d6d85", "cves": [], "html": "<p>Avoid possible crashes and <span>“<span>could not open relation</span>”</span> errors in queries on a partitioned table occurring concurrently with a <code>DETACH CONCURRENTLY</code> and immediate drop of a partition (Álvaro Herrera, Kuntal Gosh) <a href=\"https://postgr.es/c/a6ff329e7\">§</a> <a href=\"https://postgr.es/c/1b9dd6b05\">§</a></p>", "text": "Avoid possible crashes and “could not open relation” errors in queries on a partitioned table occurring concurrently with a DETACH CONCURRENTLY and immediate drop of a partition (Álvaro Herrera, Kuntal Gosh) § §", "title": "Avoid possible crashes and “could not open relation” errors in queries on a partitioned table occurring concurrently with a DETACH CONCURRENTLY and immediate drop of a partition", "commits": ["1b9dd6b05", "a6ff329e7"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "56756ad761dc7b3d4803031d1456b07f7a84617bd477d5efc02e99739c19291f", "section_path": ["Changes"], "commit_groups": [["0820f8062", "1b4bdf915", "1b9dd6b05", "305db9543", "c899c6839"], ["11f1218ce", "3ad4c8615", "52f3de874", "a6ff329e7", "be73e7008"]], "identity_text": "Avoid possible crashes and could not open relation errors in queries on a partitioned table occurring concurrently with a DETACH CONCURRENTLY and immediate drop of a partition (Álvaro Herrera, Kuntal Gosh)", "commit_aliases": ["0820f8062", "11f1218ce", "1b4bdf915", "1b9dd6b05", "305db9543", "3ad4c8615", "52f3de874", "a6ff329e7", "be73e7008", "c899c6839"], "source_commits": ["1b9dd6b05", "a6ff329e7"], "source_entry_id": "16.5/changes/006", "db_id": "8837079a48fded4bb4fe10e583506fd9", "patch_ids": ["63e5ebfd878fa7839d5ab1663400c0c3", "f224f5dd1d5405687e03ef6864b2913b"], "statement_hash": "6f63e645b08fa22e5d78b89378d98c9d29a347381e29445ab481c98705145afd", "relations": [{"rule": 2, "type": "equivalent", "target": "45b863abb095a42f1b66a75bb87913bf", "evidence": {"same_day": true, "patch_ids": ["63e5ebfd878fa7839d5ab1663400c0c3", "f224f5dd1d5405687e03ef6864b2913b"], "statement_hash": "6f63e645b08fa22e5d78b89378d98c9d29a347381e29445ab481c98705145afd"}}, {"rule": 2, "type": "equivalent", "target": "a7b37d7354b398618d37e8168d84fd58", "evidence": {"same_day": true, "patch_ids": ["63e5ebfd878fa7839d5ab1663400c0c3", "f224f5dd1d5405687e03ef6864b2913b"], "statement_hash": "6f63e645b08fa22e5d78b89378d98c9d29a347381e29445ab481c98705145afd"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "45b863abb095a42f1b66a75bb87913bf", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid possible crashes and “could not open relation” errors in queries on a partitioned table occurring concurrently with a DETACH CONCURRENTLY and immediate drop of a partition", "evidence": {"same_day": true, "patch_ids": ["63e5ebfd878fa7839d5ab1663400c0c3", "f224f5dd1d5405687e03ef6864b2913b"], "statement_hash": "6f63e645b08fa22e5d78b89378d98c9d29a347381e29445ab481c98705145afd"}, "url": "/docs/compare/?release=15.9#15.9-801de06b5fee02eb", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "a7b37d7354b398618d37e8168d84fd58", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid possible crashes and “could not open relation” errors in queries on a partitioned table occurring concurrently with a DETACH CONCURRENTLY and immediate drop of a partition", "evidence": {"same_day": true, "patch_ids": ["63e5ebfd878fa7839d5ab1663400c0c3", "f224f5dd1d5405687e03ef6864b2913b"], "statement_hash": "6f63e645b08fa22e5d78b89378d98c9d29a347381e29445ab481c98705145afd"}, "url": "/docs/compare/?release=14.14#14.14-8d0228d7521f0e2f", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-704d4bb5c7c65e61", "cves": [], "html": "<p>Disallow <code>ALTER TABLE ATTACH PARTITION</code> if the table to be attached has a foreign key referencing the partitioned table (Álvaro Herrera) <a href=\"https://postgr.es/c/ada34d714\">§</a> <a href=\"https://postgr.es/c/57c8b8726\">§</a></p>\n<p>This arrangement is not supported, and other ways of creating it already fail.</p>", "text": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table (Álvaro Herrera) § § This arrangement is not supported, and other ways of creating it already fail.", "title": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table", "commits": ["57c8b8726", "ada34d714"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0497d5350b17d630aab44289d4eeaedd8351047db6b06090e0b54c8fb9709887", "section_path": ["Changes"], "commit_groups": [["17ed92e1f", "2ee02c98d", "344f9f5e2", "8c0944ac8", "a90bdd7a4", "ada34d714", "e97121d90"], ["38f506470", "57c8b8726", "a54a5c426", "cae459d11", "ebbfa2ae3"]], "identity_text": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table (Álvaro Herrera) This arrangement is not supported, and other ways of creating it already fail.", "commit_aliases": ["17ed92e1f", "2ee02c98d", "344f9f5e2", "38f506470", "57c8b8726", "8c0944ac8", "a54a5c426", "a90bdd7a4", "ada34d714", "cae459d11", "e97121d90", "ebbfa2ae3"], "source_commits": ["57c8b8726", "ada34d714"], "source_entry_id": "16.5/changes/007", "db_id": "d1f7382b7e3180af558acf06f1d2bcf3", "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640", "relations": [{"rule": 2, "type": "equivalent", "target": "05e1ab975855ff2b37339187244b0683", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}}, {"rule": 2, "type": "equivalent", "target": "1bb99dd07683f0991c15ade49154ee82", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}}, {"rule": 2, "type": "equivalent", "target": "3ef5275da8050889643e46ab6bd1ca07", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}}, {"rule": 2, "type": "equivalent", "target": "6f7484110ba7fdc4a4f2230481405bbb", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "6f7484110ba7fdc4a4f2230481405bbb", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}, "url": "/docs/compare/?release=15.9#15.9-ca0055e7330eae0f", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "05e1ab975855ff2b37339187244b0683", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}, "url": "/docs/compare/?release=14.14#14.14-43c8ae0b67e9452f", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "3ef5275da8050889643e46ab6bd1ca07", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}, "url": "/docs/compare/?release=13.17#13.17-d9877c8e8dbf0761", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "1bb99dd07683f0991c15ade49154ee82", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Disallow ALTER TABLE ATTACH PARTITION if the table to be attached has a foreign key referencing the partitioned table", "evidence": {"same_day": true, "patch_ids": ["26534124d026a7bd02c41aa25189696c", "5e6a42c7ca6240cc053de20d236d070e"], "statement_hash": "d11d59378ad7a3ce5ce951fdeed67301496390e5f6101d0b0d55d9f4653a1640"}, "url": "/docs/compare/?release=12.21#12.21-477eae579e09426e", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-5f8a220ad7c1cc27", "cves": [], "html": "<p>Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation (Jian He, Webbo Han) <a href=\"https://postgr.es/c/f734b6b4d\">§</a> <a href=\"https://postgr.es/c/dd2f8ebee\">§</a></p>\n<p>Such plans could produce incorrect results.</p>", "text": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation (Jian He, Webbo Han) § § Such plans could produce incorrect results.", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "commits": ["dd2f8ebee", "f734b6b4d"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "85e9dfe7a2f106ae3015f7c62a625fb64375de03c7d7e97b70544525f90f7fc5", "section_path": ["Changes"], "commit_groups": [["054701a2b", "075acdd93", "33040b171", "62df5484f", "9c4757491", "a0cdfc889", "f734b6b4d"], ["0a620659c", "46d9be5ef", "90fe6251c", "96f9b29a3", "b6484ca95", "dd2f8ebee", "ff65f695c"]], "identity_text": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation (Jian He, Webbo Han) Such plans could produce incorrect results.", "commit_aliases": ["054701a2b", "075acdd93", "0a620659c", "33040b171", "46d9be5ef", "62df5484f", "90fe6251c", "96f9b29a3", "9c4757491", "a0cdfc889", "b6484ca95", "dd2f8ebee", "f734b6b4d", "ff65f695c"], "source_commits": ["dd2f8ebee", "f734b6b4d"], "source_entry_id": "16.5/changes/008", "db_id": "cf9cca4c2bbd52000591f7989aa5d6a1", "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b", "relations": [{"rule": 2, "type": "equivalent", "target": "2ef513eca41dc1e5b7f619bb844c48c4", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "627f4d65ab84d4ed8aa805e9a4e5c849", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "97084b07a26e28d94fdf228d94460f63", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "ee502d77983c018bbc01ab92640da315", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "fa1ae7acee5e324651d15e2e1046939b", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "2ef513eca41dc1e5b7f619bb844c48c4", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=17.1#17.1-068ad9165df3c428", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "fa1ae7acee5e324651d15e2e1046939b", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=15.9#15.9-f5ceb7681d512e5e", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "627f4d65ab84d4ed8aa805e9a4e5c849", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=14.14#14.14-8ebf3b7cfddc2170", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "97084b07a26e28d94fdf228d94460f63", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=13.17#13.17-b9ea968190d4d09e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "ee502d77983c018bbc01ab92640da315", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=12.21#12.21-77ba4c09c5b839fb", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-3442c0bcef2d3f7e", "cves": [], "html": "<p>Fix possible <span>“<span>could not find pathkey item to sort</span>”</span> error when the output of a <code>UNION ALL</code> member query needs to be sorted, and the sort column is an expression (Andrei Lepikhov, Tom Lane) <a href=\"https://postgr.es/c/64635c8af\">§</a></p>", "text": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression (Andrei Lepikhov, Tom Lane) §", "title": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression", "commits": ["64635c8af"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "25188e080551ca3ffe0405c9e9c6d18dd1938ec3847af3fac2ef8a3375bcded8", "section_path": ["Changes"], "commit_groups": [["4ca708eb3", "4f3bccbaa", "54889ea64", "64635c8af", "76de4b182", "9f954177b"]], "identity_text": "Fix possible could not find pathkey item to sort error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression (Andrei Lepikhov, Tom Lane)", "commit_aliases": ["4ca708eb3", "4f3bccbaa", "54889ea64", "64635c8af", "76de4b182", "9f954177b"], "source_commits": ["64635c8af"], "source_entry_id": "16.5/changes/009", "db_id": "78d8af16e96b804627c6aa71fc3b7bfd", "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60", "relations": [{"rule": 2, "type": "equivalent", "target": "ca2eee005279ddc6420fd718cf7a897a", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "cee14d7708f551fdd0d1b77687c63987", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "d58826be74b98e827838dbb875a238b3", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "e8a3a31febb736280206edb58844057a", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "cee14d7708f551fdd0d1b77687c63987", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=17.1#17.1-10bcbc67bced25f2", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "e8a3a31febb736280206edb58844057a", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=15.9#15.9-ea035b87ae9dddc4", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "d58826be74b98e827838dbb875a238b3", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=14.14#14.14-ca8577e9b6c5e871", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "ca2eee005279ddc6420fd718cf7a897a", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix possible “could not find pathkey item to sort” error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=13.17#13.17-efb0a0d37ad61667", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}]}, {"id": "16.5-64cc36d606705820", "cves": [], "html": "<p>Fix performance regressions involving flattening of subqueries underneath outer joins that are later reduced to plain joins (Tom Lane) <a href=\"https://postgr.es/c/80d9c07a4\">§</a></p>\n<p>v16 failed to optimize some queries as well as prior versions had, because of overoptimistic simplification of query-pullup logic.</p>", "text": "Fix performance regressions involving flattening of subqueries underneath outer joins that are later reduced to plain joins (Tom Lane) § v16 failed to optimize some queries as well as prior versions had, because of overoptimistic simplification of query-pullup logic.", "title": "Fix performance regressions involving flattening of subqueries underneath outer joins that are later reduced to plain joins", "commits": ["80d9c07a4"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "9d2c7619701a14c3f1bf57559703725aa075549ad6e57396ba0a3e2d1ab0fc30", "section_path": ["Changes"], "commit_groups": [["80d9c07a4", "b43110869", "cb8e50a4a"]], "identity_text": "Fix performance regressions involving flattening of subqueries underneath outer joins that are later reduced to plain joins (Tom Lane) v16 failed to optimize some queries as well as prior versions had, because of overoptimistic simplification of query-pullup logic.", "commit_aliases": ["80d9c07a4", "b43110869", "cb8e50a4a"], "source_commits": ["80d9c07a4"], "source_entry_id": "16.5/changes/010", "db_id": "c2738d6499015ab126dc22a09b2ac864", "patch_ids": ["722a21b60fd642f02636ab45e5078339"], "statement_hash": "2f4b48f18f53f5e33ce106b2129232bdfea9af2694c698daa0a1cd176e172f92", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-c79d2256c0960a37", "cves": [], "html": "<p>Allow cancellation of the second stage of index build for large hash indexes (Pavel Borisov) <a href=\"https://postgr.es/c/d23109f4b\">§</a></p>", "text": "Allow cancellation of the second stage of index build for large hash indexes (Pavel Borisov) §", "title": "Allow cancellation of the second stage of index build for large hash indexes", "commits": ["d23109f4b"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "d8014a0ad2f2e395440464224e233eef5fa271e6f5fc2fbbf315297129b3cddd", "section_path": ["Changes"], "commit_groups": [["418c6a2c7", "813ade548", "b27215dbb", "b49013f2e", "d23109f4b", "e0857898b", "fae55f0bb"]], "identity_text": "Allow cancellation of the second stage of index build for large hash indexes (Pavel Borisov)", "commit_aliases": ["418c6a2c7", "813ade548", "b27215dbb", "b49013f2e", "d23109f4b", "e0857898b", "fae55f0bb"], "source_commits": ["d23109f4b"], "source_entry_id": "16.5/changes/011", "db_id": "d6c9d693487a306135f91e07c816e32d", "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9", "relations": [{"rule": 2, "type": "equivalent", "target": "26bec80c41216ba0d9b86e27f74e0d86", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}}, {"rule": 2, "type": "equivalent", "target": "5048ec52b48f1202a06b5f02a10e935d", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}}, {"rule": 2, "type": "equivalent", "target": "d0c422d2da3c5396208196b5099adf32", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}}, {"rule": 2, "type": "equivalent", "target": "eecbf747c1063772bdabd7a37b1610bc", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "d0c422d2da3c5396208196b5099adf32", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Allow cancellation of the second stage of index build for large hash indexes", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}, "url": "/docs/compare/?release=15.9#15.9-00dd9cb6850a885c", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "eecbf747c1063772bdabd7a37b1610bc", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Allow cancellation of the second stage of index build for large hash indexes", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}, "url": "/docs/compare/?release=14.14#14.14-6db3ad9188c6ce8d", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "26bec80c41216ba0d9b86e27f74e0d86", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Allow cancellation of the second stage of index build for large hash indexes", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}, "url": "/docs/compare/?release=13.17#13.17-4fdea91072d659b8", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "5048ec52b48f1202a06b5f02a10e935d", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Allow cancellation of the second stage of index build for large hash indexes", "evidence": {"same_day": true, "patch_ids": ["357c33010c6794e2ea9a97e21f6ec180"], "statement_hash": "c1ae224c9d0a0978da1699bc0686d1cffed701895de5fcf3a743e1d2275ebaf9"}, "url": "/docs/compare/?release=12.21#12.21-269b91135c62907d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-3b984973784dc595", "cves": [], "html": "<p>Fix assertion failure or confusing error message for <code>COPY (<em><code>query</code></em>) TO ...</code>, when the <em><code>query</code></em> is rewritten by a <code>DO INSTEAD NOTIFY</code> rule (Tender Wang, Tom Lane) <a href=\"https://postgr.es/c/6c3b2d204\">§</a></p>", "text": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule (Tender Wang, Tom Lane) §", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "commits": ["6c3b2d204"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0440497b331c1184f31b752ee038942c681d5f3d70c45c70e1bbe8ad5a403ed3", "section_path": ["Changes"], "commit_groups": [["3685ad618", "5e94f616c", "68ad9816c", "6a57a457c", "6c3b2d204", "beab395a4", "c80a1e048"]], "identity_text": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule (Tender Wang, Tom Lane)", "commit_aliases": ["3685ad618", "5e94f616c", "68ad9816c", "6a57a457c", "6c3b2d204", "beab395a4", "c80a1e048"], "source_commits": ["6c3b2d204"], "source_entry_id": "16.5/changes/012", "db_id": "4164513d723b4a8d82303cc7b6f6bf52", "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74", "relations": [{"rule": 2, "type": "equivalent", "target": "54e4681cc9f3a4699d374b15ebaebf9a", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "774c30d3167cc04d5c0d9c1f499874d4", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "83485ef02bbc0c01b4b407ab922cc34b", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "86ef642b3ead7de535851b9f33134f73", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "cb2aad1f1ce1b4266ea310af2b16064b", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "54e4681cc9f3a4699d374b15ebaebf9a", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=17.1#17.1-ef0f21203944cfe0", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "86ef642b3ead7de535851b9f33134f73", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=15.9#15.9-2c6cc783cb9ec0c8", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "83485ef02bbc0c01b4b407ab922cc34b", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=14.14#14.14-bc8526feff92fb55", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "774c30d3167cc04d5c0d9c1f499874d4", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=13.17#13.17-5fb93fb0ee8ca05b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "cb2aad1f1ce1b4266ea310af2b16064b", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=12.21#12.21-481b27b62c098efd", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-307849ad09263eed", "cves": [], "html": "<p>Fix server crash when a <code>json_objectagg()</code> call contains a volatile function (Amit Langote) <a href=\"https://postgr.es/c/fa4f11854\">§</a></p>", "text": "Fix server crash when a json_objectagg() call contains a volatile function (Amit Langote) §", "title": "Fix server crash when a json_objectagg() call contains a volatile function", "commits": ["fa4f11854"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0e74b834114349f4fec63ea2badd594f8eb27cebf6bcbbf5335142c60bebd10d", "section_path": ["Changes"], "commit_groups": [["11c87216d", "7148cb3e3", "fa4f11854"]], "identity_text": "Fix server crash when a json_objectagg() call contains a volatile function (Amit Langote)", "commit_aliases": ["11c87216d", "7148cb3e3", "fa4f11854"], "source_commits": ["fa4f11854"], "source_entry_id": "16.5/changes/013", "db_id": "163a209d5595bb3d73729dccc9101186", "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec", "relations": [{"rule": 2, "type": "equivalent", "target": "e02b293b020a232bd9b75a0ee2a0722d", "evidence": {"same_day": true, "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "e02b293b020a232bd9b75a0ee2a0722d", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix server crash when a json_objectagg() call contains a volatile function", "evidence": {"same_day": true, "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec"}, "url": "/docs/compare/?release=17.1#17.1-a67448e1b58abd31", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}]}, {"id": "16.5-e0a5cbf43b861e3a", "cves": [], "html": "<p>Fix checking of key uniqueness in JSON object constructors (Junwang Zhao, Tomas Vondra) <a href=\"https://postgr.es/c/8e65d9ff9\">§</a></p>\n<p>When building an object larger than a kilobyte, it was possible to accept invalid input that includes duplicate object keys, or to falsely report that duplicate keys are present.</p>", "text": "Fix checking of key uniqueness in JSON object constructors (Junwang Zhao, Tomas Vondra) § When building an object larger than a kilobyte, it was possible to accept invalid input that includes duplicate object keys, or to falsely report that duplicate keys are present.", "title": "Fix checking of key uniqueness in JSON object constructors", "commits": ["8e65d9ff9"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "d57e12e0b50e3361508d8115569edc3fe57718f2d7664c5bac3becf316153c7d", "section_path": ["Changes"], "commit_groups": [["78bc5f711", "842265631", "8e65d9ff9"]], "identity_text": "Fix checking of key uniqueness in JSON object constructors (Junwang Zhao, Tomas Vondra) When building an object larger than a kilobyte, it was possible to accept invalid input that includes duplicate object keys, or to falsely report that duplicate keys are present.", "commit_aliases": ["78bc5f711", "842265631", "8e65d9ff9"], "source_commits": ["8e65d9ff9"], "source_entry_id": "16.5/changes/014", "db_id": "15d8c4c6cf903158277b6e909a013ad7", "patch_ids": ["0521f860a61fe689b45a579c25ca483e"], "statement_hash": "b46a6dcc5e981b5a0cc2da4f196d96c0778cd941c2383c4a1dd00f38acbeb5ce", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-ffd53f421ada5fe4", "cves": [], "html": "<p>Fix detection of skewed data during parallel hash join (Thomas Munro) <a href=\"https://postgr.es/c/53edc9485\">§</a></p>\n<p>After repartitioning the inner side of a hash join because one partition has accumulated too many tuples, we check to see if all the partition's tuples went into the same child partition, which suggests that they all have the same hash value and further repartitioning cannot improve matters. This check malfunctioned in some cases, allowing repeated futile repartitioning which would eventually end in a resource-exhaustion error.</p>", "text": "Fix detection of skewed data during parallel hash join (Thomas Munro) § After repartitioning the inner side of a hash join because one partition has accumulated too many tuples, we check to see if all the partition's tuples went into the same child partition, which suggests that they all have the same hash value and further repartitioning cannot improve matters. This check malfunctioned in some cases, allowing repeated futile repartitioning which would eventually end in a resource-exhaustion error.", "title": "Fix detection of skewed data during parallel hash join", "commits": ["53edc9485"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "6c20617b7264c027fa038b657732599327b4a856f8cc0df3f0fcda8cde518055", "section_path": ["Changes"], "commit_groups": [["1831545ca", "20d948994", "45329466f", "4ac5d33a8", "4fa80a6d7", "53edc9485", "98c7c7152"]], "identity_text": "Fix detection of skewed data during parallel hash join (Thomas Munro) After repartitioning the inner side of a hash join because one partition has accumulated too many tuples, we check to see if all the partition's tuples went into the same child partition, which suggests that they all have the same hash value and further repartitioning cannot improve matters. This check malfunctioned in some cases, allowing repeated futile repartitioning which would eventually end in a resource-exhaustion error.", "commit_aliases": ["1831545ca", "20d948994", "45329466f", "4ac5d33a8", "4fa80a6d7", "53edc9485", "98c7c7152"], "source_commits": ["53edc9485"], "source_entry_id": "16.5/changes/015", "db_id": "a96042f3ea4378e7a4b4b4338d73d449", "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca", "relations": [{"rule": 2, "type": "equivalent", "target": "03ee90d315a15e51dce8adcb971d89f1", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "048fdbfa8e9162623b00f1d70e94b6ac", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "b05be16ba65111ded4a1d3c19fdb9312", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "e30b28541dd86d403967862c42bc08f9", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "fa86fc8bc18de09fe710b60de685febf", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "e30b28541dd86d403967862c42bc08f9", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix detection of skewed data during parallel hash join", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=17.1#17.1-1201638a8dc57296", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "fa86fc8bc18de09fe710b60de685febf", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix detection of skewed data during parallel hash join", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=15.9#15.9-9665ea658426cf4b", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "b05be16ba65111ded4a1d3c19fdb9312", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix detection of skewed data during parallel hash join", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=14.14#14.14-155d262faf162f65", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "03ee90d315a15e51dce8adcb971d89f1", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix detection of skewed data during parallel hash join", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=13.17#13.17-e6044003af017b6b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "048fdbfa8e9162623b00f1d70e94b6ac", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix detection of skewed data during parallel hash join", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=12.21#12.21-73d99a8f643a7855", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-ccef9bc62787856d", "cves": [], "html": "<p>Disallow locale names containing non-ASCII characters (Thomas Munro) <a href=\"https://postgr.es/c/ce17de580\">§</a></p>\n<p>This is only an issue on Windows, as such locale names are not used elsewhere. They are problematic because it's quite unclear what encoding such names are represented in (since the locale itself defines the encoding to use). In recent <span>PostgreSQL</span> releases, an abort in the Windows runtime library could occur because of confusion about that.</p>\n<p>Anyone who encounters the new error message should either create a new duplicated locale with an ASCII-only name using Windows Locale Builder, or consider using BCP 47-compliant locale names like <code>tr-TR</code>.</p>", "text": "Disallow locale names containing non-ASCII characters (Thomas Munro) § This is only an issue on Windows, as such locale names are not used elsewhere. They are problematic because it's quite unclear what encoding such names are represented in (since the locale itself defines the encoding to use). In recent PostgreSQL releases, an abort in the Windows runtime library could occur because of confusion about that. Anyone who encounters the new error message should either create a new duplicated locale with an ASCII-only name using Windows Locale Builder, or consider using BCP 47-compliant locale names like tr-TR.", "title": "Disallow locale names containing non-ASCII characters", "commits": ["ce17de580"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "98134826901c10ea0014f70b11ff86d38f68a6c9f577286e80c554a12dfe1187", "section_path": ["Changes"], "commit_groups": [["9c7acc333", "adbb27ac8", "ce17de580"]], "identity_text": "Disallow locale names containing non-ASCII characters (Thomas Munro) This is only an issue on Windows, as such locale names are not used elsewhere. They are problematic because it's quite unclear what encoding such names are represented in (since the locale itself defines the encoding to use). In recent PostgreSQL releases, an abort in the Windows runtime library could occur because of confusion about that. Anyone who encounters the new error message should either create a new duplicated locale with an ASCII-only name using Windows Locale Builder, or consider using BCP 47-compliant locale names like tr-TR.", "commit_aliases": ["9c7acc333", "adbb27ac8", "ce17de580"], "source_commits": ["ce17de580"], "source_entry_id": "16.5/changes/016", "db_id": "8023ac49299b71cd3d7f252dab6d3757", "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec", "relations": [{"rule": 2, "type": "equivalent", "target": "30f3b497567449c72903a88dabba8b6c", "evidence": {"same_day": true, "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "30f3b497567449c72903a88dabba8b6c", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Disallow locale names containing non-ASCII characters", "evidence": {"same_day": true, "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec"}, "url": "/docs/compare/?release=17.1#17.1-e5a214ba706d7473", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}]}, {"id": "16.5-6e05c8fb8dbf997f", "cves": [], "html": "<p>Fix race condition in committing a serializable transaction (Heikki Linnakangas) <a href=\"https://postgr.es/c/22665f210\">§</a></p>\n<p>Mis-processing of a recently committed transaction could lead to an assertion failure or a <span>“<span>could not access status of transaction</span>”</span> error.</p>", "text": "Fix race condition in committing a serializable transaction (Heikki Linnakangas) § Mis-processing of a recently committed transaction could lead to an assertion failure or a “could not access status of transaction” error.", "title": "Fix race condition in committing a serializable transaction", "commits": ["22665f210"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "012f675fc03dd3dc0dcfeae0837453836ec18f5966389ff41be958d2775b0068", "section_path": ["Changes"], "commit_groups": [["1a43de5e0", "22665f210", "234f6d09e", "520ec2474", "8e607a5a4", "d97419b85", "e2ec3afeb"]], "identity_text": "Fix race condition in committing a serializable transaction (Heikki Linnakangas) Mis-processing of a recently committed transaction could lead to an assertion failure or a could not access status of transaction error.", "commit_aliases": ["1a43de5e0", "22665f210", "234f6d09e", "520ec2474", "8e607a5a4", "d97419b85", "e2ec3afeb"], "source_commits": ["22665f210"], "source_entry_id": "16.5/changes/017", "db_id": "380c69c0cf382608fe08f3d07bad3f89", "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f", "relations": [{"rule": 2, "type": "equivalent", "target": "27eb3d253909c90211a31b92e07b5435", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "2f2fe7df64cf13ea880ead2a8d3d62e9", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "9d7aef7128d747f9da974e84661075b5", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "aa302a2149b51d8fa114ce51bd412401", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "c64ee6e02d4ad8836d4e6457c472a782", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "27eb3d253909c90211a31b92e07b5435", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix race condition in committing a serializable transaction", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=17.1#17.1-ecfde73d7e43d4db", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "2f2fe7df64cf13ea880ead2a8d3d62e9", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix race condition in committing a serializable transaction", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=15.9#15.9-7f680ba4913bffb0", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "c64ee6e02d4ad8836d4e6457c472a782", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix race condition in committing a serializable transaction", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=14.14#14.14-46c1b12f7598344b", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "9d7aef7128d747f9da974e84661075b5", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix race condition in committing a serializable transaction", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=13.17#13.17-931669dbd60ef42e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "aa302a2149b51d8fa114ce51bd412401", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix race condition in committing a serializable transaction", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=12.21#12.21-644a55d942e8f80b", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-5b237a45542da2c0", "cves": [], "html": "<p>Fix race condition in <code>COMMIT PREPARED</code> that resulted in orphaned 2PC files (wuchengwen) <a href=\"https://postgr.es/c/7de9b64a5\">§</a></p>\n<p>A concurrent <code>PREPARE TRANSACTION</code> could cause <code>COMMIT PREPARED</code> to not remove the on-disk two-phase state file for the completed transaction. There was no immediate ill effect, but a subsequent crash-and-recovery could fail with <span>“<span>could not access status of transaction</span>”</span>, requiring manual removal of the orphaned file to restore service.</p>", "text": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files (wuchengwen) § A concurrent PREPARE TRANSACTION could cause COMMIT PREPARED to not remove the on-disk two-phase state file for the completed transaction. There was no immediate ill effect, but a subsequent crash-and-recovery could fail with “could not access status of transaction”, requiring manual removal of the orphaned file to restore service.", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "commits": ["7de9b64a5"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "fba04ece609b9fd03caa8266afeaf5082c49ec8f844b25b2efef6894acc8a0a2", "section_path": ["Changes"], "commit_groups": [["34d751ba7", "41ab45680", "5f1510787", "7bfaa4671", "7de9b64a5", "cf4401fe6", "f250cb29d"]], "identity_text": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files (wuchengwen) A concurrent PREPARE TRANSACTION could cause COMMIT PREPARED to not remove the on-disk two-phase state file for the completed transaction. There was no immediate ill effect, but a subsequent crash-and-recovery could fail with could not access status of transaction, requiring manual removal of the orphaned file to restore service.", "commit_aliases": ["34d751ba7", "41ab45680", "5f1510787", "7bfaa4671", "7de9b64a5", "cf4401fe6", "f250cb29d"], "source_commits": ["7de9b64a5"], "source_entry_id": "16.5/changes/018", "db_id": "76d396403610291a5a7c4f03a06cb422", "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee", "relations": [{"rule": 2, "type": "equivalent", "target": "763ffedfbb0f41b4be36e6b088363681", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "bea0f2d5ddea7da80e3feff830b6d010", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "c05f86a4de6b5f601947b64d282719ca", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "d637378d79e21e218865b8859bf16c95", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "fee42a020ebd314e966a67dc4fd89ce0", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "bea0f2d5ddea7da80e3feff830b6d010", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=17.1#17.1-88bc5224bd702550", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "d637378d79e21e218865b8859bf16c95", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=15.9#15.9-487e139b97d2565d", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "763ffedfbb0f41b4be36e6b088363681", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=14.14#14.14-e59a7ce835379266", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "c05f86a4de6b5f601947b64d282719ca", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=13.17#13.17-69d902e126a99392", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "fee42a020ebd314e966a67dc4fd89ce0", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=12.21#12.21-de738b840880f990", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-c5c6df0edba188ad", "cves": [], "html": "<p>Avoid invalid memory accesses after skipping an invalid toast index during <code>VACUUM FULL</code> (Tender Wang) <a href=\"https://postgr.es/c/afbd3dc7d\">§</a></p>\n<p>A list tracking yet-to-be-rebuilt indexes was not properly updated in this code path, risking assertion failures or crashes later on.</p>", "text": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL (Tender Wang) § A list tracking yet-to-be-rebuilt indexes was not properly updated in this code path, risking assertion failures or crashes later on.", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "commits": ["afbd3dc7d"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "27ed4005cde171633169210b726419b962137bcad7ae7c7a1031e91654bb6e26", "section_path": ["Changes"], "commit_groups": [["09620ea09", "1532599a8", "2f33e68a5", "6530b869c", "911eda9f3", "a613edc5c", "afbd3dc7d"]], "identity_text": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL (Tender Wang) A list tracking yet-to-be-rebuilt indexes was not properly updated in this code path, risking assertion failures or crashes later on.", "commit_aliases": ["09620ea09", "1532599a8", "2f33e68a5", "6530b869c", "911eda9f3", "a613edc5c", "afbd3dc7d"], "source_commits": ["afbd3dc7d"], "source_entry_id": "16.5/changes/019", "db_id": "0b3f94fa1108fab11a7b96dd657b84a7", "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830", "relations": [{"rule": 2, "type": "equivalent", "target": "106d9520e3c63f93b40539e2e4af49e0", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "1446a781b5279a1f8b293d6edeb8e669", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "2aaf09439019047f1fc7a22a4ccdb591", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "d36f2ced4ebc024e44bc91d6067e5445", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "e25dfeb7ac4ac21c564edacd49428b4d", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "e25dfeb7ac4ac21c564edacd49428b4d", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=17.1#17.1-c8cc3d6338bd9132", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "d36f2ced4ebc024e44bc91d6067e5445", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=15.9#15.9-277b63b16c5cf6b2", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "1446a781b5279a1f8b293d6edeb8e669", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=14.14#14.14-6b1daddcdf483623", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "106d9520e3c63f93b40539e2e4af49e0", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=13.17#13.17-eb3d25b2db47e7fb", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2aaf09439019047f1fc7a22a4ccdb591", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=12.21#12.21-8e2f6fd17a9d3c8d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-f36a0a1cb407bc0d", "cves": [], "html": "<p>Fix ways in which an <span>“<span>in place</span>”</span> catalog update could be lost (Noah Misch) <a href=\"https://postgr.es/c/63f019805\">§</a> <a href=\"https://postgr.es/c/51ff46de2\">§</a> <a href=\"https://postgr.es/c/4c922821e\">§</a> <a href=\"https://postgr.es/c/2d63c964f\">§</a> <a href=\"https://postgr.es/c/370bc7740\">§</a> <a href=\"https://postgr.es/c/6c837c237\">§</a> <a href=\"https://postgr.es/c/f8f9110b4\">§</a></p>\n<p>Normal row updates write a new version of the row to preserve rollback-ability of the transaction. However, certain system catalog updates are intentionally non-transactional and are done with an in-place update of the row. These patches fix race conditions that could cause the effects of an in-place update to be lost. As an example, it was possible to forget having set <code>pg_class</code>.<code>relhasindex</code> to true, preventing updates of the new index and thus causing index corruption.</p>", "text": "Fix ways in which an “in place” catalog update could be lost (Noah Misch) § § § § § § § Normal row updates write a new version of the row to preserve rollback-ability of the transaction. However, certain system catalog updates are intentionally non-transactional and are done with an in-place update of the row. These patches fix race conditions that could cause the effects of an in-place update to be lost. As an example, it was possible to forget having set pg_class.relhasindex to true, preventing updates of the new index and thus causing index corruption.", "title": "Fix ways in which an “in place” catalog update could be lost", "commits": ["2d63c964f", "370bc7740", "4c922821e", "51ff46de2", "63f019805", "6c837c237", "f8f9110b4"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "37cad9fbeecaff2a28adf0a08a859e5a9ea7655d035c9f1e11423e7b314237d4", "section_path": ["Changes"], "commit_groups": [["0bcb9d079", "6b01cac0b", "6c837c237", "6d5b4031b", "b412f402d", "bb3054297", "d729f1ea5"], ["0d5a3d757", "159bf0f31", "4c922821e", "5a33a39a8", "b9ee1339b", "da99df15c", "db1992455"], ["0fe002d0c", "11e3f288f", "2a912bc1a", "30d47ec8c", "370bc7740", "9aef6f19a", "c2139db11"], ["14c57cb63", "3b7a689e1", "51ff46de2", "5c837f8fa", "aac2c9b4f", "cafcc3ad0", "f51b34b3e"], ["2d63c964f", "3e5ea478d", "a0c0078b1", "ad24b7565", "d34ffbaa1", "e11907682", "e947224cb"], ["4dc0c933f", "54bc22fbf", "766809db3", "803655e66", "825c72c07", "d14e94ac4", "f8f9110b4"], ["63f019805", "7354b680a", "82c2d9e02", "8590c942c", "a07e03fd8", "a8ad1929d", "fd27b878c"]], "identity_text": "Fix ways in which an in place catalog update could be lost (Noah Misch) Normal row updates write a new version of the row to preserve rollback-ability of the transaction. However, certain system catalog updates are intentionally non-transactional and are done with an in-place update of the row. These patches fix race conditions that could cause the effects of an in-place update to be lost. As an example, it was possible to forget having set pg_class.relhasindex to true, preventing updates of the new index and thus causing index corruption.", "commit_aliases": ["0bcb9d079", "0d5a3d757", "0fe002d0c", "11e3f288f", "14c57cb63", "159bf0f31", "2a912bc1a", "2d63c964f", "30d47ec8c", "370bc7740", "3b7a689e1", "3e5ea478d", "4c922821e", "4dc0c933f", "51ff46de2", "54bc22fbf", "5a33a39a8", "5c837f8fa", "63f019805", "6b01cac0b", "6c837c237", "6d5b4031b", "7354b680a", "766809db3", "803655e66", "825c72c07", "82c2d9e02", "8590c942c", "9aef6f19a", "a07e03fd8", "a0c0078b1", "a8ad1929d", "aac2c9b4f", "ad24b7565", "b412f402d", "b9ee1339b", "bb3054297", "c2139db11", "cafcc3ad0", "d14e94ac4", "d34ffbaa1", "d729f1ea5", "da99df15c", "db1992455", "e11907682", "e947224cb", "f51b34b3e", "f8f9110b4", "fd27b878c"], "source_commits": ["2d63c964f", "370bc7740", "4c922821e", "51ff46de2", "63f019805", "6c837c237", "f8f9110b4"], "source_entry_id": "16.5/changes/020", "db_id": "264c00d4fe4a150e75d61a097ff123db", "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242", "relations": [{"rule": 2, "type": "equivalent", "target": "4da4c3bde6ab372410d0ea2f0c14cf1c", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "a4c7b80cea1f3d86e1ebeb039d46f949", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "d2a35756cee793f15aeedced3c6988ef", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "e51e9f0ae27bbcd0efa98e7f734afd4e", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "eb830ff75d360e6a0f3b6bfc80c31645", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "d2a35756cee793f15aeedced3c6988ef", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix ways in which an “in place” catalog update could be lost", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=17.1#17.1-4ba0c00b7077008e", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "eb830ff75d360e6a0f3b6bfc80c31645", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix ways in which an “in place” catalog update could be lost", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=15.9#15.9-c350ac7864190d74", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "e51e9f0ae27bbcd0efa98e7f734afd4e", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix ways in which an “in place” catalog update could be lost", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=14.14#14.14-08a0d7fc06fd04f8", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "a4c7b80cea1f3d86e1ebeb039d46f949", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix ways in which an “in place” catalog update could be lost", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=13.17#13.17-ceead3a3466e6797", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "4da4c3bde6ab372410d0ea2f0c14cf1c", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix ways in which an “in place” catalog update could be lost", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=12.21#12.21-608f82caf4cfab8e", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-bd7eb976843daf16", "cves": [], "html": "<p>Reset catalog caches at end of recovery (Noah Misch) <a href=\"https://postgr.es/c/d36b4d8ec\">§</a></p>\n<p>This prevents scenarios wherein an in-place catalog update could be lost due to using stale data from a catalog cache.</p>", "text": "Reset catalog caches at end of recovery (Noah Misch) § This prevents scenarios wherein an in-place catalog update could be lost due to using stale data from a catalog cache.", "title": "Reset catalog caches at end of recovery", "commits": ["d36b4d8ec"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "a8cca282614a3ad27803f672b8005c97469ff3203344023448715910856d5fa9", "section_path": ["Changes"], "commit_groups": [["3baf804b7", "67f30c79a", "a4668c99f", "d36b4d8ec", "da9950456", "dca68242a"]], "identity_text": "Reset catalog caches at end of recovery (Noah Misch) This prevents scenarios wherein an in-place catalog update could be lost due to using stale data from a catalog cache.", "commit_aliases": ["3baf804b7", "67f30c79a", "a4668c99f", "d36b4d8ec", "da9950456", "dca68242a"], "source_commits": ["d36b4d8ec"], "source_entry_id": "16.5/changes/021", "db_id": "aa00e5eea147d8a44ee23eca484f52e9", "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8", "relations": [{"rule": 2, "type": "equivalent", "target": "03f38df95d5ba9b19ea98e287c5941dd", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "0f22f13259952ee505c2fd5ecc2f32c3", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "cd21f7315c06a0f5655474428e16bbac", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "d884bf75960c7349cddc766f955ef4bf", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "f79d9965bc861d1581bcbd5e1c99f922", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "f79d9965bc861d1581bcbd5e1c99f922", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Reset catalog caches at end of recovery", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=17.1#17.1-fdd8a7b553e4e858", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "0f22f13259952ee505c2fd5ecc2f32c3", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Reset catalog caches at end of recovery", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=15.9#15.9-07ec8d0cd51f899d", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "03f38df95d5ba9b19ea98e287c5941dd", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Reset catalog caches at end of recovery", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=14.14#14.14-481dc163cfe9e7eb", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "d884bf75960c7349cddc766f955ef4bf", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Reset catalog caches at end of recovery", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=13.17#13.17-c138e4e18d01025b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "cd21f7315c06a0f5655474428e16bbac", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Reset catalog caches at end of recovery", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=12.21#12.21-865e40421a2a7155", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-89c96f632f7ca5f9", "cves": [], "html": "<p>Avoid using parallel query while holding off interrupts (Francesco Degrassi, Noah Misch, Tom Lane) <a href=\"https://postgr.es/c/6f6521de9\">§</a> <a href=\"https://postgr.es/c/06424e9a2\">§</a></p>\n<p>This situation cannot arise normally, but it can be reached with test scenarios such as using a SQL-language function as B-tree support (which would be far too slow for production usage). If it did occur it would result in an indefinite wait.</p>", "text": "Avoid using parallel query while holding off interrupts (Francesco Degrassi, Noah Misch, Tom Lane) § § This situation cannot arise normally, but it can be reached with test scenarios such as using a SQL-language function as B-tree support (which would be far too slow for production usage). If it did occur it would result in an indefinite wait.", "title": "Avoid using parallel query while holding off interrupts", "commits": ["06424e9a2", "6f6521de9"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "cc95121d3557e01067b5b5f79cd4b175c5b8c838488c3c4dbddf4154c19c2783", "section_path": ["Changes"], "commit_groups": [["06424e9a2", "62685876f", "6e39ca6e7", "943b65358", "989ccd26c", "b8df69049", "bcbdb176e"], ["2370582ab", "507b72bd9", "5c698e898", "6f6521de9", "884860bfc", "916b8ae47", "ac04aa84a"]], "identity_text": "Avoid using parallel query while holding off interrupts (Francesco Degrassi, Noah Misch, Tom Lane) This situation cannot arise normally, but it can be reached with test scenarios such as using a SQL-language function as B-tree support (which would be far too slow for production usage). If it did occur it would result in an indefinite wait.", "commit_aliases": ["06424e9a2", "2370582ab", "507b72bd9", "5c698e898", "62685876f", "6e39ca6e7", "6f6521de9", "884860bfc", "916b8ae47", "943b65358", "989ccd26c", "ac04aa84a", "b8df69049", "bcbdb176e"], "source_commits": ["06424e9a2", "6f6521de9"], "source_entry_id": "16.5/changes/022", "db_id": "b3f625cf27046112c2282ec0557cc30f", "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0", "relations": [{"rule": 2, "type": "equivalent", "target": "16437a71fa6942226ce8d635a44db8db", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "24cc8c07aade56116be077eb7b3a6c97", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "934d89fc2549c8cbadcbf480ec891705", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "9c64f11a2ea10f08b521f113632af16e", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "cba213b0d62e0ab3a4bf32c1f5643e83", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "934d89fc2549c8cbadcbf480ec891705", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Avoid using parallel query while holding off interrupts", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=17.1#17.1-06c66c306e1e689d", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "24cc8c07aade56116be077eb7b3a6c97", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid using parallel query while holding off interrupts", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=15.9#15.9-28381949c89f78de", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "cba213b0d62e0ab3a4bf32c1f5643e83", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid using parallel query while holding off interrupts", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=14.14#14.14-e6ab251303d53866", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "9c64f11a2ea10f08b521f113632af16e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Avoid using parallel query while holding off interrupts", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=13.17#13.17-a3b4a4de7beb4cf2", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "16437a71fa6942226ce8d635a44db8db", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Avoid using parallel query while holding off interrupts", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=12.21#12.21-62e4bb5238c85fde", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-c59874c16bedd4d6", "cves": [], "html": "<p>Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages (Sami Imseih) <a href=\"https://postgr.es/c/21aad4bea\">§</a></p>\n<p>This allows more of the work done in extended query protocol to be attributed to the correct query.</p>", "text": "Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages (Sami Imseih) § This allows more of the work done in extended query protocol to be attributed to the correct query.", "title": "Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages", "commits": ["21aad4bea"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "a3a0b0998f297913dbeeb5c2d5f7a4ef6fa3520fa32719c3f55c691344234f8e", "section_path": ["Changes"], "commit_groups": [["21aad4bea", "7db9bfc1f", "933848d16", "b36ee879c", "cbcd4bb41"]], "identity_text": "Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages (Sami Imseih) This allows more of the work done in extended query protocol to be attributed to the correct query.", "commit_aliases": ["21aad4bea", "7db9bfc1f", "933848d16", "b36ee879c", "cbcd4bb41"], "source_commits": ["21aad4bea"], "source_entry_id": "16.5/changes/023", "db_id": "59109e6f9850d8212157804b00267b81", "patch_ids": ["9893b1239dc5aceca69054e65546771d"], "statement_hash": "a3acaf91c926c265c3343d2d92723df6ad91ac3b750b22e8a540e7be0ba5b80b", "relations": [{"rule": 2, "type": "equivalent", "target": "374728d7d27f50a1c50baa09aa6eba42", "evidence": {"same_day": true, "patch_ids": ["9893b1239dc5aceca69054e65546771d"], "statement_hash": "a3acaf91c926c265c3343d2d92723df6ad91ac3b750b22e8a540e7be0ba5b80b"}}, {"rule": 2, "type": "equivalent", "target": "7099142cf1683f4166d3ad1a747ae70f", "evidence": {"same_day": true, "patch_ids": ["9893b1239dc5aceca69054e65546771d"], "statement_hash": "a3acaf91c926c265c3343d2d92723df6ad91ac3b750b22e8a540e7be0ba5b80b"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "7099142cf1683f4166d3ad1a747ae70f", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages", "evidence": {"same_day": true, "patch_ids": ["9893b1239dc5aceca69054e65546771d"], "statement_hash": "a3acaf91c926c265c3343d2d92723df6ad91ac3b750b22e8a540e7be0ba5b80b"}, "url": "/docs/compare/?release=15.9#15.9-3a87ac04cb50ea09", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "374728d7d27f50a1c50baa09aa6eba42", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Report the active query ID for statistics purposes at the start of processing of Bind and Execute protocol messages", "evidence": {"same_day": true, "patch_ids": ["9893b1239dc5aceca69054e65546771d"], "statement_hash": "a3acaf91c926c265c3343d2d92723df6ad91ac3b750b22e8a540e7be0ba5b80b"}, "url": "/docs/compare/?release=14.14#14.14-930e6f8a0a7a545e", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-2067fd91bcb7bde1", "cves": [], "html": "<p>Guard against stack overflow in <span>libxml2</span> with too-deeply-nested XML input (Tom Lane, with hat tip to Nick Wellnhofer) <a href=\"https://postgr.es/c/4c9bf947a\">§</a></p>\n<p>Use <code>xmlXPathCtxtCompile()</code> rather than <code>xmlXPathCompile()</code>, because the latter fails to protect itself against recursion-to-stack-overflow in <span>libxml2</span> releases before 2.13.4.</p>", "text": "Guard against stack overflow in libxml2 with too-deeply-nested XML input (Tom Lane, with hat tip to Nick Wellnhofer) § Use xmlXPathCtxtCompile() rather than xmlXPathCompile(), because the latter fails to protect itself against recursion-to-stack-overflow in libxml2 releases before 2.13.4.", "title": "Guard against stack overflow in libxml2 with too-deeply-nested XML input", "commits": ["4c9bf947a"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "3b5569c7a2b9517172813eb5aa32cc92b5d7abdc5e7aa88a3aec08ee3c01934f", "section_path": ["Changes"], "commit_groups": [["0206795d2", "4310dfa25", "4c9bf947a", "634804885", "7721fff06", "b9645dca1", "d5622acb3"]], "identity_text": "Guard against stack overflow in libxml2 with too-deeply-nested XML input (Tom Lane, with hat tip to Nick Wellnhofer) Use xmlXPathCtxtCompile() rather than xmlXPathCompile(), because the latter fails to protect itself against recursion-to-stack-overflow in libxml2 releases before 2.13.4.", "commit_aliases": ["0206795d2", "4310dfa25", "4c9bf947a", "634804885", "7721fff06", "b9645dca1", "d5622acb3"], "source_commits": ["4c9bf947a"], "source_entry_id": "16.5/changes/024", "db_id": "40dfa6b23d9e3bc3817169a1102b2032", "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef", "relations": [{"rule": 2, "type": "equivalent", "target": "284405867bc11c8393948bd5814d9f40", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}}, {"rule": 2, "type": "equivalent", "target": "630eda49517b961e9959fda824669fc1", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}}, {"rule": 2, "type": "equivalent", "target": "8a1ca140f9102ce17d1751cc83badecc", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}}, {"rule": 2, "type": "equivalent", "target": "bce36664e6517b944dbea324e877997c", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "630eda49517b961e9959fda824669fc1", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Guard against stack overflow in libxml2 with too-deeply-nested XML input", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}, "url": "/docs/compare/?release=15.9#15.9-a4c6d13dfc4ff450", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "8a1ca140f9102ce17d1751cc83badecc", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Guard against stack overflow in libxml2 with too-deeply-nested XML input", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}, "url": "/docs/compare/?release=14.14#14.14-76d6754f1abd705e", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "284405867bc11c8393948bd5814d9f40", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Guard against stack overflow in libxml2 with too-deeply-nested XML input", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}, "url": "/docs/compare/?release=13.17#13.17-89e363b82c1b24e0", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "bce36664e6517b944dbea324e877997c", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Guard against stack overflow in libxml2 with too-deeply-nested XML input", "evidence": {"same_day": true, "patch_ids": ["89f6197fe179277beb1025522a4e5108"], "statement_hash": "d7e4a3259f68be32572ee03fbdd0a2c55e1b6227b3dbcc4108ccb011321b09ef"}, "url": "/docs/compare/?release=12.21#12.21-c3eb63761e953199", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-3c548aed72e5b7f5", "cves": [], "html": "<p>Fix some whitespace issues in the result of <code>XMLSERIALIZE(... INDENT)</code> (Jim Jones) <a href=\"https://postgr.es/c/06c285018\">§</a></p>\n<p>Fix failure to indent nodes separated by whitespace, and ensure that a trailing newline is not added.</p>", "text": "Fix some whitespace issues in the result of XMLSERIALIZE(... INDENT) (Jim Jones) § Fix failure to indent nodes separated by whitespace, and ensure that a trailing newline is not added.", "title": "Fix some whitespace issues in the result of XMLSERIALIZE(... INDENT)", "commits": ["06c285018"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "471adc56d89ac9b8c3d23f418cf727cdb97c0ed4b89d74d0b102280667dab7e0", "section_path": ["Changes"], "commit_groups": [["06c285018", "946f150aa", "bccca780e"]], "identity_text": "Fix some whitespace issues in the result of XMLSERIALIZE(... INDENT) (Jim Jones) Fix failure to indent nodes separated by whitespace, and ensure that a trailing newline is not added.", "commit_aliases": ["06c285018", "946f150aa", "bccca780e"], "source_commits": ["06c285018"], "source_entry_id": "16.5/changes/025", "db_id": "c173d4579fd81d186f89d4d5b7183095", "patch_ids": ["1d0512d8fd15151197a14bc0b417ccad"], "statement_hash": "29f6dbfb5d1d42cd8c6fb9939f0b28e587af1dc6fb92902af1a397eaa2265b27", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-5e1614ec39af4175", "cves": [], "html": "<p>Do not ignore a concurrent <code>REINDEX CONCURRENTLY</code> that is working on an index with predicates or expressions (Michail Nikolaev) <a href=\"https://postgr.es/c/edb0f6e41\">§</a></p>\n<p>Normally, <code>REINDEX CONCURRENTLY</code> does not need to wait for other <code>REINDEX CONCURRENTLY</code> operations on other tables. However, this optimization is not applied if the other <code>REINDEX CONCURRENTLY</code> is processing an index with predicates or expressions, on the chance that such expressions contain user-defined code that accesses other tables. Careless coding created a race condition such that that rule was not applied uniformly, possibly allowing inconsistent behavior.</p>", "text": "Do not ignore a concurrent REINDEX CONCURRENTLY that is working on an index with predicates or expressions (Michail Nikolaev) § Normally, REINDEX CONCURRENTLY does not need to wait for other REINDEX CONCURRENTLY operations on other tables. However, this optimization is not applied if the other REINDEX CONCURRENTLY is processing an index with predicates or expressions, on the chance that such expressions contain user-defined code that accesses other tables. Careless coding created a race condition such that that rule was not applied uniformly, possibly allowing inconsistent behavior.", "title": "Do not ignore a concurrent REINDEX CONCURRENTLY that is working on an index with predicates or expressions", "commits": ["edb0f6e41"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "ee790eb9afad627783f2b5bdc44774679759f37b4877d19afe08f6a71a42f6d1", "section_path": ["Changes"], "commit_groups": [["239837a70", "5bbdfa8a1", "902151548", "cd6b2ae3e", "edb0f6e41"]], "identity_text": "Do not ignore a concurrent REINDEX CONCURRENTLY that is working on an index with predicates or expressions (Michail Nikolaev) Normally, REINDEX CONCURRENTLY does not need to wait for other REINDEX CONCURRENTLY operations on other tables. However, this optimization is not applied if the other REINDEX CONCURRENTLY is processing an index with predicates or expressions, on the chance that such expressions contain user-defined code that accesses other tables. Careless coding created a race condition such that that rule was not applied uniformly, possibly allowing inconsistent behavior.", "commit_aliases": ["239837a70", "5bbdfa8a1", "902151548", "cd6b2ae3e", "edb0f6e41"], "source_commits": ["edb0f6e41"], "source_entry_id": "16.5/changes/026", "db_id": "588fadb90829696d788d1fe7c5825d6a", "patch_ids": ["1055a870265782fbdf120a439a651c48"], "statement_hash": "275036d5d2e52a1b4d21e1ba60abde47e5ef9a477605b7db79a2a4429207fa44", "relations": [{"rule": 2, "type": "equivalent", "target": "8bb76d0423bd195d0c00589b7e1871aa", "evidence": {"same_day": true, "patch_ids": ["1055a870265782fbdf120a439a651c48"], "statement_hash": "275036d5d2e52a1b4d21e1ba60abde47e5ef9a477605b7db79a2a4429207fa44"}}, {"rule": 2, "type": "equivalent", "target": "a8bddca610f29937060589a193a691b3", "evidence": {"same_day": true, "patch_ids": ["1055a870265782fbdf120a439a651c48"], "statement_hash": "275036d5d2e52a1b4d21e1ba60abde47e5ef9a477605b7db79a2a4429207fa44"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "8bb76d0423bd195d0c00589b7e1871aa", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Do not ignore a concurrent REINDEX CONCURRENTLY that is working on an index with predicates or expressions", "evidence": {"same_day": true, "patch_ids": ["1055a870265782fbdf120a439a651c48"], "statement_hash": "275036d5d2e52a1b4d21e1ba60abde47e5ef9a477605b7db79a2a4429207fa44"}, "url": "/docs/compare/?release=15.9#15.9-48d4b5cce8b7ce5f", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "a8bddca610f29937060589a193a691b3", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Do not ignore a concurrent REINDEX CONCURRENTLY that is working on an index with predicates or expressions", "evidence": {"same_day": true, "patch_ids": ["1055a870265782fbdf120a439a651c48"], "statement_hash": "275036d5d2e52a1b4d21e1ba60abde47e5ef9a477605b7db79a2a4429207fa44"}, "url": "/docs/compare/?release=14.14#14.14-c694cac5e2921768", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-1498377e7b30328c", "cves": [], "html": "<p>Fix mis-deparsing of <code>ORDER BY</code> lists when there is a name conflict (Tom Lane) <a href=\"https://postgr.es/c/9fe6319dc\">§</a></p>\n<p>If an <code>ORDER BY</code> item in <code>SELECT</code> is a bare identifier, the parser first seeks it as an output column name of the <code>SELECT</code>, for SQL92 compatibility. However, ruleutils.c expects the SQL99 interpretation where such a name is an input column name. So it was possible to produce an incorrect display of a view in the (rather ill-advised) case where some other column is renamed in the <code>SELECT</code> output list to match an input column used in <code>ORDER BY</code>. Fix by table-qualifying such names in the dumped view text.</p>", "text": "Fix mis-deparsing of ORDER BY lists when there is a name conflict (Tom Lane) § If an ORDER BY item in SELECT is a bare identifier, the parser first seeks it as an output column name of the SELECT, for SQL92 compatibility. However, ruleutils.c expects the SQL99 interpretation where such a name is an input column name. So it was possible to produce an incorrect display of a view in the (rather ill-advised) case where some other column is renamed in the SELECT output list to match an input column used in ORDER BY. Fix by table-qualifying such names in the dumped view text.", "title": "Fix mis-deparsing of ORDER BY lists when there is a name conflict", "commits": ["9fe6319dc"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "b01ffcf9bbce691bc3c2e328e714e448d7b92ac4c8303a70112d93f1b3c72182", "section_path": ["Changes"], "commit_groups": [["43f2e7634", "9fe6319dc", "a7eb63356"]], "identity_text": "Fix mis-deparsing of ORDER BY lists when there is a name conflict (Tom Lane) If an ORDER BY item in SELECT is a bare identifier, the parser first seeks it as an output column name of the SELECT, for SQL92 compatibility. However, ruleutils.c expects the SQL99 interpretation where such a name is an input column name. So it was possible to produce an incorrect display of a view in the (rather ill-advised) case where some other column is renamed in the SELECT output list to match an input column used in ORDER BY. Fix by table-qualifying such names in the dumped view text.", "commit_aliases": ["43f2e7634", "9fe6319dc", "a7eb63356"], "source_commits": ["9fe6319dc"], "source_entry_id": "16.5/changes/027", "db_id": "471fbdd482ed04d22330ebc03b892c00", "patch_ids": ["12603f0ef5a939dd3503b245840c94ce"], "statement_hash": "c4c4257bea9a645457ce7939cb3b36410f9b1730eee5f0f67dac32933a6e92ea", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-2cdf90ede335175a", "cves": [], "html": "<p>Fix <span>“<span>failed to find plan for subquery/CTE</span>”</span> errors in <code>EXPLAIN</code> (Richard Guo, Tom Lane) <a href=\"https://postgr.es/c/9db6650a5\">§</a> <a href=\"https://postgr.es/c/03f679475\">§</a></p>\n<p>This case arose while trying to print references to fields of a RECORD-type output of a subquery when the subquery has been optimized out of the plan altogether (which is possible at least in the case that it has a constant-false <code>WHERE</code> condition). Nothing remains in the plan to identify the original field names, so fall back to printing <code>f<em><code>N</code></em></code> for the <em><code>N</code></em>'th record column. (That's actually the right thing anyway, if the record output arose from a <code>ROW()</code> constructor.)</p>", "text": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN (Richard Guo, Tom Lane) § § This case arose while trying to print references to fields of a RECORD-type output of a subquery when the subquery has been optimized out of the plan altogether (which is possible at least in the case that it has a constant-false WHERE condition). Nothing remains in the plan to identify the original field names, so fall back to printing fN for the N'th record column. (That's actually the right thing anyway, if the record output arose from a ROW() constructor.)", "title": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN", "commits": ["03f679475", "9db6650a5"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "530477a64846f5ff4707751ea3b9fb4f7875b06c90c0eccdd59d92d9f3fcae9a", "section_path": ["Changes"], "commit_groups": [["016f44364", "16e67bc5f", "9db6650a5", "aed881386", "b2be5cb2a", "bc5446a21"], ["03f679475", "12010f414", "120dd0337", "3ad35d502", "7408772de", "81a12a447", "b919a97a6"]], "identity_text": "Fix failed to find plan for subquery/CTE errors in EXPLAIN (Richard Guo, Tom Lane) This case arose while trying to print references to fields of a RECORD-type output of a subquery when the subquery has been optimized out of the plan altogether (which is possible at least in the case that it has a constant-false WHERE condition). Nothing remains in the plan to identify the original field names, so fall back to printing fN for the N'th record column. (That's actually the right thing anyway, if the record output arose from a ROW() constructor.)", "commit_aliases": ["016f44364", "03f679475", "12010f414", "120dd0337", "16e67bc5f", "3ad35d502", "7408772de", "81a12a447", "9db6650a5", "aed881386", "b2be5cb2a", "b919a97a6", "bc5446a21"], "source_commits": ["03f679475", "9db6650a5"], "source_entry_id": "16.5/changes/028", "db_id": "20437cd2932c21a684d5cbcb1b232062", "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3", "relations": [{"rule": 2, "type": "equivalent", "target": "89f804f6f43a10a99ad741244445ba00", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}}, {"rule": 2, "type": "equivalent", "target": "ac5769f43019e5f23e9a0fe73092e7ca", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}}, {"rule": 2, "type": "equivalent", "target": "e45708974263bd78f635258cebcf0b79", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}}, {"rule": 2, "type": "equivalent", "target": "f6cda6332c8c789dc6ceacd8cb136c70", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "89f804f6f43a10a99ad741244445ba00", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}, "url": "/docs/compare/?release=15.9#15.9-ffde905b818f17ab", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "f6cda6332c8c789dc6ceacd8cb136c70", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}, "url": "/docs/compare/?release=14.14#14.14-9f33cae8074522d6", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "ac5769f43019e5f23e9a0fe73092e7ca", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}, "url": "/docs/compare/?release=13.17#13.17-bf39855040bac5b5", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "e45708974263bd78f635258cebcf0b79", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix “failed to find plan for subquery/CTE” errors in EXPLAIN", "evidence": {"same_day": true, "patch_ids": ["c02585f2d3502e9a984ab065bafafee1", "d44264fd77792ea19a4bcd3e21e1132e"], "statement_hash": "f2bc8910ea63d256031232e8d93571fc67a0186e4f19da43ac639f818f785ae3"}, "url": "/docs/compare/?release=12.21#12.21-80ef0195f813208d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-2661b11912ac799d", "cves": [], "html": "<p>Disallow a <code>USING</code> clause when altering the type of a generated column (Peter Eisentraut) <a href=\"https://postgr.es/c/5867ee005\">§</a></p>\n<p>A generated column already has an expression specifying the column contents, so including <code>USING</code> doesn't make sense.</p>", "text": "Disallow a USING clause when altering the type of a generated column (Peter Eisentraut) § A generated column already has an expression specifying the column contents, so including USING doesn't make sense.", "title": "Disallow a USING clause when altering the type of a generated column", "commits": ["5867ee005"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "440a0c7d9128181d4bc4440ebcd43dc70860a6af9d5fc4ef83fbbf09347ba048", "section_path": ["Changes"], "commit_groups": [["1c57ae795", "4d68a0432", "5867ee005", "7589d5c5b", "cf49a606c", "ecd19a3cc", "fdbf7e46a"]], "identity_text": "Disallow a USING clause when altering the type of a generated column (Peter Eisentraut) A generated column already has an expression specifying the column contents, so including USING doesn't make sense.", "commit_aliases": ["1c57ae795", "4d68a0432", "5867ee005", "7589d5c5b", "cf49a606c", "ecd19a3cc", "fdbf7e46a"], "source_commits": ["5867ee005"], "source_entry_id": "16.5/changes/029", "db_id": "d3d2269b03644a330ddfb5b92e0335e0", "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d", "relations": [{"rule": 2, "type": "equivalent", "target": "4fa3666fc411a964e89b0f8b36573a87", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}}, {"rule": 2, "type": "equivalent", "target": "590d700585eb31db78a313098629f34b", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}}, {"rule": 2, "type": "equivalent", "target": "adcb28ae0f0b3aaa94e625195f50cfa8", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}}, {"rule": 2, "type": "equivalent", "target": "f91625a9d72cb7e07d828e4724fb1c4a", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "f91625a9d72cb7e07d828e4724fb1c4a", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Disallow a USING clause when altering the type of a generated column", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}, "url": "/docs/compare/?release=15.9#15.9-5bb23199732848ea", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "adcb28ae0f0b3aaa94e625195f50cfa8", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Disallow a USING clause when altering the type of a generated column", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}, "url": "/docs/compare/?release=14.14#14.14-03771aa746105d7a", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "4fa3666fc411a964e89b0f8b36573a87", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Disallow a USING clause when altering the type of a generated column", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}, "url": "/docs/compare/?release=13.17#13.17-dc1cb312513d3c1b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "590d700585eb31db78a313098629f34b", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Disallow a USING clause when altering the type of a generated column", "evidence": {"same_day": true, "patch_ids": ["f346192daaed534da9b954e32a5dc49f"], "statement_hash": "90fa98e04389e8615bd5982a0eb26b6267823f1954bdd94909544227bce1284d"}, "url": "/docs/compare/?release=12.21#12.21-579dc6d417705681", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-c4b555a66d26fe62", "cves": [], "html": "<p>Ignore not-yet-defined Portals in the <code>pg_cursors</code> view (Tom Lane) <a href=\"https://postgr.es/c/5de77b609\">§</a></p>\n<p>It is possible for user-defined code that inspects this view to be called while a new cursor is being set up, and if that happens a null pointer dereference would ensue. Avoid the problem by defining the view to exclude incompletely-set-up cursors.</p>", "text": "Ignore not-yet-defined Portals in the pg_cursors view (Tom Lane) § It is possible for user-defined code that inspects this view to be called while a new cursor is being set up, and if that happens a null pointer dereference would ensue. Avoid the problem by defining the view to exclude incompletely-set-up cursors.", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "commits": ["5de77b609"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "fcdd2ba88c9804b1fc48e01ddce734cecdcaf2f25b51cb30d07eb38719786ec4", "section_path": ["Changes"], "commit_groups": [["3922c9e9f", "3daeb539a", "4a17acd0d", "5c17f5a63", "5de77b609", "aef75219c", "f8d9a9f21"]], "identity_text": "Ignore not-yet-defined Portals in the pg_cursors view (Tom Lane) It is possible for user-defined code that inspects this view to be called while a new cursor is being set up, and if that happens a null pointer dereference would ensue. Avoid the problem by defining the view to exclude incompletely-set-up cursors.", "commit_aliases": ["3922c9e9f", "3daeb539a", "4a17acd0d", "5c17f5a63", "5de77b609", "aef75219c", "f8d9a9f21"], "source_commits": ["5de77b609"], "source_entry_id": "16.5/changes/030", "db_id": "b75478fe3e881ec9e4d469c23af9882f", "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8", "relations": [{"rule": 2, "type": "equivalent", "target": "0867725684ed36138f7bb9cafd5966fb", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "40f352ad57f1a44a74ee73d5e8b2ba7a", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "8615a3985a1a6e36d471474894e4ae49", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "ab7451fa47782439c78a591f71331c6f", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "d675c60f3cd5aca2145214c45e0e293f", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "ab7451fa47782439c78a591f71331c6f", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=17.1#17.1-aef3a8801b632b69", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "0867725684ed36138f7bb9cafd5966fb", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=15.9#15.9-94ee5f9b5f7ea814", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "8615a3985a1a6e36d471474894e4ae49", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=14.14#14.14-2c83eaafe3f48038", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "40f352ad57f1a44a74ee73d5e8b2ba7a", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=13.17#13.17-650fc419fd974de2", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d675c60f3cd5aca2145214c45e0e293f", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Ignore not-yet-defined Portals in the pg_cursors view", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=12.21#12.21-1f7e358387ad1aa5", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-e9f3ddb51619afbf", "cves": [], "html": "<p>Fix incorrect output of the <code>pg_stat_io</code> view on 32-bit machines (Bertrand Drouvot) <a href=\"https://postgr.es/c/dd20f950d\">§</a></p>\n<p>The <code>stats_reset</code> timestamp column contained garbage on such hardware.</p>", "text": "Fix incorrect output of the pg_stat_io view on 32-bit machines (Bertrand Drouvot) § The stats_reset timestamp column contained garbage on such hardware.", "title": "Fix incorrect output of the pg_stat_io view on 32-bit machines", "commits": ["dd20f950d"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0d90b328ef1404fd671cd382a50414a00ee4b244dfcf7d0974212395d066045b", "section_path": ["Changes"], "commit_groups": [["129a2f667", "dd20f950d", "e69030cb5"]], "identity_text": "Fix incorrect output of the pg_stat_io view on 32-bit machines (Bertrand Drouvot) The stats_reset timestamp column contained garbage on such hardware.", "commit_aliases": ["129a2f667", "dd20f950d", "e69030cb5"], "source_commits": ["dd20f950d"], "source_entry_id": "16.5/changes/031", "db_id": "43d0112352771422090e9bfb4cbed9e3", "patch_ids": ["3d0ea13c1ffa10e06113e86d23aff05e"], "statement_hash": "c5519d8363849c2f626dd6fe63590a74d6d775ce0101e81b42df07ad2fb96a11", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-f8f2332fd1718a9d", "cves": [], "html": "<p>Prevent mis-encoding of <span>“<span>trailing junk after numeric literal</span>”</span> error messages (Karina Litskevich) <a href=\"https://postgr.es/c/4fd4d7653\">§</a></p>\n<p>We do not allow identifiers to appear immediately following numeric literals (there must be some whitespace between). If a multibyte character immediately followed a numeric literal, the syntax error message about it included only the first byte of that character, causing bad-encoding problems both in the report to the client and in the postmaster log file.</p>", "text": "Prevent mis-encoding of “trailing junk after numeric literal” error messages (Karina Litskevich) § We do not allow identifiers to appear immediately following numeric literals (there must be some whitespace between). If a multibyte character immediately followed a numeric literal, the syntax error message about it included only the first byte of that character, causing bad-encoding problems both in the report to the client and in the postmaster log file.", "title": "Prevent mis-encoding of “trailing junk after numeric literal” error messages", "commits": ["4fd4d7653"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "9761f560e64197fcd70da73c2347dad1603663b5098979bfa8efa7dba26162e0", "section_path": ["Changes"], "commit_groups": [["4fd4d7653", "7dcbf0afa", "f37ac613a", "fadff3fc9"]], "identity_text": "Prevent mis-encoding of trailing junk after numeric literal error messages (Karina Litskevich) We do not allow identifiers to appear immediately following numeric literals (there must be some whitespace between). If a multibyte character immediately followed a numeric literal, the syntax error message about it included only the first byte of that character, causing bad-encoding problems both in the report to the client and in the postmaster log file.", "commit_aliases": ["4fd4d7653", "7dcbf0afa", "f37ac613a", "fadff3fc9"], "source_commits": ["4fd4d7653"], "source_entry_id": "16.5/changes/032", "db_id": "ba5d3fec07dcfc54cc13cae738bc9e6e", "patch_ids": ["f60f1884c7b1c1957b812bfd85b3457e"], "statement_hash": "107f6cb2fc061145cd56311928e229b3f2a2c11c939fa1e7fd67af0a36a6e6a3", "relations": [{"rule": 2, "type": "equivalent", "target": "5eb104d042d135494232624998f41f16", "evidence": {"same_day": true, "patch_ids": ["f60f1884c7b1c1957b812bfd85b3457e"], "statement_hash": "107f6cb2fc061145cd56311928e229b3f2a2c11c939fa1e7fd67af0a36a6e6a3"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "5eb104d042d135494232624998f41f16", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Prevent mis-encoding of “trailing junk after numeric literal” error messages", "evidence": {"same_day": true, "patch_ids": ["f60f1884c7b1c1957b812bfd85b3457e"], "statement_hash": "107f6cb2fc061145cd56311928e229b3f2a2c11c939fa1e7fd67af0a36a6e6a3"}, "url": "/docs/compare/?release=15.9#15.9-0b0c43131a033c8f", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}]}, {"id": "16.5-b5adaeb0b0bfabbd", "cves": [], "html": "<p>Avoid <span>“<span>unexpected table_index_fetch_tuple call during logical decoding</span>”</span> error while decoding a transaction involving insertion of a column default value (Takeshi Ideriha, Hou Zhijie) <a href=\"https://postgr.es/c/0f0e253db\">§</a> <a href=\"https://postgr.es/c/0c40d9019\">§</a></p>", "text": "Avoid “unexpected table_index_fetch_tuple call during logical decoding” error while decoding a transaction involving insertion of a column default value (Takeshi Ideriha, Hou Zhijie) § §", "title": "Avoid “unexpected table_index_fetch_tuple call during logical decoding” error while decoding a transaction involving insertion of a column default value", "commits": ["0c40d9019", "0f0e253db"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "ad264d39da459761346ab801cf38cf7a046a27113cfede1766a6a2e5e952ba99", "section_path": ["Changes"], "commit_groups": [["022564f60", "0f0e253db", "8175a7d11", "918107759", "efe706e27"], ["0c40d9019", "581092c90", "5ce0dcc99", "c4b8a916f", "d759c1a0b"]], "identity_text": "Avoid unexpected table_index_fetch_tuple call during logical decoding error while decoding a transaction involving insertion of a column default value (Takeshi Ideriha, Hou Zhijie)", "commit_aliases": ["022564f60", "0c40d9019", "0f0e253db", "581092c90", "5ce0dcc99", "8175a7d11", "918107759", "c4b8a916f", "d759c1a0b", "efe706e27"], "source_commits": ["0c40d9019", "0f0e253db"], "source_entry_id": "16.5/changes/033", "db_id": "1d388d851aff311941271b2ba3e01b81", "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f", "relations": [{"rule": 2, "type": "equivalent", "target": "24d7fa327affe5b98a3617a4c8a6a445", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}, {"rule": 2, "type": "equivalent", "target": "b62f7643cc5d01e344e8f37a74db8520", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}, {"rule": 2, "type": "equivalent", "target": "d255bb5aa0be022d4f093ef7f8ad596c", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "b62f7643cc5d01e344e8f37a74db8520", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Avoid “unexpected table_index_fetch_tuple call during logical decoding” error while decoding a transaction involving insertion of a column default value", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=17.1#17.1-6db7422caf84bc75", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "24d7fa327affe5b98a3617a4c8a6a445", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid “unexpected table_index_fetch_tuple call during logical decoding” error while decoding a transaction involving insertion of a column default value", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=15.9#15.9-0bc695e76545b914", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "d255bb5aa0be022d4f093ef7f8ad596c", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid “unexpected table_index_fetch_tuple call during logical decoding” error while decoding a transaction involving insertion of a column default value", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=14.14#14.14-1900e3e9cc3eab4c", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-196b5d37b1ff6140", "cves": [], "html": "<p>Reduce memory consumption of logical decoding (Masahiko Sawada) <a href=\"https://postgr.es/c/05e982cdc\">§</a></p>\n<p>Use a smaller default block size to store tuple data received during logical replication. This reduces memory wastage, which has been reported to be severe while processing long-running transactions, even leading to out-of-memory failures.</p>", "text": "Reduce memory consumption of logical decoding (Masahiko Sawada) § Use a smaller default block size to store tuple data received during logical replication. This reduces memory wastage, which has been reported to be severe while processing long-running transactions, even leading to out-of-memory failures.", "title": "Reduce memory consumption of logical decoding", "commits": ["05e982cdc"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "f6b192c323fe8f8453cac08cfc65b8ec3615d30514de888db9028992bd2d2c94", "section_path": ["Changes"], "commit_groups": [["05e982cdc", "1b9b6cc34", "4a675f318", "53fa68b3b", "5c1ed0a51", "cb988b04d", "eef9cc4dc"]], "identity_text": "Reduce memory consumption of logical decoding (Masahiko Sawada) Use a smaller default block size to store tuple data received during logical replication. This reduces memory wastage, which has been reported to be severe while processing long-running transactions, even leading to out-of-memory failures.", "commit_aliases": ["05e982cdc", "1b9b6cc34", "4a675f318", "53fa68b3b", "5c1ed0a51", "cb988b04d", "eef9cc4dc"], "source_commits": ["05e982cdc"], "source_entry_id": "16.5/changes/034", "db_id": "3d9fd2ba6502c820c1ac0c749da6c3d2", "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690", "relations": [{"rule": 2, "type": "equivalent", "target": "31bd9403607ae022bbb2521df351cbfc", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "4727ddf86fcb969c81cd421d0cdb58de", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "97c3269bffd0c820b06905fbe2d464f9", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "9bf3080cc388d1bf67d4b4ef7f8fa15d", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "a4f89dcd882799f19e8888f9472f9d26", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "97c3269bffd0c820b06905fbe2d464f9", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Reduce memory consumption of logical decoding", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=17.1#17.1-d43fbbbbd1a290af", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "4727ddf86fcb969c81cd421d0cdb58de", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Reduce memory consumption of logical decoding", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=15.9#15.9-c58d70da65922c19", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "9bf3080cc388d1bf67d4b4ef7f8fa15d", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Reduce memory consumption of logical decoding", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=14.14#14.14-6255a3cff82754f5", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "31bd9403607ae022bbb2521df351cbfc", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Reduce memory consumption of logical decoding", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=13.17#13.17-f2d64b8488ba0701", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "a4f89dcd882799f19e8888f9472f9d26", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Reduce memory consumption of logical decoding", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=12.21#12.21-4155de347ff97daf", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-6d794289b34dbc0d", "cves": [], "html": "<p>In a logical replication apply worker, ensure that origin progress is not advanced during an error or apply worker shutdown (Hayato Kuroda, Shveta Malik) <a href=\"https://postgr.es/c/b39c5272c\">§</a></p>\n<p>This avoids possible loss of a transaction, since once the origin progress point is advanced the source server won't send that data again.</p>", "text": "In a logical replication apply worker, ensure that origin progress is not advanced during an error or apply worker shutdown (Hayato Kuroda, Shveta Malik) § This avoids possible loss of a transaction, since once the origin progress point is advanced the source server won't send that data again.", "title": "In a logical replication apply worker, ensure that origin progress is not advanced during an error or apply worker shutdown", "commits": ["b39c5272c"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "2195209b2b5c9c7c64039c21cda71d65b4fa106f7ad76a920d4127b4e18d302f", "section_path": ["Changes"], "commit_groups": [["3f28b2fca", "915aafe82", "b39c5272c"]], "identity_text": "In a logical replication apply worker, ensure that origin progress is not advanced during an error or apply worker shutdown (Hayato Kuroda, Shveta Malik) This avoids possible loss of a transaction, since once the origin progress point is advanced the source server won't send that data again.", "commit_aliases": ["3f28b2fca", "915aafe82", "b39c5272c"], "source_commits": ["b39c5272c"], "source_entry_id": "16.5/changes/035", "db_id": "b2aebeee52bff617d26088e5e9894c41", "patch_ids": ["079830ddd16bc55923160c72fb8f58bd"], "statement_hash": "84acde4cee8311b431c3c30b74673f665bc7e46e0517fed73d0cc5283dc9a09e", "relations": [], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-9b152971f2d7e6bd", "cves": [], "html": "<p>Re-disable sending of stateless (TLSv1.2) session tickets (Daniel Gustafsson) <a href=\"https://postgr.es/c/9333174af\">§</a></p>\n<p>A previous change to prevent sending of stateful (TLSv1.3) session tickets accidentally re-enabled sending of stateless ones. Thus, while we intended to prevent clients from thinking that TLS session resumption is supported, some still did.</p>", "text": "Re-disable sending of stateless (TLSv1.2) session tickets (Daniel Gustafsson) § A previous change to prevent sending of stateful (TLSv1.3) session tickets accidentally re-enabled sending of stateless ones. Thus, while we intended to prevent clients from thinking that TLS session resumption is supported, some still did.", "title": "Re-disable sending of stateless (TLSv1.2) session tickets", "commits": ["9333174af"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "dc41ac9c8806bb454d731eaacecbf813059675dd79370415d4bdf3daf2144635", "section_path": ["Changes"], "commit_groups": [["19021d28c", "23c200940", "4fdb6558c", "8cea8c023", "9333174af", "cd98a142c", "f925b7f65"]], "identity_text": "Re-disable sending of stateless (TLSv1.2) session tickets (Daniel Gustafsson) A previous change to prevent sending of stateful (TLSv1.3) session tickets accidentally re-enabled sending of stateless ones. Thus, while we intended to prevent clients from thinking that TLS session resumption is supported, some still did.", "commit_aliases": ["19021d28c", "23c200940", "4fdb6558c", "8cea8c023", "9333174af", "cd98a142c", "f925b7f65"], "source_commits": ["9333174af"], "source_entry_id": "16.5/changes/036", "db_id": "8b55ef2525d8a3bae6123e95c9b829df", "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349", "relations": [{"rule": 2, "type": "equivalent", "target": "0112f28fcf5a23da6e718911b44abaca", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}}, {"rule": 2, "type": "equivalent", "target": "751972ec7ea7a60526e5a72b76c17a8a", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}}, {"rule": 2, "type": "equivalent", "target": "b7359ad3db7de24046dc28f08b2bd62d", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}}, {"rule": 2, "type": "equivalent", "target": "bd557a920afa38bea90dd6845c8f405c", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd557a920afa38bea90dd6845c8f405c", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Re-disable sending of stateless (TLSv1.2) session tickets", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}, "url": "/docs/compare/?release=15.9#15.9-25bdd1c48cc1046f", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "0112f28fcf5a23da6e718911b44abaca", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Re-disable sending of stateless (TLSv1.2) session tickets", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}, "url": "/docs/compare/?release=14.14#14.14-cecd585ff0a2367d", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "751972ec7ea7a60526e5a72b76c17a8a", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Re-disable sending of stateless (TLSv1.2) session tickets", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}, "url": "/docs/compare/?release=13.17#13.17-138f4895947b0867", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "b7359ad3db7de24046dc28f08b2bd62d", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Re-disable sending of stateless (TLSv1.2) session tickets", "evidence": {"same_day": true, "patch_ids": ["e6cebfad3aad0c8d072f2f1918b6b6b7"], "statement_hash": "81b778f3e948b5314b4543d7cf5e204e3fa6d1ec0472f15d70c418f10b090349"}, "url": "/docs/compare/?release=12.21#12.21-66ba8ce250ce6155", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-5df4fab8f81b1aa7", "cves": [], "html": "<p>Avoid <span>“<span>wrong tuple length</span>”</span> failure when dropping a database with many ACL (permission) entries (Ayush Tiwari) <a href=\"https://postgr.es/c/545794515\">§</a> <a href=\"https://postgr.es/c/f6991cafa\">§</a></p>", "text": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries (Ayush Tiwari) § §", "title": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries", "commits": ["545794515", "f6991cafa"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0524d4179c405170c004d36a7b5ec9d40ef37b9186bca68a83fcc17c284e5907", "section_path": ["Changes"], "commit_groups": [["0f92b230f", "33c615f76", "545794515", "b3bb1e24b", "d1da80115", "df9c5fb58", "f18d3e47f"], ["3acbe198e", "4e7531fda", "5cb902e9d", "9d42627bc", "de8770b47", "e498d22e2", "f6991cafa"]], "identity_text": "Avoid wrong tuple length failure when dropping a database with many ACL (permission) entries (Ayush Tiwari)", "commit_aliases": ["0f92b230f", "33c615f76", "3acbe198e", "4e7531fda", "545794515", "5cb902e9d", "9d42627bc", "b3bb1e24b", "d1da80115", "de8770b47", "df9c5fb58", "e498d22e2", "f18d3e47f", "f6991cafa"], "source_commits": ["545794515", "f6991cafa"], "source_entry_id": "16.5/changes/037", "db_id": "271885603384cb84f85433af970c06d9", "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713", "relations": [{"rule": 2, "type": "equivalent", "target": "41492e09655ab5d4b5a09e54d3a9bee4", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}}, {"rule": 2, "type": "equivalent", "target": "4a896eab071facdbf18037ed73f3c567", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}}, {"rule": 2, "type": "equivalent", "target": "706415eac03c3f63985780d67f0dea0a", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}}, {"rule": 2, "type": "equivalent", "target": "7a39555a8182bb0eac9479acc405fbf4", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "706415eac03c3f63985780d67f0dea0a", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}, "url": "/docs/compare/?release=15.9#15.9-4fbd1a6aa583f6a6", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "4a896eab071facdbf18037ed73f3c567", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}, "url": "/docs/compare/?release=14.14#14.14-82e6abef04eb1687", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "41492e09655ab5d4b5a09e54d3a9bee4", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}, "url": "/docs/compare/?release=13.17#13.17-fe1daeeaab3f92bc", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "7a39555a8182bb0eac9479acc405fbf4", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries", "evidence": {"same_day": true, "patch_ids": ["8d282756f28ac5a3716c5f0b5cf4b9d9", "e86654af09b77a529a5157f8c108279d"], "statement_hash": "85fb96fd8690635fad800c5e79ed3c68d63e664df40723b8626cb0020370d713"}, "url": "/docs/compare/?release=12.21#12.21-674ac12cd654f851", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-a390e6e9d7c4fcd5", "cves": [], "html": "<p>Allow adjusting the <code>session_authorization</code> and <code>role</code> settings in parallel workers (Tom Lane) <a href=\"https://postgr.es/c/f3ab5d3a2\">§</a></p>\n<p>Our code intends to allow modifiable server settings to be set by function <code>SET</code> clauses, but not otherwise within a parallel worker. <code>SET</code> clauses failed for these two settings, though.</p>", "text": "Allow adjusting the session_authorization and role settings in parallel workers (Tom Lane) § Our code intends to allow modifiable server settings to be set by function SET clauses, but not otherwise within a parallel worker. SET clauses failed for these two settings, though.", "title": "Allow adjusting the session_authorization and role settings in parallel workers", "commits": ["f3ab5d3a2"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "6771ffca0b86e7049271dacb86f4786cb463e0e3ba95a19300cfcae81204df69", "section_path": ["Changes"], "commit_groups": [["2b8d33f66", "2f4e895be", "364de74cf", "546a26b3d", "adc28d01e", "adf9808fa", "f3ab5d3a2"]], "identity_text": "Allow adjusting the session_authorization and role settings in parallel workers (Tom Lane) Our code intends to allow modifiable server settings to be set by function SET clauses, but not otherwise within a parallel worker. SET clauses failed for these two settings, though.", "commit_aliases": ["2b8d33f66", "2f4e895be", "364de74cf", "546a26b3d", "adc28d01e", "adf9808fa", "f3ab5d3a2"], "source_commits": ["f3ab5d3a2"], "source_entry_id": "16.5/changes/038", "db_id": "14b0a73709a61b5ec2efaf845842d432", "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f", "relations": [{"rule": 2, "type": "equivalent", "target": "0362b2ef242ed449636a217791aa2a71", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}}, {"rule": 2, "type": "equivalent", "target": "238c4d36e07a222e4ad07db597043d52", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}}, {"rule": 2, "type": "equivalent", "target": "611c3b75ebbcbbd2adb6cfdfa6e7e07b", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}}, {"rule": 2, "type": "equivalent", "target": "fae8672f676a263baa391712d9542d80", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "0362b2ef242ed449636a217791aa2a71", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Allow adjusting the session_authorization and role settings in parallel workers", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}, "url": "/docs/compare/?release=15.9#15.9-e8413b2b747a6e44", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "fae8672f676a263baa391712d9542d80", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Allow adjusting the session_authorization and role settings in parallel workers", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}, "url": "/docs/compare/?release=14.14#14.14-c4d927bdb3125aa1", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "611c3b75ebbcbbd2adb6cfdfa6e7e07b", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Allow adjusting the session_authorization and role settings in parallel workers", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}, "url": "/docs/compare/?release=13.17#13.17-b27e98af747e5bea", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "238c4d36e07a222e4ad07db597043d52", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Allow adjusting the session_authorization and role settings in parallel workers", "evidence": {"same_day": true, "patch_ids": ["9fb0285de811e96636692fdb994eebb2"], "statement_hash": "5584c2740898df1554e42dd82a98e9e375572dd4071ba58d7df321bcacfcde9f"}, "url": "/docs/compare/?release=12.21#12.21-80c4e1f975e4b720", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-4b8849d9ca73753c", "cves": [], "html": "<p>Fix behavior of stable functions called from a <code>CALL</code> statement's argument list, when the <code>CALL</code> is within a PL/pgSQL <code>EXCEPTION</code> block (Tom Lane) <a href=\"https://postgr.es/c/25d639eea\">§</a></p>\n<p>As with a similar fix in our previous quarterly releases, this case allowed such functions to be passed the wrong snapshot, causing them to see stale values of rows modified since the start of the outer transaction.</p>", "text": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block (Tom Lane) § As with a similar fix in our previous quarterly releases, this case allowed such functions to be passed the wrong snapshot, causing them to see stale values of rows modified since the start of the outer transaction.", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "commits": ["25d639eea"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "46427dfbd1c9d3b37a1ee723b155a501c05545af2808d8bf32c636b42522418d", "section_path": ["Changes"], "commit_groups": [["0d83ced3c", "25d639eea", "ab13c46ff", "b35231989", "b5eef7539", "c96de42c4", "cf1443d67"]], "identity_text": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block (Tom Lane) As with a similar fix in our previous quarterly releases, this case allowed such functions to be passed the wrong snapshot, causing them to see stale values of rows modified since the start of the outer transaction.", "commit_aliases": ["0d83ced3c", "25d639eea", "ab13c46ff", "b35231989", "b5eef7539", "c96de42c4", "cf1443d67"], "source_commits": ["25d639eea"], "source_entry_id": "16.5/changes/039", "db_id": "983c4b91d18d1194eb6f789b54cbff5b", "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9", "relations": [{"rule": 2, "type": "equivalent", "target": "5d81893dc288c0936c9c48f30ecb9eb4", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "701cddbee61b49f9376bd78f39126e40", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "a04abc49096f3811d441a2197b029a6f", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "c070d073d2b607186446f019fee68129", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "efdb2a8ecc917aaf8d1032ff897f1f9d", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "5d81893dc288c0936c9c48f30ecb9eb4", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=17.1#17.1-42a6ede2406a0663", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "701cddbee61b49f9376bd78f39126e40", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=15.9#15.9-72112fe7daf3d40f", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "efdb2a8ecc917aaf8d1032ff897f1f9d", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=14.14#14.14-f03b3171c22729d1", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "a04abc49096f3811d441a2197b029a6f", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=13.17#13.17-f7cac22714a4f7fa", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "c070d073d2b607186446f019fee68129", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=12.21#12.21-2c76105ecb91906f", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-043b439bb9f5147d", "cves": [], "html": "<p>Fix <span>“<span>cache lookup failed for function</span>”</span> errors in edge cases in PL/pgSQL's <code>CALL</code> (Tom Lane) <a href=\"https://postgr.es/c/a073835c1\">§</a></p>", "text": "Fix “cache lookup failed for function” errors in edge cases in PL/pgSQL's CALL (Tom Lane) §", "title": "Fix “cache lookup failed for function” errors in edge cases in PL/pgSQL's CALL", "commits": ["a073835c1"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "c3248e6c1ff73f509347a8c1f493040b8d3be2a2189870e274c72c384da41345", "section_path": ["Changes"], "commit_groups": [["0dd33a6fc", "7f875fb5b", "8d148bb8b", "a073835c1", "de3520701"]], "identity_text": "Fix cache lookup failed for function errors in edge cases in PL/pgSQL's CALL (Tom Lane)", "commit_aliases": ["0dd33a6fc", "7f875fb5b", "8d148bb8b", "a073835c1", "de3520701"], "source_commits": ["a073835c1"], "source_entry_id": "16.5/changes/040", "db_id": "8f076a695d3865f054fef7b62aafd255", "patch_ids": ["0163b30dca0aae146d8a97a2cbfe5d02"], "statement_hash": "f647b74a6f72e2ca3756f599f7b2e9ae91daf8ac67bf2e78bfb2b64bb65a8569", "relations": [{"rule": 2, "type": "equivalent", "target": "0b18c1345f7bf718f25c5c0a89c3249c", "evidence": {"same_day": true, "patch_ids": ["0163b30dca0aae146d8a97a2cbfe5d02"], "statement_hash": "f647b74a6f72e2ca3756f599f7b2e9ae91daf8ac67bf2e78bfb2b64bb65a8569"}}, {"rule": 2, "type": "equivalent", "target": "3f1d973fb19b9c867ce3900c0e687cdc", "evidence": {"same_day": true, "patch_ids": ["0163b30dca0aae146d8a97a2cbfe5d02"], "statement_hash": "f647b74a6f72e2ca3756f599f7b2e9ae91daf8ac67bf2e78bfb2b64bb65a8569"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b18c1345f7bf718f25c5c0a89c3249c", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix “cache lookup failed for function” errors in edge cases in PL/pgSQL's CALL", "evidence": {"same_day": true, "patch_ids": ["0163b30dca0aae146d8a97a2cbfe5d02"], "statement_hash": "f647b74a6f72e2ca3756f599f7b2e9ae91daf8ac67bf2e78bfb2b64bb65a8569"}, "url": "/docs/compare/?release=15.9#15.9-63cc54eb244b6598", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "3f1d973fb19b9c867ce3900c0e687cdc", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix “cache lookup failed for function” errors in edge cases in PL/pgSQL's CALL", "evidence": {"same_day": true, "patch_ids": ["0163b30dca0aae146d8a97a2cbfe5d02"], "statement_hash": "f647b74a6f72e2ca3756f599f7b2e9ae91daf8ac67bf2e78bfb2b64bb65a8569"}, "url": "/docs/compare/?release=14.14#14.14-2737af092e59a82f", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-f5f89862e21f0018", "cves": [], "html": "<p>Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware (Heikki Linnakangas) <a href=\"https://postgr.es/c/0583863e9\">§</a></p>\n<p>Thread safety is not currently a concern in the server, but it is for libpq.</p>", "text": "Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware (Heikki Linnakangas) § Thread safety is not currently a concern in the server, but it is for libpq.", "title": "Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware", "commits": ["0583863e9"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "a2b5e7e87cf648e9c11b2ae6f4ff09e45fa2b45be21b4950012bd99bcad0f5c3", "section_path": ["Changes"], "commit_groups": [["0583863e9", "2676040df", "7696b2ea5", "a38f5f880", "ffac8ac48"]], "identity_text": "Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware (Heikki Linnakangas) Thread safety is not currently a concern in the server, but it is for libpq.", "commit_aliases": ["0583863e9", "2676040df", "7696b2ea5", "a38f5f880", "ffac8ac48"], "source_commits": ["0583863e9"], "source_entry_id": "16.5/changes/041", "db_id": "32d45b172e33cc864259be4bf0b9d445", "patch_ids": ["856941f2315e8adefff106e00213c3de"], "statement_hash": "b4d88eedc0bb1def263af56f15619764ebb830924ad4125e04af5e695b6cdcb0", "relations": [{"rule": 2, "type": "equivalent", "target": "768029d037bbb8ea981499d040aac8bb", "evidence": {"same_day": true, "patch_ids": ["856941f2315e8adefff106e00213c3de"], "statement_hash": "b4d88eedc0bb1def263af56f15619764ebb830924ad4125e04af5e695b6cdcb0"}}, {"rule": 2, "type": "equivalent", "target": "84e109eb84ef59da4328e9f7a2d8d203", "evidence": {"same_day": true, "patch_ids": ["856941f2315e8adefff106e00213c3de"], "statement_hash": "b4d88eedc0bb1def263af56f15619764ebb830924ad4125e04af5e695b6cdcb0"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "768029d037bbb8ea981499d040aac8bb", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware", "evidence": {"same_day": true, "patch_ids": ["856941f2315e8adefff106e00213c3de"], "statement_hash": "b4d88eedc0bb1def263af56f15619764ebb830924ad4125e04af5e695b6cdcb0"}, "url": "/docs/compare/?release=15.9#15.9-a7726fb7e46e1fe8", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "84e109eb84ef59da4328e9f7a2d8d203", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix thread safety of our fallback (non-OpenSSL) MD5 implementation on big-endian hardware", "evidence": {"same_day": true, "patch_ids": ["856941f2315e8adefff106e00213c3de"], "statement_hash": "b4d88eedc0bb1def263af56f15619764ebb830924ad4125e04af5e695b6cdcb0"}, "url": "/docs/compare/?release=14.14#14.14-ecf4adff826022a5", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}]}, {"id": "16.5-421b9f7051ea9b30", "cves": [], "html": "<p>Parse <span>libpq</span>'s <code>keepalives</code> connection option in the same way as other integer-valued options (Yuto Sasaki) <a href=\"https://postgr.es/c/65f431aff\">§</a></p>\n<p>The coding used here rejected trailing whitespace in the option value, unlike other cases. This turns out to be problematic in <span>ecpg</span>'s usage, for example.</p>", "text": "Parse libpq's keepalives connection option in the same way as other integer-valued options (Yuto Sasaki) § The coding used here rejected trailing whitespace in the option value, unlike other cases. This turns out to be problematic in ecpg's usage, for example.", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "commits": ["65f431aff"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0344f96caeebf8c86e25a4aba3581aebd8f34ff89b0f3cb743569e3969303ecc", "section_path": ["Changes"], "commit_groups": [["2120eda94", "47d8a15de", "65f431aff", "920d51979", "bb8c89dbc", "c7a201053", "e7af9b52f"]], "identity_text": "Parse libpq's keepalives connection option in the same way as other integer-valued options (Yuto Sasaki) The coding used here rejected trailing whitespace in the option value, unlike other cases. This turns out to be problematic in ecpg's usage, for example.", "commit_aliases": ["2120eda94", "47d8a15de", "65f431aff", "920d51979", "bb8c89dbc", "c7a201053", "e7af9b52f"], "source_commits": ["65f431aff"], "source_entry_id": "16.5/changes/042", "db_id": "f43516cc9cb41aef226fbd6ec1a2178e", "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946", "relations": [{"rule": 2, "type": "equivalent", "target": "727c393e1ef5548b5eeebdcd27d10beb", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "7e09a91933f87c4ae53f0fb08ec6ceee", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "9bc5dfea58bdf41e6947b117f85b50b7", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "b1abc23dad8d1bb9fecf44d14b4d8519", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "d8a0a55bc2ad3a1eeb862bcaaf0da1c6", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e09a91933f87c4ae53f0fb08ec6ceee", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=17.1#17.1-a922aa3daef9edf6", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "b1abc23dad8d1bb9fecf44d14b4d8519", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=15.9#15.9-5dea5c1e133562e5", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "727c393e1ef5548b5eeebdcd27d10beb", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=14.14#14.14-11149b752f003764", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "9bc5dfea58bdf41e6947b117f85b50b7", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=13.17#13.17-61d7b37fac36face", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d8a0a55bc2ad3a1eeb862bcaaf0da1c6", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Parse libpq's keepalives connection option in the same way as other integer-valued options", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=12.21#12.21-908e622976bf6b0d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-362e68bb37dda23a", "cves": [], "html": "<p>Avoid use of <code>pnstrdup()</code> in <span>ecpglib</span> (Jacob Champion) <a href=\"https://postgr.es/c/ee2997c67\">§</a></p>\n<p>That function will call <code>exit()</code> on out-of-memory, which is undesirable in a library. The calling code already handles allocation failures properly.</p>", "text": "Avoid use of pnstrdup() in ecpglib (Jacob Champion) § That function will call exit() on out-of-memory, which is undesirable in a library. The calling code already handles allocation failures properly.", "title": "Avoid use of pnstrdup() in ecpglib", "commits": ["ee2997c67"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "d668e1d5874d4e462b9183dffbf74237fab85ba8f2a405bccc854a3833f7067d", "section_path": ["Changes"], "commit_groups": [["2de129b35", "355718553", "5388216f6", "e9e05c655", "ee2997c67", "f0096ef13"]], "identity_text": "Avoid use of pnstrdup() in ecpglib (Jacob Champion) That function will call exit() on out-of-memory, which is undesirable in a library. The calling code already handles allocation failures properly.", "commit_aliases": ["2de129b35", "355718553", "5388216f6", "e9e05c655", "ee2997c67", "f0096ef13"], "source_commits": ["ee2997c67"], "source_entry_id": "16.5/changes/043", "db_id": "c87a6f5d287dca2ea06dad48546d0c33", "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82", "relations": [{"rule": 2, "type": "equivalent", "target": "042869ea8dcb0154523e3e0c3b61a89c", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}}, {"rule": 2, "type": "equivalent", "target": "b158e79c86a58397b5394264ab4306ce", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}}, {"rule": 2, "type": "equivalent", "target": "d227915d2c4bbd6a8755f5311e2f7db1", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "b158e79c86a58397b5394264ab4306ce", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid use of pnstrdup() in ecpglib", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}, "url": "/docs/compare/?release=15.9#15.9-0bd8c6eea3bbfc6d", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "042869ea8dcb0154523e3e0c3b61a89c", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid use of pnstrdup() in ecpglib", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}, "url": "/docs/compare/?release=14.14#14.14-6e6cc05fc1fea0a7", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "d227915d2c4bbd6a8755f5311e2f7db1", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Avoid use of pnstrdup() in ecpglib", "evidence": {"same_day": true, "patch_ids": ["aad0b32a3b2b7c4e04d02c5df0b96e6f"], "statement_hash": "c4c1fbf1d07295cdccc11904baac054eb7bc87b8eaf664b1e08cd18c4a2b8a82"}, "url": "/docs/compare/?release=13.17#13.17-d22cefbf78809722", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}]}, {"id": "16.5-21e8b24e87f4a12e", "cves": [], "html": "<p>In <span>ecpglib</span>, fix out-of-bounds read when parsing incorrect datetime input (Bruce Momjian, Pavel Nekrasov) <a href=\"https://postgr.es/c/a1e613b81\">§</a></p>\n<p>It was possible to try to read the location just before the start of a constant array. Real-world consequences seem minimal, though.</p>", "text": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input (Bruce Momjian, Pavel Nekrasov) § It was possible to try to read the location just before the start of a constant array. Real-world consequences seem minimal, though.", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "commits": ["a1e613b81"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "0c15193114af884653d0bb7585ee76836bbe8b343316b4b782d24f7264e43f06", "section_path": ["Changes"], "commit_groups": [["2c37cb26f", "335501fb2", "9a51d4af1", "9ecfd8a48", "a0bff38d1", "a1e613b81", "fcafbaadf"]], "identity_text": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input (Bruce Momjian, Pavel Nekrasov) It was possible to try to read the location just before the start of a constant array. Real-world consequences seem minimal, though.", "commit_aliases": ["2c37cb26f", "335501fb2", "9a51d4af1", "9ecfd8a48", "a0bff38d1", "a1e613b81", "fcafbaadf"], "source_commits": ["a1e613b81"], "source_entry_id": "16.5/changes/044", "db_id": "e34de0e447f0c8752a64af2e4886b995", "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1", "relations": [{"rule": 2, "type": "equivalent", "target": "0e0f03b7d096ceb8efb241246cfdfc73", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "1e77eaf900773e6236b6ffb21cd7fc1b", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "3e8175be0a09cac5e3bff6077bbc630c", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "7f2e5e6d89138f85f6e1120a399ebc31", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "80eee80256c0e6b71e65aa9e92670dff", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "1e77eaf900773e6236b6ffb21cd7fc1b", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=17.1#17.1-529ff7381233cffe", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "3e8175be0a09cac5e3bff6077bbc630c", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=15.9#15.9-0cf619e52d9c6c75", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "7f2e5e6d89138f85f6e1120a399ebc31", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=14.14#14.14-f6611c4aafbac4c8", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "80eee80256c0e6b71e65aa9e92670dff", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=13.17#13.17-b43cbde21c10350a", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "0e0f03b7d096ceb8efb241246cfdfc73", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=12.21#12.21-0da18d838f26abf4", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-4b5c60254987f710", "cves": [], "html": "<p>Fix memory leak in <span>psql</span> during repeated use of <code>\\bind</code> (Michael Paquier) <a href=\"https://postgr.es/c/c2fb2f9e2\">§</a></p>", "text": "Fix memory leak in psql during repeated use of \\bind (Michael Paquier) §", "title": "Fix memory leak in psql during repeated use of \\bind", "commits": ["c2fb2f9e2"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "c7be3676c4e11ef2d394e289aa47f10d7e6e40eb14a12c184d0bfda33bd1bc7b", "section_path": ["Changes"], "commit_groups": [["87eeadaea", "b0ae6db20", "c2fb2f9e2"]], "identity_text": "Fix memory leak in psql during repeated use of \\bind (Michael Paquier)", "commit_aliases": ["87eeadaea", "b0ae6db20", "c2fb2f9e2"], "source_commits": ["c2fb2f9e2"], "source_entry_id": "16.5/changes/045", "db_id": "4e3aa4d1bf5a08b935f84141fa98a302", "patch_ids": ["5be32e11c5631d09decc81b8ef0b1e5d"], "statement_hash": "817e2519d8ffe51d60fb5538574513e6ccd8f265edc7de0303038aac13c882b4", "relations": [], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": []}, {"id": "16.5-d9984a51a186e26b", "cves": [], "html": "<p>Avoid hanging if an interval less than 1ms is specified in <span>psql</span>'s <code>\\watch</code> command (Andrey Borodin, Michael Paquier) <a href=\"https://postgr.es/c/6331972c7\">§</a></p>\n<p>Instead, treat this the same as an interval of zero (no wait between executions).</p>", "text": "Avoid hanging if an interval less than 1ms is specified in psql's \\watch command (Andrey Borodin, Michael Paquier) § Instead, treat this the same as an interval of zero (no wait between executions).", "title": "Avoid hanging if an interval less than 1ms is specified in psql's \\watch command", "commits": ["6331972c7"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "418c832c010e413811c37c820e3c9162be33a1a0b529e2ce1c2b4d422a018b61", "section_path": ["Changes"], "commit_groups": [["6331972c7", "8a6170860", "9f34cae14"]], "identity_text": "Avoid hanging if an interval less than 1ms is specified in psql's \\watch command (Andrey Borodin, Michael Paquier) Instead, treat this the same as an interval of zero (no wait between executions).", "commit_aliases": ["6331972c7", "8a6170860", "9f34cae14"], "source_commits": ["6331972c7"], "source_entry_id": "16.5/changes/046", "db_id": "ec490d72a0dc9300aa45048145f5399b", "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db", "relations": [{"rule": 2, "type": "equivalent", "target": "81f0bb9d2627ef251bb85efb33a2792f", "evidence": {"same_day": true, "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "81f0bb9d2627ef251bb85efb33a2792f", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Avoid hanging if an interval less than 1ms is specified in psql's \\watch command", "evidence": {"same_day": true, "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db"}, "url": "/docs/compare/?release=17.1#17.1-94b3e497adba1b91", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}]}, {"id": "16.5-258ad251f3ae5711", "cves": [], "html": "<p>Fix <span>pg_dump</span>'s handling of identity sequences that have persistence different from their owning table's persistence (Tom Lane) <a href=\"https://postgr.es/c/b8b175a4c\">§</a></p>\n<p>Since v15, it's been possible to set an identity sequence to be LOGGED when its owning table is UNLOGGED or vice versa. However, <span>pg_dump</span>'s method for recreating that situation failed in binary-upgrade mode, causing <span>pg_upgrade</span> to fail when such sequences are present. Fix by introducing a new option for <code>ADD/ALTER COLUMN GENERATED AS IDENTITY</code> to allow the sequence's persistence to be set correctly at creation. Note that this means a dump from a database containing such a sequence will only load into a server of this minor version or newer.</p>", "text": "Fix pg_dump's handling of identity sequences that have persistence different from their owning table's persistence (Tom Lane) § Since v15, it's been possible to set an identity sequence to be LOGGED when its owning table is UNLOGGED or vice versa. However, pg_dump's method for recreating that situation failed in binary-upgrade mode, causing pg_upgrade to fail when such sequences are present. Fix by introducing a new option for ADD/ALTER COLUMN GENERATED AS IDENTITY to allow the sequence's persistence to be set correctly at creation. Note that this means a dump from a database containing such a sequence will only load into a server of this minor version or newer.", "title": "Fix pg_dump's handling of identity sequences that have persistence different from their owning table's persistence", "commits": ["b8b175a4c"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "56be3ea10c4a534983ef16e61edcd675009275e65789d2fe950fc6620372008a", "section_path": ["Changes"], "commit_groups": [["918e21d25", "b8b175a4c", "f7567f9e5", "fc2d1ac1a"]], "identity_text": "Fix pg_dump's handling of identity sequences that have persistence different from their owning table's persistence (Tom Lane) Since v15, it's been possible to set an identity sequence to be LOGGED when its owning table is UNLOGGED or vice versa. However, pg_dump's method for recreating that situation failed in binary-upgrade mode, causing pg_upgrade to fail when such sequences are present. Fix by introducing a new option for ADD/ALTER COLUMN GENERATED AS IDENTITY to allow the sequence's persistence to be set correctly at creation. Note that this means a dump from a database containing such a sequence will only load into a server of this minor version or newer.", "commit_aliases": ["918e21d25", "b8b175a4c", "f7567f9e5", "fc2d1ac1a"], "source_commits": ["b8b175a4c"], "source_entry_id": "16.5/changes/047", "db_id": "b80c1ae367c0e61ff791e9bf335d32f7", "patch_ids": ["d6ea6d4e2a412d65691c6601f5d1f689"], "statement_hash": "da99ec6e3c29aff94ca5c5708082dd69cd39dd38bdb4e751b79ba45d0ee9fc97", "relations": [{"rule": 2, "type": "equivalent", "target": "4996f0c3bc6165c340b694b78366e1ec", "evidence": {"same_day": true, "patch_ids": ["d6ea6d4e2a412d65691c6601f5d1f689"], "statement_hash": "da99ec6e3c29aff94ca5c5708082dd69cd39dd38bdb4e751b79ba45d0ee9fc97"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "4996f0c3bc6165c340b694b78366e1ec", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix pg_dump's handling of identity sequences that have persistence different from their owning table's persistence", "evidence": {"same_day": true, "patch_ids": ["d6ea6d4e2a412d65691c6601f5d1f689"], "statement_hash": "da99ec6e3c29aff94ca5c5708082dd69cd39dd38bdb4e751b79ba45d0ee9fc97"}, "url": "/docs/compare/?release=15.9#15.9-1bbd06b776556edf", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}]}, {"id": "16.5-df1413edc097bcbe", "cves": [], "html": "<p>Include the source timeline history in <span>pg_rewind</span>'s debug output (Heikki Linnakangas) <a href=\"https://postgr.es/c/e8240dbd8\">§</a></p>\n<p>This was the intention to begin with, but a coding error caused the source history to always print as empty.</p>", "text": "Include the source timeline history in pg_rewind's debug output (Heikki Linnakangas) § This was the intention to begin with, but a coding error caused the source history to always print as empty.", "title": "Include the source timeline history in pg_rewind's debug output", "commits": ["e8240dbd8"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "c43a020f2259b4d820a6636379a35f6746730a7e6734eac3a32f6d2c99f429d4", "section_path": ["Changes"], "commit_groups": [["49dc191bd", "8b86e289f", "a7bf3e668", "b5a5027c9", "bb5592cac", "c943e2aae", "e8240dbd8"]], "identity_text": "Include the source timeline history in pg_rewind's debug output (Heikki Linnakangas) This was the intention to begin with, but a coding error caused the source history to always print as empty.", "commit_aliases": ["49dc191bd", "8b86e289f", "a7bf3e668", "b5a5027c9", "bb5592cac", "c943e2aae", "e8240dbd8"], "source_commits": ["e8240dbd8"], "source_entry_id": "16.5/changes/048", "db_id": "6ebb357a3219db78d705a9a5670870b3", "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587", "relations": [{"rule": 2, "type": "equivalent", "target": "3a7ab35f3f0a0137fc7e78326632f035", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}}, {"rule": 2, "type": "equivalent", "target": "7ddad22cccbc198a72a8d2b34da825cb", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}}, {"rule": 2, "type": "equivalent", "target": "c474ed30f6b3c5edbb697495f905fcc8", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}}, {"rule": 2, "type": "equivalent", "target": "d2003ff732300dcffb43d4c6a3f330a5", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a7ab35f3f0a0137fc7e78326632f035", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Include the source timeline history in pg_rewind's debug output", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}, "url": "/docs/compare/?release=15.9#15.9-673a1e17ce716d5d", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "d2003ff732300dcffb43d4c6a3f330a5", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Include the source timeline history in pg_rewind's debug output", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}, "url": "/docs/compare/?release=14.14#14.14-ad8c015dfb3ae41d", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "c474ed30f6b3c5edbb697495f905fcc8", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Include the source timeline history in pg_rewind's debug output", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}, "url": "/docs/compare/?release=13.17#13.17-d9fae3f62828b503", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "7ddad22cccbc198a72a8d2b34da825cb", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Include the source timeline history in pg_rewind's debug output", "evidence": {"same_day": true, "patch_ids": ["f2c950789fc0c2fbdcaf3218cacac165"], "statement_hash": "8dd3f5dd631f192019968700ac8f3c905d0f77a8380407ff7393c8740898e587"}, "url": "/docs/compare/?release=12.21#12.21-723553f306b2eece", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-d6310735ce407b5d", "cves": [], "html": "<p>Avoid trying to reindex temporary tables and indexes in <span>vacuumdb</span> and in parallel <span>reindexdb</span> (VaibhaveS, Michael Paquier, Fujii Masao, Nathan Bossart) <a href=\"https://postgr.es/c/1ea4d9c00\">§</a> <a href=\"https://postgr.es/c/653ce5b8b\">§</a> <a href=\"https://postgr.es/c/eba8cc1af\">§</a></p>\n<p>Reindexing other sessions' temporary tables cannot work, but the check to skip them was missing in some code paths, leading to unwanted failures.</p>", "text": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb (VaibhaveS, Michael Paquier, Fujii Masao, Nathan Bossart) § § § Reindexing other sessions' temporary tables cannot work, but the check to skip them was missing in some code paths, leading to unwanted failures.", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "commits": ["1ea4d9c00", "653ce5b8b", "eba8cc1af"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "07d5d7bffef26168908838cf75073748e3754d98785f3584a4f572aebbd6f7ff", "section_path": ["Changes"], "commit_groups": [["1ab67c9df", "1ea4d9c00", "60c618216", "74eaa0544", "85cb21df6", "9db4598c9", "ef57a7135"], ["20cfec896", "653ce5b8b", "77f154681", "88e1153cb", "92cc21d15", "9410f7cbf"], ["5bd26e652", "5e0431c32", "6d047c6a9", "8318f2b17", "ce6f27857", "d4ade0baf", "eba8cc1af"]], "identity_text": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb (VaibhaveS, Michael Paquier, Fujii Masao, Nathan Bossart) Reindexing other sessions' temporary tables cannot work, but the check to skip them was missing in some code paths, leading to unwanted failures.", "commit_aliases": ["1ab67c9df", "1ea4d9c00", "20cfec896", "5bd26e652", "5e0431c32", "60c618216", "653ce5b8b", "6d047c6a9", "74eaa0544", "77f154681", "8318f2b17", "85cb21df6", "88e1153cb", "92cc21d15", "9410f7cbf", "9db4598c9", "ce6f27857", "d4ade0baf", "eba8cc1af", "ef57a7135"], "source_commits": ["1ea4d9c00", "653ce5b8b", "eba8cc1af"], "source_entry_id": "16.5/changes/049", "db_id": "4be0746ae3d31d3a67d4e6575952b2be", "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac", "relations": [{"rule": 2, "type": "equivalent", "target": "49202512ec90fd67899e292bbdf47393", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "d6cdd8b6ec59725f8484ea9b6958f9c0", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "e18a9312e9c8aad0f30fdc47f2803910", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "fa418bc3e162a87cba139153560d10be", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "fd6538cb5adf6f39f27bb662e664a7b0", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "49202512ec90fd67899e292bbdf47393", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=17.1#17.1-8ee5d1afad85ebfb", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "e18a9312e9c8aad0f30fdc47f2803910", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=15.9#15.9-34a426bc02bd0bec", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "fa418bc3e162a87cba139153560d10be", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=14.14#14.14-d361402759971b18", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "fd6538cb5adf6f39f27bb662e664a7b0", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=13.17#13.17-39b4d508a3ebe1d9", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d6cdd8b6ec59725f8484ea9b6958f9c0", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=12.21#12.21-f1b420bde0d9e3c5", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-e3fdd4d63d51092b", "cves": [], "html": "<p>Allow inspection of sequence relations in relevant functions of <code>contrib/pageinspect</code> and <code>contrib/pgstattuple</code> (Nathan Bossart, Ayush Vatsa) <a href=\"https://postgr.es/c/2bd4c06bb\">§</a> <a href=\"https://postgr.es/c/0938a4ecd\">§</a></p>\n<p>This had been allowed in the past, but it got broken during the introduction of non-default access methods for tables.</p>", "text": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple (Nathan Bossart, Ayush Vatsa) § § This had been allowed in the past, but it got broken during the introduction of non-default access methods for tables.", "title": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple", "commits": ["0938a4ecd", "2bd4c06bb"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "2560028175a2f6a175a6c84a82810613be4e30a62331ac476f2ac20f4f7ae09b", "section_path": ["Changes"], "commit_groups": [["05036a315", "2bd4c06bb", "6ea7f04b7", "8a94af8a2", "ca902529c", "dd5670fa5", "e03042a70"], ["0938a4ecd", "0970889e3", "70d1c664f", "9b3c3c0fc", "a63aef5e4", "e0277d90a", "ef46a73f6"]], "identity_text": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple (Nathan Bossart, Ayush Vatsa) This had been allowed in the past, but it got broken during the introduction of non-default access methods for tables.", "commit_aliases": ["05036a315", "0938a4ecd", "0970889e3", "2bd4c06bb", "6ea7f04b7", "70d1c664f", "8a94af8a2", "9b3c3c0fc", "a63aef5e4", "ca902529c", "dd5670fa5", "e0277d90a", "e03042a70", "ef46a73f6"], "source_commits": ["0938a4ecd", "2bd4c06bb"], "source_entry_id": "16.5/changes/050", "db_id": "f7765db8d8b93f77135b60920b1690ce", "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094", "relations": [{"rule": 2, "type": "equivalent", "target": "03b84081d9a124bbff41a4b04ebf562f", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}}, {"rule": 2, "type": "equivalent", "target": "8f236080cf585e387738b16c66cb82c4", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}}, {"rule": 2, "type": "equivalent", "target": "9ecd00988fd179b6cd66c574b4887c56", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}}, {"rule": 2, "type": "equivalent", "target": "ce78e870113246629b5a74061f2915d6", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "ce78e870113246629b5a74061f2915d6", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}, "url": "/docs/compare/?release=15.9#15.9-9eb6aa649d1f5a9e", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "8f236080cf585e387738b16c66cb82c4", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}, "url": "/docs/compare/?release=14.14#14.14-2522a5fb06b1ab76", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "03b84081d9a124bbff41a4b04ebf562f", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}, "url": "/docs/compare/?release=13.17#13.17-77971363ea91964b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "9ecd00988fd179b6cd66c574b4887c56", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Allow inspection of sequence relations in relevant functions of contrib/pageinspect and contrib/pgstattuple", "evidence": {"same_day": true, "patch_ids": ["42607cf1670c1e6f54c2db93a4f87637", "4ea9692746d01246926aaef18834c48e"], "statement_hash": "e17543b54d63db5e1b768cb6082c83cf991030bcee9a6310dbaa9e678e78e094"}, "url": "/docs/compare/?release=12.21#12.21-5165c3b88920c915", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-88ba539f0cf804a2", "cves": [], "html": "<p>Fix incorrect LLVM-generated code on ARM64 platforms (Thomas Munro, Anthonin Bonnefoy) <a href=\"https://postgr.es/c/ee67b73f5\">§</a></p>\n<p>When using JIT compilation on ARM platforms, the generated code could not support relocation distances exceeding 32 bits, allowing unlucky placement of generated code to cause server crashes on large-memory systems.</p>", "text": "Fix incorrect LLVM-generated code on ARM64 platforms (Thomas Munro, Anthonin Bonnefoy) § When using JIT compilation on ARM platforms, the generated code could not support relocation distances exceeding 32 bits, allowing unlucky placement of generated code to cause server crashes on large-memory systems.", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "commits": ["ee67b73f5"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "8ffab48e188e654499b4e95a32f0b6ddf42a5010115f727124f958c0a907d03f", "section_path": ["Changes"], "commit_groups": [["0b022ddf3", "19bf81c06", "50c1453a3", "9044fc1d4", "b7467ab71", "e88d824a4", "ee67b73f5"]], "identity_text": "Fix incorrect LLVM-generated code on ARM64 platforms (Thomas Munro, Anthonin Bonnefoy) When using JIT compilation on ARM platforms, the generated code could not support relocation distances exceeding 32 bits, allowing unlucky placement of generated code to cause server crashes on large-memory systems.", "commit_aliases": ["0b022ddf3", "19bf81c06", "50c1453a3", "9044fc1d4", "b7467ab71", "e88d824a4", "ee67b73f5"], "source_commits": ["ee67b73f5"], "source_entry_id": "16.5/changes/051", "db_id": "30c20b6563426a9899fdec9ce9437eed", "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a", "relations": [{"rule": 2, "type": "equivalent", "target": "07627c1366b7fc7a15a84f72711baf63", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "2638bd1adab380229ce1a042d31b374e", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "552f755d17bee102cb50bf545ecb949c", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "8b66c7a2971a68b203b33def34a61729", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "a4a3b2371863ab88daa8190444068bd5", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "552f755d17bee102cb50bf545ecb949c", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=17.1#17.1-340a46645824a2bd", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "8b66c7a2971a68b203b33def34a61729", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=15.9#15.9-56189f6cdb7d5fe9", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "a4a3b2371863ab88daa8190444068bd5", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=14.14#14.14-dbfbd3d4f9ba03db", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "07627c1366b7fc7a15a84f72711baf63", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=13.17#13.17-385afd66c806f38e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2638bd1adab380229ce1a042d31b374e", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix incorrect LLVM-generated code on ARM64 platforms", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=12.21#12.21-92ba1b32a98f8d2f", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-4e1e853951ded2b7", "cves": [], "html": "<p>Fix a few places that assumed that process start time (represented as a <code>time_t</code>) will fit into a <code>long</code> value (Max Johnson, Nathan Bossart) <a href=\"https://postgr.es/c/8aaf88b63\">§</a></p>\n<p>On platforms where <code>long</code> is 32 bits (notably Windows), this coding would fail after Y2038. Most of the failures appear only cosmetic, but notably <code>pg_ctl start</code> would hang.</p>", "text": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value (Max Johnson, Nathan Bossart) § On platforms where long is 32 bits (notably Windows), this coding would fail after Y2038. Most of the failures appear only cosmetic, but notably pg_ctl start would hang.", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "commits": ["8aaf88b63"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "cc714a37791d5b72f7974f538ca006d8da53bf6ccfe79131a34a489d11716982", "section_path": ["Changes"], "commit_groups": [["01731eeea", "5cea7168d", "5d6187d2a", "8aaf88b63", "a356d23fd", "b255493ae", "c91d0af0a"]], "identity_text": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value (Max Johnson, Nathan Bossart) On platforms where long is 32 bits (notably Windows), this coding would fail after Y2038. Most of the failures appear only cosmetic, but notably pg_ctl start would hang.", "commit_aliases": ["01731eeea", "5cea7168d", "5d6187d2a", "8aaf88b63", "a356d23fd", "b255493ae", "c91d0af0a"], "source_commits": ["8aaf88b63"], "source_entry_id": "16.5/changes/052", "db_id": "ac2f9b62f89f5efc11d5918a066d7298", "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377", "relations": [{"rule": 2, "type": "equivalent", "target": "075f70893c63574e821b74eb0753f209", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "3084cb6f1a9a83786226f990e093badf", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "40bc46f4e80e1864b73a7a5e12f75b65", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "7b562ce18a69f435e1e22679a3930bb0", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "db60254f3e912ac41b205c00ddc90c1f", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "3084cb6f1a9a83786226f990e093badf", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=17.1#17.1-0b285a27e1ea7d45", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "40bc46f4e80e1864b73a7a5e12f75b65", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=15.9#15.9-520b4d1aea78f872", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "7b562ce18a69f435e1e22679a3930bb0", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=14.14#14.14-aa8d1f73d42af12c", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "075f70893c63574e821b74eb0753f209", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=13.17#13.17-80971931f1cef36f", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "db60254f3e912ac41b205c00ddc90c1f", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=12.21#12.21-f05c71304b810922", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-9c75348e1f6429b4", "cves": [], "html": "<p>Fix building with Strawberry Perl on Windows (Andrew Dunstan) <a href=\"https://postgr.es/c/0a0db4631\">§</a></p>", "text": "Fix building with Strawberry Perl on Windows (Andrew Dunstan) §", "title": "Fix building with Strawberry Perl on Windows", "commits": ["0a0db4631"], "section": "Changes", "category": "bugfix", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "36e94b1efa1781a1d0c0b48b934a726eabe8b7d3aa4576afa960d593cea5fbb7", "section_path": ["Changes"], "commit_groups": [["0a0db4631", "17c35ab23", "648397b1d", "9f7749464", "bc46104fc", "d94e3b33e", "f40d9e9f1"]], "identity_text": "Fix building with Strawberry Perl on Windows (Andrew Dunstan)", "commit_aliases": ["0a0db4631", "17c35ab23", "648397b1d", "9f7749464", "bc46104fc", "d94e3b33e", "f40d9e9f1"], "source_commits": ["0a0db4631"], "source_entry_id": "16.5/changes/053", "db_id": "725db14ca2f334c9e4c0f4ebb8855e33", "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca", "relations": [{"rule": 2, "type": "equivalent", "target": "12e1aa7f417fbd17775147b08a45895b", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}}, {"rule": 2, "type": "equivalent", "target": "3d158ad209ec105892f0e640f73fb08e", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}}, {"rule": 2, "type": "equivalent", "target": "9faf9d470ae681f8825f29037cddcaa6", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}}, {"rule": 2, "type": "equivalent", "target": "f0a76369a50f2328f16473a2ddd6dda9", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}}], "version": "16.5", "category_label": "Bug fixes", "also_in": [], "variants": [], "related_changes": [{"db_id": "9faf9d470ae681f8825f29037cddcaa6", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Fix building with Strawberry Perl on Windows", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}, "url": "/docs/compare/?release=15.9#15.9-80a8822b5e0b4f59", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "3d158ad209ec105892f0e640f73fb08e", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Fix building with Strawberry Perl on Windows", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}, "url": "/docs/compare/?release=14.14#14.14-437ca6af18818ae7", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "f0a76369a50f2328f16473a2ddd6dda9", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Fix building with Strawberry Perl on Windows", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}, "url": "/docs/compare/?release=13.17#13.17-79111af14fbf9f4d", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "12e1aa7f417fbd17775147b08a45895b", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Fix building with Strawberry Perl on Windows", "evidence": {"same_day": true, "patch_ids": ["a453eb7388103adefc21b75b8b02f8cb"], "statement_hash": "605d3e050e8e20cd06c4163282d36754cda88519d3eabe9126d2d32c0b9b04ca"}, "url": "/docs/compare/?release=12.21#12.21-cbf30fffa373a27e", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "16.5-7dd2d5e1fe0c5f45", "cves": [], "html": "<p>Update time zone data files to <span>tzdata</span> release 2024b (Tom Lane) <a href=\"https://postgr.es/c/a0c8d600b\">§</a> <a href=\"https://postgr.es/c/2abc88958\">§</a></p>\n<p>This <span>tzdata</span> release changes the old System-V-compatibility zone names to duplicate the corresponding geographic zones; for example <code>PST8PDT</code> is now an alias for <code>America/Los_Angeles</code>. The main visible consequence is that for timestamps before the introduction of standardized time zones, the zone is considered to represent local mean solar time for the named location. For example, in <code>PST8PDT</code>, <code>timestamptz</code> input such as <code>1801-01-01 00:00</code> would previously have been rendered as <code>1801-01-01 00:00:00-08</code>, but now it is rendered as <code>1801-01-01 00:00:00-07:52:58</code>.</p>\n<p>Also, historical corrections for Mexico, Mongolia, and Portugal. Notably, <code>Asia/Choibalsan</code> is now an alias for <code>Asia/Ulaanbaatar</code> rather than being a separate zone, mainly because the differences between those zones were found to be based on untrustworthy data.</p>", "text": "Update time zone data files to tzdata release 2024b (Tom Lane) § § This tzdata release changes the old System-V-compatibility zone names to duplicate the corresponding geographic zones; for example PST8PDT is now an alias for America/Los_Angeles. The main visible consequence is that for timestamps before the introduction of standardized time zones, the zone is considered to represent local mean solar time for the named location. For example, in PST8PDT, timestamptz input such as 1801-01-01 00:00 would previously have been rendered as 1801-01-01 00:00:00-08, but now it is rendered as 1801-01-01 00:00:00-07:52:58. Also, historical corrections for Mexico, Mongolia, and Portugal. Notably, Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than being a separate zone, mainly because the differences between those zones were found to be based on untrustworthy data.", "title": "Update time zone data files to tzdata release 2024b", "commits": ["2abc88958", "a0c8d600b"], "section": "Changes", "category": "improvement", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES", "source_hash": "f2fb70feb95eb88f28ff3e546a6d049b6ee3f099130fc4aa9395d32aedf93266", "section_path": ["Changes"], "commit_groups": [["205813da4", "2abc88958", "2b94ee58b", "6283ff201", "b27622c90", "b28b9b19b", "b8ea0f675"], ["502e7bf7f", "74f70cb86", "8a8486175", "8f1759c9b", "a0c8d600b", "cad65907e", "dedced73e"]], "identity_text": "Update time zone data files to tzdata release 2024b (Tom Lane) This tzdata release changes the old System-V-compatibility zone names to duplicate the corresponding geographic zones; for example PST8PDT is now an alias for America/Los_Angeles. The main visible consequence is that for timestamps before the introduction of standardized time zones, the zone is considered to represent local mean solar time for the named location. For example, in PST8PDT, timestamptz input such as 1801-01-01 00:00 would previously have been rendered as 1801-01-01 00:00:00-08, but now it is rendered as 1801-01-01 00:00:00-07:52:58. Also, historical corrections for Mexico, Mongolia, and Portugal. Notably, Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than being a separate zone, mainly because the differences between those zones were found to be based on untrustworthy data.", "commit_aliases": ["205813da4", "2abc88958", "2b94ee58b", "502e7bf7f", "6283ff201", "74f70cb86", "8a8486175", "8f1759c9b", "a0c8d600b", "b27622c90", "b28b9b19b", "b8ea0f675", "cad65907e", "dedced73e"], "source_commits": ["2abc88958", "a0c8d600b"], "source_entry_id": "16.5/changes/054", "db_id": "4a849728f3b1ce4e226253b6eef67b81", "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a", "relations": [{"rule": 2, "type": "equivalent", "target": "1274449aeb7aacfaf5c666d0bc92503b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "155dade417778c08fcf9278e12df7703", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "21566ee3657bf6046ec8c630e59f9fa4", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "ab359f251915c08c7f1b39b44a7466c5", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "ce97a73c25e68d5bdb6e4cafb71fafb1", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}], "version": "16.5", "category_label": "Improvements", "also_in": [], "variants": [], "related_changes": [{"db_id": "155dade417778c08fcf9278e12df7703", "kind": "equivalent", "version": "17.1", "label": "17.1", "title": "Update time zone data files to tzdata release 2024b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=17.1#17.1-1871d2759b385285", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES"}, {"db_id": "ce97a73c25e68d5bdb6e4cafb71fafb1", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "Update time zone data files to tzdata release 2024b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=15.9#15.9-6740232b364abdb6", "source_url": "/docs/release/15.9/#id-1.11.6.16.5"}, {"db_id": "21566ee3657bf6046ec8c630e59f9fa4", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "Update time zone data files to tzdata release 2024b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=14.14#14.14-e9290652fe966969", "source_url": "/docs/release/14.14/#id-1.11.6.16.5"}, {"db_id": "1274449aeb7aacfaf5c666d0bc92503b", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "Update time zone data files to tzdata release 2024b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=13.17#13.17-7f89a8ce224af673", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "ab359f251915c08c7f1b39b44a7466c5", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "Update time zone data files to tzdata release 2024b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=12.21#12.21-2bdd2b23091a19eb", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}]}], "stats": [{"key": "all", "label": "All changes", "count": 54}, {"key": "feature", "label": "Features", "count": 0}, {"key": "bugfix", "label": "Bug fixes", "count": 25}, {"key": "security", "label": "Security", "count": 4}, {"key": "performance", "label": "Performance", "count": 0}, {"key": "compatibility", "label": "Compatibility", "count": 0}, {"key": "improvement", "label": "Improvements", "count": 25}], "total": 54, "release_count": 1, "cross_major": false, "cve_count": 4, "cves": [{"id": "CVE-2024-10979", "url": "https://www.postgresql.org/support/security/CVE-2024-10979/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 8.8, "title": "Prevent trusted PL/Perl code from changing environment variables", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10979", "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 control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH ). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Coby Abrams 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": "16.5"}, {"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": "Fix unintended interactions between SET SESSION AUTHORIZATION and 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": "16.5"}, {"id": "CVE-2024-10976", "url": "https://www.postgresql.org/support/security/CVE-2024-10976/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 4.2, "title": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference", "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-10976", "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": "Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes. They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy. This has the same consequences as the two earlier CVEs. That is to say, it leads to potentially incorrect policies being applied in cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs.\n\nApplying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy. An attacker must tailor an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.", "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": "16.5"}, {"id": "CVE-2024-10977", "url": "https://www.postgresql.org/support/security/CVE-2024-10977/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 3.1, "title": "Make libpq discard error messages received during SSL or GSS protocol negotiation", "vector": "AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10977", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "client", "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": "Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Jacob Champion 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": "16.5"}], "cve_available": true, "remaining_cves": [], "security_regressions": [], "warnings": [], "candidate_count": 54, "already_in_source_count": 0, "duplicate_count": 0, "excluded_count": 0, "exclusions": [], "source_as_of": "2026-09-26", "security_as_of": "2026-09-26"}