{"format": 1, "from_release": {"date": "2025-09-25", "build": "18.0", "major": "18", "minor": 0, "manual": "18", "status": "stable", "doc_git": "", "version": "18.0", "eol_date": "2030-11-14", "date_text": "2025-09-25", "supported": true, "manual_url": "/docs/18/release-18.html", "source_url": "/docs/release/18.0/", "entry_count": 210, "placeholder": false, "content_hash": "614a255175057fb03fd6105b80979ef3597e9f6471eb7e4bc12b6967958bf93a", "manual_build": "18.6", "source_as_of": "", "changes_count": 199, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于希望从任何以前的版本迁移数据的人来说，需要使用<a href=\"/docs/18/app-pg-dumpall.html\" title=\"pg_dumpall\"><span><span>pg_dumpall</span></span></a>进行转储/恢复，或者使用<a href=\"/docs/18/pgupgrade.html\" title=\"pg_upgrade\"><span><span>pg_upgrade</span></span></a>或逻辑复制。有关迁移到新主要版本的通用信息，请参阅<a href=\"/docs/18/upgrading.html\" title=\"18.6. 升级 PostgreSQL 集簇\">第 18.6 节</a>。</p>\n<p>版本 18 包含许多可能影响与以前版本兼容性的更改。请注意以下不兼容项：</p>\n<div>\n</div>", "compatibility_count": 11, "label": "18.0", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 366, "support_days": 1510}, "to_release": {"date": "2026-08-13", "build": "18.6", "major": "18", "minor": 6, "manual": "18", "status": "stable", "doc_git": "", "version": "18.6", "eol_date": "2030-11-14", "date_text": "2026-08-13", "supported": true, "manual_url": "/docs/18/release-18-6.html", "source_url": "/docs/release/18.6/", "entry_count": 140, "placeholder": false, "content_hash": "f65f2911489ae48e0bed72832502f33bfdbff22319114730f8f2fe5b3d924d2b", "manual_build": "18.6", "source_as_of": "", "changes_count": 140, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，下面前三个安全条目描述了更新后可能需要进行的配置调整和数据清理。</p>\n<p>此外，如果存在任何 GIN 索引，请参见下面有关其所属表的 <code>reltuples</code> 值可能已损坏的变更条目。</p>\n<p>此外，如果使用 <code>contrib/btree_gist</code> 或 <code>contrib/ltree</code>，可能需要为这些扩展创建的索引重建索引；请参见下面的相关条目。</p>\n<p>此外，如果是从早于 18.2 的版本升级，请参见<a href=\"/docs/18/release-18-2.html\" title=\"E.4. 发布版本 18.2\">第 E.4 节</a>。</p>", "compatibility_count": 0, "label": "18.6", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 44, "support_days": 1510}, "groups": [{"date": "2026-08-13", "build": "18.6", "major": "18", "minor": 6, "manual": "18", "status": "stable", "doc_git": "", "version": "18.6", "eol_date": "2030-11-14", "date_text": "2026-08-13", "supported": true, "manual_url": "/docs/18/release-18-6.html", "source_url": "/docs/release/18.6/", "entry_count": 140, "placeholder": false, "content_hash": "f65f2911489ae48e0bed72832502f33bfdbff22319114730f8f2fe5b3d924d2b", "manual_build": "18.6", "source_as_of": "", "changes_count": 140, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，下面前三个安全条目描述了更新后可能需要进行的配置调整和数据清理。</p>\n<p>此外，如果存在任何 GIN 索引，请参见下面有关其所属表的 <code>reltuples</code> 值可能已损坏的变更条目。</p>\n<p>此外，如果使用 <code>contrib/btree_gist</code> 或 <code>contrib/ltree</code>，可能需要为这些扩展创建的索引重建索引；请参见下面的相关条目。</p>\n<p>此外，如果是从早于 18.2 的版本升级，请参见<a href=\"/docs/18/release-18-2.html\" title=\"E.4. 发布版本 18.2\">第 E.4 节</a>。</p>", "compatibility_count": 0, "label": "18.6", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 44, "support_days": 1510, "entries": [{"id": "18.6-76e8d95ade6e17d6", "cves": ["CVE-2026-6471"], "html": "<p>将逻辑解码输出插件限制为新服务器参数 <code>output_plugin_libraries</code> 指定的集合（Jacob Champion）<a href=\"https://postgr.es/c/2a29b607d\">§</a> <a href=\"https://postgr.es/c/82fd68801\">§</a></p>\n<p>此前，复制用户可以为逻辑解码选择任意可加载库，从而实施各种攻击。为了在不破坏原有可用配置的情况下收紧这一限制，现引入一份允许使用的输出插件列表。</p>\n<p>默认情况下，只有随 <span>PostgreSQL</span> 提供的输出插件（<code>pgoutput</code> 和 <code>test_decoding</code>）会包含在 <code>output_plugin_libraries</code> 中。使用其他输出插件的安装必须在更新服务器后将其加入该参数，例如：</p>\n<pre>output_plugin_libraries = 'pgoutput, test_decoding, my_trusted_decoder'\n</pre>\n<p>此外，从版本 17 或更高版本迁移时，如果 <code>pg_upgrade --check</code> 发现新集簇的 <code>output_plugin_libraries</code> 参数不允许旧集簇逻辑复制槽所使用的插件，检查将会失败。请在执行 <span>pg_upgrade</span> 前对新集簇的设置作必要补充。</p>\n<p><span>PostgreSQL</span> 项目感谢 Vladimir Tokarev 和 Yu Kunpeng 报告此问题。（CVE-2026-6471）</p>", "text": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合（Jacob Champion）§ § 此前，复制用户可以为逻辑解码选择任意可加载库，从而实施各种攻击。为了在不破坏原有可用配置的情况下收紧这一限制，现引入一份允许使用的输出插件列表。 默认情况下，只有随 PostgreSQL 提供的输出插件（pgoutput 和 test_decoding）会包含在 output_plugin_libraries 中。使用其他输出插件的安装必须在更新服务器后将其加入该参数，例如： output_plugin_libraries = 'pgoutput, test_decoding, my_trusted_decoder' 此外，从版本 17 或更高版本迁移时，如果 pg_upgrade --check 发现新集簇的 output_plugin_libraries 参数不允许旧集簇逻辑复制槽所使用的插件，检查将会失败。请在执行 pg_upgrade 前对新集簇的设置作必要补充。 PostgreSQL 项目感谢 Vladimir Tokarev 和 Yu Kunpeng 报告此问题。（CVE-2026-6471）", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "commits": ["2a29b607d", "82fd68801"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "bb65fe803bf799ec945db22c8446c25a0fc57bc240545380b027bcf4cff5e000", "section_path": ["变更"], "commit_groups": [["01992176e", "226e49cbe", "2a29b607d", "4e1252ee5", "5d47df21e", "99f205407", "bf3842a64"], ["20e9dcefd", "4fcccea97", "7082ce248", "82fd68801"]], "identity_text": "Restrict logical decoding output plugins to the set specified by a new server parameter output_plugin_libraries (Jacob Champion) Previously, a replication user could select any loadable library for logical decoding, allowing exploits of various sorts. To allow locking this down without breaking setups that worked before, introduce a whitelist of allowed output plugins. By default, only the output plugins shipped as part of PostgreSQL (pgoutput and test_decoding) are included in output_plugin_libraries. Installations that rely on other output plugins must add them after updating the server, for example output_plugin_libraries = 'pgoutput, test_decoding, my_trusted_decoder' Additionally, pg_upgrade --check will fail if the output_plugin_libraries parameter on the new cluster does not permit the plugins of logical replication slots on the old cluster, when migrating from versions 17 and later. Make necessary additions to the new cluster's setting before performing pg_upgrade. The PostgreSQL Project thanks Vladimir Tokarev and Yu Kunpeng for reporting this problem. (CVE-2026-6471)", "commit_aliases": ["01992176e", "20e9dcefd", "226e49cbe", "2a29b607d", "4e1252ee5", "4fcccea97", "5d47df21e", "7082ce248", "82fd68801", "99f205407", "bf3842a64"], "source_commits": ["2a29b607d", "82fd68801"], "source_entry_id": "18.6/changes/001", "db_id": "2ed41f6adf451dd977da156f72190023", "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212", "relations": [{"rule": 2, "type": "equivalent", "target": "549fb97375289bbc21d70209d1e5e9a8", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}}, {"rule": 2, "type": "equivalent", "target": "7007806ed1d8192364b7ef102e45e7ef", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}}, {"rule": 2, "type": "equivalent", "target": "b5e7e2e2c6e0c744c28da7990822970a", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}}, {"rule": 2, "type": "equivalent", "target": "bbf53e61656864929954589e1f777019", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "549fb97375289bbc21d70209d1e5e9a8", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}, "url": "/docs/compare/?release=17.11#17.11-ccab0c809e14d029", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "b5e7e2e2c6e0c744c28da7990822970a", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}, "url": "/docs/compare/?release=16.15#16.15-d023ef134eea5c3e", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "7007806ed1d8192364b7ef102e45e7ef", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}, "url": "/docs/compare/?release=15.19#15.19-b1dbeb58e5a6c437", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "bbf53e61656864929954589e1f777019", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}, "url": "/docs/compare/?release=14.24#14.24-ee721afe6731e1ce", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-bfaa3421904d3a41", "cves": ["CVE-2026-14663"], "html": "<p>修复 <code>contrib/pgcrypto</code> 的 PGP 加密，使其能够检测不受支持的密码算法（Daniel Gustafsson）<a href=\"https://postgr.es/c/fe32b10fc\">§</a> <a href=\"https://postgr.es/c/4c5128ca0\">§</a></p>\n<p>此前，如果 OpenSSL 拒绝所请求的密码算法（例如，因为它正以 FIPS 模式运行，或尚未加载 legacy provider），<span>pgcrypto</span> 无法发现这一失败，只会将未经加密的块与明文进行异或，使这种<span>“<span>加密</span>”</span>轻易即可破解。这通常发生在已弃用或不符合 FIPS 的密码算法上（cipher-algo=blowfish/bf、twofish、cast5 或 3des）。</p>\n<p>默认情况下，<span>pgcrypto</span> 现在将无法解密以这种方式受影响的任何消息。为了能够取回这类数据，现新增选项 <code>ignore-cipher-failure</code>，用于 <code>pgp_pub_decrypt()</code> 和 <code>pgp_sym_decrypt()</code>。设置 <code>ignore-cipher-failure=1</code> 将恢复此前的行为，从而可以移除有缺陷的加密封装：</p>\n<pre>pgp_sym_decrypt(encrypted_column, <em><code>any key</code></em>, 'ignore-cipher-failure=1')\n</pre>\n<p>识别出受影响的消息并移除其封装后，即可使用现代算法重新加密。不过，OpenSSL 的行为必须与创建这些有缺陷消息时相同：如果不受支持的算法集合并不相同，这种方法将无法奏效。请参阅 <code>ignore-cipher-failure</code> 的文档。</p>\n<p><span>PostgreSQL</span> 项目感谢 Shishir Sharma 报告此问题。（CVE-2026-14663）</p>", "text": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法（Daniel Gustafsson）§ § 此前，如果 OpenSSL 拒绝所请求的密码算法（例如，因为它正以 FIPS 模式运行，或尚未加载 legacy provider），pgcrypto 无法发现这一失败，只会将未经加密的块与明文进行异或，使这种“加密”轻易即可破解。这通常发生在已弃用或不符合 FIPS 的密码算法上（cipher-algo=blowfish/bf、twofish、cast5 或 3des）。 默认情况下，pgcrypto 现在将无法解密以这种方式受影响的任何消息。为了能够取回这类数据，现新增选项 ignore-cipher-failure，用于 pgp_pub_decrypt() 和 pgp_sym_decrypt()。设置 ignore-cipher-failure=1 将恢复此前的行为，从而可以移除有缺陷的加密封装： pgp_sym_decrypt(encrypted_column, any key, 'ignore-cipher-failure=1') 识别出受影响的消息并移除其封装后，即可使用现代算法重新加密。不过，OpenSSL 的行为必须与创建这些有缺陷消息时相同：如果不受支持的算法集合并不相同，这种方法将无法奏效。请参阅 ignore-cipher-failure 的文档。 PostgreSQL 项目感谢 Shishir Sharma 报告此问题。（CVE-2026-14663）", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "commits": ["4c5128ca0", "fe32b10fc"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "76c381bb98f96b0d13869dcbf838806af637da86790488eefb0781524c9bb11c", "section_path": ["变更"], "commit_groups": [["472ef7e4a", "6ca6023ca", "7e29eb6f4", "b05cfc693", "ba207f58f", "d0ecee6de", "fe32b10fc"], ["49e795414", "4c5128ca0", "7eed42aa8", "953be116c", "ba2a63faf", "d97b3f58c", "e2c48c81f"]], "identity_text": "Fix contrib/pgcrypto's PGP encryption to detect unsupported ciphers (Daniel Gustafsson) Previously, if OpenSSL rejected the requested cipher (for example, because it is running in FIPS mode, or the legacy provider hasn't been loaded), pgcrypto failed to notice the failure and simply XOR'd the non-encrypted block with the plaintext, rendering the encryption trivially breakable. This will typically occur with deprecated or non-FIPS cipher algorithms (cipher-algo=blowfish/bf, twofish, cast5, or 3des). By default, pgcrypto will now fail to decrypt any messages that were affected in this way. To allow retrieval of such data, a new option ignore-cipher-failure has been added to pgp_pub_decrypt() and pgp_sym_decrypt(). Setting ignore-cipher-failure=1 will restore their previous behavior, allowing the faulty encryption wrapper to be stripped off: pgp_sym_decrypt(encrypted_column, any key, 'ignore-cipher-failure=1') Once the affected messages are identified and stripped of their wrappers, they can then be re-encrypted with a modern algorithm. It is important however that the behavior of OpenSSL be the same as it was when the faulty messages were created: if the set of unsupported algorithms is not the same, this approach will not work. See the documentation for ignore-cipher-failure. The PostgreSQL Project thanks Shishir Sharma for reporting this problem. (CVE-2026-14663)", "commit_aliases": ["472ef7e4a", "49e795414", "4c5128ca0", "6ca6023ca", "7e29eb6f4", "7eed42aa8", "953be116c", "b05cfc693", "ba207f58f", "ba2a63faf", "d0ecee6de", "d97b3f58c", "e2c48c81f", "fe32b10fc"], "source_commits": ["4c5128ca0", "fe32b10fc"], "source_entry_id": "18.6/changes/002", "db_id": "e8d5337224696bc194016b8a5269940d", "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f", "relations": [{"rule": 2, "type": "equivalent", "target": "28125c4ed11f62e12267d5aa58f29ab4", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}}, {"rule": 2, "type": "equivalent", "target": "379745809d65e827e6739e3818394675", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}}, {"rule": 2, "type": "equivalent", "target": "5487cefec946cc3b492ec90f8407bbc0", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}}, {"rule": 2, "type": "equivalent", "target": "a686eb51b6b69a27a6ba670a1473120d", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "379745809d65e827e6739e3818394675", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}, "url": "/docs/compare/?release=17.11#17.11-165fa935d28df7f1", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "5487cefec946cc3b492ec90f8407bbc0", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}, "url": "/docs/compare/?release=16.15#16.15-8ceb116fc33c62af", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "28125c4ed11f62e12267d5aa58f29ab4", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}, "url": "/docs/compare/?release=15.19#15.19-09644d5ff1559695", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "a686eb51b6b69a27a6ba670a1473120d", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}, "url": "/docs/compare/?release=14.24#14.24-fdda567fdb9d909d", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-7711e8f6ad16c5dd", "cves": ["CVE-2026-6464"], "html": "<p>修复 <span>psql</span>：跳过脚本中的 <code>COPY ... FROM STDIN</code> 命令后面的内联数据，即使 <code>COPY</code> 在发送 <code>PGRES_COPY_IN</code> 前失败（Tom Lane）<a href=\"https://postgr.es/c/29921259e\">§</a> <a href=\"https://postgr.es/c/900894d35\">§</a></p>\n<p>此前，如果 <code>COPY</code> 命令在开始执行时失败（例如目标表不存在）， <span>psql</span> 无法意识到这一点，会继续把随后的内联数据当作 SQL 命令读取。即使在最好的情况下这也是错误的，在最坏的情况下则会构成 SQL 注入风险。现在，<span>psql</span> 会识别语法有效的 <code>COPY ... FROM STDIN</code> 命令，并在服务器没有返回 <code>PGRES_COPY_IN</code> 时自行跳过数据。</p>\n<p>此修复不太可能影响生产 SQL 脚本，但测试脚本可能会有意测试失败的 <code>COPY ... FROM STDIN</code> 命令。此类脚本需要在每条这样的命令后增加一行 <code>\\.</code> 数据终止符。</p>\n<p><span>PostgreSQL</span> 项目感谢 Alexander Lakhin 报告此问题。（CVE-2026-6464）</p>", "text": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败（Tom Lane）§ § 此前，如果 COPY 命令在开始执行时失败（例如目标表不存在）， psql 无法意识到这一点，会继续把随后的内联数据当作 SQL 命令读取。即使在最好的情况下这也是错误的，在最坏的情况下则会构成 SQL 注入风险。现在，psql 会识别语法有效的 COPY ... FROM STDIN 命令，并在服务器没有返回 PGRES_COPY_IN 时自行跳过数据。 此修复不太可能影响生产 SQL 脚本，但测试脚本可能会有意测试失败的 COPY ... FROM STDIN 命令。此类脚本需要在每条这样的命令后增加一行 \\. 数据终止符。 PostgreSQL 项目感谢 Alexander Lakhin 报告此问题。（CVE-2026-6464）", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "commits": ["29921259e", "900894d35"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "eecc14b4909d681329da93aaa4d3c4b6db68b34d0fbfa27af7599af1e496d5aa", "section_path": ["变更"], "commit_groups": [["29921259e", "2bdfd5cdc", "3045a25ba", "3fdcfa8f7", "46fa1f6f3", "5c51ae455", "d6ab88d37"], ["7215c7e96", "8cdbabea7", "8cf01e213", "900894d35", "cf754f741", "db96e87f9", "dca6627de"]], "identity_text": "Fix psql to skip in-line data following a scripted COPY ... FROM STDIN command, even if the COPY fails before sending PGRES_COPY_IN (Tom Lane) Previously, if a COPY command failed at startup (for instance, because the target table doesn't exist) psql would not realize that and would proceed to read the following in-line data as SQL commands. In the best case that's wrong and in the worst case it's a SQL-injection hazard. Teach psql to recognize syntactically-valid COPY ... FROM STDIN commands and to skip data on its own authority if the server doesn't respond with PGRES_COPY_IN. While this fix is unlikely to affect any production SQL scripts, test scripts might intentionally exercise failing COPY ... FROM STDIN commands. Those will need to gain a \\. data terminator line after each such command. The PostgreSQL Project thanks Alexander Lakhin for reporting this problem. (CVE-2026-6464)", "commit_aliases": ["29921259e", "2bdfd5cdc", "3045a25ba", "3fdcfa8f7", "46fa1f6f3", "5c51ae455", "7215c7e96", "8cdbabea7", "8cf01e213", "900894d35", "cf754f741", "d6ab88d37", "db96e87f9", "dca6627de"], "source_commits": ["29921259e", "900894d35"], "source_entry_id": "18.6/changes/003", "db_id": "3c7601286aa0c9239f3cd6933eeddc1f", "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225", "relations": [{"rule": 2, "type": "equivalent", "target": "3fc8822e02c16e254582e2877b732705", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}, {"rule": 2, "type": "equivalent", "target": "a4c84c6885a3a330efb43a5e79c7eeca", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}, {"rule": 2, "type": "equivalent", "target": "df55d2444f4fc088a4a59341aed77733", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}, {"rule": 2, "type": "equivalent", "target": "ea96c547a98f3910bcd150ec7a9bb871", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "df55d2444f4fc088a4a59341aed77733", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}, "url": "/docs/compare/?release=17.11#17.11-8dd81897faaffe37", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "3fc8822e02c16e254582e2877b732705", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}, "url": "/docs/compare/?release=16.15#16.15-2edf36c62c37ac67", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "ea96c547a98f3910bcd150ec7a9bb871", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}, "url": "/docs/compare/?release=15.19#15.19-69623f56c9e9722f", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "a4c84c6885a3a330efb43a5e79c7eeca", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}, "url": "/docs/compare/?release=14.24#14.24-6d095df52bb23c05", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-cdf902a8952d780f", "cves": ["CVE-2026-16239"], "html": "<p>交叉检查运行 <code>EXECUTE</code> 或 <code>FETCH</code> 的 portal 的输出行类型（Robert Haas）<a href=\"https://postgr.es/c/37b8f3b0e\">§</a></p>\n<p><code>EXECUTE</code> 和 <code>FETCH</code> 使用两个 portal：外层 portal 用于语句本身，内层 portal 则代其运行实际查询。此前可以使两个 portal 声明的行类型不一致，从而导致服务器内存泄露和任意代码执行。</p>\n<p><span>PostgreSQL</span> 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）和 Peter Geoghegan 报告此问题。（CVE-2026-16239）</p>", "text": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型（Robert Haas）§ EXECUTE 和 FETCH 使用两个 portal：外层 portal 用于语句本身，内层 portal 则代其运行实际查询。此前可以使两个 portal 声明的行类型不一致，从而导致服务器内存泄露和任意代码执行。 PostgreSQL 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）和 Peter Geoghegan 报告此问题。（CVE-2026-16239）", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "commits": ["37b8f3b0e"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "7787b5a3c11e14e37ef4fc1d99970faa5faa1f486bc292127f6a786ec1cc8f4c", "section_path": ["变更"], "commit_groups": [["1f49beef2", "37b8f3b0e", "60887d348", "64a65ead1", "7d150b5c9", "9e02e2e18", "fc933ce00"]], "identity_text": "Cross-check the output row type of a portal running EXECUTE or FETCH (Robert Haas) EXECUTE and FETCH use two portals: an outer one for the statement itself, and an inner one running the query being executed on its behalf. It was previously possible to make the declared row types of the two portals diverge, leading to server memory disclosure and arbitrary code execution. The PostgreSQL Project thanks Ben Morris (in collaboration with Claude and Anthropic Research) and Peter Geoghegan for reporting this problem. (CVE-2026-16239)", "commit_aliases": ["1f49beef2", "37b8f3b0e", "60887d348", "64a65ead1", "7d150b5c9", "9e02e2e18", "fc933ce00"], "source_commits": ["37b8f3b0e"], "source_entry_id": "18.6/changes/004", "db_id": "5b8818230400246029db8b181a69938c", "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073", "relations": [{"rule": 2, "type": "equivalent", "target": "35f9a631aba647241e1c1fe3a3c4c269", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}}, {"rule": 2, "type": "equivalent", "target": "3ec84f87545930ce1036d071dad3e665", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}}, {"rule": 2, "type": "equivalent", "target": "e2286cb0c701bb465fa540c1d4a45071", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}}, {"rule": 2, "type": "equivalent", "target": "e9fc65bf1c23945887e9b1904d08b935", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "3ec84f87545930ce1036d071dad3e665", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}, "url": "/docs/compare/?release=17.11#17.11-b9a0ccf8cc602cca", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "35f9a631aba647241e1c1fe3a3c4c269", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}, "url": "/docs/compare/?release=16.15#16.15-82e9952b24a8b230", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e2286cb0c701bb465fa540c1d4a45071", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}, "url": "/docs/compare/?release=15.19#15.19-1912ca9b594fe54f", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "e9fc65bf1c23945887e9b1904d08b935", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}, "url": "/docs/compare/?release=14.24#14.24-741f9481441d702d", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-251aba36d837c523", "cves": ["CVE-2026-14669"], "html": "<p>修复 <code>to_char()</code> 处理过长时区缩写时发生的缓冲区越界写入（Tom Lane）<a href=\"https://postgr.es/c/4fafe2380\">§</a></p>\n<p>这很容易导致服务器崩溃，并且已有报告表明可利用该问题执行任意代码。</p>\n<p><span>PostgreSQL</span> 项目感谢 Hcamael、Amjad Shahzad、AntAISecurityLab 的 Tan Zhen、Tomer Fichman、Zheng Yu、Amy Burnett（OpenAI Codex Security）、Rick de Jager、Heewon Song、Sylvie Mayer、Aleksander Alekseev 和 Hillai Ben Sasson 报告此问题。（CVE-2026-14669）</p>", "text": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入（Tom Lane）§ 这很容易导致服务器崩溃，并且已有报告表明可利用该问题执行任意代码。 PostgreSQL 项目感谢 Hcamael、Amjad Shahzad、AntAISecurityLab 的 Tan Zhen、Tomer Fichman、Zheng Yu、Amy Burnett（OpenAI Codex Security）、Rick de Jager、Heewon Song、Sylvie Mayer、Aleksander Alekseev 和 Hillai Ben Sasson 报告此问题。（CVE-2026-14669）", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "commits": ["4fafe2380"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "08e4bf2c18b6cd512f8d32024d63b2eb56f09338fc780ac9e5dea9a2d705627b", "section_path": ["变更"], "commit_groups": [["12a620686", "3294ab839", "3d724bf4f", "4fafe2380"], ["2cf28d1b9", "331016322", "5dbeb69bc", "5fb3c6389", "8f64cc83f", "b614de487", "bef46aed3"]], "identity_text": "Fix buffer overrun with long time zone abbreviation in to_char() (Tom Lane) This can easily crash the server, and exploits leading to arbitrary code execution have been reported. The PostgreSQL Project thanks Hcamael, Amjad Shahzad, Tan Zhen of AntAISecurityLab, Tomer Fichman, Zheng Yu, Amy Burnett (OpenAI Codex Security), Rick de Jager, Heewon Song, Sylvie Mayer, Aleksander Alekseev, and Hillai Ben Sasson for reporting this problem. (CVE-2026-14669)", "commit_aliases": ["12a620686", "2cf28d1b9", "3294ab839", "331016322", "3d724bf4f", "4fafe2380", "5dbeb69bc", "5fb3c6389", "8f64cc83f", "b614de487", "bef46aed3"], "source_commits": ["4fafe2380", "5dbeb69bc"], "source_entry_id": "18.6/changes/005", "db_id": "1b34d3e2b18d75096fd2914d3673446c", "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "relations": [{"rule": 2, "type": "equivalent", "target": "027ccc17f71deb2b38e14fc8cc82dccd", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "1ba572e4a9f5584ecce320e293d4b258", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "70897dba323af27792543b2311799668", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "771fa954f9b22168a0764dc12074dadb", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "b17ef22f538327cabf0726e1b3f902cc", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "bf82a2510c4dfe4309435e9bce0ab3a4", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "bfa74492dd2c8ed5f4b0a4321cb63c85", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "bfa88fa3d381bbc9b7ee7a8614ea363c", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "ea24770278021c00f25a8b13bceb2a2c", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1ba572e4a9f5584ecce320e293d4b258", "kind": "related", "version": "18.6", "label": "18.6", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=18.6#18.6-e75bd84b8c02b997", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}, {"db_id": "bf82a2510c4dfe4309435e9bce0ab3a4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=17.11#17.11-9aaf551ddc6d8e1b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "b17ef22f538327cabf0726e1b3f902cc", "kind": "related", "version": "17.11", "label": "17.11", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=17.11#17.11-8291f394c20dacdc", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "bfa74492dd2c8ed5f4b0a4321cb63c85", "kind": "related", "version": "16.15", "label": "16.15", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=16.15#16.15-f0ba58d9c922a403-2", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "70897dba323af27792543b2311799668", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=16.15#16.15-f0ba58d9c922a403-1", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bfa88fa3d381bbc9b7ee7a8614ea363c", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=15.19#15.19-4395db3387c7cd38-1", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "771fa954f9b22168a0764dc12074dadb", "kind": "related", "version": "15.19", "label": "15.19", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=15.19#15.19-4395db3387c7cd38-2", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "ea24770278021c00f25a8b13bceb2a2c", "kind": "related", "version": "14.24", "label": "14.24", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=14.24#14.24-744489dc4872d6f1-2", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}, {"db_id": "027ccc17f71deb2b38e14fc8cc82dccd", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=14.24#14.24-744489dc4872d6f1-1", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-94204615ddc5390c", "cves": ["CVE-2026-14664"], "html": "<p>修复正则表达式匹配/拆分函数中的缓冲区越界写入（Masahiko Sawada）<a href=\"https://postgr.es/c/b7e5c3f63\">§</a></p>\n<p>如果传入编码无效的数据，这些函数可能会在转换缓冲区末尾之外写入数据。</p>\n<p><span>PostgreSQL</span> 项目感谢 Francesco Verardi 报告此问题。（CVE-2026-14664）</p>", "text": "修复正则表达式匹配/拆分函数中的缓冲区越界写入（Masahiko Sawada）§ 如果传入编码无效的数据，这些函数可能会在转换缓冲区末尾之外写入数据。 PostgreSQL 项目感谢 Francesco Verardi 报告此问题。（CVE-2026-14664）", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "commits": ["b7e5c3f63"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "656802ae623d28a3a12751de94a467f10ff76c8f7d87e4aee4c2fe8b1bee118d", "section_path": ["变更"], "commit_groups": [["127a0673f", "3179253c2", "343aabf1d", "7df2aa8ef", "890327639", "b7e5c3f63", "e91dcfcca"]], "identity_text": "Fix buffer overrun in regexp match/split functions (Masahiko Sawada) If passed invalidly-encoded data, these functions could write past the end of their conversion buffer. The PostgreSQL Project thanks Francesco Verardi for reporting this problem. (CVE-2026-14664)", "commit_aliases": ["127a0673f", "3179253c2", "343aabf1d", "7df2aa8ef", "890327639", "b7e5c3f63", "e91dcfcca"], "source_commits": ["b7e5c3f63"], "source_entry_id": "18.6/changes/006", "db_id": "31c6d0327b9be4008171a2064e268f6c", "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444", "relations": [{"rule": 2, "type": "equivalent", "target": "2dff40febce19283ae38aa647816cd73", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}}, {"rule": 2, "type": "equivalent", "target": "8e5a5f5c59f91019e7f4f9160ae97951", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}}, {"rule": 2, "type": "equivalent", "target": "ee22496a80ac478c7a0e734782b86377", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}}, {"rule": 2, "type": "equivalent", "target": "ee60c1b700f965a0913e70294c9927f5", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee60c1b700f965a0913e70294c9927f5", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}, "url": "/docs/compare/?release=17.11#17.11-cb1b743a0208c3c0", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "2dff40febce19283ae38aa647816cd73", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}, "url": "/docs/compare/?release=16.15#16.15-81cf49bd6b870f85", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "ee22496a80ac478c7a0e734782b86377", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}, "url": "/docs/compare/?release=15.19#15.19-8a672df6043ea295", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "8e5a5f5c59f91019e7f4f9160ae97951", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}, "url": "/docs/compare/?release=14.24#14.24-e8fecccd48726ac8", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-4a45e658fb69cefb", "cves": ["CVE-2026-18024"], "html": "<p>增强 <code>ascii()</code> 函数对无效输入的防护（Michael Paquier）<a href=\"https://postgr.es/c/08e812c02\">§</a></p>\n<p>通过提供编码无效的输入，可以诱使此函数读取并返回几个不应访问的数据字节。在启用断言的构建中，还可能触发其断言。</p>\n<p><span>PostgreSQL</span> 项目感谢 Hcamael 报告此问题。（CVE-2026-18024）</p>", "text": "增强 ascii() 函数对无效输入的防护（Michael Paquier）§ 通过提供编码无效的输入，可以诱使此函数读取并返回几个不应访问的数据字节。在启用断言的构建中，还可能触发其断言。 PostgreSQL 项目感谢 Hcamael 报告此问题。（CVE-2026-18024）", "title": "增强 ascii() 函数对无效输入的防护", "commits": ["08e812c02"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "5049ae9ce81738348074ae45e06e63cd9b97bc4cbabd39fbfb981007af3e98b9", "section_path": ["变更"], "commit_groups": [["08e812c02", "3b925133b", "42d333a78", "80ce920a5", "849da8210", "a16c31d39", "ac450853d"]], "identity_text": "Harden the ascii() function against invalid input (Michael Paquier) By supplying invalidly-encoded input, this function could be coaxed to read and return a few bytes of data that it shouldn't. In assert-enabled builds, its assertions could be triggered too. The PostgreSQL Project thanks Hcamael for reporting this problem. (CVE-2026-18024)", "commit_aliases": ["08e812c02", "3b925133b", "42d333a78", "80ce920a5", "849da8210", "a16c31d39", "ac450853d"], "source_commits": ["08e812c02"], "source_entry_id": "18.6/changes/007", "db_id": "28116a0caca0f02980e6eaa33ad62878", "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3", "relations": [{"rule": 2, "type": "equivalent", "target": "12383fa89e42b03b68791e4222af5d42", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}}, {"rule": 2, "type": "equivalent", "target": "3fcea79a14fe4f9b97afbae1d619ffdf", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}}, {"rule": 2, "type": "equivalent", "target": "5a7d1cc5fb2e41a7a2acbb0c59894992", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}}, {"rule": 2, "type": "equivalent", "target": "776c34393ca8da3ea9c128e3d7219ad3", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "12383fa89e42b03b68791e4222af5d42", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "增强 ascii() 函数对无效输入的防护", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}, "url": "/docs/compare/?release=17.11#17.11-e6de3d1ea5ee5a52", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "5a7d1cc5fb2e41a7a2acbb0c59894992", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "增强 ascii() 函数对无效输入的防护", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}, "url": "/docs/compare/?release=16.15#16.15-483eebd2875e58ea", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "3fcea79a14fe4f9b97afbae1d619ffdf", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "增强 ascii() 函数对无效输入的防护", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}, "url": "/docs/compare/?release=15.19#15.19-7d22c46c0b1e985e", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "776c34393ca8da3ea9c128e3d7219ad3", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "增强 ascii() 函数对无效输入的防护", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}, "url": "/docs/compare/?release=14.24#14.24-7c4016acc1446315", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-61ef917ba36ebc0f", "cves": ["CVE-2026-16238"], "html": "<p>修复 <code>pg_restore_attribute_stats()</code> 对多范围类型的处理（OpenAI Security Research Team）<a href=\"https://postgr.es/c/08454e8b2\">§</a> <a href=\"https://postgr.es/c/8d428c6e6\">§</a></p>\n<p><code>pg_restore_attribute_stats()</code> 将多范围类型当作其底层范围类型处理。对于边界直方图，这是正确的，但对于其他所有统计信息类型都是错误的。</p>\n<p><span>PostgreSQL</span> 项目感谢 Amy Burnett（OpenAI Codex Security）报告此问题。（CVE-2026-16238）</p>", "text": "修复 pg_restore_attribute_stats() 对多范围类型的处理（OpenAI Security Research Team）§ § pg_restore_attribute_stats() 将多范围类型当作其底层范围类型处理。对于边界直方图，这是正确的，但对于其他所有统计信息类型都是错误的。 PostgreSQL 项目感谢 Amy Burnett（OpenAI Codex Security）报告此问题。（CVE-2026-16238）", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "commits": ["08454e8b2", "8d428c6e6"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2d778012b54a32e71ae2020cc0542b1f6f274071aca48245105476b79eaf8788", "section_path": ["变更"], "commit_groups": [["08454e8b2", "57835938f", "b3d9262bb"], ["8d428c6e6"]], "identity_text": "Fix multirange type handling in pg_restore_attribute_stats() (OpenAI Security Research Team) pg_restore_attribute_stats() treated multirange types just like their underlying range type. This works correctly for the bounds histogram, but it was wrong for all the other statistics kinds. The PostgreSQL Project thanks Amy Burnett (OpenAI Codex Security) for reporting this problem. (CVE-2026-16238)", "commit_aliases": ["08454e8b2", "57835938f", "8d428c6e6", "b3d9262bb"], "source_commits": ["08454e8b2", "8d428c6e6"], "source_entry_id": "18.6/changes/008", "db_id": "b73333feb74980fc954bc5f235124549", "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d", "relations": [{"rule": 2, "type": "equivalent", "target": "23063a48b3c2ddae3e3c1623fd1552b5", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}}, {"rule": 2, "type": "equivalent", "target": "7cdf19717697008d9621e1145ea725cc", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}}, {"rule": 2, "type": "equivalent", "target": "c02d2730726a9bba001c3dcad007a406", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}}, {"rule": 2, "type": "equivalent", "target": "e8b2ed03b7135b067945fe6134a48d0c", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c02d2730726a9bba001c3dcad007a406", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}, "url": "/docs/compare/?release=17.11#17.11-5d9a6f9f262886ec", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "e8b2ed03b7135b067945fe6134a48d0c", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}, "url": "/docs/compare/?release=16.15#16.15-5d9a6f9f262886ec", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "7cdf19717697008d9621e1145ea725cc", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}, "url": "/docs/compare/?release=15.19#15.19-5d9a6f9f262886ec", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "23063a48b3c2ddae3e3c1623fd1552b5", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}, "url": "/docs/compare/?release=14.24#14.24-5d9a6f9f262886ec", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-d63d1269e786113b", "cves": ["CVE-2026-14668"], "html": "<p>让 <code>scalarineqsel()</code> 检查预期为 <code>tid</code> 类型的常量是否确实属于该类型（Tom Lane）<a href=\"https://postgr.es/c/a2cb5a1cf\">§</a></p>\n<p>对于所有使用此估算器的内置操作符，这一预期都会成立，但恶意构造的操作符可能违反该预期，从而导致崩溃或服务器内存泄露。</p>\n<p><span>PostgreSQL</span> 项目感谢 Hcamael 报告此问题。（CVE-2026-14668）</p>", "text": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型（Tom Lane）§ 对于所有使用此估算器的内置操作符，这一预期都会成立，但恶意构造的操作符可能违反该预期，从而导致崩溃或服务器内存泄露。 PostgreSQL 项目感谢 Hcamael 报告此问题。（CVE-2026-14668）", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "commits": ["a2cb5a1cf"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "71a628120eaf5daa06fcc85e23c772587ad03074850944dabf62f1513a399b0b", "section_path": ["变更"], "commit_groups": [["005ffaa7f", "0d60ee717", "0ebf896f4", "591192e2e", "59205c7e9", "8f0c3d2fe", "a2cb5a1cf"]], "identity_text": "Make scalarineqsel() check that a constant it expects to be of type tid actually is (Tom Lane) This expectation will hold for all the built-in operators that use this estimator, but a maliciously-constructed operator could violate it, leading to a crash or server memory disclosure. The PostgreSQL Project thanks Hcamael for reporting this problem. (CVE-2026-14668)", "commit_aliases": ["005ffaa7f", "0d60ee717", "0ebf896f4", "591192e2e", "59205c7e9", "8f0c3d2fe", "a2cb5a1cf"], "source_commits": ["a2cb5a1cf"], "source_entry_id": "18.6/changes/009", "db_id": "97ac47be877760addc2f5b0afd4a077b", "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba", "relations": [{"rule": 2, "type": "equivalent", "target": "0c4b36600df59cbe54ae892784279e12", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}}, {"rule": 2, "type": "equivalent", "target": "7cbf7cb5e5571e3fde38e116219b7ff1", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}}, {"rule": 2, "type": "equivalent", "target": "8e21096b01a0beb228febdc9d9b21e1a", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}}, {"rule": 2, "type": "equivalent", "target": "9bd6480c825dec4b7dd7e98d8eca9b8f", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "7cbf7cb5e5571e3fde38e116219b7ff1", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}, "url": "/docs/compare/?release=17.11#17.11-3000fb5c37bacd7b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "8e21096b01a0beb228febdc9d9b21e1a", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}, "url": "/docs/compare/?release=16.15#16.15-ae6cefffe2c19e7b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0c4b36600df59cbe54ae892784279e12", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}, "url": "/docs/compare/?release=15.19#15.19-e5c6e044e35ae26d", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "9bd6480c825dec4b7dd7e98d8eca9b8f", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}, "url": "/docs/compare/?release=14.24#14.24-5956eea8fb565470", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-774bcf033add5976", "cves": ["CVE-2026-14662"], "html": "<p>增强 <code>tsvector</code> 和 <code>tsquery</code> 代码对超长值的防护（包括单个词位以及向量/查询的总长度）（Tom Lane）<a href=\"https://postgr.es/c/e25135057\">§</a> <a href=\"https://postgr.es/c/dddc8a69f\">§</a></p>\n<p>文档所述限制并未在所有代码路径上强制执行。</p>\n<p><span>PostgreSQL</span> 项目感谢 Yuhang Wu、Zhenpeng Lin、Zheng Yu 和 Hcamael 报告这些问题。（CVE-2026-14662）</p>", "text": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）（Tom Lane）§ § 文档所述限制并未在所有代码路径上强制执行。 PostgreSQL 项目感谢 Yuhang Wu、Zhenpeng Lin、Zheng Yu 和 Hcamael 报告这些问题。（CVE-2026-14662）", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "commits": ["dddc8a69f", "e25135057"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9634a8c9c802cecb1686784102c75528a5294d81c7a5ed66b0e5c5818f24b1c3", "section_path": ["变更"], "commit_groups": [["1e3014f37", "3b2238fbe", "4f8b37b6b", "84b6a7a06", "8e87bd473", "90649b6f8", "dddc8a69f"], ["23d9ad771", "7c1a8805a", "7c2ba321d", "cb947ca31", "e25135057", "f443d0a0a", "fe0b5bd6d"]], "identity_text": "Harden tsvector and tsquery code against overly long values (both individual lexemes and total vector/query length) (Tom Lane) The documented limits were not enforced in all code paths. The PostgreSQL Project thanks Yuhang Wu, Zhenpeng Lin, Zheng Yu, and Hcamael for reporting these problems. (CVE-2026-14662)", "commit_aliases": ["1e3014f37", "23d9ad771", "3b2238fbe", "4f8b37b6b", "7c1a8805a", "7c2ba321d", "84b6a7a06", "8e87bd473", "90649b6f8", "cb947ca31", "dddc8a69f", "e25135057", "f443d0a0a", "fe0b5bd6d"], "source_commits": ["dddc8a69f", "e25135057"], "source_entry_id": "18.6/changes/010", "db_id": "e8daa5e986b5139aa334ffb65fe716c9", "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e", "relations": [{"rule": 2, "type": "equivalent", "target": "3d26273adc446717f1dd7040f0311025", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}}, {"rule": 2, "type": "equivalent", "target": "728b5628883585075c121bd29db0affe", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}}, {"rule": 2, "type": "equivalent", "target": "aa4dcca3c56a82ca052b2bdbc7e68c1b", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}}, {"rule": 2, "type": "equivalent", "target": "f4f98b5e09530fc0d9eabe85409d03ef", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "aa4dcca3c56a82ca052b2bdbc7e68c1b", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}, "url": "/docs/compare/?release=17.11#17.11-730aec962ef92894", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f4f98b5e09530fc0d9eabe85409d03ef", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}, "url": "/docs/compare/?release=16.15#16.15-60c62245c66747ba", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "3d26273adc446717f1dd7040f0311025", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}, "url": "/docs/compare/?release=15.19#15.19-17c179b4d9e41496", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "728b5628883585075c121bd29db0affe", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}, "url": "/docs/compare/?release=14.24#14.24-60bda94b8310bec9", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-fe89a6f688a29e60", "cves": ["CVE-2026-14679"], "html": "<p>修复多处错误地假定无需处理超过 <code>FUNC_MAX_ARGS</code> 个函数参数的问题（Tom Lane）<a href=\"https://postgr.es/c/7f0e1aac7\">§</a> <a href=\"https://postgr.es/c/2a03f21da\">§</a></p>\n<p>特别是，服务器对聚合函数参数数量的实际限制是 <code>FUNC_MAX_ARGS - 1</code>，但解析器未强制执行这一限制，给后续处理带来隐患。</p>\n<p><span>PostgreSQL</span> 项目感谢 Zheng Yu、ylwangtju 和 Masahiko Sawada 报告这些问题。（CVE-2026-14679）</p>", "text": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题（Tom Lane）§ § 特别是，服务器对聚合函数参数数量的实际限制是 FUNC_MAX_ARGS - 1，但解析器未强制执行这一限制，给后续处理带来隐患。 PostgreSQL 项目感谢 Zheng Yu、ylwangtju 和 Masahiko Sawada 报告这些问题。（CVE-2026-14679）", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "commits": ["2a03f21da", "7f0e1aac7"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "78336166a7234ad10b84a1249d4b43d09a265825e59787c04f3fc43d58a86256", "section_path": ["变更"], "commit_groups": [["2a03f21da", "32e0d25d4", "42d9749b7", "60e7329b9", "8a40f4b09", "c7f462838", "eb2fa2704"], ["797e3cc4c", "7bd56f7a3", "7f0e1aac7", "8c67c4cf5", "92972e815", "b417744a7", "cf44ff5e6"]], "identity_text": "Fix various places that mistakenly assumed they would not have to deal with more than FUNC_MAX_ARGS function arguments (Tom Lane) Notably, the server's actual limit on the number of arguments to an aggregate function is FUNC_MAX_ARGS - 1, but the parser failed to enforce that, creating hazards downstream. The PostgreSQL Project thanks Zheng Yu, ylwangtju, and Masahiko Sawada for reporting these problems. (CVE-2026-14679)", "commit_aliases": ["2a03f21da", "32e0d25d4", "42d9749b7", "60e7329b9", "797e3cc4c", "7bd56f7a3", "7f0e1aac7", "8a40f4b09", "8c67c4cf5", "92972e815", "b417744a7", "c7f462838", "cf44ff5e6", "eb2fa2704"], "source_commits": ["2a03f21da", "7f0e1aac7"], "source_entry_id": "18.6/changes/011", "db_id": "4a55b4d9f252330dd0f0f94102631952", "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f", "relations": [{"rule": 2, "type": "equivalent", "target": "349adc6ad9cc12d1c04aad6e3d659917", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}}, {"rule": 2, "type": "equivalent", "target": "41c6f110168cdb7324811a04a2654cf2", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}}, {"rule": 2, "type": "equivalent", "target": "b48c4a1b729ca10627402a86238f5a19", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}}, {"rule": 2, "type": "equivalent", "target": "bea7e191e30a8a238690f6d536666b13", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "349adc6ad9cc12d1c04aad6e3d659917", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}, "url": "/docs/compare/?release=17.11#17.11-dd9a429d3ce13500", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "bea7e191e30a8a238690f6d536666b13", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}, "url": "/docs/compare/?release=16.15#16.15-4e4499530e41620f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "41c6f110168cdb7324811a04a2654cf2", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}, "url": "/docs/compare/?release=15.19#15.19-a19bdbedae40aee8", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "b48c4a1b729ca10627402a86238f5a19", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}, "url": "/docs/compare/?release=14.24#14.24-573a25e391fc116a", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-a8d1f97d70d85295", "cves": ["CVE-2026-14680"], "html": "<p>拒绝从 SQL 调用接受或返回 <code>internal</code> 类型的函数（Tom Lane）<a href=\"https://postgr.es/c/54649de65\">§</a> <a href=\"https://postgr.es/c/722695db1\">§</a></p>\n<p>现有防护已被证明不足，因此添加更明确的检查。</p>\n<p><span>PostgreSQL</span> 项目感谢 Amy Burnett（OpenAI Codex Security）报告此问题。（CVE-2026-14680）</p>", "text": "拒绝从 SQL 调用接受或返回 internal 类型的函数（Tom Lane）§ § 现有防护已被证明不足，因此添加更明确的检查。 PostgreSQL 项目感谢 Amy Burnett（OpenAI Codex Security）报告此问题。（CVE-2026-14680）", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "commits": ["54649de65", "722695db1"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9fc338e9d48ea9fb35714275ed0d3331db14eb450da43f5cebbd900436553e52", "section_path": ["变更"], "commit_groups": [["155dacbc5", "21a00de43", "4c0c1b2cd", "54649de65", "8f7e35b08", "e926a9aac", "eb9e55297"], ["1aa601b4f", "21d8cfb18", "722695db1", "7f308dd7c", "83d0a083f", "913fe0c31", "d6e861e19"]], "identity_text": "Reject calls from SQL to functions that take or return type internal (Tom Lane) The existing defenses against doing this have been shown to be insufficient, so add more explicit checks. The PostgreSQL Project thanks Amy Burnett (OpenAI Codex Security) for reporting this problem. (CVE-2026-14680)", "commit_aliases": ["155dacbc5", "1aa601b4f", "21a00de43", "21d8cfb18", "4c0c1b2cd", "54649de65", "722695db1", "7f308dd7c", "83d0a083f", "8f7e35b08", "913fe0c31", "d6e861e19", "e926a9aac", "eb9e55297"], "source_commits": ["54649de65", "722695db1"], "source_entry_id": "18.6/changes/012", "db_id": "02bb5a11139923dd7f170a94556495c3", "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f", "relations": [{"rule": 2, "type": "equivalent", "target": "42aa2e3353b4536c48a5271f47f0eb90", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}}, {"rule": 2, "type": "equivalent", "target": "97ff2029068cd51a1802927b5b54f2d3", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}}, {"rule": 2, "type": "equivalent", "target": "b56373871b3aaa929aaba36a65e4eb45", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}}, {"rule": 2, "type": "equivalent", "target": "e54c1abdbc2feb1d5c81f31cc4a073f8", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "42aa2e3353b4536c48a5271f47f0eb90", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}, "url": "/docs/compare/?release=17.11#17.11-ea70ef62a58da283", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "e54c1abdbc2feb1d5c81f31cc4a073f8", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}, "url": "/docs/compare/?release=16.15#16.15-34c662185f18a805", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "97ff2029068cd51a1802927b5b54f2d3", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}, "url": "/docs/compare/?release=15.19#15.19-945b15baee4c22d6", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "b56373871b3aaa929aaba36a65e4eb45", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}, "url": "/docs/compare/?release=14.24#14.24-d4901f423633ca69", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-c42539c16ee68f2f", "cves": ["CVE-2026-6469"], "html": "<p>在 <code>ALTER TABLE</code> 重建扩展统计信息对象时保留其所有权（Masahiko Sawada）<a href=\"https://postgr.es/c/a1fa24127\">§</a></p>\n<p>此前，执行 <code>ALTER TABLE</code> 的角色会取得这类对象的所有权，这并不合适。</p>\n<p><span>PostgreSQL</span> 项目感谢 Noah Misch 报告此问题。（CVE-2026-6469）</p>", "text": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权（Masahiko Sawada）§ 此前，执行 ALTER TABLE 的角色会取得这类对象的所有权，这并不合适。 PostgreSQL 项目感谢 Noah Misch 报告此问题。（CVE-2026-6469）", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "commits": ["a1fa24127"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "24663e30aeab6ad754d8132d106fe4a7a7973900d0381b17c6a730bc4a47640c", "section_path": ["变更"], "commit_groups": [["6713a6e04", "70a3b4e18", "75a03c569", "7c3367ab5", "93b93f28f", "a1fa24127", "fb6d1ca8d"]], "identity_text": "Preserve the ownership of extended statistics objects when they are rebuilt by ALTER TABLE (Masahiko Sawada) Previously, the role running ALTER TABLE gained ownership of such objects, but that seems inappropriate. The PostgreSQL Project thanks Noah Misch for reporting this problem. (CVE-2026-6469)", "commit_aliases": ["6713a6e04", "70a3b4e18", "75a03c569", "7c3367ab5", "93b93f28f", "a1fa24127", "fb6d1ca8d"], "source_commits": ["a1fa24127"], "source_entry_id": "18.6/changes/013", "db_id": "4ce18d2a1cf23ef6c7ff55c667d59eae", "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6", "relations": [{"rule": 2, "type": "equivalent", "target": "a45d7275fb35413aaeeb017f13dfbf83", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}}, {"rule": 2, "type": "equivalent", "target": "a511c71fb1c56e7bba21699bf176d02f", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}}, {"rule": 2, "type": "equivalent", "target": "ddb05610c858789527b1369d30b4bb1c", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}}, {"rule": 2, "type": "equivalent", "target": "f73abeba4ef827229ec4b724b2dbde1b", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a511c71fb1c56e7bba21699bf176d02f", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}, "url": "/docs/compare/?release=17.11#17.11-50a00c5a01592c04", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "a45d7275fb35413aaeeb017f13dfbf83", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}, "url": "/docs/compare/?release=16.15#16.15-e8ff71640bff6e1b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "ddb05610c858789527b1369d30b4bb1c", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}, "url": "/docs/compare/?release=15.19#15.19-b4f58a948680ef82", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f73abeba4ef827229ec4b724b2dbde1b", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}, "url": "/docs/compare/?release=14.24#14.24-dd4b41945f77ff4b", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-323a1fc7b03b6859", "cves": ["CVE-2026-15741"], "html": "<p>逆解析 <code>EXTRACT()</code> 函数调用时，按需为字段名加引号（Nathan Bossart）<a href=\"https://postgr.es/c/0ddd9098a\">§</a></p>\n<p>解析器接受 <code>EXTRACT()</code> 中的任意字符串字面量作为字段名，并将验证推迟到执行阶段。如果该调用被存储后再逆解析（例如在 <span>pg_dump</span> 期间），字符串正文会被原样输出，从而造成 SQL 注入。</p>\n<p><span>PostgreSQL</span> 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-15741）</p>", "text": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号（Nathan Bossart）§ 解析器接受 EXTRACT() 中的任意字符串字面量作为字段名，并将验证推迟到执行阶段。如果该调用被存储后再逆解析（例如在 pg_dump 期间），字符串正文会被原样输出，从而造成 SQL 注入。 PostgreSQL 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-15741）", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "commits": ["0ddd9098a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "b0f3b42c30940539f07658c95026fe3f58860d297a362ca19ea132415bd9848d", "section_path": ["变更"], "commit_groups": [["0ddd9098a", "44ea6764b", "5981fe370", "5e5ea74e3", "967acab87", "a3832a757", "f9729b507"]], "identity_text": "When deparsing an EXTRACT() function call, quote the field name if needed (Nathan Bossart) The parser accepts any string literal as a field name in EXTRACT(), deferring validation to execution. If the call is stored and deparsed (for example during pg_dump), the string body was regurgitated verbatim, allowing SQL injection. The PostgreSQL Project thanks Ben Morris (in collaboration with Claude and Anthropic Research) for reporting this problem. (CVE-2026-15741)", "commit_aliases": ["0ddd9098a", "44ea6764b", "5981fe370", "5e5ea74e3", "967acab87", "a3832a757", "f9729b507"], "source_commits": ["0ddd9098a"], "source_entry_id": "18.6/changes/014", "db_id": "57a69063ff0b7f44b253f158536bbc64", "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef", "relations": [{"rule": 2, "type": "equivalent", "target": "0b6c8ce7fe6e116e2bb99be5e53dff29", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}}, {"rule": 2, "type": "equivalent", "target": "46e3e259f29471b862d3a1eeaae97525", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}}, {"rule": 2, "type": "equivalent", "target": "7c6c8c33a06891c077c2444b81e229fb", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}}, {"rule": 2, "type": "equivalent", "target": "9677e1d0e314b1250191bf908cc27099", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9677e1d0e314b1250191bf908cc27099", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}, "url": "/docs/compare/?release=17.11#17.11-2bafbd49437d6dde", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "46e3e259f29471b862d3a1eeaae97525", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}, "url": "/docs/compare/?release=16.15#16.15-b95737c58db91b67", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0b6c8ce7fe6e116e2bb99be5e53dff29", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}, "url": "/docs/compare/?release=15.19#15.19-a14e35e1025f9ddc", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "7c6c8c33a06891c077c2444b81e229fb", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}, "url": "/docs/compare/?release=14.24#14.24-6222e3f0de511b22", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-0b5cda175039a2c3", "cves": ["CVE-2026-6470"], "html": "<p>在此前漏检的场景中检查数据类型的 <code>USAGE</code> 权限（Nathan Bossart）<a href=\"https://postgr.es/c/2e91f8548\">§</a> <a href=\"https://postgr.es/c/57f59ca1d\">§</a> <a href=\"https://postgr.es/c/278053843\">§</a></p>\n<p><code>CREATE TYPE AS RANGE</code>、<code>ALTER TABLE OF</code> 以及创建存储表达式的命令此前都没有执行这一检查。这些遗漏使没有 <code>USAGE</code> 权限的角色仍能创建依赖该类型的对象，并可能阻止类型所有者日后更改该类型。</p>\n<p><span>PostgreSQL</span> 项目感谢 Jingzhou Fu 报告此问题。（CVE-2026-6470）</p>", "text": "在此前漏检的场景中检查数据类型的 USAGE 权限（Nathan Bossart）§ § § CREATE TYPE AS RANGE、ALTER TABLE OF 以及创建存储表达式的命令此前都没有执行这一检查。这些遗漏使没有 USAGE 权限的角色仍能创建依赖该类型的对象，并可能阻止类型所有者日后更改该类型。 PostgreSQL 项目感谢 Jingzhou Fu 报告此问题。（CVE-2026-6470）", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "commits": ["278053843", "2e91f8548", "57f59ca1d"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "75e3a152860bf6489cdbd50ff6c57c8551e228583eb60e84a8b6068bf59b58c6", "section_path": ["变更"], "commit_groups": [["1a358b8f2", "278053843", "424fb7160", "4fac4c108", "6dbedd48b", "7ce056b17", "d1c8aa0b0"], ["24855357c", "2e91f8548", "323af0a4e", "97e277402", "a9f6e768a", "efdb26072", "fd6d3e7e9"], ["53ed5ebd8", "57f59ca1d", "671359605", "7a761fe40", "b6e45b4f8", "bb1bc525d", "c062734cd"]], "identity_text": "Check for USAGE privilege on data types in places that formerly failed to check that (Nathan Bossart) CREATE TYPE AS RANGE did not check, nor did ALTER TABLE OF, nor did commands that create stored expressions. These omissions allowed roles without USAGE privilege to nonetheless create objects depending on the type, possibly blocking the type's owner from changing the type later. The PostgreSQL Project thanks Jingzhou Fu for reporting this problem. (CVE-2026-6470)", "commit_aliases": ["1a358b8f2", "24855357c", "278053843", "2e91f8548", "323af0a4e", "424fb7160", "4fac4c108", "53ed5ebd8", "57f59ca1d", "671359605", "6dbedd48b", "7a761fe40", "7ce056b17", "97e277402", "a9f6e768a", "b6e45b4f8", "bb1bc525d", "c062734cd", "d1c8aa0b0", "efdb26072", "fd6d3e7e9"], "source_commits": ["278053843", "2e91f8548", "57f59ca1d"], "source_entry_id": "18.6/changes/015", "db_id": "56232d6e6345f5c09340b72ed581eb4d", "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068", "relations": [{"rule": 2, "type": "equivalent", "target": "8c93b6ddad829461b98126755a87488f", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}}, {"rule": 2, "type": "equivalent", "target": "e50027af5564cb33c0ec80ab0f86e1a9", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}}, {"rule": 2, "type": "equivalent", "target": "f2f63cd272a4e4c0c968eacb6779415b", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}}, {"rule": 2, "type": "equivalent", "target": "f44708d4a1d626e3b8656335ae598c69", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e50027af5564cb33c0ec80ab0f86e1a9", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}, "url": "/docs/compare/?release=17.11#17.11-575634f97737603c", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f2f63cd272a4e4c0c968eacb6779415b", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}, "url": "/docs/compare/?release=16.15#16.15-0bb6468faf69c61b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "8c93b6ddad829461b98126755a87488f", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}, "url": "/docs/compare/?release=15.19#15.19-680192fcb0e07883", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f44708d4a1d626e3b8656335ae598c69", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}, "url": "/docs/compare/?release=14.24#14.24-045d18982c440e91", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-ad01030c7fc964f1", "cves": ["CVE-2026-14666"], "html": "<p>角色发生变更后使依赖角色的缓存计划失效（Ilya Staroverov、Shinya Kato、Nathan Bossart）<a href=\"https://postgr.es/c/0b12f56bf\">§</a></p>\n<p>角色成员关系、角色属性和数据库所有权的变更可能影响行级安全策略的预期行为，但此前系统仍会继续使用按旧状态生成的缓存计划。</p>\n<p><span>PostgreSQL</span> 项目感谢 Ilya Staroverov 和 Shinya Kato 报告此问题。（CVE-2026-14666）</p>", "text": "角色发生变更后使依赖角色的缓存计划失效（Ilya Staroverov、Shinya Kato、Nathan Bossart）§ 角色成员关系、角色属性和数据库所有权的变更可能影响行级安全策略的预期行为，但此前系统仍会继续使用按旧状态生成的缓存计划。 PostgreSQL 项目感谢 Ilya Staroverov 和 Shinya Kato 报告此问题。（CVE-2026-14666）", "title": "角色发生变更后使依赖角色的缓存计划失效", "commits": ["0b12f56bf"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "4b0f6546901b6c865183e9d3201d0ebca911407b1403022f7e39db73d6ef8c30", "section_path": ["变更"], "commit_groups": [["0b12f56bf", "17b6083db", "1974acf23", "567286b76", "f4174aa84", "f5f2da795", "ffca23839"]], "identity_text": "Invalidate role-dependent cached plans after role changes (Ilya Staroverov, Shinya Kato, Nathan Bossart) Role membership, role attribute, and database ownership changes may impact the expected behavior of row-level security policies, but previously we'd continue to use cached plans that were made according to the old state of affairs. The PostgreSQL Project thanks Ilya Staroverov and Shinya Kato for reporting this problem. (CVE-2026-14666)", "commit_aliases": ["0b12f56bf", "17b6083db", "1974acf23", "567286b76", "f4174aa84", "f5f2da795", "ffca23839"], "source_commits": ["0b12f56bf"], "source_entry_id": "18.6/changes/016", "db_id": "0e200ae2afa3db031ffa07314f2deab2", "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432", "relations": [{"rule": 2, "type": "equivalent", "target": "043b1e2a717a3c7862402faa9c4b1f91", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}}, {"rule": 2, "type": "equivalent", "target": "49941507efa272e723ff0698b2236a6e", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}}, {"rule": 2, "type": "equivalent", "target": "652fbbbd4aff8c1d5babff0cde01bc7f", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}}, {"rule": 2, "type": "equivalent", "target": "c1425f2f64ac014a0d5ac494fbe66faf", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "49941507efa272e723ff0698b2236a6e", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "角色发生变更后使依赖角色的缓存计划失效", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}, "url": "/docs/compare/?release=17.11#17.11-43977a837123cada", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c1425f2f64ac014a0d5ac494fbe66faf", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "角色发生变更后使依赖角色的缓存计划失效", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}, "url": "/docs/compare/?release=16.15#16.15-c1ecfb608aa3193c", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "652fbbbd4aff8c1d5babff0cde01bc7f", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "角色发生变更后使依赖角色的缓存计划失效", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}, "url": "/docs/compare/?release=15.19#15.19-90c7239f7a1b81bc", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "043b1e2a717a3c7862402faa9c4b1f91", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "角色发生变更后使依赖角色的缓存计划失效", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}, "url": "/docs/compare/?release=14.24#14.24-6987bc0045f3c2c5", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-ed40b113af1a65e3", "cves": ["CVE-2026-14681"], "html": "<p>在直接 SSL 连接之后拒绝 GSSEncRequest（Michael Paquier）<a href=\"https://postgr.es/c/203a48209\">§</a></p>\n<p>建立 TLS 加密连接后，服务器仍会接受 GSSAPI 加密请求。如果请求成功，连接仍会使用 TLS 加密，但在 <code>pg_hba</code> 规则看来却像 GSS 连接。因此，意图禁止 TLS 的 <code>pg_hba</code> 策略无法得到正确执行。</p>\n<p><span>PostgreSQL</span> 项目感谢 p4p3r 报告此问题。（CVE-2026-14681）</p>", "text": "在直接 SSL 连接之后拒绝 GSSEncRequest（Michael Paquier）§ 建立 TLS 加密连接后，服务器仍会接受 GSSAPI 加密请求。如果请求成功，连接仍会使用 TLS 加密，但在 pg_hba 规则看来却像 GSS 连接。因此，意图禁止 TLS 的 pg_hba 策略无法得到正确执行。 PostgreSQL 项目感谢 p4p3r 报告此问题。（CVE-2026-14681）", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "commits": ["203a48209"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "f4e2864baf55c24b865ce6284f997649fdadecb1671b9173a5b147049484bf3f", "section_path": ["变更"], "commit_groups": [["067a64d40", "203a48209", "3bf185b4b", "bf1bb7e29"]], "identity_text": "Reject GSSEncRequest after direct SSL connection (Michael Paquier) After establishing a TLS-encrypted connection, the server would still accept a request for GSSAPI encryption. If that succeeded, the connection would proceed using TLS encryption, but it would look like a GSS connection to the pg_hba rules. Thus, a pg_hba policy intending to disallow TLS would not be enforced correctly. The PostgreSQL Project thanks p4p3r for reporting this problem. (CVE-2026-14681)", "commit_aliases": ["067a64d40", "203a48209", "3bf185b4b", "bf1bb7e29"], "source_commits": ["203a48209"], "source_entry_id": "18.6/changes/017", "db_id": "deae128594614e84894b8e7a7062759f", "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620", "relations": [{"rule": 2, "type": "equivalent", "target": "55da165c3ced2d17689a546cd13a10f8", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}}, {"rule": 2, "type": "equivalent", "target": "bdd453999af206604b4ae0c623733bc5", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}}, {"rule": 2, "type": "equivalent", "target": "efca948aece74421d5dff07ca459356e", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}}, {"rule": 2, "type": "equivalent", "target": "fae551c24851f8412783e17b85987136", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "55da165c3ced2d17689a546cd13a10f8", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}, "url": "/docs/compare/?release=17.11#17.11-1d103f53312d0305", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "fae551c24851f8412783e17b85987136", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}, "url": "/docs/compare/?release=16.15#16.15-f7c6e475d2ee5cf0", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bdd453999af206604b4ae0c623733bc5", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}, "url": "/docs/compare/?release=15.19#15.19-f7c6e475d2ee5cf0", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "efca948aece74421d5dff07ca459356e", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}, "url": "/docs/compare/?release=14.24#14.24-f7c6e475d2ee5cf0", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-bb742148aa1ab70a", "cves": ["CVE-2026-14672"], "html": "<p>让模拟的 SCRAM secret 更可信（Nathan Bossart）<a href=\"https://postgr.es/c/822143c4d\">§</a></p>\n<p>如果尝试以 SCRAM 登录不存在或没有 SCRAM secret 的角色，系统会生成一个模拟 secret 并照常执行认证握手，以免向攻击者泄露这些事实。但模拟 secret 使用固定的迭代次数，这本身可能形成可观察的响应差异。现改用配置设置 <code>scram_iterations</code>，使模拟 secret 更接近该安装中的真实 secret。</p>\n<p><span>PostgreSQL</span> 项目感谢 Radim Marek 报告此问题。（CVE-2026-14672）</p>", "text": "让模拟的 SCRAM secret 更可信（Nathan Bossart）§ 如果尝试以 SCRAM 登录不存在或没有 SCRAM secret 的角色，系统会生成一个模拟 secret 并照常执行认证握手，以免向攻击者泄露这些事实。但模拟 secret 使用固定的迭代次数，这本身可能形成可观察的响应差异。现改用配置设置 scram_iterations，使模拟 secret 更接近该安装中的真实 secret。 PostgreSQL 项目感谢 Radim Marek 报告此问题。（CVE-2026-14672）", "title": "让模拟的 SCRAM secret 更可信", "commits": ["822143c4d"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "b6d6fce5b17052a224535f8883fd14426e8400bcc457f265cd697f4f32c9a224", "section_path": ["变更"], "commit_groups": [["4d192fa16", "822143c4d", "dec60e8ad", "fadbe882d", "feb8b0182"]], "identity_text": "Make mock SCRAM authentication secrets more plausible (Nathan Bossart) If a SCRAM login is attempted against a role that doesn't exist or doesn't have a SCRAM secret, we generate a mock secret and carry out the authentication handshake anyway, to avoid revealing these facts to an attacker. But the mock secret was made with a fixed iteration count, which in itself can be an observable response discrepancy. Use the configuration setting scram_iterations instead, to make the mock secret look more like the installation's real secrets. The PostgreSQL Project thanks Radim Marek for reporting this problem. (CVE-2026-14672)", "commit_aliases": ["4d192fa16", "822143c4d", "dec60e8ad", "fadbe882d", "feb8b0182"], "source_commits": ["822143c4d"], "source_entry_id": "18.6/changes/018", "db_id": "360618cf2b5023ffb07258f47a407319", "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178", "relations": [{"rule": 2, "type": "equivalent", "target": "0b4b5a7457f7fbba0ac49362d4205d94", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}}, {"rule": 2, "type": "equivalent", "target": "328f985aab0b40a393740fb418be993c", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}}, {"rule": 2, "type": "equivalent", "target": "465da641b2ad8e32d9b3eff9044cfd21", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}}, {"rule": 2, "type": "equivalent", "target": "adc5092861582d88d34f6a1b1124f2eb", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "465da641b2ad8e32d9b3eff9044cfd21", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "让模拟的 SCRAM secret 更可信", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}, "url": "/docs/compare/?release=17.11#17.11-f319d2c2bdee8718", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "adc5092861582d88d34f6a1b1124f2eb", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "让模拟的 SCRAM secret 更可信", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}, "url": "/docs/compare/?release=16.15#16.15-7aa6af5006f81e6f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "328f985aab0b40a393740fb418be993c", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "让模拟的 SCRAM secret 更可信", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}, "url": "/docs/compare/?release=15.19#15.19-e106429efa4365f8", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "0b4b5a7457f7fbba0ac49362d4205d94", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "让模拟的 SCRAM secret 更可信", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}, "url": "/docs/compare/?release=14.24#14.24-e106429efa4365f8", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-2d9ddb6163eca29a", "cves": ["CVE-2026-16241"], "html": "<p>修复 <span>ecpg</span> 应用程序因接收服务器返回的无效 <code>bytea</code> 数据而发生的越界写入（Michael Paquier）<a href=\"https://postgr.es/c/a14ba29b1\">§</a></p>\n<p><span>ecpg</span> 未经检查便假定任何 <code>bytea</code> 值都必须以 <code>\\x</code> 开头。有缺陷或恶意的服务器可能发送短于 2 字节的字符串，从而破坏应用程序内存。</p>\n<p><span>PostgreSQL</span> 项目感谢 ylwangtju 报告此问题。（CVE-2026-16241）</p>", "text": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入（Michael Paquier）§ ecpg 未经检查便假定任何 bytea 值都必须以 \\x 开头。有缺陷或恶意的服务器可能发送短于 2 字节的字符串，从而破坏应用程序内存。 PostgreSQL 项目感谢 ylwangtju 报告此问题。（CVE-2026-16241）", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "commits": ["a14ba29b1"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "bf6d1d41094210cd2ecc127ceb7d2a543ec1b49bae85d8b91a8b744c663c3bbf", "section_path": ["变更"], "commit_groups": [["39f855e0e", "457b8737a", "5737110b6", "74c59d062", "a14ba29b1", "c3c830272", "c7da85fec"]], "identity_text": "Fix out-of-bounds writes in ecpg applications caused by invalid bytea data received from the server (Michael Paquier) ecpg assumed without checking that any bytea value must begin with \\x. A broken or malicious server might send a string shorter than 2 bytes, resulting in memory clobber in the application. The PostgreSQL Project thanks ylwangtju for reporting this problem. (CVE-2026-16241)", "commit_aliases": ["39f855e0e", "457b8737a", "5737110b6", "74c59d062", "a14ba29b1", "c3c830272", "c7da85fec"], "source_commits": ["a14ba29b1"], "source_entry_id": "18.6/changes/019", "db_id": "c7e226410c72dad9c39b76d880e2f2a5", "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946", "relations": [{"rule": 2, "type": "equivalent", "target": "18aec69fea13406451ddcbd0d4c23a88", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}}, {"rule": 2, "type": "equivalent", "target": "4fb7c5910a0436ce3e2bb2ab88b25a87", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}}, {"rule": 2, "type": "equivalent", "target": "7393e9b24b9abe3400e3f04577d58cba", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}}, {"rule": 2, "type": "equivalent", "target": "f5473f236236eb170503879999034ecc", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4fb7c5910a0436ce3e2bb2ab88b25a87", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}, "url": "/docs/compare/?release=17.11#17.11-368d04431d80a7fd", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f5473f236236eb170503879999034ecc", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}, "url": "/docs/compare/?release=16.15#16.15-e48a8391a0609721", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "18aec69fea13406451ddcbd0d4c23a88", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}, "url": "/docs/compare/?release=15.19#15.19-8ab80940f2e8c31e", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "7393e9b24b9abe3400e3f04577d58cba", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}, "url": "/docs/compare/?release=14.24#14.24-a12e893b89f31441", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-2227ccac7ef5135c", "cves": ["CVE-2025-8714", "CVE-2026-18408"], "html": "<p>不要对 <span>psql</span> 的 <code>\\unrestrict</code> 命令参数执行反引号扩展（Nathan Bossart）<a href=\"https://postgr.es/c/71ca694c7\">§</a></p>\n<p>CVE-2025-8714 修复中的这一疏漏，使恶意服务器能够把 shell 命令注入纯文本转储输出，并在恢复时于运行 <span>psql</span> 的机器上执行；这正是 CVE-2025-8714 意图防止的场景。</p>\n<p><span>PostgreSQL</span> 项目感谢 Lucas Velgus、Filip Janus 和 Daniel Bakker 报告此问题。（CVE-2026-18408）</p>", "text": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展（Nathan Bossart）§ CVE-2025-8714 修复中的这一疏漏，使恶意服务器能够把 shell 命令注入纯文本转储输出，并在恢复时于运行 psql 的机器上执行；这正是 CVE-2025-8714 意图防止的场景。 PostgreSQL 项目感谢 Lucas Velgus、Filip Janus 和 Daniel Bakker 报告此问题。（CVE-2026-18408）", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "commits": ["71ca694c7"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "70f1f2d332357c2ca128a1dfdb521c31951bc150a0902b355418af50095c6552", "section_path": ["变更"], "commit_groups": [["0119aa30e", "086f6f176", "0bfac9e1f", "2006fca40", "33d0c63fb", "71ca694c7", "df245c374"]], "identity_text": "Do not do backquote expansion on the argument of psql's \\unrestrict command (Nathan Bossart) This oversight in the fix for CVE-2025-8714 allows a malicious server to inject shell commands into plain-text dump output that will be run at restore time on the machine running psql, the exact scenario that CVE-2025-8714 intended to prevent. The PostgreSQL Project thanks Lucas Velgus, Filip Janus, and Daniel Bakker for reporting this problem. (CVE-2026-18408)", "commit_aliases": ["0119aa30e", "086f6f176", "0bfac9e1f", "2006fca40", "33d0c63fb", "71ca694c7", "df245c374"], "source_commits": ["71ca694c7"], "source_entry_id": "18.6/changes/020", "db_id": "36ccc2b6f4b04376dc6bf74ae3d2f6de", "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b", "relations": [{"rule": 2, "type": "equivalent", "target": "49dd1006826cb5f529df97b64194c139", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}, {"rule": 2, "type": "equivalent", "target": "5221242491685338de78e8922e1f353a", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}, {"rule": 2, "type": "equivalent", "target": "56ffc2f53e9a050b5de71327d3cef06f", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}, {"rule": 2, "type": "equivalent", "target": "7a747536f32a440151dcb2b04ac4e968", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "56ffc2f53e9a050b5de71327d3cef06f", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}, "url": "/docs/compare/?release=17.11#17.11-7f417b32587acff8", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "7a747536f32a440151dcb2b04ac4e968", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}, "url": "/docs/compare/?release=16.15#16.15-59649e9a46bbab2a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "5221242491685338de78e8922e1f353a", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}, "url": "/docs/compare/?release=15.19#15.19-1eaa89bc0932599c", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "49dd1006826cb5f529df97b64194c139", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}, "url": "/docs/compare/?release=14.24#14.24-383244a3d19a3ddf", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-d40f8de8e21a4c6f", "cves": ["CVE-2026-19385"], "html": "<p>移除 <span>pg_dump</span> 关于 <code>pg_proc</code>.<code>protrftypes</code> 不可能包含超过 <code>FUNC_MAX_ARGS</code> 个条目的假设（Tom Lane）<a href=\"https://postgr.es/c/3392cce5c\">§</a></p>\n<p>由于该数组可能同时包含输入和输出参数的条目，其长度完全可能超过 <code>FUNC_MAX_ARGS</code>（该值只限制输入参数）。即使并非如此， <span>pg_dump</span> 也不能假定服务器构建时使用的 <code>FUNC_MAX_ARGS</code> 值与自身相同。越界写入会导致 <span>pg_dump</span> 内部的内存被破坏。</p>\n<p><span>PostgreSQL</span> 项目感谢 Masahiko Sawada 报告此问题。（CVE-2026-19385）</p>", "text": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设（Tom Lane）§ 由于该数组可能同时包含输入和输出参数的条目，其长度完全可能超过 FUNC_MAX_ARGS（该值只限制输入参数）。即使并非如此， pg_dump 也不能假定服务器构建时使用的 FUNC_MAX_ARGS 值与自身相同。越界写入会导致 pg_dump 内部的内存被破坏。 PostgreSQL 项目感谢 Masahiko Sawada 报告此问题。（CVE-2026-19385）", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "commits": ["3392cce5c"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "94decd765e88345ccbe70faa6e3a61af2c519c0b307c93e6de8a846e22bcba68", "section_path": ["变更"], "commit_groups": [["13bb73aeb", "3299c2ba0", "3392cce5c", "57aa21f69", "71ba5705d", "86cd82bf4", "c2b16f5d4"]], "identity_text": "Remove pg_dump's assumption that pg_proc.protrftypes cannot have more than FUNC_MAX_ARGS entries (Tom Lane) Since there could be entries for both input and output arguments, it's feasible for this array's length to exceed FUNC_MAX_ARGS (which constrains only input arguments). Even if that were not so, pg_dump cannot assume that the server was built with the same value of FUNC_MAX_ARGS that it has. An overrun would lead to a memory clobber inside pg_dump. The PostgreSQL Project thanks Masahiko Sawada for reporting this problem. (CVE-2026-19385)", "commit_aliases": ["13bb73aeb", "3299c2ba0", "3392cce5c", "57aa21f69", "71ba5705d", "86cd82bf4", "c2b16f5d4"], "source_commits": ["3392cce5c"], "source_entry_id": "18.6/changes/021", "db_id": "f91d32a8c03492afba6d7ba835690a32", "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b", "relations": [{"rule": 2, "type": "equivalent", "target": "5183659937548a24721c52721ce5656b", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}}, {"rule": 2, "type": "equivalent", "target": "63fc39b2fe0a2553fb195650ae6915cb", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}}, {"rule": 2, "type": "equivalent", "target": "6a0f92cad4fbbfe88adb2be733310a9b", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}}, {"rule": 2, "type": "equivalent", "target": "dce6c62e738d4e4801ee4cb45757968f", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "63fc39b2fe0a2553fb195650ae6915cb", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}, "url": "/docs/compare/?release=17.11#17.11-f6aaa44b60ea5479", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "dce6c62e738d4e4801ee4cb45757968f", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}, "url": "/docs/compare/?release=16.15#16.15-d0330343bf3a2bca", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "5183659937548a24721c52721ce5656b", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}, "url": "/docs/compare/?release=15.19#15.19-fa846de81d1d3c18", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "6a0f92cad4fbbfe88adb2be733310a9b", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}, "url": "/docs/compare/?release=14.24#14.24-f37e6003b995c6db", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-6d183d795dd4fadd", "cves": ["CVE-2026-14670"], "html": "<p>增强 <span>PL/Perl</span> 对 <span>“<span>tied</span>”</span> Perl 数组和 hash 的防护（Tom Lane）<a href=\"https://postgr.es/c/87c4b8219\">§</a></p>\n<p>行为不符合常规的 tied 对象可能导致内存覆盖，或构造出损坏的结果数组（这很可能在之后引发问题）。</p>\n<p><span>PostgreSQL</span> 项目感谢 Hcamael 报告此问题。（CVE-2026-14670）</p>", "text": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护（Tom Lane）§ 行为不符合常规的 tied 对象可能导致内存覆盖，或构造出损坏的结果数组（这很可能在之后引发问题）。 PostgreSQL 项目感谢 Hcamael 报告此问题。（CVE-2026-14670）", "title": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护", "commits": ["87c4b8219"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "10b1106372761b89d406fd05bbb2541ae14a0d97192d90e5f7a2298a11c3e1c0", "section_path": ["变更"], "commit_groups": [["2d78c34f8", "477a6bdb0", "63cb15f40", "87c4b8219", "8c48cd615", "cf4ae7c3b", "d7fcfead3"]], "identity_text": "Harden PL/Perl against tied Perl arrays and hashes (Tom Lane) A tied object that doesn't behave like a regular one could lead to memory overwrite, or to constructing a corrupt result array (which would likely cause problems later). The PostgreSQL Project thanks Hcamael for reporting this problem. (CVE-2026-14670)", "commit_aliases": ["2d78c34f8", "477a6bdb0", "63cb15f40", "87c4b8219", "8c48cd615", "cf4ae7c3b", "d7fcfead3"], "source_commits": ["87c4b8219"], "source_entry_id": "18.6/changes/022", "db_id": "45822fd5bc04f9bc7cd5310ebd922c61", "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0", "relations": [{"rule": 2, "type": "equivalent", "target": "0caaa5502645631a657b97dc78add8c0", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}}, {"rule": 2, "type": "equivalent", "target": "59a40e9cc2306d6e115d10b26c7b6d9e", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}}, {"rule": 2, "type": "equivalent", "target": "bd87bdc33bbf3c2a24631a385372b6ad", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}}, {"rule": 2, "type": "equivalent", "target": "f0c1fefb4fd60b97ad1a6420db84a85a", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "59a40e9cc2306d6e115d10b26c7b6d9e", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}, "url": "/docs/compare/?release=17.11#17.11-58243a045a5d2555", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "0caaa5502645631a657b97dc78add8c0", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}, "url": "/docs/compare/?release=16.15#16.15-9465542088e662ad", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bd87bdc33bbf3c2a24631a385372b6ad", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "增强 PL/Perl 对“tied” Perl 数组和 hash 的防护", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}, "url": "/docs/compare/?release=15.19#15.19-31838acd743ddb41", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f0c1fefb4fd60b97ad1a6420db84a85a", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "增强 PL/Perl 对“tied” Perl 数组和 hash 的防护", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}, "url": "/docs/compare/?release=14.24#14.24-00b84c1b83bd3d6b", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-16cede7597f41368", "cves": ["CVE-2026-14677", "CVE-2026-6473"], "html": "<p>修复 <span>PL/Perl</span> 和 <span>PL/Tcl</span> 内存分配计算中的整数溢出（Heikki Linnakangas）<a href=\"https://postgr.es/c/028ee716a\">§</a></p>\n<p>该问题与 CVE-2026-6473 属于同一类型，只是出现在代码的不同部分，并采用相同方式修复。</p>\n<p><span>PostgreSQL</span> 项目感谢 Tulya Project（Team Dhiutsa、Bitecope Technologies Private Ltd）报告此问题。（CVE-2026-14677）</p>", "text": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出（Heikki Linnakangas）§ 该问题与 CVE-2026-6473 属于同一类型，只是出现在代码的不同部分，并采用相同方式修复。 PostgreSQL 项目感谢 Tulya Project（Team Dhiutsa、Bitecope Technologies Private Ltd）报告此问题。（CVE-2026-14677）", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "commits": ["028ee716a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "852c6f91848bf90946172edfb621354ea11883c45a93972557c73aaea1ec39d2", "section_path": ["变更"], "commit_groups": [["028ee716a", "1eb0d5380", "776467301", "8bbdc0540", "a1c1727cb", "aff9dac1c", "b56cc7deb"]], "identity_text": "Fix integer overflows in memory-allocation calculations in PL/Perl and PL/Tcl (Heikki Linnakangas) This is the same type of problem as CVE-2026-6473, just in a different part of the code, and is fixed in the same way. The PostgreSQL Project thanks the Tulya Project (Team Dhiutsa, Bitecope Technologies Private Ltd) for reporting this problem. (CVE-2026-14677)", "commit_aliases": ["028ee716a", "1eb0d5380", "776467301", "8bbdc0540", "a1c1727cb", "aff9dac1c", "b56cc7deb"], "source_commits": ["028ee716a"], "source_entry_id": "18.6/changes/023", "db_id": "238a2ce678961ff0ad08154da3915f04", "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4", "relations": [{"rule": 2, "type": "equivalent", "target": "4cc223998ff4d5b7cf50efd21e2284b1", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}}, {"rule": 2, "type": "equivalent", "target": "a110c06ad7fd7a9c4f063b051daf6836", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}}, {"rule": 2, "type": "equivalent", "target": "eaeb89e4752f46002fc91e3a83e9f683", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}}, {"rule": 2, "type": "equivalent", "target": "f5ff50e89bc960e1e5bac3249477b995", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a110c06ad7fd7a9c4f063b051daf6836", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}, "url": "/docs/compare/?release=17.11#17.11-7026dc1b76714418", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f5ff50e89bc960e1e5bac3249477b995", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}, "url": "/docs/compare/?release=16.15#16.15-342fcd712e0eba5c", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "4cc223998ff4d5b7cf50efd21e2284b1", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}, "url": "/docs/compare/?release=15.19#15.19-d03175b8e62ca77d", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "eaeb89e4752f46002fc91e3a83e9f683", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}, "url": "/docs/compare/?release=14.24#14.24-cbf179d0fe218ed0", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-64ea1ee53902ffcc", "cves": ["CVE-2026-14673"], "html": "<p>确保 <code>contrib/amcheck</code> 函数在执行索引表达式前限制 <code>search_path</code>（Noah Misch）<a href=\"https://postgr.es/c/0a61fcde0\">§</a></p>\n<p>由于 amcheck 会以相关表所有者的身份运行这些索引表达式，调用者可能劫持依赖 <code>search_path</code> 的函数，以表所有者身份运行任意代码。默认情况下这并非漏洞，因为只有超级用户可以调用 amcheck 函数；但如果将该权限授予其他用户，造成的风险会比文档所述更大。</p>\n<p><span>PostgreSQL</span> 项目感谢 Yuelin Wang 和 Jacob Brazeal 报告此问题。（CVE-2026-14673）</p>", "text": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path（Noah Misch）§ 由于 amcheck 会以相关表所有者的身份运行这些索引表达式，调用者可能劫持依赖 search_path 的函数，以表所有者身份运行任意代码。默认情况下这并非漏洞，因为只有超级用户可以调用 amcheck 函数；但如果将该权限授予其他用户，造成的风险会比文档所述更大。 PostgreSQL 项目感谢 Yuelin Wang 和 Jacob Brazeal 报告此问题。（CVE-2026-14673）", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "commits": ["0a61fcde0"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "7ba5e2ae5e38ee0207d070213a63610b01797ed2acef9003492c19568e51fdd1", "section_path": ["变更"], "commit_groups": [["0a61fcde0", "0fbf785b1", "2cc147318", "39d792040", "557cc7186", "e41c72aff", "e43e74756"]], "identity_text": "Ensure that contrib/amcheck functions restrict search_path before executing index expressions (Noah Misch) Because amcheck will run such index expressions as the owner of their tables, a caller could potentially hijack search_path-dependent functions to run arbitrary code as the table owner. By default this is not a vulnerability because only superusers are allowed to call amcheck functions; but if that privilege was granted out, it created a larger hazard than the documentation suggests. The PostgreSQL Project thanks Yuelin Wang and Jacob Brazeal for reporting this problem. (CVE-2026-14673)", "commit_aliases": ["0a61fcde0", "0fbf785b1", "2cc147318", "39d792040", "557cc7186", "e41c72aff", "e43e74756"], "source_commits": ["0a61fcde0"], "source_entry_id": "18.6/changes/024", "db_id": "cb5c4637df879fb88877a760ee0058f9", "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6", "relations": [{"rule": 2, "type": "equivalent", "target": "2c238928eeda3326738ac133c3580936", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}}, {"rule": 2, "type": "equivalent", "target": "465e8cabac386aa937b2b97c990e0a0f", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}}, {"rule": 2, "type": "equivalent", "target": "9ef4dc62946cbc0407d82f3a9b826f0e", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}}, {"rule": 2, "type": "equivalent", "target": "c016d6a0f320dafa02d0585b20842685", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2c238928eeda3326738ac133c3580936", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}, "url": "/docs/compare/?release=17.11#17.11-ee34ba8ba8f4fa3d", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "465e8cabac386aa937b2b97c990e0a0f", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}, "url": "/docs/compare/?release=16.15#16.15-20c54db9d1517bb1", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "c016d6a0f320dafa02d0585b20842685", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}, "url": "/docs/compare/?release=15.19#15.19-ab72faa7677e5388", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "9ef4dc62946cbc0407d82f3a9b826f0e", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}, "url": "/docs/compare/?release=14.24#14.24-e234967475d09d13", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-9f4c551d8e885121", "cves": ["CVE-2026-15742"], "html": "<p>修复 <code>contrib/fuzzystrmatch</code> 的 <code>levenshtein()</code> 和 <code>levenshtein_less_equal()</code> 函数中的整数溢出（Nathan Bossart）<a href=\"https://postgr.es/c/e88eb4e76\">§</a></p>\n<p>向这些函数传入很大的代价值可能引发整数溢出，从而产生无意义的结果，甚至在某些情况下导致越界写入。</p>\n<p><span>PostgreSQL</span> 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-15742）</p>", "text": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出（Nathan Bossart）§ 向这些函数传入很大的代价值可能引发整数溢出，从而产生无意义的结果，甚至在某些情况下导致越界写入。 PostgreSQL 项目感谢 Ben Morris（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-15742）", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "commits": ["e88eb4e76"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "96c67bb1a9ef0c2604ab626734f8e8097c1f3ebea23560d09c5afbd92e7f9683", "section_path": ["变更"], "commit_groups": [["61481aa0e", "62c31b490", "74916136f", "918683d12", "9505175f2", "c4d51b627", "e88eb4e76"]], "identity_text": "Fix integer overflows in contrib/fuzzystrmatch's levenshtein() and levenshtein_less_equal() functions (Nathan Bossart) Passing large cost values to these functions could cause integer overflows, thereby producing nonsensical results, and even causing out-of-bounds writes in some cases. The PostgreSQL Project thanks Ben Morris (in collaboration with Claude and Anthropic Research) for reporting this problem. (CVE-2026-15742)", "commit_aliases": ["61481aa0e", "62c31b490", "74916136f", "918683d12", "9505175f2", "c4d51b627", "e88eb4e76"], "source_commits": ["e88eb4e76"], "source_entry_id": "18.6/changes/025", "db_id": "1e5eda106e8fd11472d74f91bffc2ff0", "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5", "relations": [{"rule": 2, "type": "equivalent", "target": "24d49d08ad8dddbb2e9b85283621ee67", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}}, {"rule": 2, "type": "equivalent", "target": "6cca8c3102c334bca04243a3114f48fe", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}}, {"rule": 2, "type": "equivalent", "target": "bc23bdcfa3cae705ffa99474b3b97aae", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}}, {"rule": 2, "type": "equivalent", "target": "f41b59ba5bf8ae6184895fe8e7bb8dc1", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "6cca8c3102c334bca04243a3114f48fe", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}, "url": "/docs/compare/?release=17.11#17.11-8ee281616fb9fd49", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "bc23bdcfa3cae705ffa99474b3b97aae", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}, "url": "/docs/compare/?release=16.15#16.15-a51d10d5c2a5583d", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "f41b59ba5bf8ae6184895fe8e7bb8dc1", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}, "url": "/docs/compare/?release=15.19#15.19-45fb139f005bf72d", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "24d49d08ad8dddbb2e9b85283621ee67", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}, "url": "/docs/compare/?release=14.24#14.24-249a71765a38f726", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-c2bc95cc72b98750", "cves": ["CVE-2026-14676"], "html": "<p>修复 <code>contrib/pg_stat_statements</code> 中的缓冲区越界写入（Álvaro Herrera）<a href=\"https://postgr.es/c/8a31ffc2d\">§</a></p>\n<p>查询规范化过程未准确计算规范化字符串所需的空间。</p>\n<p><span>PostgreSQL</span> 项目感谢 Sajeeb Lohani（与 TrendAI Zero Day Initiative 合作）和 Yuelin Wang 报告此问题。（CVE-2026-14676）</p>", "text": "修复 contrib/pg_stat_statements 中的缓冲区越界写入（Álvaro Herrera）§ 查询规范化过程未准确计算规范化字符串所需的空间。 PostgreSQL 项目感谢 Sajeeb Lohani（与 TrendAI Zero Day Initiative 合作）和 Yuelin Wang 报告此问题。（CVE-2026-14676）", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "commits": ["8a31ffc2d"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "d2635f488ff4a3302586cb71fa7ddad74aeebf54da30c6109e0319f3e53df0e9", "section_path": ["变更"], "commit_groups": [["1e2795dde", "8a31ffc2d", "bb02eba53"]], "identity_text": "Fix buffer overrun in contrib/pg_stat_statements (Álvaro Herrera) Query normalization didn't accurately account for the amount of space the normalized string would require. The PostgreSQL Project thanks Sajeeb Lohani (with TrendAI Zero Day Initiative) and Yuelin Wang for reporting this problem. (CVE-2026-14676)", "commit_aliases": ["1e2795dde", "8a31ffc2d", "bb02eba53"], "source_commits": ["8a31ffc2d"], "source_entry_id": "18.6/changes/026", "db_id": "e84c1b71b1c15bae4e222a2f72d84864", "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22", "relations": [{"rule": 2, "type": "equivalent", "target": "29895bb80ed2951a21b387b1a32fd0bf", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}, {"rule": 2, "type": "equivalent", "target": "aaa4509a01eb087a7c8dae3d3477599b", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}, {"rule": 2, "type": "equivalent", "target": "d7011cf7f02dec0d6f5320d50f1060d7", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}, {"rule": 2, "type": "equivalent", "target": "d8f3c95effa66c9d7648ed329303a70e", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d7011cf7f02dec0d6f5320d50f1060d7", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}, "url": "/docs/compare/?release=17.11#17.11-c47a9a8863c0fc6e", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "d8f3c95effa66c9d7648ed329303a70e", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}, "url": "/docs/compare/?release=16.15#16.15-c47a9a8863c0fc6e", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "29895bb80ed2951a21b387b1a32fd0bf", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}, "url": "/docs/compare/?release=15.19#15.19-c47a9a8863c0fc6e", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "aaa4509a01eb087a7c8dae3d3477599b", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}, "url": "/docs/compare/?release=14.24#14.24-c47a9a8863c0fc6e", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-b960de4f8267096f", "cves": ["CVE-2026-14678"], "html": "<p>修复 <code>contrib/pg_trgm</code> 的 GiST picksplit 函数中的数据类型错误（Heikki Linnakangas）<a href=\"https://postgr.es/c/849019a50\">§</a></p>\n<p>此错误会导致缓冲区越界读取，通常造成不佳的页面分裂决策；在极少数情况下也可能导致崩溃。</p>\n<p><span>PostgreSQL</span> 项目感谢 Mehmet D. Ince 报告此问题。（CVE-2026-14678）</p>", "text": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误（Heikki Linnakangas）§ 此错误会导致缓冲区越界读取，通常造成不佳的页面分裂决策；在极少数情况下也可能导致崩溃。 PostgreSQL 项目感谢 Mehmet D. Ince 报告此问题。（CVE-2026-14678）", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "commits": ["849019a50"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "80d67ce760ed68d00013270c286690f7d0aa6dd3ecd75d390bacd9e741c74117", "section_path": ["变更"], "commit_groups": [["1af08af69", "24c88cd39", "66c2dbb20", "849019a50", "a74aa0854", "aa7b5815e", "c7c82a88c"]], "identity_text": "Fix datatype error in contrib/pg_trgm's GiST picksplit function (Heikki Linnakangas) This mistake resulted in reading past the end of the buffer, typically causing bad split decisions; but a crash could ensue if you're very unlucky. The PostgreSQL Project thanks Mehmet D. Ince for reporting this problem. (CVE-2026-14678)", "commit_aliases": ["1af08af69", "24c88cd39", "66c2dbb20", "849019a50", "a74aa0854", "aa7b5815e", "c7c82a88c"], "source_commits": ["849019a50"], "source_entry_id": "18.6/changes/027", "db_id": "0bc10887e786dd035f4571e42ea848b8", "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474", "relations": [{"rule": 2, "type": "equivalent", "target": "007e7b20002c9154a7b78500dad11fde", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}}, {"rule": 2, "type": "equivalent", "target": "1dcffcddaa3ea6a57ebf8bf560e8c531", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}}, {"rule": 2, "type": "equivalent", "target": "b9b08968a5deb7a55558cd0e3c3ecb91", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}}, {"rule": 2, "type": "equivalent", "target": "c1b223f3527ab1382981f7ea6931f7ec", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "007e7b20002c9154a7b78500dad11fde", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}, "url": "/docs/compare/?release=17.11#17.11-caca197ce0ba4b3f", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "1dcffcddaa3ea6a57ebf8bf560e8c531", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}, "url": "/docs/compare/?release=16.15#16.15-0621542d439e129f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b9b08968a5deb7a55558cd0e3c3ecb91", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}, "url": "/docs/compare/?release=15.19#15.19-057de36f6fc47ee3", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "c1b223f3527ab1382981f7ea6931f7ec", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}, "url": "/docs/compare/?release=14.24#14.24-76522194454c0c43", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-2fe39251a9e1874e", "cves": ["CVE-2026-14671"], "html": "<p>移除 <code>contrib/refint</code> 中的计划缓存（Ayush Tiwari）<a href=\"https://postgr.es/c/79a506228\">§</a></p>\n<p>这种缓存行为存在几个严重缺陷，尤其是 <code>check_foreign_key()</code> 会把新键值嵌入其级联 UPDATE 查询，因此缓存计划会重复使用最初所需的值，而不是当前应使用的键值。最简单的解决办法是移除该缓存。</p>\n<p><span>PostgreSQL</span> 项目感谢 Hcamael 报告此问题。（CVE-2026-14671）</p>", "text": "移除 contrib/refint 中的计划缓存（Ayush Tiwari）§ 这种缓存行为存在几个严重缺陷，尤其是 check_foreign_key() 会把新键值嵌入其级联 UPDATE 查询，因此缓存计划会重复使用最初所需的值，而不是当前应使用的键值。最简单的解决办法是移除该缓存。 PostgreSQL 项目感谢 Hcamael 报告此问题。（CVE-2026-14671）", "title": "移除 contrib/refint 中的计划缓存", "commits": ["79a506228"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "6e1519ab2f6327b36adc78242481530b3c30efd3dfa202b0fc360b4be1b6fa31", "section_path": ["变更"], "commit_groups": [["1fbe2066d", "5b72d0279", "66a5146dc", "79a506228", "a572dd213", "b7b513d9a"]], "identity_text": "Remove the plan cache in contrib/refint (Ayush Tiwari) This caching behavior has several serious bugs, notably that check_foreign_key() embeds the new key values in its cascade-UPDATE queries, so a cached plan reuses the originally-needed values rather than the key values that should be used. The simplest solution is to remove it. The PostgreSQL Project thanks Hcamael for reporting this problem. (CVE-2026-14671)", "commit_aliases": ["1fbe2066d", "5b72d0279", "66a5146dc", "79a506228", "a572dd213", "b7b513d9a"], "source_commits": ["79a506228"], "source_entry_id": "18.6/changes/028", "db_id": "139a1ada6baf2bae757b6a1a97ee7f41", "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9", "relations": [{"rule": 2, "type": "equivalent", "target": "0edf0fe6be4ddcafd5c7d27addaa918f", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}}, {"rule": 2, "type": "equivalent", "target": "7dbe14e2bbf06d93dd90088eae989b60", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}}, {"rule": 2, "type": "equivalent", "target": "aca3bdc694388071f82dcc5eb7deb70d", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}}, {"rule": 2, "type": "equivalent", "target": "ddbe7d30f92efca35dca583745e7a91a", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "aca3bdc694388071f82dcc5eb7deb70d", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "移除 contrib/refint 中的计划缓存", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}, "url": "/docs/compare/?release=17.11#17.11-9677b8014f265a17", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "ddbe7d30f92efca35dca583745e7a91a", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "移除 contrib/refint 中的计划缓存", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}, "url": "/docs/compare/?release=16.15#16.15-b2c274cdcaf4ba1b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0edf0fe6be4ddcafd5c7d27addaa918f", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "移除 contrib/refint 中的计划缓存", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}, "url": "/docs/compare/?release=15.19#15.19-cf70552f3d82a213", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "7dbe14e2bbf06d93dd90088eae989b60", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "移除 contrib/refint 中的计划缓存", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}, "url": "/docs/compare/?release=14.24#14.24-80251253da1ccc96", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-771506a0ec518830", "cves": [], "html": "<p>确保并行 GIN 索引构建正确更新表的 <code>pg_class</code>.<code>reltuples</code> 值（Jan Nidzwetzki、Tomas Vondra）<a href=\"https://postgr.es/c/d4420a972\">§</a></p>\n<p>并行工作进程可能会用未初始化的值报告其已处理行数，导致 <code>reltuples</code> 得到无效值，甚至 Infinity 或 NaN。此类值可能导致后续的自动清理和自动分析操作始终判定该表不需要处理。出现这种情况后不会自行恢复。需要手工执行 <code>ANALYZE</code> 命令或创建另一个索引，才能把 <code>reltuples</code> 重置为正确值。如果有任何带 GIN 索引的表，建议检查其 <code>reltuples</code> 条目是否合理。以下查询可能有助于此检查：</p>\n<pre>SELECT DISTINCT t.oid::regclass, t.reltuples\nFROM pg_class t\n  JOIN pg_index i ON t.oid = i.indrelid\n  JOIN pg_class ic ON i.indexrelid = ic.oid\nWHERE t.relhasindex AND ic.relam = 2742;\n</pre>", "text": "确保并行 GIN 索引构建正确更新表的 pg_class.reltuples 值（Jan Nidzwetzki、Tomas Vondra）§ 并行工作进程可能会用未初始化的值报告其已处理行数，导致 reltuples 得到无效值，甚至 Infinity 或 NaN。此类值可能导致后续的自动清理和自动分析操作始终判定该表不需要处理。出现这种情况后不会自行恢复。需要手工执行 ANALYZE 命令或创建另一个索引，才能把 reltuples 重置为正确值。如果有任何带 GIN 索引的表，建议检查其 reltuples 条目是否合理。以下查询可能有助于此检查： SELECT DISTINCT t.oid::regclass, t.reltuples FROM pg_class t JOIN pg_index i ON t.oid = i.indrelid JOIN pg_class ic ON i.indexrelid = ic.oid WHERE t.relhasindex AND ic.relam = 2742;", "title": "确保并行 GIN 索引构建正确更新表的 pg_class.reltuples 值", "commits": ["d4420a972"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "42d01e124a3d70ce5a6d4df2a04917ae62cfd6ff67c4928b7730b4452367807c", "section_path": ["变更"], "commit_groups": [["1232f7a08", "5707d7517", "d4420a972"]], "identity_text": "Ensure that parallel GIN index builds update the table's pg_class.reltuples value correctly (Jan Nidzwetzki, Tomas Vondra) A parallel worker could report an uninitialized value for the number of rows it processed, leading to a bogus value for reltuples, even Infinity or NaN. Such values could lead to subsequent autovacuum and autoanalyze operations never deciding that the table needs to be processed. If so, the situation will not self-heal. A manual ANALYZE command, or creation of another index, will be needed to reset reltuples to the correct value. If you have any tables with GIN indexes, it's recommended to check to see if their reltuples entries look sane. A query such as this may be helpful: SELECT DISTINCT t.oid::regclass, t.reltuples FROM pg_class t JOIN pg_index i ON t.oid = i.indrelid JOIN pg_class ic ON i.indexrelid = ic.oid WHERE t.relhasindex AND ic.relam = 2742;", "commit_aliases": ["1232f7a08", "5707d7517", "d4420a972"], "source_commits": ["d4420a972"], "source_entry_id": "18.6/changes/029", "db_id": "2bea73c0e3659c8ea68597bc29d434fd", "patch_ids": ["3ba1d61fdeb3854b8d7595ad4bc67069"], "statement_hash": "5febee3004e16621892415adb2d6ad17f0f816a84f510b674120400b485b14ac", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-ac95828b13f18d05", "cves": [], "html": "<p>修复重新扫描异步 Append 计划节点时异步读取处理不当的问题（Alexander Korotkov、Gleb Kashkin、Etsuro Fujita）<a href=\"https://postgr.es/c/4ea497a92\">§</a></p>\n<p>当上层计划节点尚未读取完整的 Append 输出就重新扫描 Append 时，需要丢弃所有已发送到外部服务器且尚未完成的请求（例如由 <code>postgres_fdw</code> 发送的请求）。此前，当子计划的参数发生变化，或者在下一次扫描中被分区剪枝丢弃时，这项操作未能正确完成。这可能导致错误的查询结果、无限循环或断言失败。</p>", "text": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题（Alexander Korotkov、Gleb Kashkin、Etsuro Fujita）§ 当上层计划节点尚未读取完整的 Append 输出就重新扫描 Append 时，需要丢弃所有已发送到外部服务器且尚未完成的请求（例如由 postgres_fdw 发送的请求）。此前，当子计划的参数发生变化，或者在下一次扫描中被分区剪枝丢弃时，这项操作未能正确完成。这可能导致错误的查询结果、无限循环或断言失败。", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "commits": ["4ea497a92"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "243024c01284f3cf3c5c05a562be2bd035a950664d80808a52db8ec26f9d7c76", "section_path": ["变更"], "commit_groups": [["3704870b2", "4ea497a92", "7213cbfa0", "7d74b2644", "894da35b3", "cec48686a", "f57df2068"]], "identity_text": "Fix mis-handling of asynchronous reads when rescanning an asynchronous Append plan node (Alexander Korotkov, Gleb Kashkin, Etsuro Fujita) When an upper plan node rescans an Append before having read the entire Append output, we need to discard any in-flight requests sent to external servers (by postgres_fdw for example). This was not done correctly in cases where a subplan has parameter changes or is discarded by partition pruning in the next scan. The outcome could be incorrect query results, an infinite loop, or an assertion failure.", "commit_aliases": ["3704870b2", "4ea497a92", "7213cbfa0", "7d74b2644", "894da35b3", "cec48686a", "f57df2068"], "source_commits": ["4ea497a92"], "source_entry_id": "18.6/changes/030", "db_id": "14a676aedb1f7035485b3957b6cdb1d3", "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156", "relations": [{"rule": 2, "type": "equivalent", "target": "308bf9c42c99219ddb3217fdf72c3cc2", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}}, {"rule": 2, "type": "equivalent", "target": "356859c6db4851d1f22713fc26ca208a", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}}, {"rule": 2, "type": "equivalent", "target": "4977c45c15376d01b25828041933e6ed", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}}, {"rule": 2, "type": "equivalent", "target": "d3c85d15eab520a6fbdb79e9d5b8db40", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "308bf9c42c99219ddb3217fdf72c3cc2", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}, "url": "/docs/compare/?release=17.11#17.11-3e22bb5ab29aa62e", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "4977c45c15376d01b25828041933e6ed", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}, "url": "/docs/compare/?release=16.15#16.15-726d3c037f7a5f67", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "d3c85d15eab520a6fbdb79e9d5b8db40", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}, "url": "/docs/compare/?release=15.19#15.19-2115870724f13b57", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "356859c6db4851d1f22713fc26ca208a", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}, "url": "/docs/compare/?release=14.24#14.24-e91417bd4fbd5c30", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-1c1bf5522234d430", "cves": [], "html": "<p>修复 RANGE 分区表的分区剪枝错误（David Rowley）<a href=\"https://postgr.es/c/02e69be47\">§</a></p>\n<p>在某些情况下，本不应跳过的 DEFAULT 分区会被跳过，这可能导致查询结果中缺少行。</p>", "text": "修复 RANGE 分区表的分区剪枝错误（David Rowley）§ 在某些情况下，本不应跳过的 DEFAULT 分区会被跳过，这可能导致查询结果中缺少行。", "title": "修复 RANGE 分区表的分区剪枝错误", "commits": ["02e69be47"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "3e9800e0665c2e72616be8e9d68eb5b862ff71271140f5fba3d9feac638d1de7", "section_path": ["变更"], "commit_groups": [["02e69be47", "31f2acde5", "5190732c9", "6098f35f4", "709dfd27f", "9a0cd8e73", "f9282a650"]], "identity_text": "Fix error in partition pruning for RANGE-partitioned tables (David Rowley) In some cases the DEFAULT partition would be skipped when it should not be, which could lead to rows missing from query results.", "commit_aliases": ["02e69be47", "31f2acde5", "5190732c9", "6098f35f4", "709dfd27f", "9a0cd8e73", "f9282a650"], "source_commits": ["02e69be47"], "source_entry_id": "18.6/changes/031", "db_id": "128f5b0ef464d5fb3f9f8de9b62b5b0c", "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23", "relations": [{"rule": 2, "type": "equivalent", "target": "199c05dd5ca242a1207113d841920d91", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}}, {"rule": 2, "type": "equivalent", "target": "8e616a25980e478e4ba1d40fd43361c9", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}}, {"rule": 2, "type": "equivalent", "target": "b1408f66d7e290909c80f8c2b9d6a6e6", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}}, {"rule": 2, "type": "equivalent", "target": "c03487e8eed72def14469f629495faba", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "199c05dd5ca242a1207113d841920d91", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 RANGE 分区表的分区剪枝错误", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}, "url": "/docs/compare/?release=17.11#17.11-ae4f5cd546a7dc28", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "b1408f66d7e290909c80f8c2b9d6a6e6", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 RANGE 分区表的分区剪枝错误", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}, "url": "/docs/compare/?release=16.15#16.15-cce23f53ca16684a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "8e616a25980e478e4ba1d40fd43361c9", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 RANGE 分区表的分区剪枝错误", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}, "url": "/docs/compare/?release=15.19#15.19-b3f92b81dd82f323", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "c03487e8eed72def14469f629495faba", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 RANGE 分区表的分区剪枝错误", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}, "url": "/docs/compare/?release=14.24#14.24-b6f407b6d50bed97", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-1cf05c7dcd8bb2fd", "cves": [], "html": "<p>剪枝结果关系后，正确更新 ModifyTable 计划节点中的外部数据包装器状态（Ayush Tiwari、Rafia Sabih）<a href=\"https://postgr.es/c/1ef917e3a\">§</a> <a href=\"https://postgr.es/c/bba4e095d\">§</a></p>\n<p>此前，如果运行时分区剪枝判定作为目标的分区表中某些分区无需扫描，而该表又包含任何外部表分区，就很可能发生崩溃或错误行为。</p>", "text": "剪枝结果关系后，正确更新 ModifyTable 计划节点中的外部数据包装器状态（Ayush Tiwari、Rafia Sabih）§ § 此前，如果运行时分区剪枝判定作为目标的分区表中某些分区无需扫描，而该表又包含任何外部表分区，就很可能发生崩溃或错误行为。", "title": "剪枝结果关系后，正确更新 ModifyTable 计划节点中的外部数据包装器状态", "commits": ["1ef917e3a", "bba4e095d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9097b4cd39a85f24d5f6c0e2fa3135319dd9d272e7e93aca7e7e9932563698d2", "section_path": ["变更"], "commit_groups": [["1ef917e3a", "b43f8aa4c"], ["bba4e095d"]], "identity_text": "Correctly update foreign-data-wrapper state in a ModifyTable plan node after pruning result relations (Ayush Tiwari, Rafia Sabih) Previously, if run-time partition pruning determined that some partitions of a partitioned target table need not be scanned and the table had any foreign-table partitions, a crash or erroneous behavior was likely.", "commit_aliases": ["1ef917e3a", "b43f8aa4c", "bba4e095d"], "source_commits": ["1ef917e3a", "bba4e095d"], "source_entry_id": "18.6/changes/032", "db_id": "2b8134603cff445d9ecd4c835cbe2a6e", "patch_ids": ["46e6b35613de84cd63addb686c943afb", "7972012e2e1068ee15bfecc0258e4f2a"], "statement_hash": "c3f25655c3d5080eb4703b55d0bbd7dd434df2bff0f889c492e293272595f57d", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-4a48d24c7f8eeec1", "cves": [], "html": "<p>修复 <code>UPDATE</code> 使用 <code>RETURNING OLD</code> 时，在带有 <code>BEFORE UPDATE</code> 触发器的表上漏掉并发更新的问题（Dean Rasheed）<a href=\"https://postgr.es/c/4908225be\">§</a></p>\n<p>如果目标行被并发更新，那么在隔离级别 <code>READ COMMITTED</code> 下，任何 <code>OLD</code> 值在 <code>RETURNING</code> 中都应反映更新后的行。但如果存在触发器，返回的却是陈旧值（尽管触发器本身和最终输出行看到的是正确值）。</p>", "text": "修复 UPDATE 使用 RETURNING OLD 时，在带有 BEFORE UPDATE 触发器的表上漏掉并发更新的问题（Dean Rasheed）§ 如果目标行被并发更新，那么在隔离级别 READ COMMITTED 下，任何 OLD 值在 RETURNING 中都应反映更新后的行。但如果存在触发器，返回的却是陈旧值（尽管触发器本身和最终输出行看到的是正确值）。", "title": "修复 UPDATE 使用 RETURNING OLD 时，在带有 BEFORE UPDATE 触发器的表上漏掉并发更新的问题", "commits": ["4908225be"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "b761e87f81a802b4cdb47ed7bd4e83b79a60f4a2bbf726d3415f48af1496e5e4", "section_path": ["变更"], "commit_groups": [["4908225be", "7048e50f8", "8e0c25275"]], "identity_text": "Fix missed concurrent update in UPDATE with RETURNING OLD on a table that has a BEFORE UPDATE trigger (Dean Rasheed) If the target row was concurrently updated, then at isolation level READ COMMITTED any OLD values in RETURNING should reflect the updated row. But stale values were returned if there was a trigger (although the trigger itself, and the final output row, saw the correct values).", "commit_aliases": ["4908225be", "7048e50f8", "8e0c25275"], "source_commits": ["4908225be"], "source_entry_id": "18.6/changes/033", "db_id": "fbbb19f32ec43a1cb37d29840b3ffba1", "patch_ids": ["ba9cbda53c7ab8bd59e73bf84160ded4"], "statement_hash": "aea68a315f610feeca9a2fad2bcebca8668a9368972950c35281611fd541da43", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-a0aeb22946500334", "cves": [], "html": "<p>修复存在多个连接键和大量 NULL 值时哈希连接的性能问题（David Rowley）<a href=\"https://postgr.es/c/f70acc8a2\">§</a></p>\n<p>NULL 键元组不应插入 hash 表，因为它们绝不会匹配任何其他元组。如果 NULL 位于非末尾连接列，代码就会错误处理；当大量输入包含 NULL 时，hash 表会因此严重膨胀。</p>", "text": "修复存在多个连接键和大量 NULL 值时哈希连接的性能问题（David Rowley）§ NULL 键元组不应插入 hash 表，因为它们绝不会匹配任何其他元组。如果 NULL 位于非末尾连接列，代码就会错误处理；当大量输入包含 NULL 时，hash 表会因此严重膨胀。", "title": "修复存在多个连接键和大量 NULL 值时哈希连接的性能问题", "commits": ["f70acc8a2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "a2215a6115900b68d1877c40187dbb0cf3142d42635ac903a285d313f595979c", "section_path": ["变更"], "commit_groups": [["60826a352", "a71a348ed", "f70acc8a2"]], "identity_text": "Fix hash join performance issue when there are multiple join keys and many NULL values (David Rowley) Null-keyed tuples should not get inserted into the hash table, since they will never match any other tuples. The code got this wrong if the null was in a non-last join column, bloating the hash table quite a lot if many inputs contain nulls.", "commit_aliases": ["60826a352", "a71a348ed", "f70acc8a2"], "source_commits": ["f70acc8a2"], "source_entry_id": "18.6/changes/034", "db_id": "b86d64491c7200dcd007d54d6a962628", "patch_ids": ["697f23d3ba44fd5f0f409f3e57d332b0"], "statement_hash": "9cb938e6d1f9c4bd4956e1e17c2a8c000498ab703f9836c62d8937f30c3dfeaf", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-c5b329365b75d540", "cves": [], "html": "<p>修复带圆括号的 <code>OLD</code>/<code>NEW</code> 在 <code>RETURNING</code> 表达式中的解析（Marko Grujic）<a href=\"https://postgr.es/c/9108fed3e\">§</a></p>\n<p>诸如 <code>(old).colname</code> 和 <code>(old).*</code> 的表达式处理有误，实际上被转换成了 <code>NEW</code> 引用。</p>", "text": "修复带圆括号的 OLD/NEW 在 RETURNING 表达式中的解析（Marko Grujic）§ 诸如 (old).colname 和 (old).* 的表达式处理有误，实际上被转换成了 NEW 引用。", "title": "修复带圆括号的 OLD/NEW 在 RETURNING 表达式中的解析", "commits": ["9108fed3e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "c6a8a9fbeafe11c6131fb7a5a843ce5f2eceee4f1af9a2196cc1927a5814db55", "section_path": ["变更"], "commit_groups": [["79c65b9d9", "9108fed3e"]], "identity_text": "Fix parsing of parenthesized OLD/NEW in RETURNING expressions (Marko Grujic) Expressions such as (old).colname and (old).* were mis-handled, effectively converting them to NEW references.", "commit_aliases": ["79c65b9d9", "9108fed3e"], "source_commits": ["9108fed3e"], "source_entry_id": "18.6/changes/035", "db_id": "79eb93008caad05e495b986eed1eb67c", "patch_ids": ["4c43aac234add994672d46a55527fdbf"], "statement_hash": "ec910567dfb23a9d7844fbbba2a2c51eb550d149387df0ae3a4a4222bb4c3f01", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-7f07d942a2dc7fb3", "cves": [], "html": "<p>修复规划器对 <code><em><code>value</code></em> IN (<em><code>array</code></em>)</code> 表达式所做的可空性和严格性检查（Ayush Tiwari）<a href=\"https://postgr.es/c/277122036\">§</a></p>\n<p>只有在已知数组操作数非空时，这些检查才应成功，但此前遗漏了这项考虑，因而可能应用本不该采用的优化。如果数组实际为空，这可能导致查询结果错误。</p>", "text": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查（Ayush Tiwari）§ 只有在已知数组操作数非空时，这些检查才应成功，但此前遗漏了这项考虑，因而可能应用本不该采用的优化。如果数组实际为空，这可能导致查询结果错误。", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "commits": ["277122036"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "59acbe1e0d72123c284eb75137c993aa778cc3317be6c39737ab227966226fcc", "section_path": ["变更"], "commit_groups": [["13b627a3e", "239eabda4", "26d6b7dc9", "277122036", "53470ffba", "6fcee189b", "9740c68ff"]], "identity_text": "Fix planner's nullability and strictness checks for value IN (array) expressions (Ayush Tiwari) These checks should only succeed if the array operand is known to be non-empty, but that consideration was missed, allowing optimizations to be applied that should not be. This could result in wrong query answers if the array actually was empty.", "commit_aliases": ["13b627a3e", "239eabda4", "26d6b7dc9", "277122036", "53470ffba", "6fcee189b", "9740c68ff"], "source_commits": ["277122036"], "source_entry_id": "18.6/changes/036", "db_id": "ad3ee3744d12ed87e41b743df908a973", "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25", "relations": [{"rule": 2, "type": "equivalent", "target": "295b1a7da9077453b2e0fd1899e5c7e4", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}}, {"rule": 2, "type": "equivalent", "target": "53fcc801e2a78a55196f6122abbd7a01", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}}, {"rule": 2, "type": "equivalent", "target": "8c22785dc1e64a0a8f07acd08ee8695d", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}}, {"rule": 2, "type": "equivalent", "target": "c4e4aedd211ab9a3cebe71bab9209dff", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "53fcc801e2a78a55196f6122abbd7a01", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}, "url": "/docs/compare/?release=17.11#17.11-0179d9549f7c629e", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c4e4aedd211ab9a3cebe71bab9209dff", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}, "url": "/docs/compare/?release=16.15#16.15-fa8b871fcf656789", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "8c22785dc1e64a0a8f07acd08ee8695d", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}, "url": "/docs/compare/?release=15.19#15.19-6f626d9b6541c108", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "295b1a7da9077453b2e0fd1899e5c7e4", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}, "url": "/docs/compare/?release=14.24#14.24-1f1442421fcf2295", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-8445b59319518d4d", "cves": [], "html": "<p>修复错误的连接移除逻辑（Matheus Alcantara、Richard Guo）<a href=\"https://postgr.es/c/21f5e659e\">§</a> <a href=\"https://postgr.es/c/9e40d07e1\">§</a></p>\n<p>在边缘情况下，来自外连接可空侧内部的常量输出值可能在应替换为 NULL 时未被替换。</p>", "text": "修复错误的连接移除逻辑（Matheus Alcantara、Richard Guo）§ § 在边缘情况下，来自外连接可空侧内部的常量输出值可能在应替换为 NULL 时未被替换。", "title": "修复错误的连接移除逻辑", "commits": ["21f5e659e", "9e40d07e1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2282060f2cd290842672f0145f4ff5559cbf9d177d487d890edfca94f95af51d", "section_path": ["变更"], "commit_groups": [["0da71d90d", "72457f1df", "9e40d07e1", "b308eb366", "d610d8e8b"], ["1df9e8d96", "21f5e659e", "3e1fe25e6", "8bc479627", "cdcec567d"]], "identity_text": "Fix incorrect join removal logic (Matheus Alcantara, Richard Guo) In edge cases, it was possible for a constant output value coming from within the nullable side of an outer join to not be replaced by NULL when it should be.", "commit_aliases": ["0da71d90d", "1df9e8d96", "21f5e659e", "3e1fe25e6", "72457f1df", "8bc479627", "9e40d07e1", "b308eb366", "cdcec567d", "d610d8e8b"], "source_commits": ["21f5e659e", "9e40d07e1"], "source_entry_id": "18.6/changes/037", "db_id": "4f181419572dec31c7f8a0612a21f555", "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d", "relations": [{"rule": 2, "type": "equivalent", "target": "86a9304ee897d487f2f08fdf6cd5a298", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}}, {"rule": 2, "type": "equivalent", "target": "d46715d5dbb4902eaecdcfe45967fd74", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d46715d5dbb4902eaecdcfe45967fd74", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复错误的连接移除逻辑", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}, "url": "/docs/compare/?release=17.11#17.11-8ac984b046b9e22d", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "86a9304ee897d487f2f08fdf6cd5a298", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复错误的连接移除逻辑", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}, "url": "/docs/compare/?release=16.15#16.15-dbc5e51d45a37594", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-86d838ba82cd928b", "cves": [], "html": "<p>在移除连接期间更彻底地清理 PlaceHolderVars（Richard Guo、Arne Roland）<a href=\"https://postgr.es/c/e02526795\">§</a> <a href=\"https://postgr.es/c/18105e6db\">§</a></p>\n<p>此修复更正了各种可能触发断言或产生错误计划的边缘情况。</p>", "text": "在移除连接期间更彻底地清理 PlaceHolderVars（Richard Guo、Arne Roland）§ § 此修复更正了各种可能触发断言或产生错误计划的边缘情况。", "title": "在移除连接期间更彻底地清理 PlaceHolderVars", "commits": ["18105e6db", "e02526795"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "7baeb4799ba10a67535a51042cb67368e6f775deb642040394941009b4d2631c", "section_path": ["变更"], "commit_groups": [["18105e6db", "aae47813a", "d68576bcf"], ["9a60f295b", "e02526795"]], "identity_text": "Clean up PlaceHolderVars more thoroughly during join removal (Richard Guo, Arne Roland) This fix corrects various edge cases that could trip assertions or result in incorrect plans.", "commit_aliases": ["18105e6db", "9a60f295b", "aae47813a", "d68576bcf", "e02526795"], "source_commits": ["18105e6db", "e02526795"], "source_entry_id": "18.6/changes/038", "db_id": "7287a2439ac16ed2b13a58ded903d600", "patch_ids": ["dad98679fdb945f46899a1cf96a43235", "efd98d1529cbbfc26850e87cacb3d2d3"], "statement_hash": "8ac2ba046ee3e00a0a68bc894a425dc73015f576c3ed6cc93d8f10f0a991adec", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-7bb42265442bdc48", "cves": [], "html": "<p>补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查（Andrei Lepikhov、Tom Lane）<a href=\"https://postgr.es/c/11aed8d19\">§</a></p>\n<p>规划器在决定可以使用基于 hash 的计划类型之前，必须验证容器组成类型是否可进行 hash 运算。此前有些地方遗漏了这一步，导致执行时出现 <span>“<span>could not identify a hash function</span>”</span> 错误。</p>", "text": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查（Andrei Lepikhov、Tom Lane）§ 规划器在决定可以使用基于 hash 的计划类型之前，必须验证容器组成类型是否可进行 hash 运算。此前有些地方遗漏了这一步，导致执行时出现 “could not identify a hash function” 错误。", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "commits": ["11aed8d19"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "6ad8dd8c985b21b21108124389165bf7327db02422d4aae9a1e764bd8d71d016", "section_path": ["变更"], "commit_groups": [["06e94eccf", "11aed8d19", "19152e3c2", "64778fac7", "caebac5f1", "cf2bfe073"]], "identity_text": "Add missed checks for hashability of equality comparisons on container datatypes (arrays, composites, ranges) (Andrei Lepikhov, Tom Lane) The planner must verify hashability of the container's component type(s) before deciding it can use a hash-based plan type. This step was missed in some places, leading to could not identify a hash function failures at execution.", "commit_aliases": ["06e94eccf", "11aed8d19", "19152e3c2", "64778fac7", "caebac5f1", "cf2bfe073"], "source_commits": ["11aed8d19"], "source_entry_id": "18.6/changes/039", "db_id": "b401153415d6c7495b085ccde803a0bc", "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9", "relations": [{"rule": 2, "type": "equivalent", "target": "4de85f9df67410e6ee11d61a4934c2dd", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}}, {"rule": 2, "type": "equivalent", "target": "8f291081d50c65368eaa75ffccbfb916", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}}, {"rule": 2, "type": "equivalent", "target": "f09d5370fd92cd8394d32a7c6a39f808", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}}, {"rule": 2, "type": "equivalent", "target": "f1ae81ec65ad7eceb75ed5e3e0b2c543", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4de85f9df67410e6ee11d61a4934c2dd", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}, "url": "/docs/compare/?release=17.11#17.11-f6f35a5c24f27bf2", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f09d5370fd92cd8394d32a7c6a39f808", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}, "url": "/docs/compare/?release=16.15#16.15-0fac2f9a99aa0191", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "8f291081d50c65368eaa75ffccbfb916", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}, "url": "/docs/compare/?release=15.19#15.19-af11d749ae05b88c", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f1ae81ec65ad7eceb75ed5e3e0b2c543", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}, "url": "/docs/compare/?release=14.24#14.24-16597bc3e22164d9", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-671435cc27948d1c", "cves": [], "html": "<p>避免将 <code>WHERE</code> 子句下推越过使用不同等价规则的分组步骤（Richard Guo）<a href=\"https://postgr.es/c/fe5d62951\">§</a></p>\n<p>对采用非确定性排序规则分组的分组列所作的测试，只有在使用同一排序规则进行比较时才能安全地下推。否则，它可能过滤掉一些本应被分组合并的行。</p>", "text": "避免将 WHERE 子句下推越过使用不同等价规则的分组步骤（Richard Guo）§ 对采用非确定性排序规则分组的分组列所作的测试，只有在使用同一排序规则进行比较时才能安全地下推。否则，它可能过滤掉一些本应被分组合并的行。", "title": "避免将 WHERE 子句下推越过使用不同等价规则的分组步骤", "commits": ["fe5d62951"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "48b740a410e4123a116a78b26c3c7594ce144c3b75195fbc3b847e3990659bc6", "section_path": ["变更"], "commit_groups": [["44fb59fc6", "98d5d7ee6", "fe5d62951"]], "identity_text": "Avoid pushing WHERE clauses down past a grouping step that has a different equivalence rule (Richard Guo) A test on a grouping column that is grouped by a nondeterministic collation is safe to push down only if it is a comparison using that same collation. Otherwise it might filter some rows the grouping would have merged.", "commit_aliases": ["44fb59fc6", "98d5d7ee6", "fe5d62951"], "source_commits": ["fe5d62951"], "source_entry_id": "18.6/changes/040", "db_id": "8a5302ba87723cdae5cab329b237ef44", "patch_ids": ["797e4b8a009ec7e54b9f5e0d46c255b2"], "statement_hash": "06dd2db2f4d9fa1b243241abc89c3c8c94b969cacd2dee10ca07caa830e7c4e4", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-88417491cf3856e5", "cves": [], "html": "<p>修复 <code>COUNT</code> 窗口函数的错误优化：这些函数带有 <code>EXCLUDE</code> 子句或缺少 <code>ORDER BY</code>（Chengpeng Yan、David Rowley）<a href=\"https://postgr.es/c/cf184ec77\">§</a></p>\n<p>这些窗口函数在不应被视为单调函数的情况下被当成单调函数处理，因而可能计算出错误答案。</p>", "text": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY（Chengpeng Yan、David Rowley）§ 这些窗口函数在不应被视为单调函数的情况下被当成单调函数处理，因而可能计算出错误答案。", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "commits": ["cf184ec77"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0ea7c716ea749b5741a7bf87e0ccbd8f8674c2d3136b6c921885dd8bb2d28a2c", "section_path": ["变更"], "commit_groups": [["842e34efa", "a85732162", "be63b285e", "cf184ec77", "d007800f0", "fcd58c6d9"]], "identity_text": "Fix mis-optimization of COUNT window functions that have an EXCLUDE clause or lack ORDER BY (Chengpeng Yan, David Rowley) These window functions were treated as monotonic when they should not be, allowing wrong answers to be computed.", "commit_aliases": ["842e34efa", "a85732162", "be63b285e", "cf184ec77", "d007800f0", "fcd58c6d9"], "source_commits": ["cf184ec77"], "source_entry_id": "18.6/changes/041", "db_id": "ddf83605232b0de3c591e0caa7a88605", "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3", "relations": [{"rule": 2, "type": "equivalent", "target": "28c2612bebf05e287b83343abb5a649a", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}}, {"rule": 2, "type": "equivalent", "target": "40a7c9c1b0ba3bb62e973869e4377d48", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}}, {"rule": 2, "type": "equivalent", "target": "f36b3896971ebb704e9049fa9035f582", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "40a7c9c1b0ba3bb62e973869e4377d48", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}, "url": "/docs/compare/?release=17.11#17.11-c7bededba93f5fa4", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f36b3896971ebb704e9049fa9035f582", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}, "url": "/docs/compare/?release=16.15#16.15-771e23308af7ee5f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "28c2612bebf05e287b83343abb5a649a", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}, "url": "/docs/compare/?release=15.19#15.19-b8bb580eb8de14f5", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-e9b3bdb4cdd524a5", "cves": [], "html": "<p>避免 <span>“<span>cache lookup failed for collation 0</span>”</span> 错误；该错误发生在规划器为 <code>\"char\"</code> 类型的列查找统计信息时（Feng Wu）<a href=\"https://postgr.es/c/5fd1c3f28\">§</a></p>", "text": "避免 “cache lookup failed for collation 0” 错误；该错误发生在规划器为 \"char\" 类型的列查找统计信息时（Feng Wu）§", "title": "避免 “cache lookup failed for collation 0” 错误；该错误发生在规划器为 \"char\" 类型的列查找统计信息时", "commits": ["5fd1c3f28"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "dd4b08a6595545a2c1c1ff9ec924de615c5f6c84d431b29d58a62baf63592d29", "section_path": ["变更"], "commit_groups": [["5fd1c3f28", "b574fec00"]], "identity_text": "Avoid cache lookup failed for collation 0 error when planner looks up statistics for a column of type \"char\" (Feng Wu)", "commit_aliases": ["5fd1c3f28", "b574fec00"], "source_commits": ["5fd1c3f28"], "source_entry_id": "18.6/changes/042", "db_id": "d6878f50541a70b023c90d9e051b3fb6", "patch_ids": ["aea4547f9be1d54480260af7050fe78c"], "statement_hash": "c280be416f006943228456cda29cfb50069cc80bdb27fe6737fe18248d002388", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-14a8792e9a6b6b0c", "cves": [], "html": "<p>修复 <code>ALTER COLUMN ... DROP EXPRESSION</code> 在存在多级分区时无法正常工作的问题（Alberto Piai）<a href=\"https://postgr.es/c/c374f2807\">§</a></p>", "text": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题（Alberto Piai）§", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "commits": ["c374f2807"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0e0bf3175e90710756985d9f2c44e2fc5d7016f27f682df33d46541780590797", "section_path": ["变更"], "commit_groups": [["18006c1bd", "34785a0d5", "785289de0", "c374f2807", "cad17745e", "ce6e434ce", "fef160d8b"]], "identity_text": "Fix ALTER COLUMN ... DROP EXPRESSION to work when there are multiple levels of partitions (Alberto Piai)", "commit_aliases": ["18006c1bd", "34785a0d5", "785289de0", "c374f2807", "cad17745e", "ce6e434ce", "fef160d8b"], "source_commits": ["c374f2807"], "source_entry_id": "18.6/changes/043", "db_id": "481ba0dce2331491936d08937b509331", "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f", "relations": [{"rule": 2, "type": "equivalent", "target": "3e61c5e7800280c2d75348edca95b482", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}}, {"rule": 2, "type": "equivalent", "target": "644f498dfc902b8478cebc735019df44", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}}, {"rule": 2, "type": "equivalent", "target": "bbd2e283343d80bbe36c5d10b0b7b8d9", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}}, {"rule": 2, "type": "equivalent", "target": "ff8123d6270256da139869a45dd3811f", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "644f498dfc902b8478cebc735019df44", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}, "url": "/docs/compare/?release=17.11#17.11-aa9ce164073e6fc7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "3e61c5e7800280c2d75348edca95b482", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}, "url": "/docs/compare/?release=16.15#16.15-91ab80f8ca5d7d2a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bbd2e283343d80bbe36c5d10b0b7b8d9", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}, "url": "/docs/compare/?release=15.19#15.19-7a11afed9ca0958b", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "ff8123d6270256da139869a45dd3811f", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}, "url": "/docs/compare/?release=14.24#14.24-d190dfadb5c7a779", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-e8b58d1d4a2ada71", "cves": [], "html": "<p>修复为排他约束索引附加分区的问题（Japin Li）<a href=\"https://postgr.es/c/19e3aa704\">§</a></p>\n<p>值得注意的是，这一疏漏破坏了分区排他约束的导出/恢复。</p>", "text": "修复为排他约束索引附加分区的问题（Japin Li）§ 值得注意的是，这一疏漏破坏了分区排他约束的导出/恢复。", "title": "修复为排他约束索引附加分区的问题", "commits": ["19e3aa704"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "e26997d652381c7f0ed9681bc22f8e68776fa5da18d5bc132c86c3b7e545f464", "section_path": ["变更"], "commit_groups": [["19e3aa704", "1d6c654c8", "2b2c2492c", "d049a31a4"]], "identity_text": "Fix attaching partitions of indexes that are exclusion constraints (Japin Li) Notably, this oversight broke dump/restore of partitioned exclusion constraints.", "commit_aliases": ["19e3aa704", "1d6c654c8", "2b2c2492c", "d049a31a4"], "source_commits": ["19e3aa704"], "source_entry_id": "18.6/changes/044", "db_id": "5c4182efd803f6d6d6537714c7bd42b7", "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab", "relations": [{"rule": 2, "type": "equivalent", "target": "93afcbc160733050810dc157756fa912", "evidence": {"same_day": true, "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "93afcbc160733050810dc157756fa912", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复为排他约束索引附加分区的问题", "evidence": {"same_day": true, "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab"}, "url": "/docs/compare/?release=17.11#17.11-82cead6257dcd50a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-b5bc23b2ba1a7eec", "cves": [], "html": "<p>禁止通过<code>ALTER CONSTRAINT</code>对分区的<code>NOT NULL</code>约束设置<code>NO INHERIT</code>。（Andreas Karlsson）<a href=\"https://postgr.es/c/41247cdf6\">§</a></p>\n<p>分区表上的 <code>NOT NULL</code> 约束应由所有分区继承，因此不得标记为 <code>NO INHERIT</code>。创建约束时正确执行了此规则，但 <code>ALTER TABLE ... ALTER CONSTRAINT</code> 未执行此规则。</p>", "text": "禁止通过ALTER CONSTRAINT对分区的NOT NULL约束设置NO INHERIT。（Andreas Karlsson）§ 分区表上的 NOT NULL 约束应由所有分区继承，因此不得标记为 NO INHERIT。创建约束时正确执行了此规则，但 ALTER TABLE ... ALTER CONSTRAINT 未执行此规则。", "title": "禁止通过ALTER CONSTRAINT对分区的NOT NULL约束设置NO INHERIT。", "commits": ["41247cdf6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0601f5b0e3d77a5ffcfbcba09f3f3dcbd5535739b32c8f3325eb9893d808dbca", "section_path": ["变更"], "commit_groups": [["41247cdf6", "d8b5d87e5"]], "identity_text": "Prevent setting NO INHERIT on partitioned NOT NULL constraints via ALTER CONSTRAINT (Andreas Karlsson) NOT NULL constraints on partitioned tables are supposed to be inherited by all partitions, and therefore must not be marked NO INHERIT. This rule was correctly enforced by constraint creation, but not by ALTER TABLE ... ALTER CONSTRAINT.", "commit_aliases": ["41247cdf6", "d8b5d87e5"], "source_commits": ["41247cdf6"], "source_entry_id": "18.6/changes/045", "db_id": "7f94bd8f2b3eaf108733e19761f28b5c", "patch_ids": ["bf2253b466db4457c0859fe6a2584679"], "statement_hash": "ce6fffbf1beb8c7b56093e97c9b54cab8422e5f127c4c6ebe3d89431038aba0f", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-7007f0ab50735ceb", "cves": [], "html": "<p>禁止将规则重命名为 <code>_RETURN</code>（Tom Lane）<a href=\"https://postgr.es/c/a7f7958ab\">§</a></p>\n<p>该名称保留给视图的 <code>ON SELECT</code> 规则，但 <code>ALTER RULE</code> 允许将其他规则重命名为 <code>_RETURN</code>，从而引发后续问题。</p>", "text": "禁止将规则重命名为 _RETURN（Tom Lane）§ 该名称保留给视图的 ON SELECT 规则，但 ALTER RULE 允许将其他规则重命名为 _RETURN，从而引发后续问题。", "title": "禁止将规则重命名为 _RETURN", "commits": ["a7f7958ab"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "42d0bcd76dc5bce27d1905de279a3fe08f17de460d01e4775e689da8679a7bc5", "section_path": ["变更"], "commit_groups": [["1b17a6e3c", "80c7f5467", "a69503fb1", "a7f7958ab", "a8c2547ea", "e99fb3262", "eada45dd8"]], "identity_text": "Disallow renaming a rule to _RETURN (Tom Lane) That name is reserved for a view's ON SELECT rule, but ALTER RULE allowed renaming other rules to _RETURN, causing trouble later.", "commit_aliases": ["1b17a6e3c", "80c7f5467", "a69503fb1", "a7f7958ab", "a8c2547ea", "e99fb3262", "eada45dd8"], "source_commits": ["a7f7958ab"], "source_entry_id": "18.6/changes/046", "db_id": "7fcd70e80ad8fcb50e2d2e784c2f096a", "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526", "relations": [{"rule": 2, "type": "equivalent", "target": "3569cc7b8d590ae9ed38d474e4657d07", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}}, {"rule": 2, "type": "equivalent", "target": "372d29ed3f3b1d47e4559294d1b39ef0", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}}, {"rule": 2, "type": "equivalent", "target": "5937327b4c46721ff43bb1e6390ab869", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}}, {"rule": 2, "type": "equivalent", "target": "9cce45b7be8c80c09abfde1a981ce88a", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9cce45b7be8c80c09abfde1a981ce88a", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "禁止将规则重命名为 _RETURN", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}, "url": "/docs/compare/?release=17.11#17.11-d462466d836ceca5", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "3569cc7b8d590ae9ed38d474e4657d07", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "禁止将规则重命名为 _RETURN", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}, "url": "/docs/compare/?release=16.15#16.15-2b73fd80a7001440", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "372d29ed3f3b1d47e4559294d1b39ef0", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "禁止将规则重命名为 _RETURN", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}, "url": "/docs/compare/?release=15.19#15.19-6d53c3bf09bfb5df", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "5937327b4c46721ff43bb1e6390ab869", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "禁止将规则重命名为 _RETURN", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}, "url": "/docs/compare/?release=14.24#14.24-a419187d2e34008b", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-b6f7587292fb4dc6", "cves": [], "html": "<p>修复 <code>DROP OWNED BY</code> 中角色成员资格授权未释放锁的问题（Jeff Davis）<a href=\"https://postgr.es/c/a0daa0b41\">§</a></p>\n<p>这一疏漏会产生警告消息，随后成员资格授权上的锁会一直保留到事务结束。</p>", "text": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题（Jeff Davis）§ 这一疏漏会产生警告消息，随后成员资格授权上的锁会一直保留到事务结束。", "title": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题", "commits": ["a0daa0b41"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2aac72ff4aa5ee2955a6053adaa7adbb8f63722691ed0531eec8c26985c5efa3", "section_path": ["变更"], "commit_groups": [["25e54cec7", "9eccdae22", "a0daa0b41", "b48caa7df", "e61d44fde"]], "identity_text": "Fix missing lock release for role membership grants in DROP OWNED BY (Jeff Davis) This oversight resulted in a warning message, followed by retaining a lock on the membership grant until the end of the transaction.", "commit_aliases": ["25e54cec7", "9eccdae22", "a0daa0b41", "b48caa7df", "e61d44fde"], "source_commits": ["a0daa0b41"], "source_entry_id": "18.6/changes/047", "db_id": "5ac990e6d8ae4f5c9facf9044c23d6c9", "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9", "relations": [{"rule": 2, "type": "equivalent", "target": "0563a596791449f44372e96193722ea2", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}}, {"rule": 2, "type": "equivalent", "target": "f38a9d64af080b972d55091afa2b7167", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f38a9d64af080b972d55091afa2b7167", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}, "url": "/docs/compare/?release=17.11#17.11-3e140cc33315fc88", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "0563a596791449f44372e96193722ea2", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}, "url": "/docs/compare/?release=16.15#16.15-6fff16ad10712541", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-604b807a12c59a87", "cves": [], "html": "<p>修复 <code>EXPLAIN</code> 在逆解析 <code>SQL/JSON</code> 聚合时失败的问题（Richard Guo）<a href=\"https://postgr.es/c/45364e496\">§</a></p>\n<p>某些计划结构会导致 <span>“<span>invalid JsonConstructorExpr underlying node type</span>”</span> 错误。</p>", "text": "修复 EXPLAIN 在逆解析 SQL/JSON 聚合时失败的问题（Richard Guo）§ 某些计划结构会导致 “invalid JsonConstructorExpr underlying node type” 错误。", "title": "修复 EXPLAIN 在逆解析 SQL/JSON 聚合时失败的问题", "commits": ["45364e496"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "d3a0089d91c98ae5bf10b57ed60f7d442c6dd373660c026c360f1fa30e2703ea", "section_path": ["变更"], "commit_groups": [["45364e496", "485527190", "96ab9a990", "dcda1f07d", "eaa561fb6"]], "identity_text": "Fix failure of EXPLAIN when deparsing SQL/JSON aggregates (Richard Guo) Some plan structures resulted in invalid JsonConstructorExpr underlying node type errors.", "commit_aliases": ["45364e496", "485527190", "96ab9a990", "dcda1f07d", "eaa561fb6"], "source_commits": ["45364e496"], "source_entry_id": "18.6/changes/048", "db_id": "9bd2c80a3ef9ebab0fa8c15b085cb9d4", "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2", "relations": [{"rule": 2, "type": "equivalent", "target": "76da1bf58091a36c27ddeecb07c72440", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}}, {"rule": 2, "type": "equivalent", "target": "9796917e37d7742de7735ae20dbc9e8c", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "76da1bf58091a36c27ddeecb07c72440", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 EXPLAIN 在逆解析 SQL/JSON 聚合时失败的问题", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}, "url": "/docs/compare/?release=17.11#17.11-df483e133aa49926", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "9796917e37d7742de7735ae20dbc9e8c", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 EXPLAIN 在逆解析 SQL/JSON 聚合时失败的问题", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}, "url": "/docs/compare/?release=16.15#16.15-355171a4f97e88f7", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-8283ac4f7a0c7e8e", "cves": [], "html": "<p>修复 <code>REINDEX CONCURRENTLY</code> 与可延迟唯一约束一起使用时的问题（Nitin Motiani）<a href=\"https://postgr.es/c/e4527519b\">§</a></p>\n<p>在 <code>REINDEX CONCURRENTLY</code> 期间创建的临时索引副本被错误地标记为强制立即满足唯一性，导致虚假的约束违例报告。</p>", "text": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题（Nitin Motiani）§ 在 REINDEX CONCURRENTLY 期间创建的临时索引副本被错误地标记为强制立即满足唯一性，导致虚假的约束违例报告。", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "commits": ["e4527519b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "20f3eed1649306dfb7a78c54da0e144af4f74021deabbd4d35dedf55e9e7c4cd", "section_path": ["变更"], "commit_groups": [["28269fed6", "55adef7ab", "5b3712e31", "74276e685", "9f6fb1191", "ac222bea5", "e4527519b"]], "identity_text": "Fix use of REINDEX CONCURRENTLY with a deferred uniqueness constraint (Nitin Motiani) The transient index copy created during REINDEX CONCURRENTLY was incorrectly marked as enforcing immediate uniqueness, causing spurious reports of constraint violation.", "commit_aliases": ["28269fed6", "55adef7ab", "5b3712e31", "74276e685", "9f6fb1191", "ac222bea5", "e4527519b"], "source_commits": ["e4527519b"], "source_entry_id": "18.6/changes/049", "db_id": "69bafedd5508b393bd3564acfc03f161", "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e", "relations": [{"rule": 2, "type": "equivalent", "target": "8c14bd88ba60ce9fdffdf9d72dd6da15", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}}, {"rule": 2, "type": "equivalent", "target": "cb00c5a92a3128a4094b82f1499aa619", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}}, {"rule": 2, "type": "equivalent", "target": "d30d3b7b8ed23c31f3db15911611954c", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}}, {"rule": 2, "type": "equivalent", "target": "e5eb6e313eecd9bd0c4062dcd9a34861", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb00c5a92a3128a4094b82f1499aa619", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}, "url": "/docs/compare/?release=17.11#17.11-5f6921ca5abdfb75", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "d30d3b7b8ed23c31f3db15911611954c", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}, "url": "/docs/compare/?release=16.15#16.15-1b1cda18e768032a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e5eb6e313eecd9bd0c4062dcd9a34861", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}, "url": "/docs/compare/?release=15.19#15.19-9517c019b26b4a15", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "8c14bd88ba60ce9fdffdf9d72dd6da15", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}, "url": "/docs/compare/?release=14.24#14.24-8d7d065f5b1eab43", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-99dd4ced91d2437b", "cves": [], "html": "<p>修复 <code>LIKE</code> 在非确定性排序规则下的反斜杠匹配问题（Nitin Motiani、Tom Lane）<a href=\"https://postgr.es/c/a99bd8d58\">§</a> <a href=\"https://postgr.es/c/51652c42d\">§</a></p>\n<p>使用非确定性排序规则时，<code>LIKE</code> 会错误处理转义后的反斜杠（<code>\\\\</code>），实际效果相当于该字符不存在。对于普通字符前的前导反斜杠，它也处理错误；在这种情况下，反斜杠实际应被忽略，但它却导致普通字符被精确匹配，而不是让非确定性排序规则判断是否匹配。</p>", "text": "修复 LIKE 在非确定性排序规则下的反斜杠匹配问题（Nitin Motiani、Tom Lane）§ § 使用非确定性排序规则时，LIKE 会错误处理转义后的反斜杠（\\\\），实际效果相当于该字符不存在。对于普通字符前的前导反斜杠，它也处理错误；在这种情况下，反斜杠实际应被忽略，但它却导致普通字符被精确匹配，而不是让非确定性排序规则判断是否匹配。", "title": "修复 LIKE 在非确定性排序规则下的反斜杠匹配问题", "commits": ["51652c42d", "a99bd8d58"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "8053f101d3b3b3a24a71b0da4963bb9ccc1dee666d0f88129be89f8cf5e9d3c1", "section_path": ["变更"], "commit_groups": [["42b7ff3aa", "51652c42d", "54d5947ef"], ["99775b388", "a99bd8d58", "d6ffcae32"]], "identity_text": "Fix LIKE matching with nondeterministic collations and backslashes (Nitin Motiani, Tom Lane) When using a nondeterministic collation, LIKE mishandled an escaped backslash (\\\\), treating it as effectively not there. It also did the wrong thing with a leading backslash preceding an ordinary character; in that case the backslash should be effectively ignored, but it caused the ordinary character to be matched exactly rather than allowing the nondeterministic collation to decide if there's a match.", "commit_aliases": ["42b7ff3aa", "51652c42d", "54d5947ef", "99775b388", "a99bd8d58", "d6ffcae32"], "source_commits": ["51652c42d", "a99bd8d58"], "source_entry_id": "18.6/changes/050", "db_id": "d3cce82763a46bec6558823f526096ae", "patch_ids": ["42e518e106517fa6c599c068344cdcc4", "f06fdeb7d5c2c1ca22a3727e6c57386b"], "statement_hash": "e18a833d191731a4c5d47cd2d7f022d5acf10e11b8701241a22b6f63a41510a8", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-5d12ae4d78fa8033", "cves": [], "html": "<p>修复精确匹配模式的 <code>LIKE</code>/正则表达式索引扫描优化（Jelte Fennema-Nio）<a href=\"https://postgr.es/c/d0bb49e61\">§</a></p>\n<p>非确定性排序规则下的 <code>LIKE</code> 重构意外破坏了以下优化：当索引排序规则与表达式排序规则不匹配时，把 <code>LIKE</code> 或正则表达式的精确匹配模式转换成等值索引条件。不仅如此，这还使 <span>psql</span> 的 <code>\\d <em><code>tablename</code></em></code> 命令慢了很多。</p>", "text": "修复精确匹配模式的 LIKE/正则表达式索引扫描优化（Jelte Fennema-Nio）§ 非确定性排序规则下的 LIKE 重构意外破坏了以下优化：当索引排序规则与表达式排序规则不匹配时，把 LIKE 或正则表达式的精确匹配模式转换成等值索引条件。不仅如此，这还使 psql 的 \\d tablename 命令慢了很多。", "title": "修复精确匹配模式的 LIKE/正则表达式索引扫描优化", "commits": ["d0bb49e61"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "5a44a696271b577cddcb781f5f9685b07ed794e99ca025610139ddf026577fde", "section_path": ["变更"], "commit_groups": [["2d7808e6f", "67cf73ddb", "d0bb49e61"]], "identity_text": "Fix LIKE/regex optimization for indexscan with exact-match pattern (Jelte Fennema-Nio) Refactoring for LIKE with non-deterministic collations accidentally broke the optimization for converting a LIKE or regex exact-match pattern to an equality index condition when the index collation doesn't match the expression collation. Among other things, that made psql's \\d tablename command much slower.", "commit_aliases": ["2d7808e6f", "67cf73ddb", "d0bb49e61"], "source_commits": ["d0bb49e61"], "source_entry_id": "18.6/changes/051", "db_id": "753e54987dcf92d3f495233f193ef239", "patch_ids": ["54018fbe657a62243f1d69e443acc9f5"], "statement_hash": "221ab631be4dde5f6e7bd8b02b6811e63a505d1f7cf2eee944bcec8f7d145e60", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-937d0b3149314116", "cves": [], "html": "<p>修复 <code>to_date()</code> 对本地化月份名和星期名的匹配（Heikki Linnakangas）<a href=\"https://postgr.es/c/011384ba4\">§</a> <a href=\"https://postgr.es/c/5f003855e\">§</a></p>\n<p>当大小写折叠改变字符串的字节长度时，匹配逻辑会出现错误行为。</p>", "text": "修复 to_date() 对本地化月份名和星期名的匹配（Heikki Linnakangas）§ § 当大小写折叠改变字符串的字节长度时，匹配逻辑会出现错误行为。", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "commits": ["011384ba4", "5f003855e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9fe2ae50e9bfc4ced876406d6b2428ee94aab62e6e58788cfe5038327a31c0c3", "section_path": ["变更"], "commit_groups": [["011384ba4", "0de744cd5", "49a712f32", "55ea76426", "8acfaa12a", "b594efe52", "fd2b89854"], ["5f003855e"]], "identity_text": "Fix matching of localized month/day names in to_date() (Heikki Linnakangas) The matching logic misbehaved in cases where case-folding changes the byte length of the string.", "commit_aliases": ["011384ba4", "0de744cd5", "49a712f32", "55ea76426", "5f003855e", "8acfaa12a", "b594efe52", "fd2b89854"], "source_commits": ["011384ba4", "5f003855e"], "source_entry_id": "18.6/changes/052", "db_id": "eb74da46a95f0db0c15adface2feaffa", "patch_ids": ["34110329d25e6401c920fba619dc5a15", "b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da", "relations": [{"rule": 2, "type": "related", "target": "0800233346f3a252c62d9a6f579d5573", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "related", "target": "08bd69e7cd8f7b8bd4623958f924ac19", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "related", "target": "b0d8986fede0f1216361d5a43a076e4e", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "related", "target": "d3800c6695b429dd746c574f0d0d93e5", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b0d8986fede0f1216361d5a43a076e4e", "kind": "related", "version": "17.11", "label": "17.11", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}, "url": "/docs/compare/?release=17.11#17.11-8557fc5fb2204540", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "08bd69e7cd8f7b8bd4623958f924ac19", "kind": "related", "version": "16.15", "label": "16.15", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}, "url": "/docs/compare/?release=16.15#16.15-6af7d41f64cafafa", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0800233346f3a252c62d9a6f579d5573", "kind": "related", "version": "15.19", "label": "15.19", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}, "url": "/docs/compare/?release=15.19#15.19-a96cc8b4c22ffe2e", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "d3800c6695b429dd746c574f0d0d93e5", "kind": "related", "version": "14.24", "label": "14.24", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}, "url": "/docs/compare/?release=14.24#14.24-8ab3e783a00643a8", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-e4b72f9a6fc1a4a4", "cves": [], "html": "<p>更正希腊语词尾 sigma 的大小写折叠规则（Jeff Davis）<a href=\"https://postgr.es/c/66ec24276\">§</a></p>\n<p>如果字符串前面只有 Case Ignorable 字符，则不要将其视为词尾 sigma。这仅影响内置 <code>pg_unicode_fast</code> 区域设置。</p>", "text": "更正希腊语词尾 sigma 的大小写折叠规则（Jeff Davis）§ 如果字符串前面只有 Case Ignorable 字符，则不要将其视为词尾 sigma。这仅影响内置 pg_unicode_fast 区域设置。", "title": "更正希腊语词尾 sigma 的大小写折叠规则", "commits": ["66ec24276"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "89b5c46c4733b4076a027d5c599960f5478741668ea5f7bcdef1b17a83461c17", "section_path": ["变更"], "commit_groups": [["28d498e28", "368693689", "66ec24276"]], "identity_text": "Correct case-folding rules for Greek final sigma (Jeff Davis) If the string is preceded only by Case Ignorable characters, don't consider it to be a final sigma. This only affects the built-in pg_unicode_fast locale.", "commit_aliases": ["28d498e28", "368693689", "66ec24276"], "source_commits": ["66ec24276"], "source_entry_id": "18.6/changes/053", "db_id": "b26cb5804188e11182113acfa2af2f06", "patch_ids": ["1194cd191de15fbe8bba89681ad47d4f"], "statement_hash": "9ed6169c6ff51444837f797efaede7d8883cd9cba60472cbf5129bc51729553f", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-bad72301bf213a01", "cves": [], "html": "<p>修复谚文 U+11A7 (TBASE) 的 NFC 重组错误（Diego Frias、Michael Paquier）<a href=\"https://postgr.es/c/273fe9485\">§</a></p>\n<p>该字符被当作有效的 T 音节，但实际上并非如此，因此在规范化过程中被悄然吞掉。</p>", "text": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误（Diego Frias、Michael Paquier）§ 该字符被当作有效的 T 音节，但实际上并非如此，因此在规范化过程中被悄然吞掉。", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "commits": ["273fe9485"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "12dfc8fb1740739aa2a2241aafbdc5e41621ac922bf07241fb5d6d9f53cabe3d", "section_path": ["变更"], "commit_groups": [["0c9cbbfb5", "273fe9485", "82116023e", "8bb935d61", "c391375ba", "f2ff15e4c"]], "identity_text": "Fix incorrect NFC recomposition for Hangul U+11A7 (TBASE) (Diego Frias, Michael Paquier) This character was treated as a valid T syllable, which it is not, and hence silently swallowed during normalization.", "commit_aliases": ["0c9cbbfb5", "273fe9485", "82116023e", "8bb935d61", "c391375ba", "f2ff15e4c"], "source_commits": ["273fe9485"], "source_entry_id": "18.6/changes/054", "db_id": "3a6050c2cb2fe8b496eaa4963a657d6a", "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717", "relations": [{"rule": 2, "type": "equivalent", "target": "3ca62c531cc3952831a57b828ba3be6f", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}}, {"rule": 2, "type": "equivalent", "target": "955b29dab0dd740875781e1df1992bdc", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}}, {"rule": 2, "type": "equivalent", "target": "aaef9ba320136440f8b0a3ec12c67f23", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}}, {"rule": 2, "type": "equivalent", "target": "b4da21230a332d29b7fdd0c30e5eb1b0", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "955b29dab0dd740875781e1df1992bdc", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}, "url": "/docs/compare/?release=17.11#17.11-ed1426e8e931d4ba", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "b4da21230a332d29b7fdd0c30e5eb1b0", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}, "url": "/docs/compare/?release=16.15#16.15-b06391696fc6a94f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "aaef9ba320136440f8b0a3ec12c67f23", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}, "url": "/docs/compare/?release=15.19#15.19-dab67300bc6bbe1f", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "3ca62c531cc3952831a57b828ba3be6f", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}, "url": "/docs/compare/?release=14.24#14.24-68c56e11fd51d378", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-3c978527782bcd11", "cves": [], "html": "<p>避免不区分大小写的 <code>synonym</code> 词典可能截断输出词位（Jeff Davis）<a href=\"https://postgr.es/c/89e648498\">§</a></p>\n<p>如果折叠为小写增加了词位的字节长度，输出时会错误地将其截断为原来的字节长度。</p>", "text": "避免不区分大小写的 synonym 词典可能截断输出词位（Jeff Davis）§ 如果折叠为小写增加了词位的字节长度，输出时会错误地将其截断为原来的字节长度。", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "commits": ["89e648498"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "77469b6258132929a06ffd007b2e4038dba19ecf2bf22a1c920ef1c94e3decdd", "section_path": ["变更"], "commit_groups": [["1e0458172", "3805641cb", "89e648498", "9234e3337", "a7e0e42a2", "b32df590c"]], "identity_text": "Avoid possible truncation of output lexemes in case-insensitive synonym dictionaries (Jeff Davis) If folding to lower case increased the byte length of a lexeme, it was incorrectly truncated to its original byte length when emitted.", "commit_aliases": ["1e0458172", "3805641cb", "89e648498", "9234e3337", "a7e0e42a2", "b32df590c"], "source_commits": ["89e648498"], "source_entry_id": "18.6/changes/055", "db_id": "347d8e16786f9262348eddb4e4ab7132", "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3", "relations": [{"rule": 2, "type": "equivalent", "target": "0633548b5897af860062f0da29c48e44", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}}, {"rule": 2, "type": "equivalent", "target": "3af409a2d71c7fbd1a45975cdba31ea0", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}}, {"rule": 2, "type": "equivalent", "target": "a4a88f042e4bc74a3646ee98fc6e3a95", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}}, {"rule": 2, "type": "equivalent", "target": "ae43518b0809db4841928b42a3de5142", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a4a88f042e4bc74a3646ee98fc6e3a95", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}, "url": "/docs/compare/?release=17.11#17.11-a4695342e5fc0fc7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "ae43518b0809db4841928b42a3de5142", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}, "url": "/docs/compare/?release=16.15#16.15-2163d6f45ee0d876", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0633548b5897af860062f0da29c48e44", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}, "url": "/docs/compare/?release=15.19#15.19-28d4f1c94a8ecc1a", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "3af409a2d71c7fbd1a45975cdba31ea0", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}, "url": "/docs/compare/?release=14.24#14.24-c33079f2a44ffdbd", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-fcede1358593efe6", "cves": [], "html": "<p>增强大小写转换逻辑对截断 UTF-8 字符的防护（Jeff Davis）<a href=\"https://postgr.es/c/9021c8f3c\">§</a></p>", "text": "增强大小写转换逻辑对截断 UTF-8 字符的防护（Jeff Davis）§", "title": "增强大小写转换逻辑对截断 UTF-8 字符的防护", "commits": ["9021c8f3c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "89b6cc131a56223f184b1fbcb6088e67d57ed12feda80537ab55e794e0c3ac4d", "section_path": ["变更"], "commit_groups": [["05da336dd", "21ffc271d", "5e78ebca5", "9021c8f3c"]], "identity_text": "Defend against truncated UTF-8 characters in case-conversion logic (Jeff Davis)", "commit_aliases": ["05da336dd", "21ffc271d", "5e78ebca5", "9021c8f3c"], "source_commits": ["9021c8f3c"], "source_entry_id": "18.6/changes/056", "db_id": "fbf07b5b0ddd47273177153e01d4ca58", "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59", "relations": [{"rule": 2, "type": "equivalent", "target": "6587fa053296846f315df1024b486ffb", "evidence": {"same_day": true, "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6587fa053296846f315df1024b486ffb", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "增强大小写转换逻辑对截断 UTF-8 字符的防护", "evidence": {"same_day": true, "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59"}, "url": "/docs/compare/?release=17.11#17.11-650fe2adca4c15c7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-07aee184fcf9a835", "cves": [], "html": "<p>修复 <code>hash_record_extended()</code> 中的拼写错误（Man Zeng）<a href=\"https://postgr.es/c/b3f13c032\">§</a></p>\n<p>代码未初始化传给 FunctionCallInvoke() 的第二个 isnull 参数。对于现有的核心内置扩展 hash 支持函数，这不会造成影响，因为它们不会检查该值。不过，如果扩展提供的 hash 函数检查 <code>PG_ARGISNULL(1)</code>，就可能受到影响。</p>", "text": "修复 hash_record_extended() 中的拼写错误（Man Zeng）§ 代码未初始化传给 FunctionCallInvoke() 的第二个 isnull 参数。对于现有的核心内置扩展 hash 支持函数，这不会造成影响，因为它们不会检查该值。不过，如果扩展提供的 hash 函数检查 PG_ARGISNULL(1)，就可能受到影响。", "title": "修复 hash_record_extended() 中的拼写错误", "commits": ["b3f13c032"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "a922d36a3c1c13dd842a8491ec3c40f6f6563f8e66780fdb65cb475a41ca2c1b", "section_path": ["变更"], "commit_groups": [["203e238bb", "259b627d5", "273a3c776", "74d3482f4", "8b5580a05", "b3f13c032"]], "identity_text": "Fix typo in hash_record_extended() (Man Zeng) The code failed to initialize the second isnull argument passed to FunctionCallInvoke(). This is harmless for existing in-core extended hash support functions, which will not examine that value. However, extension-provided hash functions could be affected if they inspect PG_ARGISNULL(1).", "commit_aliases": ["203e238bb", "259b627d5", "273a3c776", "74d3482f4", "8b5580a05", "b3f13c032"], "source_commits": ["b3f13c032"], "source_entry_id": "18.6/changes/057", "db_id": "1a54434973bf348ac56bbd357db25e7a", "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30", "relations": [{"rule": 2, "type": "equivalent", "target": "25a4f41e6e86c5076cca107fea29ef1d", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}, {"rule": 2, "type": "equivalent", "target": "3a78996c251f4fe686fe5fedcd3f9184", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}, {"rule": 2, "type": "equivalent", "target": "5f9c74e8a3fc194bfa4ae79b3e4f07c7", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}, {"rule": 2, "type": "equivalent", "target": "ece2673fe4b30003bf5bf840a25f59a4", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5f9c74e8a3fc194bfa4ae79b3e4f07c7", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 hash_record_extended() 中的拼写错误", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}, "url": "/docs/compare/?release=17.11#17.11-f5ccad03da59d5de", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "ece2673fe4b30003bf5bf840a25f59a4", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 hash_record_extended() 中的拼写错误", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}, "url": "/docs/compare/?release=16.15#16.15-cb201ae319eda4b5", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "3a78996c251f4fe686fe5fedcd3f9184", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 hash_record_extended() 中的拼写错误", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}, "url": "/docs/compare/?release=15.19#15.19-366fd641b8a79f60", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "25a4f41e6e86c5076cca107fea29ef1d", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 hash_record_extended() 中的拼写错误", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}, "url": "/docs/compare/?release=14.24#14.24-fac08735b5c2435e", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-07cb6565704cd80c", "cves": [], "html": "<p>修复 <code>pg_get_publication_tables()</code> 在可发布表被并发删除时失败的问题（Bharath Rupireddy）<a href=\"https://postgr.es/c/73d63d1c1\">§</a></p>", "text": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题（Bharath Rupireddy）§", "title": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题", "commits": ["73d63d1c1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "048fe358bb679cb48c09cd22d4b797cfcbff48e86771a8cd2a4d0886859d47c2", "section_path": ["变更"], "commit_groups": [["28c995948", "63e7a0d2c", "6c760f6b6", "73d63d1c1", "dcbc96685"]], "identity_text": "Fix pg_get_publication_tables() to not fail if a publishable table is dropped concurrently (Bharath Rupireddy)", "commit_aliases": ["28c995948", "63e7a0d2c", "6c760f6b6", "73d63d1c1", "dcbc96685"], "source_commits": ["73d63d1c1"], "source_entry_id": "18.6/changes/058", "db_id": "5cf6a04270abb8d2d149dfad435adf07", "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e", "relations": [{"rule": 2, "type": "equivalent", "target": "14c82613c1589216a8ccd71f1db8822e", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}}, {"rule": 2, "type": "equivalent", "target": "e740f6073746bb56668a4a47edba21d2", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e740f6073746bb56668a4a47edba21d2", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}, "url": "/docs/compare/?release=17.11#17.11-a3d6c74423b0a5d4", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "14c82613c1589216a8ccd71f1db8822e", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}, "url": "/docs/compare/?release=16.15#16.15-b265df5d8d8c9040", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-8e6a8684fc76928f", "cves": [], "html": "<p>防止 <code>satisfies_hash_partition()</code> 在使用 <code>VARIADIC NULL</code> 时崩溃（Robert Haas）<a href=\"https://postgr.es/c/0c06ebf12\">§</a></p>", "text": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃（Robert Haas）§", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "commits": ["0c06ebf12"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "23bea444ad424eb33803b0dbca40538305c5da8c5b78995270f51ec10c8249ad", "section_path": ["变更"], "commit_groups": [["0115650de", "0c06ebf12", "2ddc45662", "52af6fef4", "6de480156", "d39b9eed0", "e8914ec22"]], "identity_text": "Prevent satisfies_hash_partition() from crashing with VARIADIC NULL (Robert Haas)", "commit_aliases": ["0115650de", "0c06ebf12", "2ddc45662", "52af6fef4", "6de480156", "d39b9eed0", "e8914ec22"], "source_commits": ["0c06ebf12"], "source_entry_id": "18.6/changes/059", "db_id": "aca7b7cc0c6297fb6f870b60ad6c6eb2", "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6", "relations": [{"rule": 2, "type": "equivalent", "target": "1fb3283adc95d5350d7e43a295bb846c", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}, {"rule": 2, "type": "equivalent", "target": "250fe82e174ea43c46f699d38a0bc047", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}, {"rule": 2, "type": "equivalent", "target": "393be0bc06aa5c29057eb4def7239bd8", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}, {"rule": 2, "type": "equivalent", "target": "588ad857d225574ba2a655f6d141dfd0", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "393be0bc06aa5c29057eb4def7239bd8", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}, "url": "/docs/compare/?release=17.11#17.11-f0697d05fabe6ce7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "588ad857d225574ba2a655f6d141dfd0", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}, "url": "/docs/compare/?release=16.15#16.15-1645ee8abe170a88", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "250fe82e174ea43c46f699d38a0bc047", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}, "url": "/docs/compare/?release=15.19#15.19-e8e1f41131f43e88", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "1fb3283adc95d5350d7e43a295bb846c", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}, "url": "/docs/compare/?release=14.24#14.24-4654d9de568816b5", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-9981c3dd5925e5fe", "cves": [], "html": "<p>使 <code>tsvector_filter()</code> 及相关函数以更清晰且一致的方式报告无效权重错误（Ewan Young）<a href=\"https://postgr.es/c/c5194139c\">§</a></p>\n<p>特别是，以八进制形式（<code>\\<em><code>nnn</code></em></code>）报告不是可打印 ASCII 字符的权重字符，就像 <code>charout()</code> 对它们的呈现方式一样。这可以避免生成编码无效的错误消息。</p>", "text": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误（Ewan Young）§ 特别是，以八进制形式（\\nnn）报告不是可打印 ASCII 字符的权重字符，就像 charout() 对它们的呈现方式一样。这可以避免生成编码无效的错误消息。", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "commits": ["c5194139c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "85f8a7d8c974c413de7e0801013546c6d3e904b56e815556bf19337c42bbe9a6", "section_path": ["变更"], "commit_groups": [["0626fbfeb", "262cc4df2", "b3a86eb6d", "c5194139c", "ce6bf3cd1", "ed5ca5828"]], "identity_text": "Report invalid-weight errors more cleanly and consistently in tsvector_filter() and allied functions (Ewan Young) In particular, report weight characters that are not printable ASCII in octal form (\\nnn), as charout() would render them. This avoids possibly producing an invalidly-encoded error message.", "commit_aliases": ["0626fbfeb", "262cc4df2", "b3a86eb6d", "c5194139c", "ce6bf3cd1", "ed5ca5828"], "source_commits": ["c5194139c"], "source_entry_id": "18.6/changes/060", "db_id": "7d5a91e54ac5103d6bf03024f3af935e", "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8", "relations": [{"rule": 2, "type": "equivalent", "target": "1b9097ec2e33d310c015aacb80137ff1", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}}, {"rule": 2, "type": "equivalent", "target": "4d393fd29403237b560622e62e4ee4e1", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}}, {"rule": 2, "type": "equivalent", "target": "7e8ee08fd9d07b25538b838699962287", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}}, {"rule": 2, "type": "equivalent", "target": "bdf6d20897614c30387f78e16ddf9d3d", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4d393fd29403237b560622e62e4ee4e1", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}, "url": "/docs/compare/?release=17.11#17.11-39600e2a322b65b2", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "bdf6d20897614c30387f78e16ddf9d3d", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}, "url": "/docs/compare/?release=16.15#16.15-e53a6b90ce1c01cf", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "1b9097ec2e33d310c015aacb80137ff1", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}, "url": "/docs/compare/?release=15.19#15.19-302634f0f7a6cdc8", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "7e8ee08fd9d07b25538b838699962287", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}, "url": "/docs/compare/?release=14.24#14.24-bcb42ee3c83ec50e", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-54da379f0b9b3e5e", "cves": [], "html": "<p>拒绝 <code>uuidv7()</code> 中超出范围的时间戳偏移值（Baji Shaik）<a href=\"https://postgr.es/c/c31b0fca0\">§</a></p>\n<p>偏移值不得大到使时间戳超出 v7 UUID 可表示的范围。此前会生成无效的 UUID 值。</p>", "text": "拒绝 uuidv7() 中超出范围的时间戳偏移值（Baji Shaik）§ 偏移值不得大到使时间戳超出 v7 UUID 可表示的范围。此前会生成无效的 UUID 值。", "title": "拒绝 uuidv7() 中超出范围的时间戳偏移值", "commits": ["c31b0fca0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "02eb6fc1f39bf79a5e9ad65d69a91d28ac6cdc3b2f7832b8811f2fd6ad0fff1f", "section_path": ["变更"], "commit_groups": [["2a933deaa", "7575215e0", "c31b0fca0"]], "identity_text": "Reject out-of-range timestamp shift values in uuidv7() (Baji Shaik) The shift value must not be so large as to produce a timestamp out of the range that a v7 UUID can represent. Previously, a garbage UUID value was produced.", "commit_aliases": ["2a933deaa", "7575215e0", "c31b0fca0"], "source_commits": ["c31b0fca0"], "source_entry_id": "18.6/changes/061", "db_id": "4ba47e1101fe0dc93dfdf09978a397f7", "patch_ids": ["98b79989c57e289aff70a4f3cb8d7680"], "statement_hash": "30752f07a027de559876959a4bd468e260cc47a4bc30f24960ea23366b39f35e", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-a9563797105c5be3", "cves": [], "html": "<p>修复 <code>xpath()</code> 对命名空间节点处理不当的问题（Michael Paquier）<a href=\"https://postgr.es/c/4c777d6dd\">§</a> <a href=\"https://postgr.es/c/0d145be2c\">§</a></p>\n<p>此修复避免了意外的 <span>“<span>could not copy node</span>”</span> 错误。</p>", "text": "修复 xpath() 对命名空间节点处理不当的问题（Michael Paquier）§ § 此修复避免了意外的 “could not copy node” 错误。", "title": "修复 xpath() 对命名空间节点处理不当的问题", "commits": ["0d145be2c", "4c777d6dd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "46a1a93cf33ad088d8ce016a48b23002f2c9ca6b8eb39cb5d92df14ea571c8bb", "section_path": ["变更"], "commit_groups": [["0b74df66f", "0d145be2c", "940916549", "9618e790c", "a17f39aa2", "fac26fd41"], ["174076601", "1d8c72b2e", "41876c8d7", "4c777d6dd", "6c08cbb7a", "8bf257aeb"]], "identity_text": "Fix mishandling of namespace nodes in xpath() (Michael Paquier) This fix avoids an unexpected could not copy node error.", "commit_aliases": ["0b74df66f", "0d145be2c", "174076601", "1d8c72b2e", "41876c8d7", "4c777d6dd", "6c08cbb7a", "8bf257aeb", "940916549", "9618e790c", "a17f39aa2", "fac26fd41"], "source_commits": ["0d145be2c", "4c777d6dd"], "source_entry_id": "18.6/changes/062", "db_id": "9d61a6c023f441c2a3883f44804564ca", "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37", "relations": [{"rule": 2, "type": "equivalent", "target": "a3cd7c73a5609ef9df5a2f2035307742", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}}, {"rule": 2, "type": "equivalent", "target": "c9299f10a2be68af64d82e072893d1fa", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}}, {"rule": 2, "type": "equivalent", "target": "d35a51c2f2bcdba360c287240fa92b7a", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}}, {"rule": 2, "type": "equivalent", "target": "da05c3ee44af186be3d4b5b7c6f0afe4", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a3cd7c73a5609ef9df5a2f2035307742", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 xpath() 对命名空间节点处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}, "url": "/docs/compare/?release=17.11#17.11-aea52062a31be5cf", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "da05c3ee44af186be3d4b5b7c6f0afe4", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 xpath() 对命名空间节点处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}, "url": "/docs/compare/?release=16.15#16.15-3d663bf2b0295097", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "c9299f10a2be68af64d82e072893d1fa", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 xpath() 对命名空间节点处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}, "url": "/docs/compare/?release=15.19#15.19-4ef656410724db83", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "d35a51c2f2bcdba360c287240fa92b7a", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 xpath() 对命名空间节点处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}, "url": "/docs/compare/?release=14.24#14.24-c7c54909a4e7d896", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-9490e3fbcfd0ff13", "cves": [], "html": "<p>修复 <code>jsonpath</code> 的 <code>.decimal</code> 方法对无效精度或小数位数抛出硬错误的问题（Ewan Young）<a href=\"https://postgr.es/c/84001a04d\">§</a> <a href=\"https://postgr.es/c/90789900b\">§</a></p>\n<p>静默模式本应抑制这些错误，但未能做到。</p>", "text": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题（Ewan Young）§ § 静默模式本应抑制这些错误，但未能做到。", "title": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题", "commits": ["84001a04d", "90789900b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "a24f0d483057c78a7d10cc03aacfc3f8214515bbebcd0c3bd866baab53ff26bf", "section_path": ["变更"], "commit_groups": [["5bbc9b300", "7b12ae729", "84001a04d", "ab35b8d25"], ["90789900b", "c768637d6"]], "identity_text": "Fix jsonpath's .decimal method to not throw a hard error for incorrect precision or scale (Ewan Young) Silent mode should suppress these errors, but failed to.", "commit_aliases": ["5bbc9b300", "7b12ae729", "84001a04d", "90789900b", "ab35b8d25", "c768637d6"], "source_commits": ["84001a04d", "90789900b"], "source_entry_id": "18.6/changes/063", "db_id": "e2b61ba2f7f1acf6259668e5028c0d3a", "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972", "relations": [{"rule": 2, "type": "equivalent", "target": "151967124db1018c14bba6aaa8fb0531", "evidence": {"same_day": true, "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "151967124db1018c14bba6aaa8fb0531", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题", "evidence": {"same_day": true, "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972"}, "url": "/docs/compare/?release=17.11#17.11-3a52211bf75efb3d", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-2abf51fa81b5fec1", "cves": [], "html": "<p>修复 <code>IS JSON</code> 或类似构造的参数属于字符串类别但缺少到 <code>text</code> 类型的类型转换时发生的空指针崩溃（Ayush Tiwari）<a href=\"https://postgr.es/c/35d9a6263\">§</a></p>\n<p><span>PostgreSQL</span> 核心中没有这种数据类型，但某些扩展类型可以触发该问题。</p>", "text": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃（Ayush Tiwari）§ PostgreSQL 核心中没有这种数据类型，但某些扩展类型可以触发该问题。", "title": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃", "commits": ["35d9a6263"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "15c4b6ebef3e976580dd4a81a7bddc91381ff8e797fc936f95505c826d0e418e", "section_path": ["变更"], "commit_groups": [["35d9a6263", "60abb3c73", "7dd153259", "d0acd2535"]], "identity_text": "Fix NULL-pointer crash when IS JSON or similar constructs have an argument that is of string category but lacks a cast to type text (Ayush Tiwari) There are no such data types in core PostgreSQL, but the problem is reachable with some extension types.", "commit_aliases": ["35d9a6263", "60abb3c73", "7dd153259", "d0acd2535"], "source_commits": ["35d9a6263"], "source_entry_id": "18.6/changes/064", "db_id": "2fbf45f00e42445fcae00d71cbf1f0dc", "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70", "relations": [{"rule": 2, "type": "equivalent", "target": "79cd8a83e8bf1bc35f530164bf6860b4", "evidence": {"same_day": true, "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70"}}, {"rule": 2, "type": "equivalent", "target": "f8921df2d66db8b26d617c27bddf1db2", "evidence": {"same_day": true, "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "79cd8a83e8bf1bc35f530164bf6860b4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70"}, "url": "/docs/compare/?release=17.11#17.11-b72bd4ebdcd34344", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f8921df2d66db8b26d617c27bddf1db2", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70"}, "url": "/docs/compare/?release=16.15#16.15-c0742c949b99bd57", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-e111e1506709b495", "cves": [], "html": "<p>确保 <code>SQL/JSON</code> 的 <code>ON EMPTY / ON ERROR DEFAULT</code> 值按正确的 typmod 进行强制转换（Ewan Young）<a href=\"https://postgr.es/c/441e4c8d6\">§</a></p>\n<p>例如，<code>numeric</code> 目标列所声明的精度和小数位数此前没有应用于默认值。</p>", "text": "确保 SQL/JSON 的 ON EMPTY / ON ERROR DEFAULT 值按正确的 typmod 进行强制转换（Ewan Young）§ 例如，numeric 目标列所声明的精度和小数位数此前没有应用于默认值。", "title": "确保 SQL/JSON 的 ON EMPTY / ON ERROR DEFAULT 值按正确的 typmod 进行强制转换", "commits": ["441e4c8d6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "add98cb9e1f80ee762143f9881e7da06d23f415688008c80539511e301250f57", "section_path": ["变更"], "commit_groups": [["441e4c8d6", "4c75cc786", "71cd10cd2", "d30bfcbdd"]], "identity_text": "Ensure that SQL/JSON ON EMPTY / ON ERROR DEFAULT values are coerced to the correct typmod (Ewan Young) For example, the declared precision and scale of a numeric target column were not applied to the default value.", "commit_aliases": ["441e4c8d6", "4c75cc786", "71cd10cd2", "d30bfcbdd"], "source_commits": ["441e4c8d6"], "source_entry_id": "18.6/changes/065", "db_id": "5ee1791684a43e69ac4ed959f3852d47", "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e", "relations": [{"rule": 2, "type": "equivalent", "target": "46a8087a2739fb6992db3b87c3ffba3b", "evidence": {"same_day": true, "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "46a8087a2739fb6992db3b87c3ffba3b", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "确保 SQL/JSON 的 ON EMPTY / ON ERROR DEFAULT 值按正确的 typmod 进行强制转换", "evidence": {"same_day": true, "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e"}, "url": "/docs/compare/?release=17.11#17.11-17dc3fca15a1c17a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-da37578bb1901f30", "cves": [], "html": "<p>避免将最小的 <code>money</code> 值除以 -1 时出现依赖机器的行为（Andrey Rachitskiy）<a href=\"https://postgr.es/c/6298a41b4\">§</a></p>", "text": "避免将最小的 money 值除以 -1 时出现依赖机器的行为（Andrey Rachitskiy）§", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "commits": ["6298a41b4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "74e8b24c99c85d82b80f7175f5a5b42adcb6ced40e77400f70ca339e83b7d28d", "section_path": ["变更"], "commit_groups": [["1416f304d", "6298a41b4", "7746f7492", "86f42357c", "b4dfae2ff", "d782c97e1", "fec40878c"]], "identity_text": "Avoid machine-dependent behavior when dividing the smallest possible money value by -1 (Andrey Rachitskiy)", "commit_aliases": ["1416f304d", "6298a41b4", "7746f7492", "86f42357c", "b4dfae2ff", "d782c97e1", "fec40878c"], "source_commits": ["6298a41b4"], "source_entry_id": "18.6/changes/066", "db_id": "ee7676270a36bf258a65c89f89fa44af", "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567", "relations": [{"rule": 2, "type": "equivalent", "target": "5ddb2b6ecf3b95db0488f70dff6ce420", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}, {"rule": 2, "type": "equivalent", "target": "606f8159e0d16f836c764d3cf06215f0", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}, {"rule": 2, "type": "equivalent", "target": "ab04f82d05155d2f24611a645ef67570", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}, {"rule": 2, "type": "equivalent", "target": "ad37c4809a78b0946b550655ff98efbb", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ab04f82d05155d2f24611a645ef67570", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}, "url": "/docs/compare/?release=17.11#17.11-7b7ee8e84aced4b2", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "ad37c4809a78b0946b550655ff98efbb", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}, "url": "/docs/compare/?release=16.15#16.15-f8110322fae804b5", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "606f8159e0d16f836c764d3cf06215f0", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}, "url": "/docs/compare/?release=15.19#15.19-97d0dfa81713af6e", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "5ddb2b6ecf3b95db0488f70dff6ce420", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}, "url": "/docs/compare/?release=14.24#14.24-f25ef71b5a47bb38", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-8f91828547f09bb4", "cves": [], "html": "<p>修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃（Tom Lane）<a href=\"https://postgr.es/c/81b1e7916\">§</a></p>", "text": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃（Tom Lane）§", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "commits": ["81b1e7916"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "da086036f61c30030e5480df95ebc5320aafce594ba5114ebc8b25742df3e065", "section_path": ["变更"], "commit_groups": [["025228104", "4e68b7e29", "634a8dcb8", "81b1e7916", "83336e3ed", "dda622edc", "df8407d7d"]], "identity_text": "Fix crash after out-of-memory failure partway through creation of a cache entry for a text search dictionary (Tom Lane)", "commit_aliases": ["025228104", "4e68b7e29", "634a8dcb8", "81b1e7916", "83336e3ed", "dda622edc", "df8407d7d"], "source_commits": ["81b1e7916"], "source_entry_id": "18.6/changes/067", "db_id": "c02824b6af588491530569e4ec99fe1c", "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2", "relations": [{"rule": 2, "type": "equivalent", "target": "0c1ad5d57b9bccac58da6089309d8ba7", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}}, {"rule": 2, "type": "equivalent", "target": "7df44ef8cf990bb0e618cec50c164949", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}}, {"rule": 2, "type": "equivalent", "target": "b0c7268f189c5a8d74b8439d4bc7c5d9", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}}, {"rule": 2, "type": "equivalent", "target": "b1fc0de5d2d692ed4af6bcafccb53961", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b1fc0de5d2d692ed4af6bcafccb53961", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}, "url": "/docs/compare/?release=17.11#17.11-84e7ed3f45fec194", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "7df44ef8cf990bb0e618cec50c164949", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}, "url": "/docs/compare/?release=16.15#16.15-23f510e2538b04c8", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b0c7268f189c5a8d74b8439d4bc7c5d9", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}, "url": "/docs/compare/?release=15.19#15.19-a430cbb8698c9246", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "0c1ad5d57b9bccac58da6089309d8ba7", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}, "url": "/docs/compare/?release=14.24#14.24-f3e3230fd7374279", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-df42fd80a3fef364", "cves": [], "html": "<p>修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷（Andrey Rachitskiy）<a href=\"https://postgr.es/c/4689ea9ce\">§</a></p>", "text": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷（Andrey Rachitskiy）§", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "commits": ["4689ea9ce"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "71d6a8d23076219ae1c5fcc19a9192f7397d430f00d0743090078b3c95433c02", "section_path": ["变更"], "commit_groups": [["0fb88979b", "330a72052", "3fe4062cc", "444038bb7", "4689ea9ce", "5fdea3aa3", "cfc720ef4"]], "identity_text": "Fix memory-safety bugs in processing of incorrect ispell/hunspell dictionary files (Andrey Rachitskiy)", "commit_aliases": ["0fb88979b", "330a72052", "3fe4062cc", "444038bb7", "4689ea9ce", "5fdea3aa3", "cfc720ef4"], "source_commits": ["4689ea9ce"], "source_entry_id": "18.6/changes/068", "db_id": "704f65f60aac8a5ed9ba34cc041d5717", "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944", "relations": [{"rule": 2, "type": "equivalent", "target": "5e12745b9a23fea83bd8ffdb594c44cb", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}}, {"rule": 2, "type": "equivalent", "target": "764e3f0a6b15565637fa481647bae444", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}}, {"rule": 2, "type": "equivalent", "target": "77ab5557c03ca1e42e47d51eb237608a", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}}, {"rule": 2, "type": "equivalent", "target": "bff681fe60683158629758d3a37c8488", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5e12745b9a23fea83bd8ffdb594c44cb", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}, "url": "/docs/compare/?release=17.11#17.11-ce317c73e36b1b1b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "77ab5557c03ca1e42e47d51eb237608a", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}, "url": "/docs/compare/?release=16.15#16.15-9a0f56094a25e9db", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bff681fe60683158629758d3a37c8488", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}, "url": "/docs/compare/?release=15.19#15.19-12f2c81d2dc1af7f", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "764e3f0a6b15565637fa481647bae444", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}, "url": "/docs/compare/?release=14.24#14.24-88bcd2945f60cd6c", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-90e78edb7a08a279", "cves": [], "html": "<p>禁止访问其他会话的临时表（Jim Jones、Daniil Davydov、Alexander Korotkov）<a href=\"https://postgr.es/c/1b0dd0815\">§</a> <a href=\"https://postgr.es/c/3aaefe892\">§</a></p>\n<p>某些代码路径未能阻止这种访问，导致在没有报错的情况下得到错误（不一致）的结果。</p>", "text": "禁止访问其他会话的临时表（Jim Jones、Daniil Davydov、Alexander Korotkov）§ § 某些代码路径未能阻止这种访问，导致在没有报错的情况下得到错误（不一致）的结果。", "title": "禁止访问其他会话的临时表", "commits": ["1b0dd0815", "3aaefe892"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0cdade44b0c297826d20dc41b61003ae0f4f3817586046a1103471fd0d51fc89", "section_path": ["变更"], "commit_groups": [["1b0dd0815", "4dfae59a1", "ce146621f"], ["3aaefe892", "4e49f68b7", "8021cdceb", "c40819ebf", "cc3fe7e2a"]], "identity_text": "Prevent access to other sessions' temporary tables (Jim Jones, Daniil Davydov, Alexander Korotkov) Some code paths failed to prevent this, leading to silently wrong (inconsistent) results.", "commit_aliases": ["1b0dd0815", "3aaefe892", "4dfae59a1", "4e49f68b7", "8021cdceb", "c40819ebf", "cc3fe7e2a", "ce146621f"], "source_commits": ["1b0dd0815", "3aaefe892"], "source_entry_id": "18.6/changes/069", "db_id": "2b3bc99c3e3caa8f2f62effa65bfd425", "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3", "relations": [{"rule": 2, "type": "equivalent", "target": "446bb0cc48d437fdbe5c1c4d4b77a47b", "evidence": {"same_day": true, "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3"}}, {"rule": 2, "type": "equivalent", "target": "c23432cdcb396cd3d3ed58612faea4e6", "evidence": {"same_day": true, "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "446bb0cc48d437fdbe5c1c4d4b77a47b", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "禁止访问其他会话的临时表", "evidence": {"same_day": true, "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3"}, "url": "/docs/compare/?release=17.11#17.11-712f69030e2d06d3", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c23432cdcb396cd3d3ed58612faea4e6", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "禁止访问其他会话的临时表", "evidence": {"same_day": true, "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3"}, "url": "/docs/compare/?release=16.15#16.15-3199fbb2e1d23f9b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-d9671d1ad39e8c30", "cves": [], "html": "<p>防止访问临时表期间出现 <span>“<span>no empty local buffer available</span>”</span> 错误（Melanie Plageman）<a href=\"https://postgr.es/c/ed8050370\">§</a></p>\n<p>限制读取流机制可使用的本地缓冲区数量。此前，较大的 <code>effective_io_concurrency</code> 值可能允许单个流用尽所有缓冲区，从而导致失败。</p>", "text": "防止访问临时表期间出现 “no empty local buffer available” 错误（Melanie Plageman）§ 限制读取流机制可使用的本地缓冲区数量。此前，较大的 effective_io_concurrency 值可能允许单个流用尽所有缓冲区，从而导致失败。", "title": "防止访问临时表期间出现 “no empty local buffer available” 错误", "commits": ["ed8050370"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "eea40f81f27d58cd717745f20b9ba263701124698ee98272324b76b841964ec9", "section_path": ["变更"], "commit_groups": [["da6874635", "ed8050370"]], "identity_text": "Prevent no empty local buffer available errors during temporary table access (Melanie Plageman) Limit the number of local buffers that the read streaming mechanism is allowed to use. Previously, a large value of effective_io_concurrency could allow a single stream to use all the buffers, resulting in failure.", "commit_aliases": ["da6874635", "ed8050370"], "source_commits": ["ed8050370"], "source_entry_id": "18.6/changes/070", "db_id": "fdb4c4b82ee3d59d1982ef4cb1f2f0f8", "patch_ids": ["e9321701f611ce406a35624c7852e55d"], "statement_hash": "323a6fc70b6374b70a2d5b8caebf92b3650ad3bd87152ba5e49dea1f6f5a78ae", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-8f425dbb364b3d86", "cves": [], "html": "<p>修复自动清理处理数据库的顺序（Rustam Khamidullin）<a href=\"https://postgr.es/c/4cc49cb70\">§</a></p>\n<p>它无意中按评分从低到高处理数据库，而正确顺序应当相反。</p>", "text": "修复自动清理处理数据库的顺序（Rustam Khamidullin）§ 它无意中按评分从低到高处理数据库，而正确顺序应当相反。", "title": "修复自动清理处理数据库的顺序", "commits": ["4cc49cb70"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "1fd6e0f3d2162dba796e2b1af675ddaa0591b54062dd8f3eae3648a2fcc25a21", "section_path": ["变更"], "commit_groups": [["288d4e83f", "4cc49cb70", "b3331578b", "baab3268c"]], "identity_text": "Fix the order in which autovacuum processes databases (Rustam Khamidullin) It was unintentionally processing databases from lowest to highest score, when it should be doing the reverse.", "commit_aliases": ["288d4e83f", "4cc49cb70", "b3331578b", "baab3268c"], "source_commits": ["4cc49cb70"], "source_entry_id": "18.6/changes/071", "db_id": "b9d8f2a43e4df58e7a17df3fbade9bf4", "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d", "relations": [{"rule": 2, "type": "equivalent", "target": "7e5aa2c0c13918b50520756d59c3270c", "evidence": {"same_day": true, "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e5aa2c0c13918b50520756d59c3270c", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复自动清理处理数据库的顺序", "evidence": {"same_day": true, "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d"}, "url": "/docs/compare/?release=17.11#17.11-e7e74333c130ff46", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-732f82763dbae3c0", "cves": [], "html": "<p>恢复 <code>VACUUM</code> 在回卷失效保护模式下完整使用共享缓冲池的能力（Melanie Plageman）<a href=\"https://postgr.es/c/585181e07\">§</a> <a href=\"https://postgr.es/c/7c25cdb1e\">§</a></p>\n<p>普通 <code>VACUUM</code> 仅允许使用少量共享缓冲区，以免对其他处理造成过多影响。然而，在失效保护模式下，我们希望尽快回收事务 ID，因此应取消该限制，使清理能尽可能快地进行。这一行为在 v18 重构期间意外失效；现予恢复。</p>", "text": "恢复 VACUUM 在回卷失效保护模式下完整使用共享缓冲池的能力（Melanie Plageman）§ § 普通 VACUUM 仅允许使用少量共享缓冲区，以免对其他处理造成过多影响。然而，在失效保护模式下，我们希望尽快回收事务 ID，因此应取消该限制，使清理能尽可能快地进行。这一行为在 v18 重构期间意外失效；现予恢复。", "title": "恢复 VACUUM 在回卷失效保护模式下完整使用共享缓冲池的能力", "commits": ["585181e07", "7c25cdb1e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "6f1301b14ed11056046aad98d40511bc44e939608e1e6c09060adde68d5f6bbe", "section_path": ["变更"], "commit_groups": [["112c26838", "585181e07", "fd90c3221"], ["55d01a10f", "69800557c", "7c25cdb1e"]], "identity_text": "Restore full use of shared buffer pool in VACUUM's wraparound failsafe mode (Melanie Plageman) An ordinary VACUUM is limited to use just a few shared buffers, so as not to impinge too much on other processing. However, in failsafe mode we want to reclaim transaction IDs as quickly as possible, so that limit is supposed to be abandoned to allow vacuuming to proceed as fast as possible. This behavior was accidentally broken during refactoring in v18; restore it.", "commit_aliases": ["112c26838", "55d01a10f", "585181e07", "69800557c", "7c25cdb1e", "fd90c3221"], "source_commits": ["585181e07", "7c25cdb1e"], "source_entry_id": "18.6/changes/072", "db_id": "76e68f03af84d570f09339ccddb5ec37", "patch_ids": ["1fc4d5a35015217cd94108fd4bd6d947", "92ef90f96599873178ce78032e30cbe9"], "statement_hash": "5041354134b66b31841763d6cb312cb27def4c034a45ad9239094c97892a9b35", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-cf57ab07d77fbdf9", "cves": [], "html": "<p>修复并行清理工作进程中的内存泄漏（Baji Shaik）<a href=\"https://postgr.es/c/4154a1482\">§</a></p>\n<p>并行工作进程每次生成进度报告时都会泄漏约 1kB 内存，浪费的内存在该工作进程的整个生命周期内不断累积。</p>", "text": "修复并行清理工作进程中的内存泄漏（Baji Shaik）§ 并行工作进程每次生成进度报告时都会泄漏约 1kB 内存，浪费的内存在该工作进程的整个生命周期内不断累积。", "title": "修复并行清理工作进程中的内存泄漏", "commits": ["4154a1482"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "eeb4d951de8faa7e6593a2a3defcc579409614caa126d11a39645d0152811604", "section_path": ["变更"], "commit_groups": [["4154a1482", "8ad414831", "b20c952ce"]], "identity_text": "Fix memory leak in parallel vacuum worker processes (Baji Shaik) Progress reports from a parallel worker leaked about 1kB per report, with the waste accumulating for the life of the worker process.", "commit_aliases": ["4154a1482", "8ad414831", "b20c952ce"], "source_commits": ["4154a1482"], "source_entry_id": "18.6/changes/073", "db_id": "7610626b7c4fe5c411f6eaf69975db96", "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705", "relations": [{"rule": 2, "type": "equivalent", "target": "12d3079ba949a43359b006c455b1a4d0", "evidence": {"same_day": true, "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "12d3079ba949a43359b006c455b1a4d0", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复并行清理工作进程中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705"}, "url": "/docs/compare/?release=17.11#17.11-94146e86474835ca", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-06642c9e897515be", "cves": [], "html": "<p>在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟（Paul Kim、Alexander Korotkov）<a href=\"https://postgr.es/c/7becb647d\">§</a></p>\n<p>常见值的倒排树可能很大，因此遗漏这项检查可能导致清理运行很长时间后才注意到中断。</p>", "text": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟（Paul Kim、Alexander Korotkov）§ 常见值的倒排树可能很大，因此遗漏这项检查可能导致清理运行很长时间后才注意到中断。", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "commits": ["7becb647d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "49842de8d396c469f5393f32a3ce7fe07babe095a16356733cf2d10be6590697", "section_path": ["变更"], "commit_groups": [["006ac761e", "15fd7a3e2", "70dad584e", "7123abab7", "7becb647d", "8a045f760", "ba5e46329"]], "identity_text": "Honor query cancel and vacuum delay during GIN index posting-tree cleanup (Paul Kim, Alexander Korotkov) The posting tree for a common value can be large, so that this missed check could allow vacuum to run for a long time before noticing an interrupt.", "commit_aliases": ["006ac761e", "15fd7a3e2", "70dad584e", "7123abab7", "7becb647d", "8a045f760", "ba5e46329"], "source_commits": ["7becb647d"], "source_entry_id": "18.6/changes/074", "db_id": "5ae3f0e86d0ce40099b20e708d75c4df", "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b", "relations": [{"rule": 2, "type": "equivalent", "target": "409fe91bb94144927c72c3c45b46a6de", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}}, {"rule": 2, "type": "equivalent", "target": "49ebdb578d55efc3f72704dda719fc23", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}}, {"rule": 2, "type": "equivalent", "target": "814dbd746257f327d953bc1cef61300f", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}}, {"rule": 2, "type": "equivalent", "target": "95dd23cd66ca5f13741dbc751bd94f78", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "95dd23cd66ca5f13741dbc751bd94f78", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}, "url": "/docs/compare/?release=17.11#17.11-69bd1a00ee81086e", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "409fe91bb94144927c72c3c45b46a6de", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}, "url": "/docs/compare/?release=16.15#16.15-554df1ef2961c27f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "49ebdb578d55efc3f72704dda719fc23", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}, "url": "/docs/compare/?release=15.19#15.19-8a26ce7d87732222", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "814dbd746257f327d953bc1cef61300f", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}, "url": "/docs/compare/?release=14.24#14.24-25f9d07b0fe76365", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-5a9e09abedfed179", "cves": [], "html": "<p>修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题（Peter Geoghegan）<a href=\"https://postgr.es/c/959b7fa2c\">§</a></p>\n<p>此错误可能导致仅索引扫描计划输出损坏的数据。唯一受影响的核心操作符类是 GiST 的 range_ops，并且只有当范围列不是第一个索引列时才可能出错。</p>", "text": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题（Peter Geoghegan）§ 此错误可能导致仅索引扫描计划输出损坏的数据。唯一受影响的核心操作符类是 GiST 的 range_ops，并且只有当范围列不是第一个索引列时才可能出错。", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "commits": ["959b7fa2c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "d7cc314ea76420e257a538b400aafc8307da56ed29c7aec8ff09e69825fdf64a", "section_path": ["变更"], "commit_groups": [["126141425", "1d4c81ad6", "355faed5a", "959b7fa2c", "c9ea37231", "e4ad22eb0", "e58192546"]], "identity_text": "Fix possible mis-decoding of index tuples during GiST and SP-GiST index-only scans (Peter Geoghegan) This error could lead to emitting corrupted data from an index-only scan plan. The only affected core opclass is GiST's range_ops, and it could only fail if the range column were not the first index column.", "commit_aliases": ["126141425", "1d4c81ad6", "355faed5a", "959b7fa2c", "c9ea37231", "e4ad22eb0", "e58192546"], "source_commits": ["959b7fa2c"], "source_entry_id": "18.6/changes/075", "db_id": "ae38912b977aee6ba812c2a99322b4ad", "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5", "relations": [{"rule": 2, "type": "equivalent", "target": "14d92270ba44127134ec95d6dc3f7106", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}}, {"rule": 2, "type": "equivalent", "target": "65fae97c05ec4b526543f385b077725a", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}}, {"rule": 2, "type": "equivalent", "target": "7639c43a8df152827beb0f3c4e7cfc7b", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}}, {"rule": 2, "type": "equivalent", "target": "fcb9ed65e8420a852359f3e3f6bd54b4", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7639c43a8df152827beb0f3c4e7cfc7b", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}, "url": "/docs/compare/?release=17.11#17.11-7b0787620962198f", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "fcb9ed65e8420a852359f3e3f6bd54b4", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}, "url": "/docs/compare/?release=16.15#16.15-54c08a28fecc0079", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "65fae97c05ec4b526543f385b077725a", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}, "url": "/docs/compare/?release=15.19#15.19-05c8adba23ea9473", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "14d92270ba44127134ec95d6dc3f7106", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}, "url": "/docs/compare/?release=14.24#14.24-1210849badf0243c", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-27ff2778a5384e11", "cves": [], "html": "<p>确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射（Jingtang Zhang）<a href=\"https://postgr.es/c/eabc9a9dd\">§</a></p>\n<p>一个差一错误导致多块表扩展的最后一个块未在映射中标记为空闲。清理最终会纠正此问题，但在此之前这部分空间无法使用。</p>", "text": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射（Jingtang Zhang）§ 一个差一错误导致多块表扩展的最后一个块未在映射中标记为空闲。清理最终会纠正此问题，但在此之前这部分空间无法使用。", "title": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射", "commits": ["eabc9a9dd"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "00108bc91bf3548e985abaaceb15ffddb576d4b6698d11cc22ebd57764038b7c", "section_path": ["变更"], "commit_groups": [["0fd5595aa", "768ae083e", "7a103928a", "a2fd8d65a", "eabc9a9dd"]], "identity_text": "Ensure that the new last block of a bulk-extended table is added to its free space map promptly (Jingtang Zhang) An off-by-one error caused the last block of a multi-block table extension to not be marked as free in the map. This would eventually get corrected by vacuum, but meanwhile the space wouldn't be used.", "commit_aliases": ["0fd5595aa", "768ae083e", "7a103928a", "a2fd8d65a", "eabc9a9dd"], "source_commits": ["eabc9a9dd"], "source_entry_id": "18.6/changes/076", "db_id": "edf9c4cb86d4f9c68eb8b2fe8ad0b5d1", "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725", "relations": [{"rule": 2, "type": "equivalent", "target": "21d26afc1e7bfcc375bff059f0b216d1", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}}, {"rule": 2, "type": "equivalent", "target": "5a75bdb8448ae2da9b4ee0c1b6cfc0ec", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5a75bdb8448ae2da9b4ee0c1b6cfc0ec", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}, "url": "/docs/compare/?release=17.11#17.11-3992304d0ec9fe22", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "21d26afc1e7bfcc375bff059f0b216d1", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}, "url": "/docs/compare/?release=16.15#16.15-5b769a1a41d683e2", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-0c1c452c86d77ab6", "cves": [], "html": "<p>避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环（Tom Lane）<a href=\"https://postgr.es/c/ac6a58a70\">§</a></p>", "text": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环（Tom Lane）§", "title": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环", "commits": ["ac6a58a70"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "715f023028128f4013b8cb1d6fda903d37d8e3744cb19b6e61bc48873d3a3f0e", "section_path": ["变更"], "commit_groups": [["011eedcdc", "ac6a58a70", "ef01ca6db"]], "identity_text": "Avoid possible double-free or infinite error recovery loop in resource cleanup during transaction abort (Tom Lane)", "commit_aliases": ["011eedcdc", "ac6a58a70", "ef01ca6db"], "source_commits": ["ac6a58a70"], "source_entry_id": "18.6/changes/077", "db_id": "1c2d5d9905bd8e6369c82b7ef237290e", "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4", "relations": [{"rule": 2, "type": "equivalent", "target": "c57cf207c2d63b373be8c9b4e51bf8b0", "evidence": {"same_day": true, "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c57cf207c2d63b373be8c9b4e51bf8b0", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环", "evidence": {"same_day": true, "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4"}, "url": "/docs/compare/?release=17.11#17.11-bc733642b8318e02", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-67b85199c3f22fc0", "cves": [], "html": "<p>创建目录时，容忍同一目录被并发创建（Andrew Dunstan、Tom Lane）<a href=\"https://postgr.es/c/aa80c34c8\">§</a></p>", "text": "创建目录时，容忍同一目录被并发创建（Andrew Dunstan、Tom Lane）§", "title": "创建目录时，容忍同一目录被并发创建", "commits": ["aa80c34c8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "7f9cbeb061ab70c91f9d3ab57ff63f17ff4e9749996673f6b9e0507628033ac3", "section_path": ["变更"], "commit_groups": [["4647ac142", "4b3bc6b71", "9951e3d38", "aa80c34c8", "f0a831ef3", "f25a07b2d"]], "identity_text": "When creating directories, tolerate concurrent creation of the same directory (Andrew Dunstan, Tom Lane)", "commit_aliases": ["4647ac142", "4b3bc6b71", "9951e3d38", "aa80c34c8", "f0a831ef3", "f25a07b2d"], "source_commits": ["aa80c34c8"], "source_entry_id": "18.6/changes/078", "db_id": "7b3923b1add1cfb8cc243430e7e7769f", "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb", "relations": [{"rule": 2, "type": "equivalent", "target": "0c17e02f698dc60a4c3ff762796f0a7f", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}}, {"rule": 2, "type": "equivalent", "target": "268b9e4fbdc7682f30cd928e974932c2", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}}, {"rule": 2, "type": "equivalent", "target": "467be2f83ba0b7e841b7fca2b8c0a0af", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}}, {"rule": 2, "type": "equivalent", "target": "b3f796774144a4fd6c7ec84d799fce9c", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0c17e02f698dc60a4c3ff762796f0a7f", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "创建目录时，容忍同一目录被并发创建", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}, "url": "/docs/compare/?release=17.11#17.11-13269e0439b17ec9", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "467be2f83ba0b7e841b7fca2b8c0a0af", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "创建目录时，容忍同一目录被并发创建", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}, "url": "/docs/compare/?release=16.15#16.15-560dbc4a06a156a7", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "268b9e4fbdc7682f30cd928e974932c2", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "创建目录时，容忍同一目录被并发创建", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}, "url": "/docs/compare/?release=15.19#15.19-a8d34c2e8685a39c", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "b3f796774144a4fd6c7ec84d799fce9c", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "创建目录时，容忍同一目录被并发创建", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}, "url": "/docs/compare/?release=14.24#14.24-2c65a57d05310508", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-33623243926bee4f", "cves": [], "html": "<p>修复 JIT 编译的元组解构代码，使其正确考虑虚拟生成列（David Rowley）<a href=\"https://postgr.es/c/e9692de1d\">§</a></p>", "text": "修复 JIT 编译的元组解构代码，使其正确考虑虚拟生成列（David Rowley）§", "title": "修复 JIT 编译的元组解构代码，使其正确考虑虚拟生成列", "commits": ["e9692de1d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "d8b6408afef1a01cea4ed9e7255b21a66f6a2269a77fb40199d08aed00ee87a7", "section_path": ["变更"], "commit_groups": [["dc5116780", "e9692de1d"]], "identity_text": "Fix JIT-compiled tuple deconstruction code to account correctly for virtual generated columns (David Rowley)", "commit_aliases": ["dc5116780", "e9692de1d"], "source_commits": ["e9692de1d"], "source_entry_id": "18.6/changes/079", "db_id": "5d966088a095e18332fc3fae2df8943c", "patch_ids": ["5b06ca9ccac80b782c6215117ad2b6f3"], "statement_hash": "108a7033ad22cb766018c23cec70aac4e45d29f7e41fbdfe619f05d9039da69e", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-04ef095d0d14ee39", "cves": [], "html": "<p>通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系（Bertrand Drouvot）<a href=\"https://postgr.es/c/c8cd3d697\">§</a> <a href=\"https://postgr.es/c/f9d5a52da\">§</a></p>\n<p>该共享锁会与任何删除被依赖对象的尝试冲突，从而消除之前存在的竞态条件。例如，如果一个会话删除一个在其看来为空的模式，同时另一个会话在该模式中创建函数，此前两个事务都可能提交，并留下无效的函数定义。现在，其中一个事务会失败。</p>", "text": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系（Bertrand Drouvot）§ § 该共享锁会与任何删除被依赖对象的尝试冲突，从而消除之前存在的竞态条件。例如，如果一个会话删除一个在其看来为空的模式，同时另一个会话在该模式中创建函数，此前两个事务都可能提交，并留下无效的函数定义。现在，其中一个事务会失败。", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "commits": ["c8cd3d697", "f9d5a52da"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "8504063374e840b20b0a001143714b29ff53124b6c9ee7ed57542adbbe725847", "section_path": ["变更"], "commit_groups": [["2fbb21170", "3a9909eda", "5100bdbd3", "5fa137727", "c8cd3d697", "d9bc0d96c"], ["36b6ed260", "c1588f92a", "d44cd4674", "ef3d7b15e", "f9d5a52da", "fd93ee100"]], "identity_text": "Prevent creation of dangling object dependencies by acquiring a shared lock on any object being depended on (Bertrand Drouvot) The shared lock will conflict with any attempt to drop the depended-on object, eliminating the race condition that formerly existed. For example, if one session drops a schema (that appears empty to it) concurrently with some other session creating a function in that schema, previously both transactions could commit, leaving an invalid function definition behind. Now, one transaction or the other will fail.", "commit_aliases": ["2fbb21170", "36b6ed260", "3a9909eda", "5100bdbd3", "5fa137727", "c1588f92a", "c8cd3d697", "d44cd4674", "d9bc0d96c", "ef3d7b15e", "f9d5a52da", "fd93ee100"], "source_commits": ["c8cd3d697", "f9d5a52da"], "source_entry_id": "18.6/changes/080", "db_id": "a34abdf13c3a75b01325176fd494ce54", "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c", "relations": [{"rule": 2, "type": "equivalent", "target": "744925e5c1491a9c1e34c5d45e2c5ffd", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}}, {"rule": 2, "type": "equivalent", "target": "a9f65b357e29d3c7c477cf734deef532", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}}, {"rule": 2, "type": "equivalent", "target": "e1119f78a9d166b823f798e0194d35f4", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}}, {"rule": 2, "type": "equivalent", "target": "e811cff0335c3ca435753578de40cbd3", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e1119f78a9d166b823f798e0194d35f4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}, "url": "/docs/compare/?release=17.11#17.11-3ecac11b2752e81b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "e811cff0335c3ca435753578de40cbd3", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}, "url": "/docs/compare/?release=16.15#16.15-c1d18953b262f630", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "744925e5c1491a9c1e34c5d45e2c5ffd", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}, "url": "/docs/compare/?release=15.19#15.19-f3cfe840091a64df", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "a9f65b357e29d3c7c477cf734deef532", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}, "url": "/docs/compare/?release=14.24#14.24-9b47dd97523d83ec", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-020cfc417a109d87", "cves": [], "html": "<p>修复 <code>SERIALIZABLE</code> 隔离模式中冲突检测的竞态条件（Peter Geoghegan）<a href=\"https://postgr.es/c/d560e730e\">§</a></p>\n<p>检查最初为空的 B-树索引时可能漏掉冲突，因错误地允许冲突事务提交而破坏可串行性。</p>", "text": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件（Peter Geoghegan）§ 检查最初为空的 B-树索引时可能漏掉冲突，因错误地允许冲突事务提交而破坏可串行性。", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "commits": ["d560e730e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "4935166aff045404d175f6177404bfb76452f17de5687028de3dbd95695df263", "section_path": ["变更"], "commit_groups": [["2aa3c6d1f", "2fc3e1b44", "5d18105ca", "8434c9385", "ce3f19e26", "d560e730e", "e321faaae"]], "identity_text": "Fix race condition in conflict detection for SERIALIZABLE isolation mode (Peter Geoghegan) A conflict could be missed when examining an initially-empty btree index, allowing failure of serializability due to improperly allowing conflicting transactions to commit.", "commit_aliases": ["2aa3c6d1f", "2fc3e1b44", "5d18105ca", "8434c9385", "ce3f19e26", "d560e730e", "e321faaae"], "source_commits": ["d560e730e"], "source_entry_id": "18.6/changes/081", "db_id": "37ab9407c7a4720c042c3c30e616b840", "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297", "relations": [{"rule": 2, "type": "equivalent", "target": "03ed91689e7472f3e2b40c0668a9efe6", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}}, {"rule": 2, "type": "equivalent", "target": "06c841c7e97c29498c3c18507b648e43", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}}, {"rule": 2, "type": "equivalent", "target": "8911cf537e3c81e99f223106f705f385", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}}, {"rule": 2, "type": "equivalent", "target": "a69025df57e9873eeee634c6a24b5f52", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "06c841c7e97c29498c3c18507b648e43", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}, "url": "/docs/compare/?release=17.11#17.11-869506b0934d2991", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "a69025df57e9873eeee634c6a24b5f52", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}, "url": "/docs/compare/?release=16.15#16.15-1a9b527727b160db", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "8911cf537e3c81e99f223106f705f385", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}, "url": "/docs/compare/?release=15.19#15.19-7ed1bdbb167b6fe1", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "03ed91689e7472f3e2b40c0668a9efe6", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}, "url": "/docs/compare/?release=14.24#14.24-62f053723972383a", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-814e47a6c0f16883", "cves": [], "html": "<p>修复 ProcSignalBarrier 代码中的竞态条件（Masahiko Sawada）<a href=\"https://postgr.es/c/1a9b1cc18\">§</a></p>\n<p>此错误可能导致进程卡住，通常发生在报告 <span>“<span>still waiting for backend with PID <em><code>nnnn</code></em> to accept ProcSignalBarrier</span>”</span> 之后。</p>", "text": "修复 ProcSignalBarrier 代码中的竞态条件（Masahiko Sawada）§ 此错误可能导致进程卡住，通常发生在报告 “still waiting for backend with PID nnnn to accept ProcSignalBarrier” 之后。", "title": "修复 ProcSignalBarrier 代码中的竞态条件", "commits": ["1a9b1cc18"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "26cdfbbb8dcb2c92610b1bef4b41a0c653334588ea11bd982d3d7e9105484329", "section_path": ["变更"], "commit_groups": [["159324a73", "1a9b1cc18", "a651b8a89", "cdb9b2830", "d79bf7612"]], "identity_text": "Fix race condition in ProcSignalBarrier code (Masahiko Sawada) This error could result in processes getting stuck, typically after reporting still waiting for backend with PID nnnn to accept ProcSignalBarrier.", "commit_aliases": ["159324a73", "1a9b1cc18", "a651b8a89", "cdb9b2830", "d79bf7612"], "source_commits": ["1a9b1cc18"], "source_entry_id": "18.6/changes/082", "db_id": "52661089ee9f32f8c69e8b167606de61", "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180", "relations": [{"rule": 2, "type": "equivalent", "target": "26169dc01cad0326488602b572475378", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}}, {"rule": 2, "type": "equivalent", "target": "57a0c23144670659c08e95957bcb21e4", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}}, {"rule": 2, "type": "equivalent", "target": "c6eca9eca54620a981882a4c52360d79", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "57a0c23144670659c08e95957bcb21e4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 ProcSignalBarrier 代码中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}, "url": "/docs/compare/?release=17.11#17.11-0e94152c02ef540a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c6eca9eca54620a981882a4c52360d79", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 ProcSignalBarrier 代码中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}, "url": "/docs/compare/?release=16.15#16.15-c0c564a566bf9972", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "26169dc01cad0326488602b572475378", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 ProcSignalBarrier 代码中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}, "url": "/docs/compare/?release=15.19#15.19-dd69f8df8a3640ae", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-25e5a2422482dd1c", "cves": [], "html": "<p>修复属于同一锁组的一组进程同时退出时的竞态条件（Vlad Lesin）<a href=\"https://postgr.es/c/ae08eb168\">§</a> <a href=\"https://postgr.es/c/12c9b8b42\">§</a></p>\n<p>这些错误可能导致 PANIC 中止，并出现 <span>“<span>latch already owned</span>”</span> 等消息。普通并行查询通常不会出现此问题，因为领导者在看到其工作进程结束之前不会退出；但某些扩展会触发此问题。</p>", "text": "修复属于同一锁组的一组进程同时退出时的竞态条件（Vlad Lesin）§ § 这些错误可能导致 PANIC 中止，并出现 “latch already owned” 等消息。普通并行查询通常不会出现此问题，因为领导者在看到其工作进程结束之前不会退出；但某些扩展会触发此问题。", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "commits": ["12c9b8b42", "ae08eb168"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "3690c0e45c50bcba3395861167636f0bbdb986d728039e0ebf6dd25961da24f4", "section_path": ["变更"], "commit_groups": [["12c9b8b42", "4e8edf53f", "84b9d6bce", "db4d12fc9", "e14b4ea4a", "e786fb5aa"], ["563104523", "65d04df60", "8007d1185", "ae08eb168", "d489c4439", "d5cc6df60"]], "identity_text": "Fix race conditions when a set of processes that belong to the same lock group exit at the same time (Vlad Lesin) These errors could lead to PANIC aborts, with messages such as latch already owned. The issue does not normally arise in regular parallel query, since the leader won't exit before seeing its workers finish; but some extensions reach the problem.", "commit_aliases": ["12c9b8b42", "4e8edf53f", "563104523", "65d04df60", "8007d1185", "84b9d6bce", "ae08eb168", "d489c4439", "d5cc6df60", "db4d12fc9", "e14b4ea4a", "e786fb5aa"], "source_commits": ["12c9b8b42", "ae08eb168"], "source_entry_id": "18.6/changes/083", "db_id": "5b2fc7485dc383d08b3d68f5272b2a11", "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592", "relations": [{"rule": 2, "type": "equivalent", "target": "2c46dad30462775a825ad96cfb3ffbdf", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}}, {"rule": 2, "type": "equivalent", "target": "62cbccb23171427808fec1301b0ac804", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}}, {"rule": 2, "type": "equivalent", "target": "edd683109ce0095065cd3a04ab6b5136", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}}, {"rule": 2, "type": "equivalent", "target": "f2fcbfdff352b775c9b16fc62d0649b5", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "62cbccb23171427808fec1301b0ac804", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}, "url": "/docs/compare/?release=17.11#17.11-31516fe59eede273", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "2c46dad30462775a825ad96cfb3ffbdf", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}, "url": "/docs/compare/?release=16.15#16.15-90b68cb35e0fad17", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "edd683109ce0095065cd3a04ab6b5136", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}, "url": "/docs/compare/?release=15.19#15.19-786c47066d87de68", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f2fcbfdff352b775c9b16fc62d0649b5", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}, "url": "/docs/compare/?release=14.24#14.24-fc8ff9cc62311a3d", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-591cce0db8214715", "cves": [], "html": "<p>修复表可见性映射清位操作的 WAL 日志记录（Melanie Plageman、Andres Freund）<a href=\"https://postgr.es/c/d0fb1da21\">§</a> <a href=\"https://postgr.es/c/f581fa729\">§</a> <a href=\"https://postgr.es/c/4d7feebfb\">§</a></p>\n<p>WAL 汇总器漏掉了这类可见性映射变更，可能导致错误的增量备份。我们也没有在需要时记录这类可见性映射页的整页镜像，因而可能无法纠正撕裂页写入。这可能造成后续行为异常，例如仅索引扫描返回错误结果。</p>", "text": "修复表可见性映射清位操作的 WAL 日志记录（Melanie Plageman、Andres Freund）§ § § WAL 汇总器漏掉了这类可见性映射变更，可能导致错误的增量备份。我们也没有在需要时记录这类可见性映射页的整页镜像，因而可能无法纠正撕裂页写入。这可能造成后续行为异常，例如仅索引扫描返回错误结果。", "title": "修复表可见性映射清位操作的 WAL 日志记录", "commits": ["4d7feebfb", "d0fb1da21", "f581fa729"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "b95470ab8772f7064d787af7fca17722a43fdbb85ec0339e7e7f3a0b846c0f87", "section_path": ["变更"], "commit_groups": [["067213430", "4d7feebfb", "5174d157a", "9171f77db"], ["10911fde0", "56bf5fa5d", "7edec8b57", "d0fb1da21"], ["b01c31eef", "c0d9864f5", "ed62d26ca", "f581fa729"]], "identity_text": "Fix WAL logging of operations that clear bits in tables' visibility maps (Melanie Plageman, Andres Freund) Such VM changes were missed by the WAL summarizer, potentially leading to incorrect incremental backups. We also failed to log full-page images of such VM pages when needed, potentially allowing torn page writes to go uncorrected. This could lead to misbehavior later, such as wrong results from index-only scans.", "commit_aliases": ["067213430", "10911fde0", "4d7feebfb", "5174d157a", "56bf5fa5d", "7edec8b57", "9171f77db", "b01c31eef", "c0d9864f5", "d0fb1da21", "ed62d26ca", "f581fa729"], "source_commits": ["4d7feebfb", "d0fb1da21", "f581fa729"], "source_entry_id": "18.6/changes/084", "db_id": "9fb751cb38bcd179121b328ba031747e", "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3", "relations": [{"rule": 2, "type": "equivalent", "target": "4def260cbd8a4182ec017b70a81b56f5", "evidence": {"same_day": true, "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4def260cbd8a4182ec017b70a81b56f5", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复表可见性映射清位操作的 WAL 日志记录", "evidence": {"same_day": true, "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3"}, "url": "/docs/compare/?release=17.11#17.11-3f8c2715fb02eef2", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-2ef24f05b5bd445d", "cves": [], "html": "<p>防止 WAL 汇总进程在时间线切换时卡住（Robert Haas）<a href=\"https://postgr.es/c/18f0de6b8\">§</a> <a href=\"https://postgr.es/c/1d299d6ab\">§</a></p>", "text": "防止 WAL 汇总进程在时间线切换时卡住（Robert Haas）§ §", "title": "防止 WAL 汇总进程在时间线切换时卡住", "commits": ["18f0de6b8", "1d299d6ab"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "875094e4fb85ef4bbd5e3a57e55d80654eef573b8dac8966d60c792eb090e8de", "section_path": ["变更"], "commit_groups": [["18f0de6b8", "3e8a0c1b0", "499d9eabb", "dfb96277d"], ["1d299d6ab", "8767a10cb", "bdcea66f0", "d28cdf46e"]], "identity_text": "Prevent WAL summarizer process from getting stuck at a timeline switch (Robert Haas)", "commit_aliases": ["18f0de6b8", "1d299d6ab", "3e8a0c1b0", "499d9eabb", "8767a10cb", "bdcea66f0", "d28cdf46e", "dfb96277d"], "source_commits": ["18f0de6b8", "1d299d6ab"], "source_entry_id": "18.6/changes/085", "db_id": "3173f4833a6a0aae8a455f45a5a4568e", "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9", "relations": [{"rule": 2, "type": "equivalent", "target": "6c5349d1b6e45948404ea7876a48dcf9", "evidence": {"same_day": true, "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6c5349d1b6e45948404ea7876a48dcf9", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "防止 WAL 汇总进程在时间线切换时卡住", "evidence": {"same_day": true, "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9"}, "url": "/docs/compare/?release=17.11#17.11-aa32892bb54c9a4c", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-c988b88dbd957c88", "cves": [], "html": "<p>修复备库提升期间逻辑解码选择时间线时的竞态条件（Bertrand Drouvot）<a href=\"https://postgr.es/c/b4bd13850\">§</a> <a href=\"https://postgr.es/c/4bff3aa51\">§</a></p>\n<p>在备库上执行的逻辑解码可能会失败，并出现 <span>“<span>requested WAL segment has already been removed</span>”</span> 错误。重试即可成功，因此没有永久性问题，但存在可用性隐患。</p>", "text": "修复备库提升期间逻辑解码选择时间线时的竞态条件（Bertrand Drouvot）§ § 在备库上执行的逻辑解码可能会失败，并出现 “requested WAL segment has already been removed” 错误。重试即可成功，因此没有永久性问题，但存在可用性隐患。", "title": "修复备库提升期间逻辑解码选择时间线时的竞态条件", "commits": ["4bff3aa51", "b4bd13850"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "4d311a1b067d67a29744f1d9c2b459818b0b24040c0f3c40c4d5b6745dec9501", "section_path": ["变更"], "commit_groups": [["16b89ff04", "8cd687c44", "b4bd13850", "eb4e7224a"], ["2a04624da", "4bff3aa51", "a8ee70bd5", "ab5334d8b"], ["d9b49e5b4"]], "identity_text": "Fix race with timeline selection in logical decoding during standby promotion (Bertrand Drouvot) Logical decoding being performed on the standby could fail with a requested WAL segment has already been removed error. A repeat attempt would succeed, so there was no permanent problem but there was an availability hazard.", "commit_aliases": ["16b89ff04", "2a04624da", "4bff3aa51", "8cd687c44", "a8ee70bd5", "ab5334d8b", "b4bd13850", "d9b49e5b4", "eb4e7224a"], "source_commits": ["4bff3aa51", "b4bd13850", "d9b49e5b4"], "source_entry_id": "18.6/changes/086", "db_id": "cfd9fb4fa936abb9c7ef216b4854fb3c", "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51", "relations": [{"rule": 2, "type": "equivalent", "target": "7c127c9b86c4ff620059a798b7b8dda9", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}}, {"rule": 2, "type": "equivalent", "target": "d6f8670170e47d169eec30b65187d2c4", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d6f8670170e47d169eec30b65187d2c4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复备库提升期间逻辑解码选择时间线时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}, "url": "/docs/compare/?release=17.11#17.11-563becf7bc3e6dcf", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "7c127c9b86c4ff620059a798b7b8dda9", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复备库提升期间逻辑解码选择时间线时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}, "url": "/docs/compare/?release=16.15#16.15-d4ff6572d90ae3ad", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}]}, {"id": "18.6-afb05b61d5152a3a", "cves": [], "html": "<p>避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串（Chao Li）<a href=\"https://postgr.es/c/b903d1792\">§</a></p>\n<p><code>pg_stat_wal_receiver</code> 视图应显示不含敏感数据的脱敏连接字符串。但复用现有 WAL 接收进程时，它会短暂显示完整字符串。</p>", "text": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串（Chao Li）§ pg_stat_wal_receiver 视图应显示不含敏感数据的脱敏连接字符串。但复用现有 WAL 接收进程时，它会短暂显示完整字符串。", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "commits": ["b903d1792"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "42715f5b7df41b7bf319a6e29de09a5ef0a5673f61fcc5626005832f678be147", "section_path": ["变更"], "commit_groups": [["065cbfb88", "b903d1792", "c37b38806", "c89499a79", "e037a4199", "e18b77153"]], "identity_text": "Avoid exposing a WAL receiver's full connection string during timeline jumps (Chao Li) The pg_stat_wal_receiver view should show a sanitized version of the connection string, without sensitive data. But it transiently showed the full string when we re-use an existing WAL receiver.", "commit_aliases": ["065cbfb88", "b903d1792", "c37b38806", "c89499a79", "e037a4199", "e18b77153"], "source_commits": ["b903d1792"], "source_entry_id": "18.6/changes/087", "db_id": "cd98d8763a77664800622e26ed44bfce", "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64", "relations": [{"rule": 2, "type": "equivalent", "target": "25d36b6cd39f40aef2ae629b3189e49c", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}}, {"rule": 2, "type": "equivalent", "target": "37402bbf4de6b9a68bc1b26a7f9417b9", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}}, {"rule": 2, "type": "equivalent", "target": "5ea87a1c210c433da8cd395769d7ef5a", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}}, {"rule": 2, "type": "equivalent", "target": "e4f8b56dcd2aef047beee675ed6d7da6", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "37402bbf4de6b9a68bc1b26a7f9417b9", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}, "url": "/docs/compare/?release=17.11#17.11-1e3e950c5c9035d8", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "25d36b6cd39f40aef2ae629b3189e49c", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}, "url": "/docs/compare/?release=16.15#16.15-90e616e97be2e9eb", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e4f8b56dcd2aef047beee675ed6d7da6", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}, "url": "/docs/compare/?release=15.19#15.19-aed6228ca708ae21", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "5ea87a1c210c433da8cd395769d7ef5a", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}, "url": "/docs/compare/?release=14.24#14.24-6609d3eebb509440", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-842cc1f1f4a2405b", "cves": [], "html": "<p>使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数（Varik Matevosyan）<a href=\"https://postgr.es/c/dc3db3a83\">§</a></p>\n<p>恶意或有缺陷的发布者可能发送列数不一致的数据。虽然尚未找到会因此产生严重不良后果的场景，但额外谨慎似乎是必要的。</p>", "text": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数（Varik Matevosyan）§ 恶意或有缺陷的发布者可能发送列数不一致的数据。虽然尚未找到会因此产生严重不良后果的场景，但额外谨慎似乎是必要的。", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "commits": ["dc3db3a83"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9f31c202910443cee93755001261c06de77951acb16b3fbaa7604fd58b7fb29f", "section_path": ["变更"], "commit_groups": [["15f4e3d0c", "510a05f07", "59759e1a5", "871d4f5b6", "bf7d19be9", "dc3db3a83"]], "identity_text": "Use run-time checks, not just Asserts, to verify the correct number of columns in tuples received during logical replication (Varik Matevosyan) A malicious or buggy publisher could send inconsistent numbers of columns. While we could not find a scenario in which this would have serious ill effects, extra caution seems warranted.", "commit_aliases": ["15f4e3d0c", "510a05f07", "59759e1a5", "871d4f5b6", "bf7d19be9", "dc3db3a83"], "source_commits": ["dc3db3a83"], "source_entry_id": "18.6/changes/088", "db_id": "29b7d5b8d289c2e83357b4b3887c6ece", "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215", "relations": [{"rule": 2, "type": "equivalent", "target": "2bec14054822093ac2f6b8e098cf50ef", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}, {"rule": 2, "type": "equivalent", "target": "3d36fdfc273db605a521f97942cc7c8b", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}, {"rule": 2, "type": "equivalent", "target": "52499b2c374ab99a8520d4e208b224ca", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}, {"rule": 2, "type": "equivalent", "target": "b984d160c74d462df46c0818a7351ddb", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "52499b2c374ab99a8520d4e208b224ca", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}, "url": "/docs/compare/?release=17.11#17.11-83651d53e036fd59", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "3d36fdfc273db605a521f97942cc7c8b", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}, "url": "/docs/compare/?release=16.15#16.15-a8762c512498c73b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b984d160c74d462df46c0818a7351ddb", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}, "url": "/docs/compare/?release=15.19#15.19-8e9a0447c93f98f9", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "2bec14054822093ac2f6b8e098cf50ef", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}, "url": "/docs/compare/?release=14.24#14.24-09af4da1397bcb08", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-9e33f830eed35c6f", "cves": [], "html": "<p>改进构造的复制命令中字符串参数的引用处理（Tom Lane）<a href=\"https://postgr.es/c/abb582555\">§</a></p>\n<p>多处生成复制命令的代码在引用复制槽名称及其他需要插入命令的参数时不够谨慎。这可能导致命令出现意外的语法错误。原则上，精心构造的复制槽名称可能导致 SQL 注入；但这种场景在实践中似乎极不可能发生，因为只有高权限用户才能调用复制操作，而且他们没有理由使用来自不可信来源的槽名称。</p>", "text": "改进构造的复制命令中字符串参数的引用处理（Tom Lane）§ 多处生成复制命令的代码在引用复制槽名称及其他需要插入命令的参数时不够谨慎。这可能导致命令出现意外的语法错误。原则上，精心构造的复制槽名称可能导致 SQL 注入；但这种场景在实践中似乎极不可能发生，因为只有高权限用户才能调用复制操作，而且他们没有理由使用来自不可信来源的槽名称。", "title": "改进构造的复制命令中字符串参数的引用处理", "commits": ["abb582555"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "eff14326812c72ae4f764c7f658e5ae7c0bc9c099d1151414e565b9da16e397f", "section_path": ["变更"], "commit_groups": [["14810cc0d", "26d6c19d0", "2a00840e8", "819e5b964", "a75bd485b", "abb582555"]], "identity_text": "Clean up quoting of string parameters within constructed replication commands (Tom Lane) Various places that generate replication commands were not being adequately careful about quoting replication slot names and other parameters that need to be inserted into those commands. This could result in unexpected syntax errors in those commands. In principle, a crafted replication slot name could result in SQL injection; but such a scenario seems very unlikely to occur in practice, since replication operations can only be invoked by highly-privileged users and there is no reason for them to use a slot name coming from an untrustworthy source.", "commit_aliases": ["14810cc0d", "26d6c19d0", "2a00840e8", "819e5b964", "a75bd485b", "abb582555"], "source_commits": ["abb582555"], "source_entry_id": "18.6/changes/089", "db_id": "1ef980c1780b85528850bbdd9466fa41", "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa", "relations": [{"rule": 2, "type": "equivalent", "target": "492d74031b46a2dbdba89517c2392411", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}}, {"rule": 2, "type": "equivalent", "target": "54ed2b1cad03859f062c5ae13dc62693", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}}, {"rule": 2, "type": "equivalent", "target": "74c4a1b4a808ecb95dfae29020191080", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}}, {"rule": 2, "type": "equivalent", "target": "de678a747a30bf549de927b53ebbc3e7", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "de678a747a30bf549de927b53ebbc3e7", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "改进构造的复制命令中字符串参数的引用处理", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}, "url": "/docs/compare/?release=17.11#17.11-f6a7585b485a41e6", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "74c4a1b4a808ecb95dfae29020191080", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "改进构造的复制命令中字符串参数的引用处理", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}, "url": "/docs/compare/?release=16.15#16.15-af8c105159d57f3b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "492d74031b46a2dbdba89517c2392411", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "改进构造的复制命令中字符串参数的引用处理", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}, "url": "/docs/compare/?release=15.19#15.19-f46d264eacda5b12", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "54ed2b1cad03859f062c5ae13dc62693", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "改进构造的复制命令中字符串参数的引用处理", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}, "url": "/docs/compare/?release=14.24#14.24-064a7da098f9ba6c", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-9c7f709d1f862457", "cves": [], "html": "<p>修复对空预备事务的逻辑解码（Masahiko Sawada）<a href=\"https://postgr.es/c/b563fc6bd\">§</a></p>\n<p>未产生任何可解码更新的预备事务可能导致向输出插件发送 <code>COMMIT/ROLLBACK PREPARED</code>，而之前没有发送 <code>PREPARE</code>。对于内置订阅者，这会破坏复制，其他插件很可能也无法正确处理。</p>", "text": "修复对空预备事务的逻辑解码（Masahiko Sawada）§ 未产生任何可解码更新的预备事务可能导致向输出插件发送 COMMIT/ROLLBACK PREPARED，而之前没有发送 PREPARE。对于内置订阅者，这会破坏复制，其他插件很可能也无法正确处理。", "title": "修复对空预备事务的逻辑解码", "commits": ["b563fc6bd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "65090f051bd2f142a8a76bdc7a6d58aa011df73ea204ef53bbbc69a48c3c8fc5", "section_path": ["变更"], "commit_groups": [["0dbfb8520", "2289e65e1", "744618346", "8c4519c71", "acaa100f9", "b563fc6bd", "c2d34db0a"]], "identity_text": "Fix logical decoding of empty prepared transactions (Masahiko Sawada) A prepared transaction that did not cause any decodable updates could result in sending COMMIT/ROLLBACK PREPARED to the output plugin with no preceding PREPARE. For the built-in subscriber this breaks replication, and other plugins will probably not like it either.", "commit_aliases": ["0dbfb8520", "2289e65e1", "744618346", "8c4519c71", "acaa100f9", "b563fc6bd", "c2d34db0a"], "source_commits": ["b563fc6bd"], "source_entry_id": "18.6/changes/090", "db_id": "dc4b173044afd038ad380964a01eea2b", "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31", "relations": [{"rule": 2, "type": "equivalent", "target": "84b673d7c9ccb6b9e58b7abd3b0c1465", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}}, {"rule": 2, "type": "equivalent", "target": "a16d1f65cf232982fca81254425fea0a", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}}, {"rule": 2, "type": "equivalent", "target": "bcdae249049162a8ecdfc761f53a6e97", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}}, {"rule": 2, "type": "equivalent", "target": "de72e0ac47f2ad5c62da3e86aa9fdd8f", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a16d1f65cf232982fca81254425fea0a", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复对空预备事务的逻辑解码", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}, "url": "/docs/compare/?release=17.11#17.11-4fcd3ca4da51d952", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "84b673d7c9ccb6b9e58b7abd3b0c1465", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复对空预备事务的逻辑解码", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}, "url": "/docs/compare/?release=16.15#16.15-90c2bbc2eb6f8247", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "de72e0ac47f2ad5c62da3e86aa9fdd8f", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复对空预备事务的逻辑解码", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}, "url": "/docs/compare/?release=15.19#15.19-0420887ee7fc19e1", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "bcdae249049162a8ecdfc761f53a6e97", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复对空预备事务的逻辑解码", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}, "url": "/docs/compare/?release=14.24#14.24-47930888824346fa", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-a4136eca0096397b", "cves": [], "html": "<p>修复备库提升后不记录 WAL 的序列损坏的问题（Fujii Masao）<a href=\"https://postgr.es/c/627605713\">§</a></p>\n<p>此前，如果在主库上创建了不记录 WAL 的序列并将其复制到备库，那么提升备库后访问该序列可能会失败，并出现 <span>“<span>bad magic number in sequence</span>”</span> 或相关错误。</p>", "text": "修复备库提升后不记录 WAL 的序列损坏的问题（Fujii Masao）§ 此前，如果在主库上创建了不记录 WAL 的序列并将其复制到备库，那么提升备库后访问该序列可能会失败，并出现 “bad magic number in sequence” 或相关错误。", "title": "修复备库提升后不记录 WAL 的序列损坏的问题", "commits": ["627605713"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "30d41fa84a95a15e9368578cde5b1e576f99f5b28764feb0fded6f9da9b5faa9", "section_path": ["变更"], "commit_groups": [["22af34b98", "627605713", "8e684ce11", "913d3b610", "a1ed6a9a0", "d2980067b"]], "identity_text": "Fix corruption of unlogged sequences after standby promotion (Fujii Masao) Previously, if an unlogged sequence was created on the primary and replicated to a standby, accessing the sequence after promoting the standby could fail with bad magic number in sequence or related errors.", "commit_aliases": ["22af34b98", "627605713", "8e684ce11", "913d3b610", "a1ed6a9a0", "d2980067b"], "source_commits": ["627605713"], "source_entry_id": "18.6/changes/091", "db_id": "7c75fcad7f434b0760cdb29e86f36c46", "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462", "relations": [{"rule": 2, "type": "equivalent", "target": "04e99de2d6b9c7c2dbe0bac4e30b6b62", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}}, {"rule": 2, "type": "equivalent", "target": "1ce08b2128763f685c989c7f545e1b3e", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}}, {"rule": 2, "type": "equivalent", "target": "ecc31612cc8e203d9211831d84c3f264", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "04e99de2d6b9c7c2dbe0bac4e30b6b62", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复备库提升后不记录 WAL 的序列损坏的问题", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}, "url": "/docs/compare/?release=17.11#17.11-bbdd9aa8c76021bc", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "1ce08b2128763f685c989c7f545e1b3e", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复备库提升后不记录 WAL 的序列损坏的问题", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}, "url": "/docs/compare/?release=16.15#16.15-5f2f728c30848e40", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "ecc31612cc8e203d9211831d84c3f264", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复备库提升后不记录 WAL 的序列损坏的问题", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}, "url": "/docs/compare/?release=15.19#15.19-88702f651f9db1ae", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-e75bd84b8c02b997", "cves": [], "html": "<p>修复回退到归档后级联备库无法重新连接的问题（Marco Nenciarini）<a href=\"https://postgr.es/c/331016322\">§</a></p>\n<p>回退到归档恢复后，级联备库可能因 <span>“<span>requested starting point ... is ahead of the WAL flush position</span>”</span> 而无法重新连接到其上游备库。</p>", "text": "修复回退到归档后级联备库无法重新连接的问题（Marco Nenciarini）§ 回退到归档恢复后，级联备库可能因 “requested starting point ... is ahead of the WAL flush position” 而无法重新连接到其上游备库。", "title": "修复回退到归档后级联备库无法重新连接的问题", "commits": ["331016322"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "5a51be4cd8f245f23d1e5e10bb08538693a17619e15c5a49adfcc92b3d850c4e", "section_path": ["变更"], "commit_groups": [["2cf28d1b9", "331016322", "5dbeb69bc", "5fb3c6389", "8f64cc83f", "b614de487", "bef46aed3"]], "identity_text": "Fix cascading standby reconnect failure after archive fallback (Marco Nenciarini) A cascading standby could fail to reconnect to its upstream standby with requested starting point ... is ahead of the WAL flush position after falling back to archive recovery.", "commit_aliases": ["2cf28d1b9", "331016322", "5dbeb69bc", "5fb3c6389", "8f64cc83f", "b614de487", "bef46aed3"], "source_commits": ["331016322"], "source_entry_id": "18.6/changes/092", "db_id": "1ba572e4a9f5584ecce320e293d4b258", "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "relations": [{"rule": 2, "type": "related", "target": "027ccc17f71deb2b38e14fc8cc82dccd", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "1b34d3e2b18d75096fd2914d3673446c", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "70897dba323af27792543b2311799668", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "771fa954f9b22168a0764dc12074dadb", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "b17ef22f538327cabf0726e1b3f902cc", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "bf82a2510c4dfe4309435e9bce0ab3a4", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "bfa74492dd2c8ed5f4b0a4321cb63c85", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "related", "target": "bfa88fa3d381bbc9b7ee7a8614ea363c", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}, {"rule": 2, "type": "equivalent", "target": "ea24770278021c00f25a8b13bceb2a2c", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1b34d3e2b18d75096fd2914d3673446c", "kind": "related", "version": "18.6", "label": "18.6", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=18.6#18.6-251aba36d837c523", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}, {"db_id": "bf82a2510c4dfe4309435e9bce0ab3a4", "kind": "related", "version": "17.11", "label": "17.11", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=17.11#17.11-9aaf551ddc6d8e1b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "b17ef22f538327cabf0726e1b3f902cc", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=17.11#17.11-8291f394c20dacdc", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "bfa74492dd2c8ed5f4b0a4321cb63c85", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=16.15#16.15-f0ba58d9c922a403-2", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "70897dba323af27792543b2311799668", "kind": "related", "version": "16.15", "label": "16.15", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=16.15#16.15-f0ba58d9c922a403-1", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "bfa88fa3d381bbc9b7ee7a8614ea363c", "kind": "related", "version": "15.19", "label": "15.19", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=15.19#15.19-4395db3387c7cd38-1", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "771fa954f9b22168a0764dc12074dadb", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=15.19#15.19-4395db3387c7cd38-2", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "ea24770278021c00f25a8b13bceb2a2c", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=14.24#14.24-744489dc4872d6f1-2", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}, {"db_id": "027ccc17f71deb2b38e14fc8cc82dccd", "kind": "related", "version": "14.24", "label": "14.24", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "ambiguous_patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"]}, "url": "/docs/compare/?release=14.24#14.24-744489dc4872d6f1-1", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-fe809e2024f47bd3", "cves": [], "html": "<p>防止在 WAL 重放达到一致的数据库状态之前接受热备连接（Nikhil Sontakke）<a href=\"https://postgr.es/c/311e66df9\">§</a></p>", "text": "防止在 WAL 重放达到一致的数据库状态之前接受热备连接（Nikhil Sontakke）§", "title": "防止在 WAL 重放达到一致的数据库状态之前接受热备连接", "commits": ["311e66df9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "8b317869ae141be91e8dec8efd1716dafab967ff2900378e9d1e5e1a60e43286", "section_path": ["变更"], "commit_groups": [["311e66df9", "7673dfe77", "b59783502"]], "identity_text": "Prevent accepting hot-standby connections before WAL replay has reached a consistent database state (Nikhil Sontakke)", "commit_aliases": ["311e66df9", "7673dfe77", "b59783502"], "source_commits": ["311e66df9"], "source_entry_id": "18.6/changes/093", "db_id": "ca322b7422c7864dcfe83a827441f183", "patch_ids": ["c006640df5f2be4c0af354adc9b3739e"], "statement_hash": "c2216840c8e764a88ae341a1741319888a2b275d882def3b439922ca5a525ddc", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-d53aeb4078876f26", "cves": [], "html": "<p>不要尝试在备库本地清除 <code>pg_database</code>.<code>dathasloginevt</code>（Ayush Tiwari）<a href=\"https://postgr.es/c/97b5c5aaa\">§</a></p>\n<p>事件触发器清理尝试在备库和主库上都执行该操作。它在备库上无法奏效，而且没有必要，因为重放主库的数据库变更很快就会修复该值。</p>", "text": "不要尝试在备库本地清除 pg_database.dathasloginevt（Ayush Tiwari）§ 事件触发器清理尝试在备库和主库上都执行该操作。它在备库上无法奏效，而且没有必要，因为重放主库的数据库变更很快就会修复该值。", "title": "不要尝试在备库本地清除 pg_database.dathasloginevt", "commits": ["97b5c5aaa"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "7dedca87b69ef21715aa2679b45381940636ac8d0716019fb33eca7ea306fdfb", "section_path": ["变更"], "commit_groups": [["4a375527a", "97b5c5aaa", "bec61f593"]], "identity_text": "Do not try to clear pg_database.dathasloginevt locally on a standby server (Ayush Tiwari) Event trigger cleanup tried to perform that action on standby servers as well as the primary. That can't work on a standby, and there's no need anyway since replay of the primary's database change will soon fix it.", "commit_aliases": ["4a375527a", "97b5c5aaa", "bec61f593"], "source_commits": ["97b5c5aaa"], "source_entry_id": "18.6/changes/094", "db_id": "c7c89eea0ca114afbedbf0cfbae711f9", "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755", "relations": [{"rule": 2, "type": "equivalent", "target": "2652e45990dd9ead74f7cb1a60cd06ae", "evidence": {"same_day": true, "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2652e45990dd9ead74f7cb1a60cd06ae", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "不要尝试在备库本地清除 pg_database.dathasloginevt", "evidence": {"same_day": true, "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755"}, "url": "/docs/compare/?release=17.11#17.11-4ea3a29628f7f415", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-da8598a35476aae4", "cves": [], "html": "<p>避免删除过时复制槽时的竞态条件（Xuneng Zhou）<a href=\"https://postgr.es/c/08458bcae\">§</a></p>\n<p>如果另一个会话立即复用了已删除复制槽的共享内存条目，可能会错误地执行解锁并输出不正确的日志消息。</p>", "text": "避免删除过时复制槽时的竞态条件（Xuneng Zhou）§ 如果另一个会话立即复用了已删除复制槽的共享内存条目，可能会错误地执行解锁并输出不正确的日志消息。", "title": "避免删除过时复制槽时的竞态条件", "commits": ["08458bcae"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "cf6d11cd5580220ca35ddb16dd3a29615a1ef8c87cd71658da7e80f82c77be63", "section_path": ["变更"], "commit_groups": [["08458bcae", "bdae2c20e", "ea834d747"]], "identity_text": "Avoid race condition while dropping obsolete replication slots (Xuneng Zhou) An incorrect unlock and log message could occur if another session immediately re-used the dropped slot's shared-memory entry.", "commit_aliases": ["08458bcae", "bdae2c20e", "ea834d747"], "source_commits": ["08458bcae"], "source_entry_id": "18.6/changes/095", "db_id": "3dd18331742596637d053910b38a1f16", "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62", "relations": [{"rule": 2, "type": "equivalent", "target": "2724a08367b4dc82b3441236c9f9b14b", "evidence": {"same_day": true, "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2724a08367b4dc82b3441236c9f9b14b", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免删除过时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62"}, "url": "/docs/compare/?release=17.11#17.11-5aeb772ab7b96772", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-63934e389520e7b8", "cves": [], "html": "<p>避免删除临时复制槽时的竞态条件（Zhijie Hou）<a href=\"https://postgr.es/c/f833c9207\">§</a></p>\n<p>释放槽的代码在释放复制槽后，还会对该槽的共享内存条目执行一些额外更新。这并不安全，因为另一个会话可能立即复用已删除槽的共享内存条目。对于临时槽，现跳过这些更新。</p>", "text": "避免删除临时复制槽时的竞态条件（Zhijie Hou）§ 释放槽的代码在释放复制槽后，还会对该槽的共享内存条目执行一些额外更新。这并不安全，因为另一个会话可能立即复用已删除槽的共享内存条目。对于临时槽，现跳过这些更新。", "title": "避免删除临时复制槽时的竞态条件", "commits": ["f833c9207"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "27fbb2571967acc614030a8a722348f6483bb4a253dea242ebe2db84806d008d", "section_path": ["变更"], "commit_groups": [["080d61f07", "51e79222c", "968c50845", "a4eb59d40", "f2081a780", "f833c9207"]], "identity_text": "Avoid race condition while dropping ephemeral replication slots (Zhijie Hou) The slot-releasing code performed some additional updates to the replication slot's shared-memory entry after releasing the slot. This is unsafe since another session could immediately re-use the dropped slot's shared-memory entry. Skip those updates in the case of an ephemeral slot.", "commit_aliases": ["080d61f07", "51e79222c", "968c50845", "a4eb59d40", "f2081a780", "f833c9207"], "source_commits": ["f833c9207"], "source_entry_id": "18.6/changes/096", "db_id": "e7a4717de56195de8e84ae36133e6f25", "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282", "relations": [{"rule": 2, "type": "equivalent", "target": "56d06487f4f5f34eaa3c2bcb9a9adcec", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}}, {"rule": 2, "type": "equivalent", "target": "68414efdd4fd28ffb448691fcc350390", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}}, {"rule": 2, "type": "equivalent", "target": "acb52269a9ab57fd523cb58a71e121ec", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}}, {"rule": 2, "type": "equivalent", "target": "f11ac7346f20210841ca22799f957bad", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "56d06487f4f5f34eaa3c2bcb9a9adcec", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免删除临时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}, "url": "/docs/compare/?release=17.11#17.11-1bc3f286c6ac2176", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f11ac7346f20210841ca22799f957bad", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "避免删除临时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}, "url": "/docs/compare/?release=16.15#16.15-2f83798db4bea0d0", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "68414efdd4fd28ffb448691fcc350390", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "避免删除临时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}, "url": "/docs/compare/?release=15.19#15.19-1a1d1e09b86ffe89", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "acb52269a9ab57fd523cb58a71e121ec", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "避免删除临时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}, "url": "/docs/compare/?release=14.24#14.24-b14b0a9051dbe228", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-caa7677e59388ffc", "cves": [], "html": "<p>修复逻辑复制表同步期间陈旧的进度报告（Shinya Kato）<a href=\"https://postgr.es/c/d9cd9b4d7\">§</a></p>\n<p>此前，即使数据复制已经完成，订阅者中的 <code>pg_stat_progress_copy</code> 视图仍会把最初的 <code>COPY</code> 操作显示为活动状态。在同步追上发布者之前，该陈旧条目会一直可见。</p>", "text": "修复逻辑复制表同步期间陈旧的进度报告（Shinya Kato）§ 此前，即使数据复制已经完成，订阅者中的 pg_stat_progress_copy 视图仍会把最初的 COPY 操作显示为活动状态。在同步追上发布者之前，该陈旧条目会一直可见。", "title": "修复逻辑复制表同步期间陈旧的进度报告", "commits": ["d9cd9b4d7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "03488d1c1e96c8bc1674bd25ac9aedc68cabdc4f4873439a3e15274c3791eff1", "section_path": ["变更"], "commit_groups": [["422e54e30", "b5f7e7569", "d140237da", "d9cd9b4d7", "e3c4e3746", "f2acab534"]], "identity_text": "Fix stale progress reports during logical replication table synchronization (Shinya Kato) Previously, the pg_stat_progress_copy view in the subscriber would continue to show the initial COPY operation as active even after the data copy had finished. The stale entry remained visible until synchronization caught up with the publisher.", "commit_aliases": ["422e54e30", "b5f7e7569", "d140237da", "d9cd9b4d7", "e3c4e3746", "f2acab534"], "source_commits": ["d9cd9b4d7"], "source_entry_id": "18.6/changes/097", "db_id": "9c326b65f30e4f95b13ee3d7fb3dd796", "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb", "relations": [{"rule": 2, "type": "equivalent", "target": "14ad13206c7199257b4a83f16133fde4", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}}, {"rule": 2, "type": "equivalent", "target": "4b9039b2e6e3f4907e354f148b3975e1", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}}, {"rule": 2, "type": "equivalent", "target": "63a709580f948ad9f6c1df43e037400c", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}}, {"rule": 2, "type": "equivalent", "target": "ff38e10dde566b08847e2c27088d3f57", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ff38e10dde566b08847e2c27088d3f57", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复逻辑复制表同步期间陈旧的进度报告", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}, "url": "/docs/compare/?release=17.11#17.11-502303232ec37c57", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "14ad13206c7199257b4a83f16133fde4", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复逻辑复制表同步期间陈旧的进度报告", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}, "url": "/docs/compare/?release=16.15#16.15-d4efc1239b690c46", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "4b9039b2e6e3f4907e354f148b3975e1", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复逻辑复制表同步期间陈旧的进度报告", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}, "url": "/docs/compare/?release=15.19#15.19-8a44f6ca416f3ae9", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "63a709580f948ad9f6c1df43e037400c", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复逻辑复制表同步期间陈旧的进度报告", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}, "url": "/docs/compare/?release=14.24#14.24-ba4de94754320c14", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-0214ccb96b1cfbea", "cves": [], "html": "<p>在备份失败时清除基础备份进度（Chao Li）<a href=\"https://postgr.es/c/e7564ee8c\">§</a> <a href=\"https://postgr.es/c/e2ad214dd\">§</a></p>\n<p>此前，失败后 <code>pg_stat_progress_basebackup</code> 视图会继续显示过时的进度条目，直到复制客户端断开连接。 <span>pg_basebackup</span> 通常会立即断开连接，但其他客户端可能不会。</p>", "text": "在备份失败时清除基础备份进度（Chao Li）§ § 此前，失败后 pg_stat_progress_basebackup 视图会继续显示过时的进度条目，直到复制客户端断开连接。 pg_basebackup 通常会立即断开连接，但其他客户端可能不会。", "title": "在备份失败时清除基础备份进度", "commits": ["e2ad214dd", "e7564ee8c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "58ee046a19ef133a53f117bbbc4f8f88e8f077f30cdd7b74543c2a474af22609", "section_path": ["变更"], "commit_groups": [["55f0a13e9", "7cbd80340", "b70000837", "cf7530cf7", "e2ea6bfed", "e7564ee8c"], ["a240e8cd2", "a8fb98b7b", "e2ad214dd", "fffa4d870"]], "identity_text": "Clear base backup progress on backup failure (Chao Li) Previously the pg_stat_progress_basebackup view would continue to show a stale progress entry after a failure, until the replication client disconnected. pg_basebackup normally disconnects immediately, but other clients might not.", "commit_aliases": ["55f0a13e9", "7cbd80340", "a240e8cd2", "a8fb98b7b", "b70000837", "cf7530cf7", "e2ad214dd", "e2ea6bfed", "e7564ee8c", "fffa4d870"], "source_commits": ["e2ad214dd", "e7564ee8c"], "source_entry_id": "18.6/changes/098", "db_id": "ce88301108e6a4004079448bd7660e3f", "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a", "relations": [{"rule": 2, "type": "equivalent", "target": "03d34f5720102ae73e4faeecbb40be16", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}}, {"rule": 2, "type": "equivalent", "target": "0ad803b8fa0affc695436e1ce334504b", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}}, {"rule": 2, "type": "equivalent", "target": "30cd797665cc3e84a05904b8156ea936", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "03d34f5720102ae73e4faeecbb40be16", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在备份失败时清除基础备份进度", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}, "url": "/docs/compare/?release=17.11#17.11-b156d299eafbb07e", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "30cd797665cc3e84a05904b8156ea936", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在备份失败时清除基础备份进度", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}, "url": "/docs/compare/?release=16.15#16.15-9ae26a88006e649d", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0ad803b8fa0affc695436e1ce334504b", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在备份失败时清除基础备份进度", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}, "url": "/docs/compare/?release=15.19#15.19-e9fca69c60e402e5", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-27f3fc55e6505e3a", "cves": [], "html": "<p>修复启用 <code>track_functions</code> 时并发删除 pgstats 条目可能导致的 PANIC（Sami Imseih、Michael Paquier）<a href=\"https://postgr.es/c/5cc59834b\">§</a> <a href=\"https://postgr.es/c/8a4f389dd\">§</a> <a href=\"https://postgr.es/c/fe464e9e6\">§</a></p>", "text": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC（Sami Imseih、Michael Paquier）§ § §", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "commits": ["5cc59834b", "8a4f389dd", "fe464e9e6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "81496c00219608c698e6590b77e36c676c02aeee8fe1b3a36263191f5bae09e6", "section_path": ["变更"], "commit_groups": [["1e9e62193", "2e0c61aed", "5cc59834b", "850b9218c", "bf4616b59"], ["39e649d44", "75aca8b93", "7c457ea15", "8a4f389dd"], ["9e4771825", "afb076b29", "e34b1ff5d", "fe464e9e6"]], "identity_text": "Fix possible PANIC due to concurrent drop of pgstats entries when track_functions is enabled (Sami Imseih, Michael Paquier)", "commit_aliases": ["1e9e62193", "2e0c61aed", "39e649d44", "5cc59834b", "75aca8b93", "7c457ea15", "850b9218c", "8a4f389dd", "9e4771825", "afb076b29", "bf4616b59", "e34b1ff5d", "fe464e9e6"], "source_commits": ["5cc59834b", "8a4f389dd", "fe464e9e6"], "source_entry_id": "18.6/changes/099", "db_id": "f649a3b052bcad5187adc505673c75c1", "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa", "relations": [{"rule": 2, "type": "equivalent", "target": "4f36f67c7466f2760e401e0630f15a42", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}}, {"rule": 2, "type": "equivalent", "target": "7dab11d8d1bb42201bf7693ca895d4ec", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}}, {"rule": 2, "type": "equivalent", "target": "becaa982198f0463b739ba15734dbc39", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "becaa982198f0463b739ba15734dbc39", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}, "url": "/docs/compare/?release=17.11#17.11-ca1b3346f4ca0f86", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "4f36f67c7466f2760e401e0630f15a42", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}, "url": "/docs/compare/?release=16.15#16.15-b5ce57e52c63f55f", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "7dab11d8d1bb42201bf7693ca895d4ec", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}, "url": "/docs/compare/?release=15.19#15.19-29dc25bfc6d3f712", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-8e68cf04f8d3d622", "cves": [], "html": "<p>未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目（Niall Newman）<a href=\"https://postgr.es/c/2fd8d45ec\">§</a></p>\n<p>如果不进行清理，下次使用该本地条目时会导致空指针解引用。</p>", "text": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目（Niall Newman）§ 如果不进行清理，下次使用该本地条目时会导致空指针解引用。", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "commits": ["2fd8d45ec"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "ae21d24d93211a6397408fa1c2d59a596a32104ae42e7db4a2a7436bcdd24769", "section_path": ["变更"], "commit_groups": [["10e20e59e", "2fd8d45ec", "4069df21b", "636bcd6a5", "89fc6a7c1", "fc9283b21"]], "identity_text": "Clean up broken local pgstats entry after failing to obtain space for the corresponding shared hashtable entry (Niall Newman) Failure to do this led to a null-pointer dereference the next time the local entry was used.", "commit_aliases": ["10e20e59e", "2fd8d45ec", "4069df21b", "636bcd6a5", "89fc6a7c1", "fc9283b21"], "source_commits": ["2fd8d45ec"], "source_entry_id": "18.6/changes/100", "db_id": "69bb916ea3e2500fcf1ca6568c60960f", "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e", "relations": [{"rule": 2, "type": "equivalent", "target": "1afc7388a3b74ce2c49cb081c26f6f41", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}}, {"rule": 2, "type": "equivalent", "target": "65cb52740b6d4b79d67968be77af89f3", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}}, {"rule": 2, "type": "equivalent", "target": "b6f5540e817eacbe3e2ce2803c428998", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "65cb52740b6d4b79d67968be77af89f3", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}, "url": "/docs/compare/?release=17.11#17.11-2a6d1da6de790ba0", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "1afc7388a3b74ce2c49cb081c26f6f41", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}, "url": "/docs/compare/?release=16.15#16.15-4aba6cb90f1218ec", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b6f5540e817eacbe3e2ce2803c428998", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}, "url": "/docs/compare/?release=15.19#15.19-038be6e3a9588b97", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-62f8d7fac7e94f66", "cves": [], "html": "<p>避免读取或写入失败后记录错误的 I/O 操作统计信息（Bertrand Drouvot）<a href=\"https://postgr.es/c/13f940b4b\">§</a></p>", "text": "避免读取或写入失败后记录错误的 I/O 操作统计信息（Bertrand Drouvot）§", "title": "避免读取或写入失败后记录错误的 I/O 操作统计信息", "commits": ["13f940b4b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "8c2ec8b48869b5269106dca7f2cac2aa798943ce27c0456e0988651fa1953022", "section_path": ["变更"], "commit_groups": [["13f940b4b", "3048e8130"]], "identity_text": "Avoid recording incorrect I/O operation statistics after a failed read or write (Bertrand Drouvot)", "commit_aliases": ["13f940b4b", "3048e8130"], "source_commits": ["13f940b4b"], "source_entry_id": "18.6/changes/101", "db_id": "eb60b9ab1b9e4814af98c8013ccaaefc", "patch_ids": ["51ef28bcac96b451b9c22362030f5034"], "statement_hash": "1ee5c678ab1708424e1e440c9385d800ef55fb4ff8fab375174baaad825421f1", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-2efca855d8fe72b9", "cves": [], "html": "<p>在 <span>PL/Perl</span> 中，避免处理无效的 <code>PostgreSQL::InServer::ARRAY</code> 对象时因解引用 NULL 指针而崩溃（Xing Guo）<a href=\"https://postgr.es/c/e430ecc59\">§</a></p>", "text": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃（Xing Guo）§", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "commits": ["e430ecc59"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "10bb4cf365e34eae6176aeba278f76d048007603b3a16c65aa6f0fa3bcc7f7cb", "section_path": ["变更"], "commit_groups": [["3854f4afc", "4015abe14", "9b2a6ccc4", "d424d06ed", "e430ecc59", "e520ad34b"]], "identity_text": "In PL/Perl, avoid NULL pointer dereference crash when working with an invalid PostgreSQL::InServer::ARRAY object (Xing Guo)", "commit_aliases": ["3854f4afc", "4015abe14", "9b2a6ccc4", "d424d06ed", "e430ecc59", "e520ad34b"], "source_commits": ["e430ecc59"], "source_entry_id": "18.6/changes/102", "db_id": "51220e5b8d23efc0faab7627c0b277a9", "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013", "relations": [{"rule": 2, "type": "equivalent", "target": "36209251c760c8062b73654dc7225440", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}}, {"rule": 2, "type": "equivalent", "target": "e8af57b95d1fb94000fded1a07842242", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}}, {"rule": 2, "type": "equivalent", "target": "eeee2b7678fc0f11a7913ff09b05a182", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}}, {"rule": 2, "type": "equivalent", "target": "f143e0fa28a7dd57f718edca2aebc331", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f143e0fa28a7dd57f718edca2aebc331", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}, "url": "/docs/compare/?release=17.11#17.11-df7c413d42462d43", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "eeee2b7678fc0f11a7913ff09b05a182", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}, "url": "/docs/compare/?release=16.15#16.15-47a73b918734dfa4", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e8af57b95d1fb94000fded1a07842242", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}, "url": "/docs/compare/?release=15.19#15.19-79f5907d62c05f7d", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "36209251c760c8062b73654dc7225440", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}, "url": "/docs/compare/?release=14.24#14.24-a5a4aaaf5e9201f3", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-728c054c41aaf74d", "cves": [], "html": "<p>在 <span>PL/Python</span> 中，正确检查处理序列和映射对象时发生的错误（Richard Guo）<a href=\"https://postgr.es/c/53482fcb9\">§</a></p>\n<p>此前，损坏的对象或未处理的异常可能导致解引用 NULL 指针而崩溃。</p>", "text": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误（Richard Guo）§ 此前，损坏的对象或未处理的异常可能导致解引用 NULL 指针而崩溃。", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "commits": ["53482fcb9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "c779f97703863e26c6b6c406b53da7e717ecf8ef2e2938a212dac1d15ff7c366", "section_path": ["变更"], "commit_groups": [["0b7719f74", "12bff46ff", "3dc59c173", "53482fcb9", "8612f0b7c", "e92f23bde"], ["309dc4526"]], "identity_text": "In PL/Python, properly check for errors when working with sequence and mapping objects (Richard Guo) Previously, a broken object or an unhandled exception could result in a NULL pointer dereference crash.", "commit_aliases": ["0b7719f74", "12bff46ff", "309dc4526", "3dc59c173", "53482fcb9", "8612f0b7c", "e92f23bde"], "source_commits": ["309dc4526", "53482fcb9"], "source_entry_id": "18.6/changes/103", "db_id": "c6334af88dcf8bb00a0c24becb0804c2", "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee", "relations": [{"rule": 2, "type": "equivalent", "target": "1bcdb1bad2833f07d4dbdd7f3fd25692", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}}, {"rule": 2, "type": "equivalent", "target": "5ee9ccfc012c4ede5db692562772a752", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}}, {"rule": 2, "type": "equivalent", "target": "7c536b903c2b846285e39de4051f4dda", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}}, {"rule": 2, "type": "equivalent", "target": "c7d8f5074aecff2a6209080fb7907c5d", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ee9ccfc012c4ede5db692562772a752", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}, "url": "/docs/compare/?release=17.11#17.11-bf867cbb1ebe32c7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c7d8f5074aecff2a6209080fb7907c5d", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}, "url": "/docs/compare/?release=16.15#16.15-9e4400c5ffdc6cca", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "7c536b903c2b846285e39de4051f4dda", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}, "url": "/docs/compare/?release=15.19#15.19-b21d9c4c946d0a95", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "1bcdb1bad2833f07d4dbdd7f3fd25692", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}, "url": "/docs/compare/?release=14.24#14.24-6e7031366ea0564c", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-99e20888b0a13dd7", "cves": [], "html": "<p>在 <span>libpq</span> 中，执行 <code>pqReadData()</code> 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节（Jacob Champion）<a href=\"https://postgr.es/c/2167302b7\">§</a> <a href=\"https://postgr.es/c/bb0a54518\">§</a> <a href=\"https://postgr.es/c/27761c015\">§</a> <a href=\"https://postgr.es/c/87c3a79ea\">§</a></p>\n<p>这可以避免一种边界情况：<span>libpq</span> 或调用它的应用程序等待套接字上有更多数据到达，而实际上所有数据都已经到达。</p>", "text": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节（Jacob Champion）§ § § § 这可以避免一种边界情况：libpq 或调用它的应用程序等待套接字上有更多数据到达，而实际上所有数据都已经到达。", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "commits": ["2167302b7", "27761c015", "87c3a79ea", "bb0a54518"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "ae71f0d838a63f4577ab24237e763fb0ed2276579a52d8ba784b464f53b9dce1", "section_path": ["变更"], "commit_groups": [["05908afcd", "177a2a2e3", "343594a26", "477bc27a5", "7f8745543", "bb0a54518", "d3888c90a"], ["0958c3ea4", "21a6c69ea", "27761c015", "536512f34", "6243ea6c3", "d293f0345", "f5f569713"], ["17accbe0f", "56988064b", "5ba13f8c0", "7532f2117", "87c3a79ea", "bab0a2db7", "d9eb70c9c"], ["1b018b5d1", "2167302b7", "4ecba7fa3", "c162810a5", "d3f329656", "eeb2940ae", "ffd080d94"]], "identity_text": "In libpq, always drain all pending bytes from the SSL or GSS decryption buffer during pqReadData() (Jacob Champion) This avoids edge cases where libpq or its calling application waits for more data to arrive on the socket, but actually all the data has already arrived.", "commit_aliases": ["05908afcd", "0958c3ea4", "177a2a2e3", "17accbe0f", "1b018b5d1", "2167302b7", "21a6c69ea", "27761c015", "343594a26", "477bc27a5", "4ecba7fa3", "536512f34", "56988064b", "5ba13f8c0", "6243ea6c3", "7532f2117", "7f8745543", "87c3a79ea", "bab0a2db7", "bb0a54518", "c162810a5", "d293f0345", "d3888c90a", "d3f329656", "d9eb70c9c", "eeb2940ae", "f5f569713", "ffd080d94"], "source_commits": ["2167302b7", "27761c015", "87c3a79ea", "bb0a54518"], "source_entry_id": "18.6/changes/104", "db_id": "9168ca39fb7c001030f5bfbd2405a57c", "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be", "relations": [{"rule": 2, "type": "equivalent", "target": "06f569df58220f97a2f065dcabd4567f", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}}, {"rule": 2, "type": "equivalent", "target": "964e3e4ad6311992f04c2399fc930719", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}}, {"rule": 2, "type": "equivalent", "target": "c77eeb650517090fade53e3cf3d24d00", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}}, {"rule": 2, "type": "equivalent", "target": "f60154c0b7e3d0ae2ae39034edcdc2c1", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f60154c0b7e3d0ae2ae39034edcdc2c1", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}, "url": "/docs/compare/?release=17.11#17.11-ece298bedf647a6a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "c77eeb650517090fade53e3cf3d24d00", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}, "url": "/docs/compare/?release=16.15#16.15-1f1b12d570b54de1", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "964e3e4ad6311992f04c2399fc930719", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}, "url": "/docs/compare/?release=15.19#15.19-8ddc290da7f872e4", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "06f569df58220f97a2f065dcabd4567f", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}, "url": "/docs/compare/?release=14.24#14.24-4595e71bf9e7dee5", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-1ca0e17d82442acb", "cves": [], "html": "<p>改进 <span>libpq</span> 对内存不足情况的处理（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/6b46a5d1b\">§</a></p>", "text": "改进 libpq 对内存不足情况的处理（Anthonin Bonnefoy）§", "title": "改进 libpq 对内存不足情况的处理", "commits": ["6b46a5d1b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "38431992340fffe07fa78ab8d91ba4e891f245a36569221cb9ed86b13074c4bf", "section_path": ["变更"], "commit_groups": [["676bf48e1", "6b46a5d1b", "8380013cd"]], "identity_text": "Improve libpq's handling of out-of-memory conditions (Anthonin Bonnefoy)", "commit_aliases": ["676bf48e1", "6b46a5d1b", "8380013cd"], "source_commits": ["6b46a5d1b"], "source_entry_id": "18.6/changes/105", "db_id": "702619bca4eafa5ec897c54c44899700", "patch_ids": ["ac21c3ce2ae02e085ed3866481058001"], "statement_hash": "eec6ec640464f740117d7e235a58f7b9f7d0ab46f08ef5a5d2037538eab150c9", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-2070f350641c3bd5", "cves": [], "html": "<p>修复 <span>libpq</span> 的跟踪功能，使其正确打印新式 BackendKeyData 和 CancelRequest 消息（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/dd5eca055\">§</a></p>", "text": "修复 libpq 的跟踪功能，使其正确打印新式 BackendKeyData 和 CancelRequest 消息（Anthonin Bonnefoy）§", "title": "修复 libpq 的跟踪功能，使其正确打印新式 BackendKeyData 和 CancelRequest 消息", "commits": ["dd5eca055"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "5f13cf168ff8b4075ae64e38a62713e18f734eca0e447ebefd908379324afed9", "section_path": ["变更"], "commit_groups": [["0766bc57e", "b22b61905", "dd5eca055"]], "identity_text": "Fix libpq's trace facility to print new-style BackendKeyData and CancelRequest messages correctly (Anthonin Bonnefoy)", "commit_aliases": ["0766bc57e", "b22b61905", "dd5eca055"], "source_commits": ["dd5eca055"], "source_entry_id": "18.6/changes/106", "db_id": "fd5dcb29b0fd1252d10a21b8c0cdcb8c", "patch_ids": ["c7d629e80647c3be8fd73079d8a1b5ce"], "statement_hash": "f7529c3c3921210742bad5f01a4dc3306780887b530249441e741d2209b3e067", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-524638e22a952ee0", "cves": [], "html": "<p>允许 <span>libpq</span> 接受超过 30000 字节的 ParameterDescription 消息（Ning Sun）<a href=\"https://postgr.es/c/b1ab4bc52\">§</a></p>\n<p>此前，<span>libpq</span> 的有效性启发规则并未把这种消息类型视为可能很长。此限制会导致参数超过 7498 个的预备查询失败；这种情况虽然不太可能出现，但系统确实支持。</p>", "text": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息（Ning Sun）§ 此前，libpq 的有效性启发规则并未把这种消息类型视为可能很长。此限制会导致参数超过 7498 个的预备查询失败；这种情况虽然不太可能出现，但系统确实支持。", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "commits": ["b1ab4bc52"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9743df9bec312c0248fa3bbdd40827d03f169c1af78432f1e9df9d53f0a077ae", "section_path": ["变更"], "commit_groups": [["0f63b74a4", "1b79c8d1a", "8d516d2b9", "b1ab4bc52", "e0511883c", "e4183c667"]], "identity_text": "Allow libpq to accept ParameterDescription messages exceeding 30000 bytes (Ning Sun) Previously, this message type was not among those that libpq's validity heuristics believed could be long. The limit resulted in failure for prepared queries having more than 7498 parameters, which is unlikely but supported.", "commit_aliases": ["0f63b74a4", "1b79c8d1a", "8d516d2b9", "b1ab4bc52", "e0511883c", "e4183c667"], "source_commits": ["b1ab4bc52"], "source_entry_id": "18.6/changes/107", "db_id": "c1e7d9148740f6776370a4a75311e436", "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548", "relations": [{"rule": 2, "type": "equivalent", "target": "5ebbe0622604b80c5219c1c82f7d9aca", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}}, {"rule": 2, "type": "equivalent", "target": "7b36888afdccf5778f4b3d9b3f4d4b19", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}}, {"rule": 2, "type": "equivalent", "target": "96f87cdaa195bfc8af2e374fe5cd785d", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}}, {"rule": 2, "type": "equivalent", "target": "97c44cf1d7b9b31d86691416921a75e4", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "97c44cf1d7b9b31d86691416921a75e4", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}, "url": "/docs/compare/?release=17.11#17.11-a3c4e49ff3e57eff", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "7b36888afdccf5778f4b3d9b3f4d4b19", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}, "url": "/docs/compare/?release=16.15#16.15-d31bbe08eb795d29", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "5ebbe0622604b80c5219c1c82f7d9aca", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}, "url": "/docs/compare/?release=15.19#15.19-30059fe54da9df27", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "96f87cdaa195bfc8af2e374fe5cd785d", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}, "url": "/docs/compare/?release=14.24#14.24-95bdb4ccbaf1b4f7", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-7aa882d7346d6ba9", "cves": [], "html": "<p>修复 <span>ecpg</span> 编译器中的空指针崩溃（Jehan-Guillaume de Rorthais）<a href=\"https://postgr.es/c/917fdbc63\">§</a></p>\n<p><span>ecpg</span> 无法处理这样的 <code>DECLARE</code> 段：其中含有嵌套在 struct 内的 union。</p>", "text": "修复 ecpg 编译器中的空指针崩溃（Jehan-Guillaume de Rorthais）§ ecpg 无法处理这样的 DECLARE 段：其中含有嵌套在 struct 内的 union。", "title": "修复 ecpg 编译器中的空指针崩溃", "commits": ["917fdbc63"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0b2598c72b6398d45e95b27238d52a344421e109b788b5775ec2bc0b0f1c4fd3", "section_path": ["变更"], "commit_groups": [["7f5e0b22e", "917fdbc63"]], "identity_text": "Fix null-pointer crash in ecpg compiler (Jehan-Guillaume de Rorthais) ecpg failed on a DECLARE section containing a union nested inside a struct.", "commit_aliases": ["7f5e0b22e", "917fdbc63"], "source_commits": ["917fdbc63"], "source_entry_id": "18.6/changes/108", "db_id": "3efdef76585f7653700d42263bf2fcd4", "patch_ids": ["4f49070aa0244314298c6e53b2ca3663"], "statement_hash": "73d8bc20ea111e6babb09147ca348cbbc92d82d0ad4603e1379ed894c6013189", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-f7ec4316771ce1eb", "cves": [], "html": "<p>拒绝 <span>ecpg</span> 的 <code>GET/SET DESCRIPTOR</code> 语句中存在多个描述符首部项（Masashi Kamura）<a href=\"https://postgr.es/c/081434b0f\">§</a></p>\n<p>此前语法允许这种形式，但会生成有缺陷的 C 代码。现调整语法和文档，只允许一个首部项。</p>", "text": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项（Masashi Kamura）§ 此前语法允许这种形式，但会生成有缺陷的 C 代码。现调整语法和文档，只允许一个首部项。", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "commits": ["081434b0f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "8fd091c57d1ece6fac2c371b58e204e819ec5818de477c5e0736e1b023f750f2", "section_path": ["变更"], "commit_groups": [["081434b0f", "4484165b0", "4d4b73cfd", "9e8fd9f7a", "bfeddcf09", "fe8c0a762"]], "identity_text": "Reject multiple descriptor header items in ecpg's GET/SET DESCRIPTOR statements (Masashi Kamura) Previously the grammar allowed this syntax, but broken C code was generated. Adjust the grammar and the documentation to allow only one header item.", "commit_aliases": ["081434b0f", "4484165b0", "4d4b73cfd", "9e8fd9f7a", "bfeddcf09", "fe8c0a762"], "source_commits": ["081434b0f"], "source_entry_id": "18.6/changes/109", "db_id": "aa20c63216e98c98f035fa86491b5b30", "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb", "relations": [{"rule": 2, "type": "equivalent", "target": "2d1814d3627bd7de23f302bac9690b77", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}}, {"rule": 2, "type": "equivalent", "target": "d5ef1996d66a6c71b921d8881446c413", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}}, {"rule": 2, "type": "equivalent", "target": "e7657a963bd66274d46d2b5a9e11a18a", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}}, {"rule": 2, "type": "equivalent", "target": "f619d880f7a5f55846623a2af12abad1", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2d1814d3627bd7de23f302bac9690b77", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}, "url": "/docs/compare/?release=17.11#17.11-4edba097ad3499b7", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f619d880f7a5f55846623a2af12abad1", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}, "url": "/docs/compare/?release=16.15#16.15-0bc3bd0290f2c7ce", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e7657a963bd66274d46d2b5a9e11a18a", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}, "url": "/docs/compare/?release=15.19#15.19-42a85b1c95cc8d74", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "d5ef1996d66a6c71b921d8881446c413", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}, "url": "/docs/compare/?release=14.24#14.24-fb2fbbf70338d662", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-37072fc5e593b9ae", "cves": [], "html": "<p>修复 <span>psql</span> 流水线模式下延迟错误的问题（Michael Paquier）<a href=\"https://postgr.es/c/1e9bc4074\">§</a></p>\n<p>在服务器响应 Sync 消息时报错的某些场景（例如延迟约束违例）中， <span>psql</span> 可能卡住或发生断言失败。</p>", "text": "修复 psql 流水线模式下延迟错误的问题（Michael Paquier）§ 在服务器响应 Sync 消息时报错的某些场景（例如延迟约束违例）中， psql 可能卡住或发生断言失败。", "title": "修复 psql 流水线模式下延迟错误的问题", "commits": ["1e9bc4074"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0b6a251cbdd63ef30c411a5700968044736d26485b0b2c00c8ca1c01814cb13e", "section_path": ["变更"], "commit_groups": [["1e9bc4074", "d21604e17"]], "identity_text": "Fix issues with deferred errors in pipeline mode in psql (Michael Paquier) psql could get stuck or suffer an assertion failure in some scenarios where the server reports an error in response to a Sync message, such as a deferred constraint violation.", "commit_aliases": ["1e9bc4074", "d21604e17"], "source_commits": ["1e9bc4074"], "source_entry_id": "18.6/changes/110", "db_id": "72a7f65480654f93eac8950b0559cbc0", "patch_ids": ["fd3b0e71a3f8eb28e4ab3713dc100752"], "statement_hash": "9b5d97f70333cd1039a7854f6dd2a1fd15944a41f9681c94182b6c05e41f7ed4", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-e95d42c0b0a749e2", "cves": [], "html": "<p>使 <span>psql</span> 扩展对齐输出格式中的行宽保持一致（Pavel Stehule）<a href=\"https://postgr.es/c/07a6c262b\">§</a></p>\n<p>当表的数据行比记录标题行窄时，将数据行加宽到与标题行一致，从而避免输出不美观。</p>", "text": "使 psql 扩展对齐输出格式中的行宽保持一致（Pavel Stehule）§ 当表的数据行比记录标题行窄时，将数据行加宽到与标题行一致，从而避免输出不美观。", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "commits": ["07a6c262b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2d580be2068a246a98a192e4b40e46fe642aeb2c0d2fea17a0d81119c971db75", "section_path": ["变更"], "commit_groups": [["022ba5c61", "07a6c262b", "1edbe6695", "3d0d6741d", "a4ca91ea1", "efd885d05"]], "identity_text": "Make line widths match in psql's expanded aligned output format (Pavel Stehule) When the table's data rows are narrower than the record header lines, widen the data rows to match the headers, avoiding unsightly output.", "commit_aliases": ["022ba5c61", "07a6c262b", "1edbe6695", "3d0d6741d", "a4ca91ea1", "efd885d05"], "source_commits": ["07a6c262b"], "source_entry_id": "18.6/changes/111", "db_id": "8c98433b203fc9f697cb6dfef2f22a70", "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6", "relations": [{"rule": 2, "type": "equivalent", "target": "58d0bf8b8ffb214d0f6ab86e01e2ee4d", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}}, {"rule": 2, "type": "equivalent", "target": "6a176afe78ae457a5f2e20281e68c1c8", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}}, {"rule": 2, "type": "equivalent", "target": "6d353eb0c8713cda0665ed6128c86dc7", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}}, {"rule": 2, "type": "equivalent", "target": "73be9a684058fbdc9b8dd586127fd52a", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6a176afe78ae457a5f2e20281e68c1c8", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}, "url": "/docs/compare/?release=17.11#17.11-410e9178511c3bd6", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "73be9a684058fbdc9b8dd586127fd52a", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}, "url": "/docs/compare/?release=16.15#16.15-4ef439582c28e17a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "58d0bf8b8ffb214d0f6ab86e01e2ee4d", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}, "url": "/docs/compare/?release=15.19#15.19-e6841047ca307274", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "6d353eb0c8713cda0665ed6128c86dc7", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}, "url": "/docs/compare/?release=14.24#14.24-44ddceba221fbb20", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-f4ed56f70dce1993", "cves": [], "html": "<p>强制执行 <span>psql</span> 特殊变量 <code>WATCH_INTERVAL</code> 的原定上限（Sven Klemm、Daniel Gustafsson）<a href=\"https://postgr.es/c/e0c641ebb\">§</a></p>\n<p>如果给出的值过大，<span>psql</span> 会报告错误但仍应用该设置。</p>", "text": "强制执行 psql 特殊变量 WATCH_INTERVAL 的原定上限（Sven Klemm、Daniel Gustafsson）§ 如果给出的值过大，psql 会报告错误但仍应用该设置。", "title": "强制执行 psql 特殊变量 WATCH_INTERVAL 的原定上限", "commits": ["e0c641ebb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "ab27f170112801ffa643398355061630ad04b9a25cfe9388df28aace143d3e11", "section_path": ["变更"], "commit_groups": [["e04910a9a", "e0c641ebb"]], "identity_text": "Enforce the intended upper limit for psql's special variable WATCH_INTERVAL (Sven Klemm, Daniel Gustafsson) If a too-large value was given, psql reported an error but applied the setting anyway.", "commit_aliases": ["e04910a9a", "e0c641ebb"], "source_commits": ["e0c641ebb"], "source_entry_id": "18.6/changes/112", "db_id": "da4e14855386a41b1b007342405420fd", "patch_ids": ["89fd801900bdac240cfcf7a7e686b427"], "statement_hash": "642fd9555fa98a6c5630f67a94fa38617df76e4b28a80be73c949d4f69a344f4", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-f01251105c93da4a", "cves": [], "html": "<p>修复 <span>psql</span> 在 <code>\\l+</code> 中显示数据库大小时的权限检查（Christoph Berg）<a href=\"https://postgr.es/c/f2d6cf880\">§</a></p>\n<p>底层服务器函数允许具有 <code>pg_read_all_stats</code> 权限的用户查看所有数据库的大小，即使他们没有 <code>CONNECT</code> 权限。但 <span>psql</span> 不知道这一规定，除非用户具有 <code>CONNECT</code> 权限，否则不会调用该函数。</p>", "text": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查（Christoph Berg）§ 底层服务器函数允许具有 pg_read_all_stats 权限的用户查看所有数据库的大小，即使他们没有 CONNECT 权限。但 psql 不知道这一规定，除非用户具有 CONNECT 权限，否则不会调用该函数。", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "commits": ["f2d6cf880"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "76fc25f23c99dc4482bf43dfc62acad6dd6958269504ce0077e7451c61767bdb", "section_path": ["变更"], "commit_groups": [["38afc3dcb", "41949c6f3", "4e19081da", "77aeca802", "844bc718a", "e6e8a3078", "f2d6cf880"]], "identity_text": "Fix psql's privilege check for showing database size in \\l+ (Christoph Berg) The underlying server function permits users who have pg_read_all_stats privileges to see the sizes of all databases, even if they lack CONNECT privilege. But psql was unaware of that provision and would not call the function unless the user has CONNECT privilege.", "commit_aliases": ["38afc3dcb", "41949c6f3", "4e19081da", "77aeca802", "844bc718a", "e6e8a3078", "f2d6cf880"], "source_commits": ["f2d6cf880"], "source_entry_id": "18.6/changes/113", "db_id": "141d0e312a20156d1cd7aa5beaa39b84", "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6", "relations": [{"rule": 2, "type": "equivalent", "target": "8b38bff9895db96300585ebb983568e8", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}, {"rule": 2, "type": "equivalent", "target": "e7c613c24d691b769e31df57d0463965", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}, {"rule": 2, "type": "equivalent", "target": "f02d8966daabdbd36db1126f9327767d", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}, {"rule": 2, "type": "equivalent", "target": "fb027e827736bff10cc532003be6bcee", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f02d8966daabdbd36db1126f9327767d", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}, "url": "/docs/compare/?release=17.11#17.11-3336152e1ee6addb", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "8b38bff9895db96300585ebb983568e8", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}, "url": "/docs/compare/?release=16.15#16.15-7be17665f3a07ebd", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "e7c613c24d691b769e31df57d0463965", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}, "url": "/docs/compare/?release=15.19#15.19-616945ce906c167d", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "fb027e827736bff10cc532003be6bcee", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}, "url": "/docs/compare/?release=14.24#14.24-88ded4b53cabfeca", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-34779a676e9c08fc", "cves": [], "html": "<p>修复 <span>psql</span> 对 <code>\\df</code> 的 TAB 补全，使其也涵盖过程（Erik Wienhold）<a href=\"https://postgr.es/c/598af79b1\">§</a></p>", "text": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程（Erik Wienhold）§", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "commits": ["598af79b1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9124d04d66e089430c2b51bc59f8324c460e79feb7188fd61ffe68f450c6f621", "section_path": ["变更"], "commit_groups": [["2d44bb900", "355a4fcf9", "558e0de6d", "598af79b1", "6d4ca6de9", "c25737c89", "f9afdb6d1"]], "identity_text": "Fix psql's tab completion for \\df to consider procedures too (Erik Wienhold)", "commit_aliases": ["2d44bb900", "355a4fcf9", "558e0de6d", "598af79b1", "6d4ca6de9", "c25737c89", "f9afdb6d1"], "source_commits": ["598af79b1"], "source_entry_id": "18.6/changes/114", "db_id": "a6e56de07c090ea331a5f798b3fa0d29", "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c", "relations": [{"rule": 2, "type": "equivalent", "target": "2e71a63a423fe753a49907fea3f3f726", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}}, {"rule": 2, "type": "equivalent", "target": "9de93d1e22001ece7792c285e354eead", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}}, {"rule": 2, "type": "equivalent", "target": "b7650aff43943bf8882b3a2f849f6bee", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}}, {"rule": 2, "type": "equivalent", "target": "df69b2e9f052d92dfefda54eacbfc1ea", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e71a63a423fe753a49907fea3f3f726", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}, "url": "/docs/compare/?release=17.11#17.11-774191cf1146f3bf", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "9de93d1e22001ece7792c285e354eead", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}, "url": "/docs/compare/?release=16.15#16.15-4fbdfe9a37c05afb", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "df69b2e9f052d92dfefda54eacbfc1ea", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}, "url": "/docs/compare/?release=15.19#15.19-3ec1f9729116111b", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "b7650aff43943bf8882b3a2f849f6bee", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}, "url": "/docs/compare/?release=14.24#14.24-91cbecee9190a8b7", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-d444b0e88b717a34", "cves": [], "html": "<p>修复 <span>pgbench</span> 中的线程安全性缺陷（Fujii Masao）<a href=\"https://postgr.es/c/98dd6c204\">§</a></p>\n<p>当 <span>pgbench</span> 使用多个线程和 <code>--verbose-errors</code> 选项运行时，不同线程可能尝试使用同一个缓冲区构造错误消息，导致日志输出损坏。</p>", "text": "修复 pgbench 中的线程安全性缺陷（Fujii Masao）§ 当 pgbench 使用多个线程和 --verbose-errors 选项运行时，不同线程可能尝试使用同一个缓冲区构造错误消息，导致日志输出损坏。", "title": "修复 pgbench 中的线程安全性缺陷", "commits": ["98dd6c204"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "e6aedd0eb0f7424224cb1fd8581477605d7c08b7f44191b8d45ab9aef9a01a18", "section_path": ["变更"], "commit_groups": [["52b3e7001", "61f8a85a5", "6432a4cd6", "98dd6c204", "f18fcd9a4"]], "identity_text": "Fix thread-safety bug in pgbench (Fujii Masao) When pgbench runs with multiple threads and the --verbose-errors option, different threads could attempt to use the same buffer to construct error messages, leading to corrupted log output.", "commit_aliases": ["52b3e7001", "61f8a85a5", "6432a4cd6", "98dd6c204", "f18fcd9a4"], "source_commits": ["98dd6c204"], "source_entry_id": "18.6/changes/115", "db_id": "44b28e2d798edbd4039b847c6dd86848", "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf", "relations": [{"rule": 2, "type": "equivalent", "target": "4e32c3e5a2bb416ea303c286b1df2858", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}}, {"rule": 2, "type": "equivalent", "target": "5b099ea0ec4e743ffb1348250e4fbe06", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}}, {"rule": 2, "type": "equivalent", "target": "9fc066b4de5fcf91012835e6ddbc1b32", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4e32c3e5a2bb416ea303c286b1df2858", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 pgbench 中的线程安全性缺陷", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}, "url": "/docs/compare/?release=17.11#17.11-700eeda11277f3b9", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "5b099ea0ec4e743ffb1348250e4fbe06", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 pgbench 中的线程安全性缺陷", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}, "url": "/docs/compare/?release=16.15#16.15-be054de8e8881971", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "9fc066b4de5fcf91012835e6ddbc1b32", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 pgbench 中的线程安全性缺陷", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}, "url": "/docs/compare/?release=15.19#15.19-eef27a79d905af1b", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}]}, {"id": "18.6-0a368cc2731c2f99", "cves": [], "html": "<p>在 <span>pg_combinebackup</span> 中，防止源文件短于预期时出现无限循环（Peter Eisentraut）<a href=\"https://postgr.es/c/d36b72894\">§</a></p>", "text": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环（Peter Eisentraut）§", "title": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环", "commits": ["d36b72894"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "e32f0075646e4a9ef32c93d9a5abb89c84e7398c492390d99d563ba6792484be", "section_path": ["变更"], "commit_groups": [["090ce6934", "994f770a0", "d36b72894"]], "identity_text": "In pg_combinebackup, prevent infinite loop if the source file is shorter than expected (Peter Eisentraut)", "commit_aliases": ["090ce6934", "994f770a0", "d36b72894"], "source_commits": ["d36b72894"], "source_entry_id": "18.6/changes/116", "db_id": "c27420aa9b3b249ab663f9b3b7619204", "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7", "relations": [{"rule": 2, "type": "equivalent", "target": "0de6b21246ca038db28e1d7e7a8c33a5", "evidence": {"same_day": true, "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0de6b21246ca038db28e1d7e7a8c33a5", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环", "evidence": {"same_day": true, "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7"}, "url": "/docs/compare/?release=17.11#17.11-17e93d8574cb6937", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-280913453570aa34", "cves": [], "html": "<p>修复 <span>pg_createsubscriber</span> 出错后对发布端对象的清理（Nisha Moond）<a href=\"https://postgr.es/c/196b4b5ae\">§</a></p>\n<p>当 <span>pg_createsubscriber</span> 在创建逻辑复制对象后失败时，它应删除在发布端创建的发布和复制槽。某些错误情形未能这样做。</p>", "text": "修复 pg_createsubscriber 出错后对发布端对象的清理（Nisha Moond）§ 当 pg_createsubscriber 在创建逻辑复制对象后失败时，它应删除在发布端创建的发布和复制槽。某些错误情形未能这样做。", "title": "修复 pg_createsubscriber 出错后对发布端对象的清理", "commits": ["196b4b5ae"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "57682237b6273967edf6e0db2bced108af4544c26854c821f2753f04470bee76", "section_path": ["变更"], "commit_groups": [["12d000488", "196b4b5ae", "c03784a21"]], "identity_text": "Fix cleanup of publisher-side objects after errors in pg_createsubscriber (Nisha Moond) When pg_createsubscriber fails after creating logical replication objects, it should remove the publication and replication slot that it created on the publisher. Some error cases failed to do so.", "commit_aliases": ["12d000488", "196b4b5ae", "c03784a21"], "source_commits": ["196b4b5ae"], "source_entry_id": "18.6/changes/117", "db_id": "b3b32d95005620db1dde6737c217ff79", "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380", "relations": [{"rule": 2, "type": "equivalent", "target": "a5c36038d3fc8268a2ecbdc5f6d205fc", "evidence": {"same_day": true, "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a5c36038d3fc8268a2ecbdc5f6d205fc", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 pg_createsubscriber 出错后对发布端对象的清理", "evidence": {"same_day": true, "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380"}, "url": "/docs/compare/?release=17.11#17.11-48e3e90ffcc9370a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-ccc1d394ba38511a", "cves": [], "html": "<p>对 <span>pg_recvlogical</span> 输出文件采用源集簇的文件组读权限（Fujii Masao）<a href=\"https://postgr.es/c/89b4b3ae3\">§</a></p>\n<p>文档声称 <span>pg_recvlogical</span> 会这样做，但它从未实际启用组读权限。</p>", "text": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限（Fujii Masao）§ 文档声称 pg_recvlogical 会这样做，但它从未实际启用组读权限。", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "commits": ["89b4b3ae3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "c7707d5c1907b9f8589f22c46145c7e026130a40f4b4d3662c264143afee593b", "section_path": ["变更"], "commit_groups": [["263d1e6df", "5552a15a3", "89b4b3ae3", "9590dcfca", "ba9833a75", "ddd12d1a5"]], "identity_text": "Use the source cluster's group-read file permissions for pg_recvlogical output files (Fujii Masao) pg_recvlogical was documented to behave this way, but it never actually enabled group-read.", "commit_aliases": ["263d1e6df", "5552a15a3", "89b4b3ae3", "9590dcfca", "ba9833a75", "ddd12d1a5"], "source_commits": ["89b4b3ae3"], "source_entry_id": "18.6/changes/118", "db_id": "739e2a6e3be37fb134a81099033e7b88", "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e", "relations": [{"rule": 2, "type": "equivalent", "target": "46627f579bf31b5d6613ea2ead9a438c", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}}, {"rule": 2, "type": "equivalent", "target": "5e9c0809074f8046eb23cf8c625f723d", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}}, {"rule": 2, "type": "equivalent", "target": "7c4fc2d9507cff650a6e11a00319e316", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}}, {"rule": 2, "type": "equivalent", "target": "f4924985d224acc909a53983f158ebbe", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7c4fc2d9507cff650a6e11a00319e316", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}, "url": "/docs/compare/?release=17.11#17.11-7a66a4f0ad5abf3d", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f4924985d224acc909a53983f158ebbe", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}, "url": "/docs/compare/?release=16.15#16.15-f3298ba05de83c9a", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "46627f579bf31b5d6613ea2ead9a438c", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}, "url": "/docs/compare/?release=15.19#15.19-eb042822e75a511b", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "5e9c0809074f8046eb23cf8c625f723d", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}, "url": "/docs/compare/?release=14.24#14.24-af180ca6c48802b4", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-5e4a18698665afbd", "cves": [], "html": "<p>修复 <span>pg_restore</span> 使用 <code>--statistics</code> 或 <code>--statistics-only</code> 时的不一致行为（Chao Li、Michael Paquier）<a href=\"https://postgr.es/c/42ffdedcf\">§</a> <a href=\"https://postgr.es/c/477efef08\">§</a></p>\n<p>与 <code>--schema</code> 等其他选择性恢复选项结合使用时，这些选项未能恢复预期项目，与使用类似选项的 <span>pg_dump</span> 行为不同。</p>", "text": "修复 pg_restore 使用 --statistics 或 --statistics-only 时的不一致行为（Chao Li、Michael Paquier）§ § 与 --schema 等其他选择性恢复选项结合使用时，这些选项未能恢复预期项目，与使用类似选项的 pg_dump 行为不同。", "title": "修复 pg_restore 使用 --statistics 或 --statistics-only 时的不一致行为", "commits": ["42ffdedcf", "477efef08"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2f735e665d48f5621e42b45aadc7897b37b9d5cfac2bdff2abaa34acc4f2914d", "section_path": ["变更"], "commit_groups": [["0dd93de69", "42ffdedcf"], ["477efef08", "ae39bd23c"]], "identity_text": "Fix inconsistent behavior of pg_restore with --statistics or --statistics-only (Chao Li, Michael Paquier) When combined with other selective-restore options such as --schema, these options failed to restore the expected items, unlike pg_dump with similar options.", "commit_aliases": ["0dd93de69", "42ffdedcf", "477efef08", "ae39bd23c"], "source_commits": ["42ffdedcf", "477efef08"], "source_entry_id": "18.6/changes/119", "db_id": "ec56aefa8b1230926a58d37ee31c1974", "patch_ids": ["23528d57fa6b8e93bbc4085e322c3a16", "585fd7a6a1c8fb7d359e7696ae5c9036"], "statement_hash": "49ec3bc6d2ca19fc4494e1c248eb47cf2974fc96b5ea5b35c22d65a400e1a990", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-159528afc9012599", "cves": [], "html": "<p>修复 <code>vacuumdb --missing-stats-only</code>，使其忽略分区表达式索引（Baji Shaik）<a href=\"https://postgr.es/c/7e085aabd\">§</a></p>\n<p>此前，<span>vacuumdb</span> 总是尝试对分区表执行 <code>ANALYZE</code>，但这毫无作用，因为分区索引本身从不创建统计信息，只有其叶子索引才创建。</p>", "text": "修复 vacuumdb --missing-stats-only，使其忽略分区表达式索引（Baji Shaik）§ 此前，vacuumdb 总是尝试对分区表执行 ANALYZE，但这毫无作用，因为分区索引本身从不创建统计信息，只有其叶子索引才创建。", "title": "修复 vacuumdb --missing-stats-only，使其忽略分区表达式索引", "commits": ["7e085aabd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "2a9bab9b5ef6ceed3a27a6d9cc371bc06c29fefbabb414181173326806d21eaf", "section_path": ["变更"], "commit_groups": [["7e085aabd", "d2cea6306"]], "identity_text": "Fix vacuumdb --missing-stats-only to ignore partitioned expression indexes (Baji Shaik) Previously, vacuumdb would always attempt to ANALYZE the partitioned table, accomplishing nothing since statistics are never created for partitioned indexes, only for their leaf indexes.", "commit_aliases": ["7e085aabd", "d2cea6306"], "source_commits": ["7e085aabd"], "source_entry_id": "18.6/changes/120", "db_id": "a508819f0cd2f3814bc2c3070f5f9bcb", "patch_ids": ["4240972938f6b727b9c3afb7db256e7f"], "statement_hash": "d6b7dea0a810f8f989f969924d9f140e8c262ad79e5ce437c44240fe9086c126", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-cb44e3b45014a3e4", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，修复未能报告 B-树元页的 <code>allequalimage</code> 标志损坏的问题（Chao Li）<a href=\"https://postgr.es/c/12c32bbc8\">§</a></p>", "text": "在 contrib/amcheck 中，修复未能报告 B-树元页的 allequalimage 标志损坏的问题（Chao Li）§", "title": "在 contrib/amcheck 中，修复未能报告 B-树元页的 allequalimage 标志损坏的问题", "commits": ["12c32bbc8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "d8601d714bc15658e9ee9e49b0efd8c042ab916c39bdc9d9b1fdfd11485a6947", "section_path": ["变更"], "commit_groups": [["12c32bbc8", "389bd4c5b"]], "identity_text": "In contrib/amcheck, fix failure to report corruption of a btree metapage's allequalimage flag (Chao Li)", "commit_aliases": ["12c32bbc8", "389bd4c5b"], "source_commits": ["12c32bbc8"], "source_entry_id": "18.6/changes/121", "db_id": "a235ce1f79e91e8c29f992a04c38c0cb", "patch_ids": ["2e4cb447d88b8071d1cff1786b93723f"], "statement_hash": "ac30562981396990cd5820957e553598ded7456dc47ad4339afb6b62de628d15", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-3b91fe80edf88a17", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，修复验证 GIN 索引时查询生命周期内的内存泄漏（Kirill Reshke）<a href=\"https://postgr.es/c/1f8ab91c1\">§</a></p>", "text": "在 contrib/amcheck 中，修复验证 GIN 索引时查询生命周期内的内存泄漏（Kirill Reshke）§", "title": "在 contrib/amcheck 中，修复验证 GIN 索引时查询生命周期内的内存泄漏", "commits": ["1f8ab91c1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "901f5ee678dc754c8308afd39326a2d9000956927796d9753370e1266b06b575", "section_path": ["变更"], "commit_groups": [["1f8ab91c1", "80cfd8aef", "e939332c6"]], "identity_text": "In contrib/amcheck, fix query-lifespan memory leak while verifying a GIN index (Kirill Reshke)", "commit_aliases": ["1f8ab91c1", "80cfd8aef", "e939332c6"], "source_commits": ["1f8ab91c1"], "source_entry_id": "18.6/changes/122", "db_id": "454cdc2db92dfb4e8f7196d6dda27a28", "patch_ids": ["21110d48c29396c2e4c5957c57b81507"], "statement_hash": "d80d872dd78a4e0ed360096ae3e5ad9c0c6ded22c4417298383456624ac7476c", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-83d0b073d364f75c", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，正确处理短头部 varlena Datum（Andrey Borodin）<a href=\"https://postgr.es/c/897e79486\">§</a></p>\n<p>此错误可能导致验证 B-树索引时执行多余工作，但似乎没有造成更严重的后果。</p>", "text": "在 contrib/amcheck 中，正确处理短头部 varlena Datum（Andrey Borodin）§ 此错误可能导致验证 B-树索引时执行多余工作，但似乎没有造成更严重的后果。", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "commits": ["897e79486"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "152b36f3a586a937cd005dd3f18e0bbbd573f79cc40dff4a2e1213c59f38f760", "section_path": ["变更"], "commit_groups": [["4284476c0", "897e79486", "8abb8a155", "af09b18cb", "c89a1ca01", "da1eff08a"]], "identity_text": "In contrib/amcheck, handle short-header varlena datums correctly (Andrey Borodin) This error could result in doing excess work while verifying a btree index, but seems not to have had any worse consequences.", "commit_aliases": ["4284476c0", "897e79486", "8abb8a155", "af09b18cb", "c89a1ca01", "da1eff08a"], "source_commits": ["897e79486"], "source_entry_id": "18.6/changes/123", "db_id": "2d507c3ecfdc88b0a54eabbb1a06a7e0", "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d", "relations": [{"rule": 2, "type": "equivalent", "target": "3b8c851869278523310ddb5e0cf66c28", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}}, {"rule": 2, "type": "equivalent", "target": "45cd63fac27296a03920e2ac709b0ed6", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}}, {"rule": 2, "type": "equivalent", "target": "cdde56de8d6ffe6162fb47b834f39528", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}}, {"rule": 2, "type": "equivalent", "target": "e3d3da7d18247e58916c107812921cf0", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3b8c851869278523310ddb5e0cf66c28", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}, "url": "/docs/compare/?release=17.11#17.11-43173bad4eaa1b27", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "e3d3da7d18247e58916c107812921cf0", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}, "url": "/docs/compare/?release=16.15#16.15-22551bc799d71de7", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "45cd63fac27296a03920e2ac709b0ed6", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}, "url": "/docs/compare/?release=15.19#15.19-2872239e215fe909", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "cdde56de8d6ffe6162fb47b834f39528", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}, "url": "/docs/compare/?release=14.24#14.24-de8368e77c874cdf", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-f1427fb43b6c1e77", "cves": [], "html": "<p>在 <code>contrib/btree_gist</code> 中，修复 <code>NaN</code> 在 <code>float4</code> 和 <code>float8</code> 操作符类中的处理（Bill Kim、Tom Lane）<a href=\"https://postgr.es/c/1e1d07792\">§</a></p>\n<p>比较以及 GiST penalty 和 distance 函数都没有考虑 <code>NaN</code>，因而在遇到该值时会给出错误结果。建议在安装此更新后对 float 列上的 <code>btree_gist</code> 索引重建索引，前提是这些列中可能存在 <code>NaN</code> 条目。</p>", "text": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理（Bill Kim、Tom Lane）§ 比较以及 GiST penalty 和 distance 函数都没有考虑 NaN，因而在遇到该值时会给出错误结果。建议在安装此更新后对 float 列上的 btree_gist 索引重建索引，前提是这些列中可能存在 NaN 条目。", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "commits": ["1e1d07792"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "3389079cb64adc93caa2505b62c87e58e61ca1e10b80392c67a4cee8db9e9e3a", "section_path": ["变更"], "commit_groups": [["1e1d07792", "255bce448", "7d3448961", "98dd4406f", "a47005f0b", "d215d2cc2", "d569ccd40"]], "identity_text": "In contrib/btree_gist, fix NaN handling in the float4 and float8 opclasses (Bill Kim, Tom Lane) Comparisons, as well as the GiST penalty and distance functions, did not account for NaN and would give the wrong answer when handed one. It is recommended to reindex btree_gist indexes on float columns after installing this update, if there is any possibility that there are NaN entries in those columns.", "commit_aliases": ["1e1d07792", "255bce448", "7d3448961", "98dd4406f", "a47005f0b", "d215d2cc2", "d569ccd40"], "source_commits": ["1e1d07792"], "source_entry_id": "18.6/changes/124", "db_id": "4d9e91353135c760e8823c0cd0ef6409", "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788", "relations": [{"rule": 2, "type": "equivalent", "target": "4cd8eba009b82559add8c3ec81c4961d", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}}, {"rule": 2, "type": "equivalent", "target": "b7dd35efd818ab32c6cd15f0eb30fcbe", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}}, {"rule": 2, "type": "equivalent", "target": "b9df41b379c5302bb94ed660170eb547", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}}, {"rule": 2, "type": "equivalent", "target": "eacc61a61a6ef9f06eeceda6f5a96384", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4cd8eba009b82559add8c3ec81c4961d", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}, "url": "/docs/compare/?release=17.11#17.11-62f2c81188559a68", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "eacc61a61a6ef9f06eeceda6f5a96384", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}, "url": "/docs/compare/?release=16.15#16.15-b6551e55dcd75e6b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b7dd35efd818ab32c6cd15f0eb30fcbe", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}, "url": "/docs/compare/?release=15.19#15.19-7abab9144a6ecbfe", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "b9df41b379c5302bb94ed660170eb547", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}, "url": "/docs/compare/?release=14.24#14.24-f5f78593618ce5e6", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-abc27a01f64c06e0", "cves": [], "html": "<p>在 <code>contrib/btree_gist</code> 中，修复构建 GiST 索引时对 <code>bit</code>/<code>varbit</code> 条目的排序（Tom Lane）<a href=\"https://postgr.es/c/558c4ea9a\">§</a></p>\n<p>bit 类型的值被当作 <code>bytea</code> 排序。由于类型的表示形式不同，虽然这不会导致明显失败，却会产生低效索引。安装此更新后，建议对 bit 列上的 <code>btree_gist</code> 索引重建索引。</p>", "text": "在 contrib/btree_gist 中，修复构建 GiST 索引时对 bit/varbit 条目的排序（Tom Lane）§ bit 类型的值被当作 bytea 排序。由于类型的表示形式不同，虽然这不会导致明显失败，却会产生低效索引。安装此更新后，建议对 bit 列上的 btree_gist 索引重建索引。", "title": "在 contrib/btree_gist 中，修复构建 GiST 索引时对 bit/varbit 条目的排序", "commits": ["558c4ea9a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "6919d8dbfe9b26d45a07162cc17efe9fccc0dbcb73cb5ce1a228db4bb3a492cb", "section_path": ["变更"], "commit_groups": [["11cb9c431", "558c4ea9a", "a9fa6c69e"]], "identity_text": "In contrib/btree_gist, fix sorting of bit/varbit entries during GiST index construction (Tom Lane) Values of bit types were sorted as though they were byteas, which did not cause any obvious failure but would result in an inefficient index, since the types' representations are different. It is recommended to reindex btree_gist indexes on bit columns after installing this update.", "commit_aliases": ["11cb9c431", "558c4ea9a", "a9fa6c69e"], "source_commits": ["558c4ea9a"], "source_entry_id": "18.6/changes/125", "db_id": "3bd318bf985f65f08e4de889f9f7dc63", "patch_ids": ["b1435c9263f45de040aa91c540d81bc4"], "statement_hash": "2511024258be5eb09455cef6a97b8c951e38d2d4f39f80e6c5c02bdcc59a85d5", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-ba3d35f49ebe5363", "cves": [], "html": "<p>在 <code>contrib/btree_gist</code> 中，修复使用不等操作符的搜索（Ayush Tiwari）<a href=\"https://postgr.es/c/12c519207\">§</a></p>\n<p>对于变长数据类型，扫描非叶索引页的代码使用了错误的比较函数，导致结果错误并可能引发崩溃。</p>", "text": "在 contrib/btree_gist 中，修复使用不等操作符的搜索（Ayush Tiwari）§ 对于变长数据类型，扫描非叶索引页的代码使用了错误的比较函数，导致结果错误并可能引发崩溃。", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "commits": ["12c519207"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "f473dbeeef45f9192ac0fd0459f12bff57152d3ed6af68df7b93c96933c434cd", "section_path": ["变更"], "commit_groups": [["0663382c9", "12c519207", "286f9a3ce", "86992769e", "8f2a1b3d3", "eef644e57", "fc6649abe"]], "identity_text": "In contrib/btree_gist, fix searches using a not-equal operator (Ayush Tiwari) For variable-length data types, the code for scanning non-leaf index pages applied the wrong comparison function, leading to wrong results and potentially crashes.", "commit_aliases": ["0663382c9", "12c519207", "286f9a3ce", "86992769e", "8f2a1b3d3", "eef644e57", "fc6649abe"], "source_commits": ["12c519207"], "source_entry_id": "18.6/changes/126", "db_id": "6a17d9b57b1644e479653b086d9a3d5b", "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a", "relations": [{"rule": 2, "type": "equivalent", "target": "635407feb25f134fd4b583a750d226fd", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}}, {"rule": 2, "type": "equivalent", "target": "72b13e01606442471a1d73d64267d5db", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}}, {"rule": 2, "type": "equivalent", "target": "b8f3ffff9bd8249a29d2857d5a2613d1", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}}, {"rule": 2, "type": "equivalent", "target": "c540681583edc5cf717591e5bf65da83", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c540681583edc5cf717591e5bf65da83", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}, "url": "/docs/compare/?release=17.11#17.11-bb79dbfaaf4bd7a5", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "72b13e01606442471a1d73d64267d5db", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}, "url": "/docs/compare/?release=16.15#16.15-6fd7a5c21c3e59df", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "b8f3ffff9bd8249a29d2857d5a2613d1", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}, "url": "/docs/compare/?release=15.19#15.19-400657eaecfa8eb8", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "635407feb25f134fd4b583a750d226fd", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}, "url": "/docs/compare/?release=14.24#14.24-294f04d16131e8d5", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-3e71696a57ffc6a1", "cves": [], "html": "<p>在 <code>contrib/dblink</code> 和 <code>contrib/postgres_fdw</code> 中，确保用户映射上的 <code>use_scram_passthrough</code> 设置优先于外部服务器上的设置（Matheus Alcantara）<a href=\"https://postgr.es/c/88d7748d2\">§</a> <a href=\"https://postgr.es/c/130396e6c\">§</a></p>\n<p>此前的优先级正好相反，但这与其他外部表选项的行为不一致。</p>", "text": "在 contrib/dblink 和 contrib/postgres_fdw 中，确保用户映射上的 use_scram_passthrough 设置优先于外部服务器上的设置（Matheus Alcantara）§ § 此前的优先级正好相反，但这与其他外部表选项的行为不一致。", "title": "在 contrib/dblink 和 contrib/postgres_fdw 中，确保用户映射上的 use_scram_passthrough 设置优先于外部服务器上的设置", "commits": ["130396e6c", "88d7748d2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "dbd1d91619b17788c51ca8c36aeebec53d14f2020589b52c793e5a750ad59f83", "section_path": ["变更"], "commit_groups": [["130396e6c", "5f5165e2f"], ["88d7748d2", "97f6fc10f"]], "identity_text": "In contrib/dblink and contrib/postgres_fdw, ensure that a user-mapping setting for use_scram_passthrough overrides one for a foreign server (Matheus Alcantara) Previously the precedence went the other way, but that is inconsistent with the behavior of other foreign-table options.", "commit_aliases": ["130396e6c", "5f5165e2f", "88d7748d2", "97f6fc10f"], "source_commits": ["130396e6c", "88d7748d2"], "source_entry_id": "18.6/changes/127", "db_id": "063f2bffd0990ef3fcf1cfb885de863c", "patch_ids": ["b1b74b0cc1463725747a8653fc6f9171", "bd57ecb015393dce39ef90b46d9e0490"], "statement_hash": "db8d7ee5007bfdda5824537bec6f7ef8dab92f90ad711e9f78d654634734b9ce", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-ff5e4d8a0c43e0de", "cves": [], "html": "<p>拒绝将 <code>use_scram_passthrough</code> 设置到 <code>contrib/dblink</code> 外部数据包装器上（Matheus Alcantara）<a href=\"https://postgr.es/c/cd777e27e\">§</a></p>\n<p>此选项仅对外部服务器和用户映射有意义，但 dblink 错误地允许在 FDW 级别设置它（随后又忽略它）。</p>", "text": "拒绝将 use_scram_passthrough 设置到 contrib/dblink 外部数据包装器上（Matheus Alcantara）§ 此选项仅对外部服务器和用户映射有意义，但 dblink 错误地允许在 FDW 级别设置它（随后又忽略它）。", "title": "拒绝将 use_scram_passthrough 设置到 contrib/dblink 外部数据包装器上", "commits": ["cd777e27e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "70de6bc6d249294e8fdeab1a24f46b7dd7ba562fcc13795d138d7ee697b1aa0f", "section_path": ["变更"], "commit_groups": [["cd777e27e", "e2b881340"]], "identity_text": "Reject setting use_scram_passthrough on contrib/dblink foreign-data wrappers (Matheus Alcantara) This option is only meaningful on foreign servers and user mappings, but dblink incorrectly allowed it at the FDW level as well (and then ignored it).", "commit_aliases": ["cd777e27e", "e2b881340"], "source_commits": ["cd777e27e"], "source_entry_id": "18.6/changes/128", "db_id": "fcf062a479f1adf951f0e01ba9085269", "patch_ids": ["42c3eee21590032a02c95eee1fb701ea"], "statement_hash": "901c22f80f76bf023745d17a817b1d44b8d41905f41f65deeb6c657adf7865a9", "relations": [], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-3bbe012702953660", "cves": [], "html": "<p>修复以下模块中缺少防护的递归和循环：<code>contrib/hstore_plperl</code>、<code>contrib/jsonb_plperl</code> 和 <code>contrib/jsonb_plpython</code>（Aleksander Alekseev）<a href=\"https://postgr.es/c/e3b7a43fa\">§</a> <a href=\"https://postgr.es/c/d65cf6f80\">§</a></p>\n<p>防止处理深度嵌套的 <code>jsonb</code> 值时发生栈溢出，并允许中断尝试解引用 Perl 对象引用的环状链时造成的无限循环。</p>", "text": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython（Aleksander Alekseev）§ § 防止处理深度嵌套的 jsonb 值时发生栈溢出，并允许中断尝试解引用 Perl 对象引用的环状链时造成的无限循环。", "title": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython", "commits": ["d65cf6f80", "e3b7a43fa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "81b7f0f415195e0494dd86d9173418b2ec8748068be845c22ec549a8569b82e2", "section_path": ["变更"], "commit_groups": [["1f6b2295f", "4efef9d18", "4fbbabb0a", "60a1d712a", "c0f17b04d", "d65cf6f80"], ["3df0b7755", "639fff511", "a6f23c3ad", "b0f3465b6", "da82fbb8f", "e3b7a43fa"]], "identity_text": "Fix unguarded recursion and loops in contrib/hstore_plperl, contrib/jsonb_plperl, and contrib/jsonb_plpython (Aleksander Alekseev) Prevent stack overflow when dealing with deeply nested jsonb values, and allow interruption of the infinite loop caused when attempting to dereference circular chains of Perl object references.", "commit_aliases": ["1f6b2295f", "3df0b7755", "4efef9d18", "4fbbabb0a", "60a1d712a", "639fff511", "a6f23c3ad", "b0f3465b6", "c0f17b04d", "d65cf6f80", "da82fbb8f", "e3b7a43fa"], "source_commits": ["d65cf6f80", "e3b7a43fa"], "source_entry_id": "18.6/changes/129", "db_id": "e84c01132f8e26fec06fb2c24d693754", "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3", "relations": [{"rule": 2, "type": "equivalent", "target": "595e055e71880ae192e2de47f74a1291", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}}, {"rule": 2, "type": "equivalent", "target": "94eaadfc76909fd86106e4f1ca7ca2ff", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}}, {"rule": 2, "type": "equivalent", "target": "e764a2169f298518893448497eb58f37", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}}, {"rule": 2, "type": "equivalent", "target": "f6efa9b4ffedab334fa7ffa327afa7eb", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "595e055e71880ae192e2de47f74a1291", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}, "url": "/docs/compare/?release=17.11#17.11-f475bfd70799c254", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "e764a2169f298518893448497eb58f37", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}, "url": "/docs/compare/?release=16.15#16.15-fa0a92fe6f6d8b62", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "f6efa9b4ffedab334fa7ffa327afa7eb", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}, "url": "/docs/compare/?release=15.19#15.19-a4622748e0475d43", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "94eaadfc76909fd86106e4f1ca7ca2ff", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复以下模块中缺少防护的递归和循环：contrib/hstore_plperl、contrib/jsonb_plperl 和 contrib/jsonb_plpython", "evidence": {"same_day": true, "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3"}, "url": "/docs/compare/?release=14.24#14.24-fc345aadeb17306f", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-69c78fae0c5ccd69", "cves": [], "html": "<p>修复 <code>contrib/intarray</code> 中遗漏释放统计信息 catcache 条目的问题（Man Zeng）<a href=\"https://postgr.es/c/e7544c518\">§</a></p>\n<p>此疏漏会导致 <span>“<span>resource was not closed: cache pg_statistic</span>”</span> 之类的警告。</p>", "text": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题（Man Zeng）§ 此疏漏会导致 “resource was not closed: cache pg_statistic” 之类的警告。", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "commits": ["e7544c518"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "68153d5159c3c6ada0f6a07d899814308d69aa1ba7d4318b10ec41562e2e416c", "section_path": ["变更"], "commit_groups": [["273be484a", "524cc0f63", "702a6d5f6", "94b57ab54", "a96b051a9", "e7544c518"]], "identity_text": "Fix missed release of statistics catcache entry in contrib/intarray (Man Zeng) This oversight led to warnings like resource was not closed: cache pg_statistic.", "commit_aliases": ["273be484a", "524cc0f63", "702a6d5f6", "94b57ab54", "a96b051a9", "e7544c518"], "source_commits": ["e7544c518"], "source_entry_id": "18.6/changes/130", "db_id": "531f88cd6dd693227e011632166ae87b", "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3", "relations": [{"rule": 2, "type": "equivalent", "target": "29b63a7300df9efc4d5ac1e96dc34cb7", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}}, {"rule": 2, "type": "equivalent", "target": "2c29490e6377bc8f4bb49b5d5ca76323", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}}, {"rule": 2, "type": "equivalent", "target": "441b437853466f13724bc66579a3d9c5", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}}, {"rule": 2, "type": "equivalent", "target": "a4dfb26ea114f9668f1e953f8895f530", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "29b63a7300df9efc4d5ac1e96dc34cb7", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}, "url": "/docs/compare/?release=17.11#17.11-c1417114cda9dd52", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "a4dfb26ea114f9668f1e953f8895f530", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}, "url": "/docs/compare/?release=16.15#16.15-1e6f6b698ab8119b", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "2c29490e6377bc8f4bb49b5d5ca76323", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}, "url": "/docs/compare/?release=15.19#15.19-ccb32043172a0059", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "441b437853466f13724bc66579a3d9c5", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}, "url": "/docs/compare/?release=14.24#14.24-88b2eacb476e6d44", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-b2444fb7d252ecb2", "cves": [], "html": "<p>在 <code>contrib/ltree</code> 中，修复比较时的整数溢出（Ayush Tiwari）<a href=\"https://postgr.es/c/c3e36a9a5\">§</a></p>\n<p>包含超过约 14,653 个标签的 <code>ltree</code> 值会因溢出而得到错误的比较结果。如果 B-树索引包含这类值，它很可能已经损坏，应在安装此更新后重建索引。</p>", "text": "在 contrib/ltree 中，修复比较时的整数溢出（Ayush Tiwari）§ 包含超过约 14,653 个标签的 ltree 值会因溢出而得到错误的比较结果。如果 B-树索引包含这类值，它很可能已经损坏，应在安装此更新后重建索引。", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "commits": ["c3e36a9a5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "539609c22eddb85033f73068fec4c6fc7090af0cd27f3e4cc988f4498dc5ed25", "section_path": ["变更"], "commit_groups": [["1bec6b1c1", "3f3280491", "aca944e33", "c391c00d9", "c3e36a9a5", "f528a5606"]], "identity_text": "In contrib/ltree, fix integer overflow in comparisons (Ayush Tiwari) ltree values containing more than about 14,653 labels resulted in wrong comparison answers due to overflow. If a btree index contains such values, it is probably corrupt and should be reindexed after installing this update.", "commit_aliases": ["1bec6b1c1", "3f3280491", "aca944e33", "c391c00d9", "c3e36a9a5", "f528a5606"], "source_commits": ["c3e36a9a5"], "source_entry_id": "18.6/changes/131", "db_id": "888fddf9fe911dead6a68c55c98b9295", "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883", "relations": [{"rule": 2, "type": "equivalent", "target": "48fe7f3222eda75ec840ab2668d55093", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}}, {"rule": 2, "type": "equivalent", "target": "708292f2ccdab3377b60d76cdaa5a7e5", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}}, {"rule": 2, "type": "equivalent", "target": "f0507c88031aeac9ab37c3874a1e91d1", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}}, {"rule": 2, "type": "equivalent", "target": "faeb6c3b8ab3db22ba871dc683772018", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "faeb6c3b8ab3db22ba871dc683772018", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}, "url": "/docs/compare/?release=17.11#17.11-390646d2843a7323", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f0507c88031aeac9ab37c3874a1e91d1", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}, "url": "/docs/compare/?release=16.15#16.15-b86543a0103877e6", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "708292f2ccdab3377b60d76cdaa5a7e5", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}, "url": "/docs/compare/?release=15.19#15.19-deed600a17b6b295", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "48fe7f3222eda75ec840ab2668d55093", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}, "url": "/docs/compare/?release=14.24#14.24-74f51924f346b861", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-794d5c13d1ec54d8", "cves": [], "html": "<p>在 <code>contrib/pgcrypto</code> 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃（Yuelin Wang）<a href=\"https://postgr.es/c/020426268\">§</a></p>", "text": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃（Yuelin Wang）§", "title": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃", "commits": ["020426268"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "62a490cb890259e475d3ea5658bff0c45139063437eae9ae3a658a2876f49d15", "section_path": ["变更"], "commit_groups": [["020426268", "2aa6be6e6", "80bb0ebcc"]], "identity_text": "In contrib/pgcrypto, avoid double-free crash after encountering an error while using an OSSLCipher object (Yuelin Wang)", "commit_aliases": ["020426268", "2aa6be6e6", "80bb0ebcc"], "source_commits": ["020426268"], "source_entry_id": "18.6/changes/132", "db_id": "a3a95ce55c5a9796ab6c6450441f3aab", "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc", "relations": [{"rule": 2, "type": "equivalent", "target": "d0d6e890b41eab7e420c2fcbe5f1ef9a", "evidence": {"same_day": true, "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d0d6e890b41eab7e420c2fcbe5f1ef9a", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃", "evidence": {"same_day": true, "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc"}, "url": "/docs/compare/?release=17.11#17.11-5451045e11a327c3", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}]}, {"id": "18.6-4e6978b69317c416", "cves": [], "html": "<p>修复 <code>contrib/pg_prewarm</code> 的 autoprewarm 工作进程中的越界访问（Matheus Alcantara）<a href=\"https://postgr.es/c/3bf2cb225\">§</a></p>\n<p>代码试图获取数组末尾之后一个位置的值，可能导致段错误。</p>", "text": "修复 contrib/pg_prewarm 的 autoprewarm 工作进程中的越界访问（Matheus Alcantara）§ 代码试图获取数组末尾之后一个位置的值，可能导致段错误。", "title": "修复 contrib/pg_prewarm 的 autoprewarm 工作进程中的越界访问", "commits": ["3bf2cb225"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "4fe07e991a81e828486f77914f9731842bee8fceb0d84b70e025b680b9f06924", "section_path": ["变更"], "commit_groups": [["3bf2cb225", "dac36601f"]], "identity_text": "Fix out-of-bounds access in contrib/pg_prewarm's autoprewarm worker (Matheus Alcantara) The code tried to fetch a value from one past the end of an array, risking a segfault.", "commit_aliases": ["3bf2cb225", "dac36601f"], "source_commits": ["3bf2cb225"], "source_entry_id": "18.6/changes/133", "db_id": "deeb54842607dd110ef702b21efa1e40", "patch_ids": ["b8e5ecd5e13f4cc5d49f2b89c1f08c28"], "statement_hash": "78dd0ea4ace46cf7dd61d2a6c030af907036f2e92bdfeaf6006e3958c5b09372", "relations": [], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.6-2f1813bf59f642ea", "cves": [], "html": "<p>修复 <code>contrib/pg_surgery</code> 的 <code>heap_force_kill</code> 和 <code>heap_force_freeze</code> 函数中的数组越界写入（Michael Paquier）<a href=\"https://postgr.es/c/2b09f8a91\">§</a></p>\n<p>尝试更改偏移号等于 MaxHeapTuplesPerPage 的 TID 时，会在已分配数组的末尾之外写入一个字节，可能导致服务器崩溃。</p>", "text": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入（Michael Paquier）§ 尝试更改偏移号等于 MaxHeapTuplesPerPage 的 TID 时，会在已分配数组的末尾之外写入一个字节，可能导致服务器崩溃。", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "commits": ["2b09f8a91"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "0d8617c88bd69699f61f86b4d43593b97925e36eb860f4273481eca4654d97d7", "section_path": ["变更"], "commit_groups": [["0bcf19c9e", "193a4ded9", "1eda3eb07", "2b09f8a91", "51f63ba2b", "daf8bc7d4"]], "identity_text": "Fix array overrun in contrib/pg_surgery's heap_force_kill and heap_force_freeze functions (Michael Paquier) Attempting to change a TID whose offset number equals MaxHeapTuplesPerPage wrote one byte past the end of the allocated array, potentially crashing the server.", "commit_aliases": ["0bcf19c9e", "193a4ded9", "1eda3eb07", "2b09f8a91", "51f63ba2b", "daf8bc7d4"], "source_commits": ["2b09f8a91"], "source_entry_id": "18.6/changes/134", "db_id": "34c6abdf99153564a44d057cfe4b6dac", "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae", "relations": [{"rule": 2, "type": "equivalent", "target": "68b2c21176cad03670e2c5de5fd39431", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}}, {"rule": 2, "type": "equivalent", "target": "bfda1df269b11b96600aa8d604c7a26a", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}}, {"rule": 2, "type": "equivalent", "target": "dd33ec95e198e9db76b741cb251151f9", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}}, {"rule": 2, "type": "equivalent", "target": "f14b53949f2fa5150ed94f6fdbc3af9e", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bfda1df269b11b96600aa8d604c7a26a", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}, "url": "/docs/compare/?release=17.11#17.11-e5e220ac4d63838b", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "dd33ec95e198e9db76b741cb251151f9", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}, "url": "/docs/compare/?release=16.15#16.15-f726c19b6da9ae90", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "68b2c21176cad03670e2c5de5fd39431", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}, "url": "/docs/compare/?release=15.19#15.19-d4a24c821b2c9a40", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "f14b53949f2fa5150ed94f6fdbc3af9e", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}, "url": "/docs/compare/?release=14.24#14.24-5408ce883ba1bd1f", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-e307258545af5090", "cves": [], "html": "<p>在 <code>contrib/pg_surgery</code> 中，避免包含超过 64K 个元素的 TID 数组导致无限循环（Andrey Rachitskiy）<a href=\"https://postgr.es/c/19f0391df\">§</a></p>", "text": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环（Andrey Rachitskiy）§", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "commits": ["19f0391df"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "6fcdfb5c70607b17ca3b702f66f28ff227ed11b400c8577205a7e95ba55305a7", "section_path": ["变更"], "commit_groups": [["19f0391df", "1b6c99d96", "1f24c8237", "346fbdcc2", "395700f48", "e9d53cf45", "eb28b6f24"]], "identity_text": "In contrib/pg_surgery, avoid infinite loop with TID arrays having more than 64K elements (Andrey Rachitskiy)", "commit_aliases": ["19f0391df", "1b6c99d96", "1f24c8237", "346fbdcc2", "395700f48", "e9d53cf45", "eb28b6f24"], "source_commits": ["19f0391df"], "source_entry_id": "18.6/changes/135", "db_id": "15bef4f690bc1f9d9deab62cf46941cd", "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046", "relations": [{"rule": 2, "type": "equivalent", "target": "4a05d2d19e5e7e6511185becc5206900", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}}, {"rule": 2, "type": "equivalent", "target": "a5a79735a400ca2b0ff1eb682f488482", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}}, {"rule": 2, "type": "equivalent", "target": "d01853553d7520acbac484e63be9b7ae", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}}, {"rule": 2, "type": "equivalent", "target": "ff158bb4d522b01e710f1a52fc58ebac", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a05d2d19e5e7e6511185becc5206900", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}, "url": "/docs/compare/?release=17.11#17.11-79d5c27db04cf496", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "a5a79735a400ca2b0ff1eb682f488482", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}, "url": "/docs/compare/?release=16.15#16.15-063e603810851d1d", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "d01853553d7520acbac484e63be9b7ae", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}, "url": "/docs/compare/?release=15.19#15.19-d1dcefc82383e301", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "ff158bb4d522b01e710f1a52fc58ebac", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}, "url": "/docs/compare/?release=14.24#14.24-db516dd9e437ea28", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-8573bd52d03d8b3e", "cves": ["CVE-2026-6637"], "html": "<p>避免 <code>contrib/refint</code> 的 <code>check_foreign_key()</code> 中解引用 NULL 指针（Ayush Tiwari）<a href=\"https://postgr.es/c/ed0c4d5af\">§</a></p>\n<p>在更新时级联的情况下，被引用列的 null 值会导致崩溃。这是 CVE-2026-6637 修复中的一项疏漏，但修复之前的代码也并不真正正确。</p>", "text": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针（Ayush Tiwari）§ 在更新时级联的情况下，被引用列的 null 值会导致崩溃。这是 CVE-2026-6637 修复中的一项疏漏，但修复之前的代码也并不真正正确。", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "commits": ["ed0c4d5af"], "section": "变更", "category": "security", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "1057a22e1c5d835fbe3ab3dedae9abbb24679f457e5b5af6ae2f572a15177513", "section_path": ["变更"], "commit_groups": [["1de0a711d", "611756948", "6b4de201e", "77b2d18e9", "eb93f10e2", "ed0c4d5af"]], "identity_text": "Avoid NULL-pointer dereference in contrib/refint's check_foreign_key() (Ayush Tiwari) In the on-update-cascade case, a null value of a referenced column led to a crash. This is an oversight in the fix for CVE-2026-6637, but the code that was there before that wasn't really right either.", "commit_aliases": ["1de0a711d", "611756948", "6b4de201e", "77b2d18e9", "eb93f10e2", "ed0c4d5af"], "source_commits": ["ed0c4d5af"], "source_entry_id": "18.6/changes/136", "db_id": "1404c503877f8a1f5c524fd84656cf87", "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374", "relations": [{"rule": 2, "type": "equivalent", "target": "220e195253d94eac399969a628bda519", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}}, {"rule": 2, "type": "equivalent", "target": "4a53f44037d5d1ea5b714eb8d91567ee", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}}, {"rule": 2, "type": "equivalent", "target": "98b367e0c42416fd78e2312f81ec66e2", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}}, {"rule": 2, "type": "equivalent", "target": "a4fcc13dcc4b7cf6a5470b40915f7de5", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}}], "version": "18.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a53f44037d5d1ea5b714eb8d91567ee", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}, "url": "/docs/compare/?release=17.11#17.11-3c3f973709d9fe9a", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "a4fcc13dcc4b7cf6a5470b40915f7de5", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}, "url": "/docs/compare/?release=16.15#16.15-744702bd470fa361", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "220e195253d94eac399969a628bda519", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}, "url": "/docs/compare/?release=15.19#15.19-e808c12e0db01138", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "98b367e0c42416fd78e2312f81ec66e2", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}, "url": "/docs/compare/?release=14.24#14.24-1db62b2c5a9b5839", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-387ff665922d6204", "cves": [], "html": "<p>修复 <code>contrib/seg</code>，使其正确打印带有 <code>~</code> 确定性指示符的线段（Ewan Young）<a href=\"https://postgr.es/c/0004cab4d\">§</a></p>\n<p>由于拼写错误，<code>seg_out()</code> 不会打印附加在线段上界的 <code>~</code> 确定性指示符。更糟的是，如果下界带有 <code>~</code> 而上界没有指示符，上界会完全不被打印，从而错误地将该值转换为开区间。</p>", "text": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段（Ewan Young）§ 由于拼写错误，seg_out() 不会打印附加在线段上界的 ~ 确定性指示符。更糟的是，如果下界带有 ~ 而上界没有指示符，上界会完全不被打印，从而错误地将该值转换为开区间。", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "commits": ["0004cab4d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "86e9b8749c97077d90db0dbf1d2eb20b55d8a11d0d9cb5d26e215073c1f7db48", "section_path": ["变更"], "commit_groups": [["0004cab4d", "0e1f1ed15", "504ca0513", "58b91fc73", "b3aa2083a", "bcbbd070d"]], "identity_text": "Fix contrib/seg to print segments with ~ certainty indicators correctly (Ewan Young) Due to a typo, seg_out() did not print a ~ certainty indicator attached to a segment's upper boundary. Worse, if the lower boundary had ~ while the upper boundary had no indicator, the upper boundary was not printed at all, incorrectly converting the value into an open interval.", "commit_aliases": ["0004cab4d", "0e1f1ed15", "504ca0513", "58b91fc73", "b3aa2083a", "bcbbd070d"], "source_commits": ["0004cab4d"], "source_entry_id": "18.6/changes/137", "db_id": "de74a54f9ab1b5032316a8f4cb4edf58", "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308", "relations": [{"rule": 2, "type": "equivalent", "target": "0092f0106b4cbebadc3657eda9991c9e", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}}, {"rule": 2, "type": "equivalent", "target": "4479ff440be61a73b062dfc1c959faf7", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}}, {"rule": 2, "type": "equivalent", "target": "f181fe24877ee46b04e858490e6a289b", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}}, {"rule": 2, "type": "equivalent", "target": "f63e408806c4f80aa07b2f3f4200fd07", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f63e408806c4f80aa07b2f3f4200fd07", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}, "url": "/docs/compare/?release=17.11#17.11-f8ebcb7cb6568363", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "f181fe24877ee46b04e858490e6a289b", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}, "url": "/docs/compare/?release=16.15#16.15-2bba48da7c744466", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "0092f0106b4cbebadc3657eda9991c9e", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}, "url": "/docs/compare/?release=15.19#15.19-51153c85eeb90c1b", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "4479ff440be61a73b062dfc1c959faf7", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}, "url": "/docs/compare/?release=14.24#14.24-2bb527b600ae3151", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-de0be6584b43dd98", "cves": [], "html": "<p>修复 <code>contrib/xml2</code> 的 <code>xpath_nodeset()</code> 函数处理命名空间节点时的崩溃（Andrey Chernyy、Michael Paquier）<a href=\"https://postgr.es/c/91b57eade\">§</a></p>", "text": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃（Andrey Chernyy、Michael Paquier）§", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "commits": ["91b57eade"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9996c2e7a29a9068cc7a5efd483950a9f070ec8e84e7ba20d0c1cb497c144290", "section_path": ["变更"], "commit_groups": [["18955d412", "4a49ab289", "91b57eade", "9d33a5a80", "bc5775149", "f3f901a53"]], "identity_text": "Fix crash with namespace nodes in contrib/xml2's xpath_nodeset() function (Andrey Chernyy, Michael Paquier)", "commit_aliases": ["18955d412", "4a49ab289", "91b57eade", "9d33a5a80", "bc5775149", "f3f901a53"], "source_commits": ["91b57eade"], "source_entry_id": "18.6/changes/138", "db_id": "fd09f75c1b17c508bb1667d2e8243417", "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e", "relations": [{"rule": 2, "type": "equivalent", "target": "2953470186ae43261dceb65dc846a8ae", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}, {"rule": 2, "type": "equivalent", "target": "32f92901accbc8994883d1e03fd0af26", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}, {"rule": 2, "type": "equivalent", "target": "d967526895b7f276004e82823a346cb6", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}, {"rule": 2, "type": "equivalent", "target": "edc2de68fd585e179939afe22f49f6bb", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}], "version": "18.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d967526895b7f276004e82823a346cb6", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}, "url": "/docs/compare/?release=17.11#17.11-104bc8853d14d256", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "edc2de68fd585e179939afe22f49f6bb", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}, "url": "/docs/compare/?release=16.15#16.15-25a6edd728e03146", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "32f92901accbc8994883d1e03fd0af26", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}, "url": "/docs/compare/?release=15.19#15.19-459f9a551ce92569", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "2953470186ae43261dceb65dc846a8ae", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}, "url": "/docs/compare/?release=14.24#14.24-9a9c27171741ded6", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-48c6d3c86320b73f", "cves": [], "html": "<p>支持使用 OpenSSL 4 构建 <span>PostgreSQL</span>（Daniel Gustafsson）<a href=\"https://postgr.es/c/27cf3b5af\">§</a></p>", "text": "支持使用 OpenSSL 4 构建 PostgreSQL（Daniel Gustafsson）§", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "commits": ["27cf3b5af"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "9be69421adf563ef48c8b372b32c2e4d99c30d055115c7dd160eb2613d7ce3d6", "section_path": ["变更"], "commit_groups": [["086652c02", "27cf3b5af", "89d243d52", "8bcabfcce", "c7f70fa1b", "fb8befa7b"]], "identity_text": "Support building PostgreSQL with OpenSSL 4 (Daniel Gustafsson)", "commit_aliases": ["086652c02", "27cf3b5af", "89d243d52", "8bcabfcce", "c7f70fa1b", "fb8befa7b"], "source_commits": ["27cf3b5af"], "source_entry_id": "18.6/changes/139", "db_id": "c3287f3d7329f9fd4fb1dead8c819569", "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729", "relations": [{"rule": 2, "type": "equivalent", "target": "10ee20e58ffd04daecf6e5f030162c87", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}}, {"rule": 2, "type": "equivalent", "target": "3814ca74f63c29149528542a43ad21c5", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}}, {"rule": 2, "type": "equivalent", "target": "5205dd7058f572a69fe179e448446706", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}}, {"rule": 2, "type": "equivalent", "target": "5a9bafbcf49a80b12f21e542e3bae026", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3814ca74f63c29149528542a43ad21c5", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}, "url": "/docs/compare/?release=17.11#17.11-f6b857a06e35de57", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "5205dd7058f572a69fe179e448446706", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}, "url": "/docs/compare/?release=16.15#16.15-1b5271a8f18e77e3", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "5a9bafbcf49a80b12f21e542e3bae026", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}, "url": "/docs/compare/?release=15.19#15.19-50448fe82729f9d3", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "10ee20e58ffd04daecf6e5f030162c87", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}, "url": "/docs/compare/?release=14.24#14.24-192a685e063a0595", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}, {"id": "18.6-d9abf44820fbecc5", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2026c 发布版本（Tom Lane）<a href=\"https://postgr.es/c/5f67124fa\">§</a></p>\n<p>Alberta（America/Edmonton）将从 2026 年 11 月开始全年采用 UTC-06（实际上就是永久 DST）。本次发布假定其 TZ 缩写从那时起为 <code>CST</code>。这看起来可能会改变，但尚不清楚会使用什么新缩写。</p>\n<p>Morocco（Africa/Casablanca）将从 2026-09-20 起改为永久 UTC+00，不再进行夏令时转换。</p>", "text": "将时区数据文件更新到 tzdata 2026c 发布版本（Tom Lane）§ Alberta（America/Edmonton）将从 2026 年 11 月开始全年采用 UTC-06（实际上就是永久 DST）。本次发布假定其 TZ 缩写从那时起为 CST。这看起来可能会改变，但尚不清楚会使用什么新缩写。 Morocco（Africa/Casablanca）将从 2026-09-20 起改为永久 UTC+00，不再进行夏令时转换。", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "commits": ["5f67124fa"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES", "source_hash": "b5d88332184a238e737bbc48bbbe3050925043c34b0b9fca1b100be6365fb68c", "section_path": ["变更"], "commit_groups": [["3c16aa293", "5f67124fa", "669438aed", "6ca405938", "796c275a0", "812cc1a73", "af7be5672"]], "identity_text": "Update time zone data files to tzdata release 2026c (Tom Lane) Alberta (America/Edmonton) will be on year-round UTC-06 (effectively, permanent DST) beginning in November 2026. This release assumes that their TZ abbreviation will be CST from that time forward. That seems likely to change, but it's unclear what new abbreviation will be used. Morocco (Africa/Casablanca) will move to permanent UTC+00, without daylight saving time transitions, on 2026-09-20.", "commit_aliases": ["3c16aa293", "5f67124fa", "669438aed", "6ca405938", "796c275a0", "812cc1a73", "af7be5672"], "source_commits": ["5f67124fa"], "source_entry_id": "18.6/changes/140", "db_id": "5d6e219dd117842cc9b25b660af47952", "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7", "relations": [{"rule": 2, "type": "equivalent", "target": "163da88262eec7e167bed3e56a48dcc3", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}}, {"rule": 2, "type": "equivalent", "target": "6c00ccb389c691ec829366a2dd6d8fd7", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}}, {"rule": 2, "type": "equivalent", "target": "ae8d1b295c148a9982765709cf1583a9", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}}, {"rule": 2, "type": "equivalent", "target": "afb53916a223205ed20435542f0bacc1", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}}], "version": "18.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6c00ccb389c691ec829366a2dd6d8fd7", "kind": "equivalent", "version": "17.11", "label": "17.11", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}, "url": "/docs/compare/?release=17.11#17.11-8abc326e9afc0d23", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES"}, {"db_id": "ae8d1b295c148a9982765709cf1583a9", "kind": "equivalent", "version": "16.15", "label": "16.15", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}, "url": "/docs/compare/?release=16.15#16.15-d220a135cd5ed833", "source_url": "/docs/release/16.15/#RELEASE-16-15-CHANGES"}, {"db_id": "163da88262eec7e167bed3e56a48dcc3", "kind": "equivalent", "version": "15.19", "label": "15.19", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}, "url": "/docs/compare/?release=15.19#15.19-661a397eafb52141", "source_url": "/docs/release/15.19/#RELEASE-15-19-CHANGES"}, {"db_id": "afb53916a223205ed20435542f0bacc1", "kind": "equivalent", "version": "14.24", "label": "14.24", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}, "url": "/docs/compare/?release=14.24#14.24-14e27d4d0379635b", "source_url": "/docs/release/14.24/#RELEASE-14-24-CHANGES"}]}]}, {"date": "2026-05-14", "build": "18.4", "major": "18", "minor": 4, "manual": "18", "status": "stable", "doc_git": "", "version": "18.4", "eol_date": "2030-11-14", "date_text": "2026-05-14", "supported": true, "manual_url": "/docs/18/release-18-4.html", "source_url": "/docs/release/18.4/", "entry_count": 74, "placeholder": false, "content_hash": "0ce5f975d7e54beb23fac7b002da32b25caaa5ecbba58b63f847ee5debd12929", "manual_build": "18.6", "source_as_of": "", "changes_count": 74, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，如果你从早于 18.2 的版本升级，请参见<a href=\"/docs/18/release-18-2.html\" title=\"E.4. 发布版本 18.2\">第 E.4 节</a>。</p>", "compatibility_count": 0, "label": "18.4", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 135, "support_days": 1510, "entries": [{"id": "18.4-63ab78ae660e7424", "cves": ["CVE-2026-6479"], "html": "<p>防止处理启动包时发生无界递归（Michael Paquier）<a href=\"https://postgr.es/c/f7a191f53\">§</a></p>\n<p>恶意客户端可以通过无限交替发送被拒绝的 SSL 和 GSS 加密请求，使已连接的后端崩溃。</p>\n<p><span>PostgreSQL</span> 项目感谢 Calif.io（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-6479）</p>", "text": "防止处理启动包时发生无界递归（Michael Paquier）§ 恶意客户端可以通过无限交替发送被拒绝的 SSL 和 GSS 加密请求，使已连接的后端崩溃。 PostgreSQL 项目感谢 Calif.io（与 Claude 和 Anthropic Research 协作）报告此问题。（CVE-2026-6479）", "title": "防止处理启动包时发生无界递归", "commits": ["f7a191f53"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8eaf08bcf7fecada977588ace5d26a12bbe548a1f16e4ee3c3ef360450230814", "section_path": ["变更"], "commit_groups": [["14a4a7040", "16fda4df6", "6dffaeb8e", "c2e6ef863"], ["32a4ce55c", "3b4e66739", "3fb66d302", "66cf26b9e", "b63f25bdd", "f7a191f53"]], "identity_text": "Prevent unbounded recursion while processing startup packets (Michael Paquier) A malicious client could crash the connected backend by alternating rejected SSL and GSS encryption requests indefinitely. The PostgreSQL Project thanks Calif.io (in collaboration with Claude and Anthropic Research) for reporting this problem. (CVE-2026-6479)", "commit_aliases": ["14a4a7040", "16fda4df6", "32a4ce55c", "3b4e66739", "3fb66d302", "66cf26b9e", "6dffaeb8e", "b63f25bdd", "c2e6ef863", "f7a191f53"], "source_commits": ["6dffaeb8e", "f7a191f53"], "source_entry_id": "18.4/changes/001", "db_id": "1ca6ff4a849ed2960fad43a403e2b932", "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4", "relations": [{"rule": 2, "type": "equivalent", "target": "3d1e0d9f6f6214fb84bb4b9d4f9402aa", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}, {"rule": 2, "type": "equivalent", "target": "473b135d9b59dfa88e1611d1141570ee", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}, {"rule": 2, "type": "equivalent", "target": "91cb80c58929d3256c8543b647d98328", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}, {"rule": 2, "type": "equivalent", "target": "e49a23129f6590195a74fcbcc51115f9", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "91cb80c58929d3256c8543b647d98328", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止处理启动包时发生无界递归", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}, "url": "/docs/compare/?release=17.10#17.10-11e46f0b0085f2d6", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "473b135d9b59dfa88e1611d1141570ee", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防止处理启动包时发生无界递归", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}, "url": "/docs/compare/?release=16.14#16.14-f224cad17d1e5128", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "e49a23129f6590195a74fcbcc51115f9", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防止处理启动包时发生无界递归", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}, "url": "/docs/compare/?release=15.18#15.18-6e37155a4c84008d", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "3d1e0d9f6f6214fb84bb4b9d4f9402aa", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防止处理启动包时发生无界递归", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}, "url": "/docs/compare/?release=14.23#14.23-c632f730b154b207", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-0ecf0348f34312bf", "cves": ["CVE-2026-6473"], "html": "<p>修复内存分配计算中的多处整数溢出问题（Tom Lane，Nathan Bossart，Heikki Linnakangas）<a href=\"https://postgr.es/c/e1c30458a\">§</a> <a href=\"https://postgr.es/c/01e568b8c\">§</a> <a href=\"https://postgr.es/c/f3cee4dc4\">§</a> <a href=\"https://postgr.es/c/dd8af778d\">§</a> <a href=\"https://postgr.es/c/55328e3a9\">§</a> <a href=\"https://postgr.es/c/67dd6243d\">§</a> <a href=\"https://postgr.es/c/8d1489d50\">§</a> <a href=\"https://postgr.es/c/c7fb9f765\">§</a> <a href=\"https://postgr.es/c/3fbec9e50\">§</a></p>\n<p>多处代码在计算需要分配多少内存时，未充分注意整数溢出的可能性。溢出会导致分配过小的缓冲区，调用者随后会写过该缓冲区的末尾。这至少会触发服务器崩溃，并且很可能可被利用来执行任意代码。在许多但绝非所有情况下，这种风险只存在于 32 位构建中。</p>\n<p><span>PostgreSQL</span> 项目感谢 Xint Code、Bruce Dang、Sven Klemm 和 Pavel Kohout 报告这些问题。（CVE-2026-6473）</p>", "text": "修复内存分配计算中的多处整数溢出问题（Tom Lane，Nathan Bossart，Heikki Linnakangas）§ § § § § § § § § 多处代码在计算需要分配多少内存时，未充分注意整数溢出的可能性。溢出会导致分配过小的缓冲区，调用者随后会写过该缓冲区的末尾。这至少会触发服务器崩溃，并且很可能可被利用来执行任意代码。在许多但绝非所有情况下，这种风险只存在于 32 位构建中。 PostgreSQL 项目感谢 Xint Code、Bruce Dang、Sven Klemm 和 Pavel Kohout 报告这些问题。（CVE-2026-6473）", "title": "修复内存分配计算中的多处整数溢出问题", "commits": ["01e568b8c", "3fbec9e50", "55328e3a9", "67dd6243d", "8d1489d50", "c7fb9f765", "dd8af778d", "e1c30458a", "f3cee4dc4"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "d24e4f43bca1a58fcfd0d015d99c4bb296a743a14acfd85222c166d23b42b54e", "section_path": ["变更"], "commit_groups": [["00e243e67", "37842f3dc", "924b3e943", "c7fb9f765", "d75b1dc96"], ["01b5ef7df", "01e568b8c", "4032c9d98", "aff71f87b", "c55cea529", "e31ef0720"], ["066b7b144", "3e0eba196", "8d1489d50", "b11c3eadf", "ebcfa7867", "f20b84081"], ["0dc1fdc75", "39bc8f2ca", "7fdb0907e", "a4f089c79", "e3a2bea41", "f3cee4dc4"], ["137013f60", "32c525eb6", "55328e3a9", "6a985e71e", "87357a606", "986753361"], ["26dd3cac2", "b2869ebc4", "bcfd848e7", "c25973124", "dd8af778d", "fb0bc321d"], ["3c41f5534", "67dd6243d", "6d68fcb28", "8e81995de", "e24fb3247", "e49e9590d"], ["3fbec9e50", "8e909812d", "c3f7dde39", "c9447b8bd", "dc6c85ff4", "e42598a41"], ["46593aea0", "61a9b4b6e", "bfc5cea76", "cfb610eaa", "e1c30458a", "fe2720c45"], ["47dae5e74", "6a423a256", "d106295b6", "e5babf754"]], "identity_text": "Fix assorted integer overflows in memory-allocation calculations (Tom Lane, Nathan Bossart, Heikki Linnakangas) Various places were incautious about the possibility of integer overflow in calculations of how much memory to allocate. Overflow would lead to allocating a too-small buffer which the caller would then write past the end of. This would at least trigger server crashes, and probably could be exploited for arbitrary code execution. In many but by no means all cases, the hazard exists only in 32-bit builds. The PostgreSQL Project thanks Xint Code, Bruce Dang, Sven Klemm, and Pavel Kohout for reporting these problems. (CVE-2026-6473)", "commit_aliases": ["00e243e67", "01b5ef7df", "01e568b8c", "066b7b144", "0dc1fdc75", "137013f60", "26dd3cac2", "32c525eb6", "37842f3dc", "39bc8f2ca", "3c41f5534", "3e0eba196", "3fbec9e50", "4032c9d98", "46593aea0", "47dae5e74", "55328e3a9", "61a9b4b6e", "67dd6243d", "6a423a256", "6a985e71e", "6d68fcb28", "7fdb0907e", "87357a606", "8d1489d50", "8e81995de", "8e909812d", "924b3e943", "986753361", "a4f089c79", "aff71f87b", "b11c3eadf", "b2869ebc4", "bcfd848e7", "bfc5cea76", "c25973124", "c3f7dde39", "c55cea529", "c7fb9f765", "c9447b8bd", "cfb610eaa", "d106295b6", "d75b1dc96", "dc6c85ff4", "dd8af778d", "e1c30458a", "e24fb3247", "e31ef0720", "e3a2bea41", "e42598a41", "e49e9590d", "e5babf754", "ebcfa7867", "f20b84081", "f3cee4dc4", "fb0bc321d", "fe2720c45"], "source_commits": ["01e568b8c", "3fbec9e50", "55328e3a9", "67dd6243d", "8d1489d50", "c7fb9f765", "dd8af778d", "e1c30458a", "e5babf754", "f3cee4dc4"], "source_entry_id": "18.4/changes/002", "db_id": "acba67a334312f97f378ad9d28899a71", "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8", "relations": [{"rule": 2, "type": "equivalent", "target": "2566881ea25d8a61c2245b4b04c49f1a", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}}, {"rule": 2, "type": "equivalent", "target": "295b1d4dab2d6e770a4f53cf19a7aaa0", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}}, {"rule": 2, "type": "equivalent", "target": "8efe22f93b8d48d1a299e86b11c402e5", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}}, {"rule": 2, "type": "equivalent", "target": "f0345a5abb8aa96f05fce3fbd32e6535", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f0345a5abb8aa96f05fce3fbd32e6535", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复内存分配计算中的多处整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}, "url": "/docs/compare/?release=17.10#17.10-a0bf50b47f7c6ba2", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "8efe22f93b8d48d1a299e86b11c402e5", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复内存分配计算中的多处整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}, "url": "/docs/compare/?release=16.14#16.14-effcbd2d1a71fba3", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "295b1d4dab2d6e770a4f53cf19a7aaa0", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复内存分配计算中的多处整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}, "url": "/docs/compare/?release=15.18#15.18-77623f915f7592d9", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "2566881ea25d8a61c2245b4b04c49f1a", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复内存分配计算中的多处整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}, "url": "/docs/compare/?release=14.23#14.23-1cae472cd8aafd7d", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-5bdcbd2e82271018", "cves": ["CVE-2026-6476"], "html": "<p>在 <span>pg_createsubscriber</span> 中正确为订阅名称加引号（Nathan Bossart）<a href=\"https://postgr.es/c/c2e44c370\">§</a></p>\n<p>给定的订阅名称未经加引号就被插入到 SQL 命令中，因此在订阅名称来自不可信来源的（也许不太可能的）情况下，可能实现 SQL 注入。</p>\n<p><span>PostgreSQL</span> 项目感谢 Yu Kunpeng 报告此问题。（CVE-2026-6476）</p>", "text": "在 pg_createsubscriber 中正确为订阅名称加引号（Nathan Bossart）§ 给定的订阅名称未经加引号就被插入到 SQL 命令中，因此在订阅名称来自不可信来源的（也许不太可能的）情况下，可能实现 SQL 注入。 PostgreSQL 项目感谢 Yu Kunpeng 报告此问题。（CVE-2026-6476）", "title": "在 pg_createsubscriber 中正确为订阅名称加引号", "commits": ["c2e44c370"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "17f99eabd06cf32577fabbdc981f5e198df7045ca49ae684e192861912efaed4", "section_path": ["变更"], "commit_groups": [["c2e44c370", "d389415ff", "d7de7fa84"]], "identity_text": "Properly quote subscription names in pg_createsubscriber (Nathan Bossart) The given subscription name was inserted into SQL commands without quoting, so that SQL injection could be achieved in the (perhaps unlikely) case that the subscription name comes from an untrusted source. The PostgreSQL Project thanks Yu Kunpeng for reporting this problem. (CVE-2026-6476)", "commit_aliases": ["c2e44c370", "d389415ff", "d7de7fa84"], "source_commits": ["c2e44c370"], "source_entry_id": "18.4/changes/003", "db_id": "eda2bad4600ad30b4d662076df8c2604", "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27", "relations": [{"rule": 2, "type": "equivalent", "target": "c1016302d421112d19c9bbb963270941", "evidence": {"same_day": true, "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c1016302d421112d19c9bbb963270941", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 pg_createsubscriber 中正确为订阅名称加引号", "evidence": {"same_day": true, "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27"}, "url": "/docs/compare/?release=17.10#17.10-927543ba721f9720", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-a09de455386cd30a", "cves": ["CVE-2026-6638"], "html": "<p>在逻辑复制源检查中正确引用对象名称（Pavel Kohout）<a href=\"https://postgr.es/c/cb35d7306\">§</a></p>\n<p><code>ALTER SUBSCRIPTION ... REFRESH PUBLICATION</code> 将模式名和关系名未经引用就插入到 SQL 命令中，从而允许在发布者上执行任意 SQL。</p>\n<p><span>PostgreSQL</span> 项目感谢 Pavel Kohout 报告此问题。（CVE-2026-6638）</p>", "text": "在逻辑复制源检查中正确引用对象名称（Pavel Kohout）§ ALTER SUBSCRIPTION ... REFRESH PUBLICATION 将模式名和关系名未经引用就插入到 SQL 命令中，从而允许在发布者上执行任意 SQL。 PostgreSQL 项目感谢 Pavel Kohout 报告此问题。（CVE-2026-6638）", "title": "在逻辑复制源检查中正确引用对象名称", "commits": ["cb35d7306"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c82b2de372a07bda2f6f26acdea7a434159414051129759fc5db1e843d3db9d1", "section_path": ["变更"], "commit_groups": [["248a433cd", "46b4f5c11", "cb35d7306", "f0f59b658"]], "identity_text": "Properly quote object names in logical replication origin checks (Pavel Kohout) ALTER SUBSCRIPTION ... REFRESH PUBLICATION interpolated schema and relation names into SQL commands without quoting them, allowing execution of arbitrary SQL on the publisher. The PostgreSQL Project thanks Pavel Kohout for reporting this problem. (CVE-2026-6638)", "commit_aliases": ["248a433cd", "46b4f5c11", "cb35d7306", "f0f59b658"], "source_commits": ["cb35d7306"], "source_entry_id": "18.4/changes/004", "db_id": "160fa6992f90d49b5edf0769aa32c248", "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743", "relations": [{"rule": 2, "type": "equivalent", "target": "6b9ad77c2d8c8cf7ed6c43c56746b015", "evidence": {"same_day": true, "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743"}}, {"rule": 2, "type": "equivalent", "target": "f75aecc1c0c865955094a916f7c78463", "evidence": {"same_day": true, "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "6b9ad77c2d8c8cf7ed6c43c56746b015", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在逻辑复制源检查中正确引用对象名称", "evidence": {"same_day": true, "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743"}, "url": "/docs/compare/?release=17.10#17.10-fdd0ba1867f4cdc1", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "f75aecc1c0c865955094a916f7c78463", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在逻辑复制源检查中正确引用对象名称", "evidence": {"same_day": true, "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743"}, "url": "/docs/compare/?release=16.14#16.14-de346e2ac011900c", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-2463210164fd4e42", "cves": ["CVE-2026-6473"], "html": "<p>拒绝 <code>ts_headline()</code> 中过长的选项（Michael Paquier）<a href=\"https://postgr.es/c/62ad26266\">§</a></p>\n<p><code>StartSel</code>、<code>StopSel</code> 和 <code>FragmentDelimiter</code> 字符串的长度不得超过 32Kb，但此前没有对此进行检查。过长的值通常会使服务器崩溃。</p>\n<p><span>PostgreSQL</span> 项目感谢 Xint Code 报告此问题。（CVE-2026-6473）</p>", "text": "拒绝 ts_headline() 中过长的选项（Michael Paquier）§ StartSel、StopSel 和 FragmentDelimiter 字符串的长度不得超过 32Kb，但此前没有对此进行检查。过长的值通常会使服务器崩溃。 PostgreSQL 项目感谢 Xint Code 报告此问题。（CVE-2026-6473）", "title": "拒绝 ts_headline() 中过长的选项", "commits": ["62ad26266"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "b56e9415b151349836349dbc81e45dce003139337b9aa8a7181363531af7f086", "section_path": ["变更"], "commit_groups": [["2d267ffc4", "3ed3dbbf4", "5919e0005", "62ad26266", "7fe365693", "d388e1d7f"]], "identity_text": "Reject over-length options in ts_headline() (Michael Paquier) The StartSel, StopSel and FragmentDelimiter strings must not exceed 32Kb in length, but this was not checked for. An over-length value would typically crash the server. The PostgreSQL Project thanks Xint Code for reporting this problem. (CVE-2026-6473)", "commit_aliases": ["2d267ffc4", "3ed3dbbf4", "5919e0005", "62ad26266", "7fe365693", "d388e1d7f"], "source_commits": ["62ad26266"], "source_entry_id": "18.4/changes/005", "db_id": "afe38bbdb09239daec9610fc4bf0002f", "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330", "relations": [{"rule": 2, "type": "equivalent", "target": "0d396ecb6f57179d943c76706100debf", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}}, {"rule": 2, "type": "equivalent", "target": "4e96017be5ce2c6f1d23bf476a962747", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}}, {"rule": 2, "type": "equivalent", "target": "c2a972753505f1b0a01bf236c883ccad", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}}, {"rule": 2, "type": "equivalent", "target": "ca39bd1c4d36eb3d5c6808cd66068408", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0d396ecb6f57179d943c76706100debf", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "拒绝 ts_headline() 中过长的选项", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}, "url": "/docs/compare/?release=17.10#17.10-b66b265350df29d2", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "4e96017be5ce2c6f1d23bf476a962747", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "拒绝 ts_headline() 中过长的选项", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}, "url": "/docs/compare/?release=16.14#16.14-d9ce899f638fe2e1", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "c2a972753505f1b0a01bf236c883ccad", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "拒绝 ts_headline() 中过长的选项", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}, "url": "/docs/compare/?release=15.18#15.18-c3608e796458d13b", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "ca39bd1c4d36eb3d5c6808cd66068408", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "拒绝 ts_headline() 中过长的选项", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}, "url": "/docs/compare/?release=14.23#14.23-c4c6b68f62616df1", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-b66bfac9ca625fe0", "cves": ["CVE-2026-6575"], "html": "<p>在恢复属性 MCV 统计信息时检测错误输入（Michael Paquier）<a href=\"https://postgr.es/c/661095c40\">§</a></p>\n<p>统计信息恢复函数在验证高频值统计信息时不够谨慎，会接受稍后可能导致规划器崩溃的值。</p>\n<p><span>PostgreSQL</span> 项目感谢 Jeroen Gui 报告此问题。（CVE-2026-6575）</p>", "text": "在恢复属性 MCV 统计信息时检测错误输入（Michael Paquier）§ 统计信息恢复函数在验证高频值统计信息时不够谨慎，会接受稍后可能导致规划器崩溃的值。 PostgreSQL 项目感谢 Jeroen Gui 报告此问题。（CVE-2026-6575）", "title": "在恢复属性 MCV 统计信息时检测错误输入", "commits": ["661095c40"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "2ed57c28e3aa4cbc7c04ba7942002bce58bb97ccc26a76547ddb32caf7c1ce65", "section_path": ["变更"], "commit_groups": [["661095c40", "6d6348f03"]], "identity_text": "Detect faulty input when restoring attribute MCV statistics (Michael Paquier) The statistics restore functions were insufficiently careful about validating most-common-value statistics, and would accept values that could crash the planner later on. The PostgreSQL Project thanks Jeroen Gui for reporting this problem. (CVE-2026-6575)", "commit_aliases": ["661095c40", "6d6348f03"], "source_commits": ["661095c40"], "source_entry_id": "18.4/changes/006", "db_id": "ce14ae2a212d2d178a6aba00d5dd585b", "patch_ids": ["14b76df22d84c41c9cd0c4bba781d01d"], "statement_hash": "d9012182ea9860adfbb2bc765d8e5b34569eadbd1aa9127209aa68e3c78fe1f0", "relations": [], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-3645e80ffc91fcb0", "cves": ["CVE-2026-6474"], "html": "<p>防范 <code>timeofday()</code> 和 <code>pg_strftime()</code> 中的恶意时区名（Tom Lane）<a href=\"https://postgr.es/c/ba27389c2\">§</a> <a href=\"https://postgr.es/c/c6e7a9ef3\">§</a></p>\n<p>精心构造的时区设置可能将 <code>%</code> 序列传递给 <code>snprintf()</code>，从而可能造成崩溃或泄露服务器内存。另一条导致类似结果的路径，是让 <code>pg_strftime()</code> 使用的固定大小输出缓冲区溢出。</p>\n<p><span>PostgreSQL</span> 项目感谢 Xint Code 报告此问题。（CVE-2026-6474）</p>", "text": "防范 timeofday() 和 pg_strftime() 中的恶意时区名（Tom Lane）§ § 精心构造的时区设置可能将 % 序列传递给 snprintf()，从而可能造成崩溃或泄露服务器内存。另一条导致类似结果的路径，是让 pg_strftime() 使用的固定大小输出缓冲区溢出。 PostgreSQL 项目感谢 Xint Code 报告此问题。（CVE-2026-6474）", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "commits": ["ba27389c2", "c6e7a9ef3"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "42e13a8c73d5ecbda4d68a436b303713cfb25440d6aff65d86f397133aaff833", "section_path": ["变更"], "commit_groups": [["126a236ba", "24e0e3254", "4197c880c", "76ab76f87", "a50ae8306", "ba27389c2"], ["2c8226f52", "79b7847c7", "a386d14fe", "c3fff3950", "c6e7a9ef3", "ec8ded4b3"]], "identity_text": "Guard against malicious time zone names in timeofday() and pg_strftime() (Tom Lane) A crafted time zone setting could pass % sequences to snprintf(), potentially causing crashes or disclosure of server memory. Another path to similar results was to overflow the limited-size output buffer used by pg_strftime(). The PostgreSQL Project thanks Xint Code for reporting this problem. (CVE-2026-6474)", "commit_aliases": ["126a236ba", "24e0e3254", "2c8226f52", "4197c880c", "76ab76f87", "79b7847c7", "a386d14fe", "a50ae8306", "ba27389c2", "c3fff3950", "c6e7a9ef3", "ec8ded4b3"], "source_commits": ["ba27389c2", "c6e7a9ef3"], "source_entry_id": "18.4/changes/007", "db_id": "2a60ebdc5466fdb8ded5b7dd70ff560e", "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806", "relations": [{"rule": 2, "type": "equivalent", "target": "4746c5c97c413c4b367427dcc53d74f9", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}}, {"rule": 2, "type": "equivalent", "target": "943c74b8816c45111e8f6f3e4682a426", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}}, {"rule": 2, "type": "equivalent", "target": "c35bb2a8a5d8d6153139912fa574f1be", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}}, {"rule": 2, "type": "equivalent", "target": "f0c61a3ee0b896c91466e00b431d94ba", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "943c74b8816c45111e8f6f3e4682a426", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}, "url": "/docs/compare/?release=17.10#17.10-f68835d296474e15", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "c35bb2a8a5d8d6153139912fa574f1be", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}, "url": "/docs/compare/?release=16.14#16.14-168ea3bfaefc6d61", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "f0c61a3ee0b896c91466e00b431d94ba", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}, "url": "/docs/compare/?release=15.18#15.18-f5ceddac85b73b26", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "4746c5c97c413c4b367427dcc53d74f9", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}, "url": "/docs/compare/?release=14.23#14.23-4b161a739a37e73b", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-5cd7cd57980a1193", "cves": ["CVE-2026-6472"], "html": "<p>创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 <code>CREATE</code> 权限（Jelte Fennema-Nio）<a href=\"https://postgr.es/c/a44780f41\">§</a></p>\n<p>多范围类型可以放入不同于其父范围类型的模式中，但此前在这样做时遗漏了必需的权限检查。</p>\n<p><span>PostgreSQL</span> 项目感谢 Jelte Fennema-Nio 报告此问题。（CVE-2026-6472）</p>", "text": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限（Jelte Fennema-Nio）§ 多范围类型可以放入不同于其父范围类型的模式中，但此前在这样做时遗漏了必需的权限检查。 PostgreSQL 项目感谢 Jelte Fennema-Nio 报告此问题。（CVE-2026-6472）", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "commits": ["a44780f41"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "d62318111e6c324435000f823b575ec7304c8e7d730a7361206b709d1236e1d4", "section_path": ["变更"], "commit_groups": [["08c397b02", "4793fc41f", "8bca85e9f", "a44780f41", "c27ba08cd", "d92852d62"]], "identity_text": "When creating a multirange type, ensure the user has CREATE privilege on the schema specified for the multirange type (Jelte Fennema-Nio) The multirange type can be put into a different schema than its parent range type, but we neglected to apply the required privilege check when doing so. The PostgreSQL Project thanks Jelte Fennema-Nio for reporting this problem. (CVE-2026-6472)", "commit_aliases": ["08c397b02", "4793fc41f", "8bca85e9f", "a44780f41", "c27ba08cd", "d92852d62"], "source_commits": ["a44780f41"], "source_entry_id": "18.4/changes/008", "db_id": "d9b882bba9a59b55e34aa99621e22473", "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd", "relations": [{"rule": 2, "type": "equivalent", "target": "482afe166c3411e42aa15c76ef043f3e", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}}, {"rule": 2, "type": "equivalent", "target": "65fdc90a340d7a6f096d34d54ccaf154", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}}, {"rule": 2, "type": "equivalent", "target": "8f0e03a85bb45cde24bbedf7f781a5d5", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}}, {"rule": 2, "type": "equivalent", "target": "c06039568f80f491221fd94687f0285e", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "482afe166c3411e42aa15c76ef043f3e", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}, "url": "/docs/compare/?release=17.10#17.10-7b894433ca4b5fde", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "65fdc90a340d7a6f096d34d54ccaf154", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}, "url": "/docs/compare/?release=16.14#16.14-c48a9f98e69b525d", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "8f0e03a85bb45cde24bbedf7f781a5d5", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}, "url": "/docs/compare/?release=15.18#15.18-5774e1af35e1add1", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "c06039568f80f491221fd94687f0285e", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}, "url": "/docs/compare/?release=14.23#14.23-9d3fa6790baf242e", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-81a3fe71f66e6eb4", "cves": ["CVE-2026-6478"], "html": "<p>在认证代码中使用时序安全的字符串比较（Michael Paquier）<a href=\"https://postgr.es/c/d93ef4131\">§</a></p>\n<p>在检查口令、hash 等值时，使用 <code>timingsafe_bcmp()</code> 而不是 <code>memcmp()</code> 或 <code>strcmp()</code>。尚不清楚这些函数的数据依赖性在这些位置是否真的可被有效利用，但为安全起见，将其替换。</p>\n<p><span>PostgreSQL</span> 项目感谢 Joe Conway 报告此问题。（CVE-2026-6478）</p>", "text": "在认证代码中使用时序安全的字符串比较（Michael Paquier）§ 在检查口令、hash 等值时，使用 timingsafe_bcmp() 而不是 memcmp() 或 strcmp()。尚不清楚这些函数的数据依赖性在这些位置是否真的可被有效利用，但为安全起见，将其替换。 PostgreSQL 项目感谢 Joe Conway 报告此问题。（CVE-2026-6478）", "title": "在认证代码中使用时序安全的字符串比较", "commits": ["d93ef4131"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "31ac0fd6ff577a6e44248a0cccbeba45ddd27760609e5b903596b279c704b45d", "section_path": ["变更"], "commit_groups": [["00e27235e", "4608619a1", "5924e256c", "c4e7435b3", "c95275f18", "d93ef4131"], ["1604939b2", "8e34acfda", "9dcfcb92f", "b282280e9"]], "identity_text": "Use timing-safe string comparisons in authentication code (Michael Paquier) Use timingsafe_bcmp() instead of memcmp() or strcmp() when checking passwords, hashes, etc. It is not known whether the data dependency of those functions is usefully exploitable in any of these places, but in the interests of safety, replace them. The PostgreSQL Project thanks Joe Conway for reporting this problem. (CVE-2026-6478)", "commit_aliases": ["00e27235e", "1604939b2", "4608619a1", "5924e256c", "8e34acfda", "9dcfcb92f", "b282280e9", "c4e7435b3", "c95275f18", "d93ef4131"], "source_commits": ["8e34acfda", "d93ef4131"], "source_entry_id": "18.4/changes/009", "db_id": "c468a98baa6993bf40cb569c73528c72", "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149", "relations": [{"rule": 2, "type": "equivalent", "target": "049d75b9e50ceb48ee3ba2c6a5d0f494", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}}, {"rule": 2, "type": "equivalent", "target": "0851fa23f0d4449b2336783af8c0b37f", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}}, {"rule": 2, "type": "equivalent", "target": "15b60135e3ecea3f472e4441792a26d0", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}}, {"rule": 2, "type": "equivalent", "target": "f4fc92fe7fa973d00f46d80cff768f2c", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f4fc92fe7fa973d00f46d80cff768f2c", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在认证代码中使用时序安全的字符串比较", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}, "url": "/docs/compare/?release=17.10#17.10-61c7a5bccb286bea", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "0851fa23f0d4449b2336783af8c0b37f", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在认证代码中使用时序安全的字符串比较", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}, "url": "/docs/compare/?release=16.14#16.14-827503d5fab7e32f", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "15b60135e3ecea3f472e4441792a26d0", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在认证代码中使用时序安全的字符串比较", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}, "url": "/docs/compare/?release=15.18#15.18-94e55aad3ebd8168", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "049d75b9e50ceb48ee3ba2c6a5d0f494", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在认证代码中使用时序安全的字符串比较", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}, "url": "/docs/compare/?release=14.23#14.23-cc5cacc93416a361", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-d46d3c9f5a15e9ff", "cves": ["CVE-2026-6477"], "html": "<p>将 <code>PQfn()</code> 标记为不安全，并避免在 <span>libpq</span> 内部使用它（Nathan Bossart）<a href=\"https://postgr.es/c/be0136440\">§</a></p>\n<p>对于非整数结果类型，<code>PQfn()</code> 不会获得输出缓冲区的大小，因此它无法检查服务器返回的数据能否放入缓冲区。恶意服务器因而可能覆盖客户端内存。若不改变 API 就无法修复这一点，所以将该函数标记为已废弃。在 <span>libpq</span> 内部，改用一个能够执行缺失检查的变体版本。</p>\n<p><span>PostgreSQL</span> 项目感谢 Yu Kunpeng 和 Martin Heistermann 报告此问题。（CVE-2026-6477）</p>", "text": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它（Nathan Bossart）§ 对于非整数结果类型，PQfn() 不会获得输出缓冲区的大小，因此它无法检查服务器返回的数据能否放入缓冲区。恶意服务器因而可能覆盖客户端内存。若不改变 API 就无法修复这一点，所以将该函数标记为已废弃。在 libpq 内部，改用一个能够执行缺失检查的变体版本。 PostgreSQL 项目感谢 Yu Kunpeng 和 Martin Heistermann 报告此问题。（CVE-2026-6477）", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "commits": ["be0136440"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7fc11295c46055a4824819e76fe0415c3ae41f7901858f49c5c1b096f57994a9", "section_path": ["变更"], "commit_groups": [["614474996", "8ac723b2b", "bd4811493", "be0136440", "d88c7be15", "e3a1f83ea"]], "identity_text": "Mark PQfn() as unsafe, and avoid using it within libpq (Nathan Bossart) For a non-integral result type, PQfn() is not passed the size of the output buffer, so it cannot check that the data returned by the server will fit. A malicious server could therefore overwrite client memory. This is unfixable without an API change, so mark the function as deprecated. Internally to libpq, use a variant version that can apply the missing check. The PostgreSQL Project thanks Yu Kunpeng and Martin Heistermann for reporting this problem. (CVE-2026-6477)", "commit_aliases": ["614474996", "8ac723b2b", "bd4811493", "be0136440", "d88c7be15", "e3a1f83ea"], "source_commits": ["be0136440"], "source_entry_id": "18.4/changes/010", "db_id": "847daceb397313a24d7c441b2b0558f1", "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b", "relations": [{"rule": 2, "type": "equivalent", "target": "4ab9970767b3ef4f9da60c3566967c2b", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}}, {"rule": 2, "type": "equivalent", "target": "5659c5fab9b3c23718775a073679d763", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}}, {"rule": 2, "type": "equivalent", "target": "954548c0ee471a5891175ee04e881030", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}}, {"rule": 2, "type": "equivalent", "target": "fcce310e332c33500cf3c168aae9bd79", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "5659c5fab9b3c23718775a073679d763", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}, "url": "/docs/compare/?release=17.10#17.10-a3a6ffe2e68f9c70", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "4ab9970767b3ef4f9da60c3566967c2b", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}, "url": "/docs/compare/?release=16.14#16.14-0f3817e9da4bdc58", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "fcce310e332c33500cf3c168aae9bd79", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}, "url": "/docs/compare/?release=15.18#15.18-aa006983b88ec66f", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "954548c0ee471a5891175ee04e881030", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}, "url": "/docs/compare/?release=14.23#14.23-0894c376482213b5", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-ad40fa4da3cebaa2", "cves": ["CVE-2026-6475"], "html": "<p>防止 <span>pg_basebackup</span> 和 <span>pg_rewind</span> 中的路径遍历（Michael Paquier）<a href=\"https://postgr.es/c/6a67c540a\">§</a></p>\n<p>这些应用未能验证从其输入中读取的输出文件路径，因而恶意来源可以覆盖这些应用可写的任意文件。通过拒绝绝对路径或包含父目录引用的路径，约束数据可以写入的位置。</p>\n<p><span>PostgreSQL</span> 项目感谢 Tencent Xuanwu Lab 的 XlabAI Team 和 Valery Gubanov 报告此问题。（CVE-2026-6475）</p>", "text": "防止 pg_basebackup 和 pg_rewind 中的路径遍历（Michael Paquier）§ 这些应用未能验证从其输入中读取的输出文件路径，因而恶意来源可以覆盖这些应用可写的任意文件。通过拒绝绝对路径或包含父目录引用的路径，约束数据可以写入的位置。 PostgreSQL 项目感谢 Tencent Xuanwu Lab 的 XlabAI Team 和 Valery Gubanov 报告此问题。（CVE-2026-6475）", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "commits": ["6a67c540a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "6bc165e3208c831cfd8f34eec3a461fc0569e52e0b5e8ba62286675169fa1d64", "section_path": ["变更"], "commit_groups": [["0c83fe8e4", "498829dca", "6778af13e", "6a67c540a", "8f881e188", "a1063eece"]], "identity_text": "Prevent path traversal in pg_basebackup and pg_rewind (Michael Paquier) These applications failed to validate output file paths read from their input, so that a malicious source could overwrite any file writable by these applications. Constrain where data can be written by rejecting paths that are absolute or contain parent-directory references. The PostgreSQL Project thanks XlabAI Team of Tencent Xuanwu Lab and Valery Gubanov for reporting this problem. (CVE-2026-6475)", "commit_aliases": ["0c83fe8e4", "498829dca", "6778af13e", "6a67c540a", "8f881e188", "a1063eece"], "source_commits": ["6a67c540a"], "source_entry_id": "18.4/changes/011", "db_id": "4327318e7057209dbe42b98400f9d4be", "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10", "relations": [{"rule": 2, "type": "equivalent", "target": "4bae8e6eba13d8b7f663721c981765fa", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}}, {"rule": 2, "type": "equivalent", "target": "5bc8c04625ad184faa480aea65f22c87", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}}, {"rule": 2, "type": "equivalent", "target": "869c70a85bc692a897810d4c6c2c8001", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}}, {"rule": 2, "type": "equivalent", "target": "a4a793034a07393a1194f5d901c7e563", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4bae8e6eba13d8b7f663721c981765fa", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}, "url": "/docs/compare/?release=17.10#17.10-91d502adb9e9905a", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "5bc8c04625ad184faa480aea65f22c87", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}, "url": "/docs/compare/?release=16.14#16.14-4c65f6e78638d7b8", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "a4a793034a07393a1194f5d901c7e563", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}, "url": "/docs/compare/?release=15.18#15.18-3178339f2560c1fe", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "869c70a85bc692a897810d4c6c2c8001", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}, "url": "/docs/compare/?release=14.23#14.23-1e7e9c27c7b963a2", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-2061b554e1b2edfa", "cves": ["CVE-2026-6473"], "html": "<p>防范 <code>contrib/intarray</code> 的 <code>query_int</code> 类型以及 <code>contrib/ltree</code> 的 <code>ltxtquery</code> 类型中的字段溢出（Tom Lane）<a href=\"https://postgr.es/c/c5790ec4f\">§</a> <a href=\"https://postgr.es/c/05e73b5c3\">§</a></p>\n<p>这些查询结构的解析没有检查 16 位字段溢出，因而可能构造出无效的查询树。执行该查询时，这可能使服务器崩溃。</p>\n<p><span>PostgreSQL</span> 项目感谢 Xint Code 报告此问题。（CVE-2026-6473）</p>", "text": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出（Tom Lane）§ § 这些查询结构的解析没有检查 16 位字段溢出，因而可能构造出无效的查询树。执行该查询时，这可能使服务器崩溃。 PostgreSQL 项目感谢 Xint Code 报告此问题。（CVE-2026-6473）", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "commits": ["05e73b5c3", "c5790ec4f"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c072da4c6c8e8d11286a2d5d62c06b65f9880c2bd66f39eebf44dfba434afe5b", "section_path": ["变更"], "commit_groups": [["05e73b5c3", "2b429d887", "479823a71", "6f0bff33d", "906ea101d", "fc1fd3d97"], ["074702525", "43451a7a2", "5c1069c35", "84a9f2641", "c4d04cc48", "c5790ec4f"]], "identity_text": "Guard against field overflow within contrib/intarray's query_int type and contrib/ltree's ltxtquery type (Tom Lane) Parsing of these query structures did not check for overflow of 16-bit fields, so that construction of an invalid query tree was possible. This can crash the server when executing the query. The PostgreSQL Project thanks Xint Code for reporting this problem. (CVE-2026-6473)", "commit_aliases": ["05e73b5c3", "074702525", "2b429d887", "43451a7a2", "479823a71", "5c1069c35", "6f0bff33d", "84a9f2641", "906ea101d", "c4d04cc48", "c5790ec4f", "fc1fd3d97"], "source_commits": ["05e73b5c3", "c5790ec4f"], "source_entry_id": "18.4/changes/012", "db_id": "9a6b47b64707d2aaa7ed6ba0484070e5", "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7", "relations": [{"rule": 2, "type": "equivalent", "target": "0423b242e381085c16cb62849b04525f", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}}, {"rule": 2, "type": "equivalent", "target": "2ad1fdfa4b929eb7b74591983f7fe071", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}}, {"rule": 2, "type": "equivalent", "target": "9f97314dd0efbba664c1f83e75fb5fa1", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}}, {"rule": 2, "type": "equivalent", "target": "d29898a37787b811ca1a66114dcaa530", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9f97314dd0efbba664c1f83e75fb5fa1", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}, "url": "/docs/compare/?release=17.10#17.10-992f2d3fb9146406", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "0423b242e381085c16cb62849b04525f", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}, "url": "/docs/compare/?release=16.14#16.14-21fce6af887a0371", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "2ad1fdfa4b929eb7b74591983f7fe071", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}, "url": "/docs/compare/?release=15.18#15.18-b4e159c1c3614019", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "d29898a37787b811ca1a66114dcaa530", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}, "url": "/docs/compare/?release=14.23#14.23-73b4c72ec19c85bf", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-eb36ae972f5e73e4", "cves": ["CVE-2026-6473"], "html": "<p>防范 <code>contrib/ltree</code> 的 <code>lquery</code> 类型中过长的值（Michael Paquier）<a href=\"https://postgr.es/c/7f019f341\">§</a></p>\n<p>包含超过 64K 个项的值会导致内部溢出，可能造成栈破坏或错误结果。</p>\n<p><span>PostgreSQL</span> 项目感谢 Vergissmeinnicht、A1ex 和 Jihe Wang 报告此问题。（CVE-2026-6473）</p>", "text": "防范 contrib/ltree 的 lquery 类型中过长的值（Michael Paquier）§ 包含超过 64K 个项的值会导致内部溢出，可能造成栈破坏或错误结果。 PostgreSQL 项目感谢 Vergissmeinnicht、A1ex 和 Jihe Wang 报告此问题。（CVE-2026-6473）", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "commits": ["7f019f341"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c636424e1165ad48a14eaeae8259fc21c63fc45076252ce264efb1a7fef87996", "section_path": ["变更"], "commit_groups": [["2f1b16e86", "6b6b26fde", "7f019f341", "8c3426110", "9c2fa5b6a", "b545c3787"]], "identity_text": "Guard against overly long values of contrib/ltree's lquery type (Michael Paquier) Values with more than 64K items caused internal overflows, potentially resulting in stack smashes or wrong answers. The PostgreSQL Project thanks Vergissmeinnicht, A1ex, and Jihe Wang for reporting this problem. (CVE-2026-6473)", "commit_aliases": ["2f1b16e86", "6b6b26fde", "7f019f341", "8c3426110", "9c2fa5b6a", "b545c3787"], "source_commits": ["7f019f341"], "source_entry_id": "18.4/changes/013", "db_id": "f1ea7b13a59ce4a556a97a665b13ddd9", "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1", "relations": [{"rule": 2, "type": "equivalent", "target": "6aa8f69f3021e6633c690bc4d069a359", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}}, {"rule": 2, "type": "equivalent", "target": "abd21d034ac90949aacffcced38f44c8", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}}, {"rule": 2, "type": "equivalent", "target": "b026af4117fde9e94388242432e381e0", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}}, {"rule": 2, "type": "equivalent", "target": "e57528b755cb641d030a2490a8ecb83e", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e57528b755cb641d030a2490a8ecb83e", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}, "url": "/docs/compare/?release=17.10#17.10-ac24cc16660e8737", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "6aa8f69f3021e6633c690bc4d069a359", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}, "url": "/docs/compare/?release=16.14#16.14-9f75dab6c6486a53", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "abd21d034ac90949aacffcced38f44c8", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}, "url": "/docs/compare/?release=15.18#15.18-f7162bdebe6fb249", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "b026af4117fde9e94388242432e381e0", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}, "url": "/docs/compare/?release=14.23#14.23-466881ae2d66f716", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-723bbbf2b375795c", "cves": ["CVE-2026-6637"], "html": "<p>防止 <code>contrib/spi</code> 中的 SQL 注入和缓冲区越界写（Nathan Bossart）<a href=\"https://postgr.es/c/1ebda7da9\">§</a></p>\n<p><code>check_foreign_key()</code> 在为键值加引号时不够谨慎，并且还使用固定长度缓冲区构造查询。虽然该模块只是作为示例代码，但仍然不应包含此类危险错误。</p>\n<p><span>PostgreSQL</span> 项目感谢 Nikolay Samokhvalov 报告此问题。（CVE-2026-6637）</p>", "text": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写（Nathan Bossart）§ check_foreign_key() 在为键值加引号时不够谨慎，并且还使用固定长度缓冲区构造查询。虽然该模块只是作为示例代码，但仍然不应包含此类危险错误。 PostgreSQL 项目感谢 Nikolay Samokhvalov 报告此问题。（CVE-2026-6637）", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "commits": ["1ebda7da9"], "section": "变更", "category": "security", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "d1e23fbdb69b2138879701aaf07def7e140aa1af21e7ee27298e304aed0ca7d2", "section_path": ["变更"], "commit_groups": [["1ebda7da9", "260e97733", "2b026df29", "2dc64ef28", "710995782", "8053235ab"]], "identity_text": "Prevent SQL injection and buffer overruns in contrib/spi (Nathan Bossart) check_foreign_key() was insufficiently careful about quoting key values, and also used fixed-length buffers for constructing queries. While this module is only meant as example code, it still shouldn't contain such dangerous errors. The PostgreSQL Project thanks Nikolay Samokhvalov for reporting this problem. (CVE-2026-6637)", "commit_aliases": ["1ebda7da9", "260e97733", "2b026df29", "2dc64ef28", "710995782", "8053235ab"], "source_commits": ["1ebda7da9"], "source_entry_id": "18.4/changes/014", "db_id": "7f0c9646c89bca074cd9e0bbd964087f", "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047", "relations": [{"rule": 2, "type": "equivalent", "target": "47e292139214a78fca35c140daf58270", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}}, {"rule": 2, "type": "equivalent", "target": "5c27c1f393abf9296bda616730209a61", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}}, {"rule": 2, "type": "equivalent", "target": "80646ad1b79ca8538cfec18dd2e574d7", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}}, {"rule": 2, "type": "equivalent", "target": "b9f0b8c87f7b233c50090282e467d8ed", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}}], "version": "18.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "80646ad1b79ca8538cfec18dd2e574d7", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}, "url": "/docs/compare/?release=17.10#17.10-24a0ab68af146f7d", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "47e292139214a78fca35c140daf58270", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}, "url": "/docs/compare/?release=16.14#16.14-5c04fa5074420944", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "5c27c1f393abf9296bda616730209a61", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}, "url": "/docs/compare/?release=15.18#15.18-9aab90e2decdd59b", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "b9f0b8c87f7b233c50090282e467d8ed", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}, "url": "/docs/compare/?release=14.23#14.23-6193d19850500f38", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-984de78400375246", "cves": [], "html": "<p>在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则（Richard Guo）<a href=\"https://postgr.es/c/e8fd5e579\">§</a> <a href=\"https://postgr.es/c/1132af22c\">§</a> <a href=\"https://postgr.es/c/5c214b58b\">§</a> <a href=\"https://postgr.es/c/b62f514ac\">§</a> <a href=\"https://postgr.es/c/bed3ffbf9\">§</a></p>\n<p>许多规划器优化都会假定，例如，如果 <code>x</code> 上存在唯一索引，则最多只有一个表行能满足 <code>WHERE x = 'abc'</code>。不过，如果该索引和 <code>WHERE</code> 子句附加了不同的排序规则，一般来说这个结论是不安全的。当两个排序规则都是确定性排序规则时这是安全的，因为该属性本质上要求两个字符串相等就意味着逐位相等。但非确定性排序规则并不如此，因此如果 <code>WHERE</code> 子句或索引任一方具有非确定性排序规则，基于唯一匹配假设进行优化就可能给出错误的查询结果。</p>", "text": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则（Richard Guo）§ § § § § 许多规划器优化都会假定，例如，如果 x 上存在唯一索引，则最多只有一个表行能满足 WHERE x = 'abc'。不过，如果该索引和 WHERE 子句附加了不同的排序规则，一般来说这个结论是不安全的。当两个排序规则都是确定性排序规则时这是安全的，因为该属性本质上要求两个字符串相等就意味着逐位相等。但非确定性排序规则并不如此，因此如果 WHERE 子句或索引任一方具有非确定性排序规则，基于唯一匹配假设进行优化就可能给出错误的查询结果。", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "commits": ["1132af22c", "5c214b58b", "b62f514ac", "bed3ffbf9", "e8fd5e579"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "2ccb980c9c51c9b8a35b8bc0df111406fcf95017c9c5aa3e0cdb7f0691db78d7", "section_path": ["变更"], "commit_groups": [["1132af22c", "ba82de48e"], ["13226050e", "172034f6e", "574581b50", "5a24cef08", "bab4f7fa5", "bed3ffbf9"], ["5a55ea507", "748fe9e60", "8395446df", "872c9fae7", "b62f514ac", "d0e73bb18"], ["5c214b58b", "a1b754558"], ["e8fd5e579", "f76686ce7"]], "identity_text": "Check for nondeterministic collations before assuming that an equality condition on a collatable type implies uniqueness (Richard Guo) Numerous planner optimizations assume that, for example, at most one table row can satisfy WHERE x = 'abc' if there is a unique index on x. However this conclusion is unsafe in general if the index and the WHERE clause have different collations attached. It is safe when both collations are deterministic, because that property essentially requires that equality of two strings means bitwise equality. But nondeterministic collations don't act that way, so that optimizing on the assumption of unique matches can give wrong query answers if either the WHERE clause or the index has a nondeterministic collation.", "commit_aliases": ["1132af22c", "13226050e", "172034f6e", "574581b50", "5a24cef08", "5a55ea507", "5c214b58b", "748fe9e60", "8395446df", "872c9fae7", "a1b754558", "b62f514ac", "ba82de48e", "bab4f7fa5", "bed3ffbf9", "d0e73bb18", "e8fd5e579", "f76686ce7"], "source_commits": ["1132af22c", "5c214b58b", "b62f514ac", "bed3ffbf9", "e8fd5e579"], "source_entry_id": "18.4/changes/015", "db_id": "ab7deff460d412d778fdd667ced2079e", "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f", "relations": [{"rule": 2, "type": "equivalent", "target": "01495853fe95f595fce2399c30d4c266", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}}, {"rule": 2, "type": "equivalent", "target": "14aca2f70b5d43150bf21abea06182b1", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}}, {"rule": 2, "type": "equivalent", "target": "be78fda4d4ae3aff51c46044542ecdd6", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}}, {"rule": 2, "type": "equivalent", "target": "c3e4bc289412c6b44dec384e088dc836", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "14aca2f70b5d43150bf21abea06182b1", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}, "url": "/docs/compare/?release=17.10#17.10-3d0256182db9ecf0", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "c3e4bc289412c6b44dec384e088dc836", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}, "url": "/docs/compare/?release=16.14#16.14-92fc9301e29135e9", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "be78fda4d4ae3aff51c46044542ecdd6", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}, "url": "/docs/compare/?release=15.18#15.18-9a769206edcfd043", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "01495853fe95f595fce2399c30d4c266", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}, "url": "/docs/compare/?release=14.23#14.23-d0c85a796825fa51", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-316d774d0290fc1b", "cves": [], "html": "<p>修复连接移除期间 <code>RestrictInfo</code> 结构体中关系引用移除不完整的问题（Tom Lane）<a href=\"https://postgr.es/c/16fb94605\">§</a></p>\n<p>已经证明这个疏忽会导致规划器失败，例如意外出现 <span>“<span>FULL JOIN is only supported with merge-joinable or hash-joinable join conditions</span>”</span> 错误。它还可能在其他情况下导致未能考虑有效的计划。</p>", "text": "修复连接移除期间 RestrictInfo 结构体中关系引用移除不完整的问题（Tom Lane）§ 已经证明这个疏忽会导致规划器失败，例如意外出现 “FULL JOIN is only supported with merge-joinable or hash-joinable join conditions” 错误。它还可能在其他情况下导致未能考虑有效的计划。", "title": "修复连接移除期间 RestrictInfo 结构体中关系引用移除不完整的问题", "commits": ["16fb94605"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7890a55f50302b7ca4e67825cbefbb79c5ca02ec380951e76604a48bda8c0624", "section_path": ["变更"], "commit_groups": [["16fb94605", "766d40286", "cfcd57111", "d509be4ac"], ["53cb4ec1d", "798dabe83", "f0ac6d494"]], "identity_text": "Fix incomplete removal of relation references in RestrictInfo structs during join removal (Tom Lane) This oversight has been shown to result in planner failures such as unexpected FULL JOIN is only supported with merge-joinable or hash-joinable join conditions errors. It may also have caused failure to consider valid plans in other cases.", "commit_aliases": ["16fb94605", "53cb4ec1d", "766d40286", "798dabe83", "cfcd57111", "d509be4ac", "f0ac6d494"], "source_commits": ["16fb94605", "f0ac6d494"], "source_entry_id": "18.4/changes/016", "db_id": "cbba3da86525413deddd8a183780866b", "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109", "relations": [{"rule": 2, "type": "equivalent", "target": "0a61b6485e0144413b6e68fbe7763a8f", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}}, {"rule": 2, "type": "equivalent", "target": "53d5de052cfe73ed3dbffe04ba42ff12", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0a61b6485e0144413b6e68fbe7763a8f", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复连接移除期间 RestrictInfo 结构体中关系引用移除不完整的问题", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}, "url": "/docs/compare/?release=17.10#17.10-d93df01ed01294f0", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "53d5de052cfe73ed3dbffe04ba42ff12", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复连接移除期间 RestrictInfo 结构体中关系引用移除不完整的问题", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}, "url": "/docs/compare/?release=16.14#16.14-f353d43afdeb3aa2", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-fcf247ac879d30ab", "cves": [], "html": "<p>改进规划器将分区键列匹配到子查询输出的逻辑（Richard Guo）<a href=\"https://postgr.es/c/8e8b2bef7\">§</a></p>\n<p>在将操作数与分区键比较之前，去除其中的无操作 PlaceHolderVar。此变更使分区剪枝在某些此前未能识别出无需扫描某个分区的情况下能够成功。</p>", "text": "改进规划器将分区键列匹配到子查询输出的逻辑（Richard Guo）§ 在将操作数与分区键比较之前，去除其中的无操作 PlaceHolderVar。此变更使分区剪枝在某些此前未能识别出无需扫描某个分区的情况下能够成功。", "title": "改进规划器将分区键列匹配到子查询输出的逻辑", "commits": ["8e8b2bef7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "04cfa65c27a90398206b1ff4221c2fa00dc5946461f9188c0da94f7471717161", "section_path": ["变更"], "commit_groups": [["8e8b2bef7", "c1408956e"]], "identity_text": "Improve planner's matching of partition key columns to sub-query outputs (Richard Guo) Strip no-op PlaceHolderVars from operands before comparing them to partition keys. This change enables partition pruning to succeed in some cases where it previously failed to recognize that a partition need not be scanned.", "commit_aliases": ["8e8b2bef7", "c1408956e"], "source_commits": ["8e8b2bef7"], "source_entry_id": "18.4/changes/017", "db_id": "43a62fc09aea76b18f3d3f019ecc7d49", "patch_ids": ["ddbca8eddff456bfa8f4cca750f65073"], "statement_hash": "d93745d6ff9d6631eb0626d27278a8e4a41b1ec44b9ae76802033575d6e229b5", "relations": [], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-7be51988e3e04ad1", "cves": [], "html": "<p>修复自连接移除，使其能够处理裸布尔列形式的连接子句，例如 <code>ON t1.boolcol</code>（Andrei Lepikhov, Tender Wang, Alexander Korotkov）<a href=\"https://postgr.es/c/e8b9d6497\">§</a></p>\n<p>以前这种情况会导致 <span>“<span>no relation entry for relid <em><code>N</code></em></span>”</span> 错误。</p>", "text": "修复自连接移除，使其能够处理裸布尔列形式的连接子句，例如 ON t1.boolcol（Andrei Lepikhov, Tender Wang, Alexander Korotkov）§ 以前这种情况会导致 “no relation entry for relid N” 错误。", "title": "修复自连接移除，使其能够处理裸布尔列形式的连接子句，例如 ON t1.boolcol", "commits": ["e8b9d6497"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "2fac75fa91378eb7633bd98dcbd88a8df9e733d521d2d434eac920e920c67264", "section_path": ["变更"], "commit_groups": [["07b7a964d", "e8b9d6497"]], "identity_text": "Fix self-join removal to handle join clauses that are bare boolean columns, e.g. ON t1.boolcol (Andrei Lepikhov, Tender Wang, Alexander Korotkov) Previously such a case led to a no relation entry for relid N error.", "commit_aliases": ["07b7a964d", "e8b9d6497"], "source_commits": ["e8b9d6497"], "source_entry_id": "18.4/changes/018", "db_id": "cd64c18c4400ba2e91f7b9a9fe576c95", "patch_ids": ["8838bdccbd267233e5836d34efe63bca"], "statement_hash": "6c534106629f4fee4301716f0637e75339e859c0041786eca50df72f28803a4a", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-1abd3ad38cf43108", "cves": [], "html": "<p>修复 <code>UPDATE/DELETE ... WHERE CURRENT OF</code>，使其可用于带有虚拟生成列的表（Satyanarayana Narlapuram, Dean Rasheed）<a href=\"https://postgr.es/c/f3d03fbd5\">§</a></p>", "text": "修复 UPDATE/DELETE ... WHERE CURRENT OF，使其可用于带有虚拟生成列的表（Satyanarayana Narlapuram, Dean Rasheed）§", "title": "修复 UPDATE/DELETE ... WHERE CURRENT OF，使其可用于带有虚拟生成列的表", "commits": ["f3d03fbd5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8851a234da2c4938b90db20b9cfc1794bc427c88ada73079206819a5129c705d", "section_path": ["变更"], "commit_groups": [["5548a969b", "f3d03fbd5"]], "identity_text": "Fix UPDATE/DELETE ... WHERE CURRENT OF to work on tables with virtual generated columns (Satyanarayana Narlapuram, Dean Rasheed)", "commit_aliases": ["5548a969b", "f3d03fbd5"], "source_commits": ["f3d03fbd5"], "source_entry_id": "18.4/changes/019", "db_id": "3f76215c13ea5064220f47e2c19cde4d", "patch_ids": ["2e93fe13908a3975c9028e49ebb12afd"], "statement_hash": "8255b67bf43bcabfa174f276d4479baa06674782acc81bdbc0db446661776080", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-e9b3c3a674a28f06", "cves": [], "html": "<p>修复 <code>INSERT ... ON CONFLICT</code> 中 <code>EXCLUDED</code> 列引用里的虚拟生成列展开问题（Satyanarayana Narlapuram, Dean Rasheed）<a href=\"https://postgr.es/c/cf38dedf6\">§</a></p>", "text": "修复 INSERT ... ON CONFLICT 中 EXCLUDED 列引用里的虚拟生成列展开问题（Satyanarayana Narlapuram, Dean Rasheed）§", "title": "修复 INSERT ... ON CONFLICT 中 EXCLUDED 列引用里的虚拟生成列展开问题", "commits": ["cf38dedf6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "be1a35672d14cacee410846ce4acaa5338fc0c0a71f139695ee8b9b3c161e9c1", "section_path": ["变更"], "commit_groups": [["783425175", "cf38dedf6"]], "identity_text": "Fix expansion of virtual generated columns in EXCLUDED column references in INSERT ... ON CONFLICT (Satyanarayana Narlapuram, Dean Rasheed)", "commit_aliases": ["783425175", "cf38dedf6"], "source_commits": ["cf38dedf6"], "source_entry_id": "18.4/changes/020", "db_id": "e00a8ab631baca6c94ae7f0c2f524e18", "patch_ids": ["96409b335e92e81a0ad7e9d07596457f"], "statement_hash": "3cd0fa9459302b604a5636b1271133e42985d8545e87063df0c7054409263afc", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-e3a990357e448509", "cves": [], "html": "<p>修正规则动作和规则限定条件中对 <code>NEW</code> 生成列的错误处理（Richard Guo，Dean Rasheed）<a href=\"https://postgr.es/c/e528bfe97\">§</a></p>\n<p>此前，在 <code>INSERT</code> 情况下，此类列引用会生成 NULL；在 <code>UPDATE</code> 情况下，则等同于 <code>OLD</code> 值。</p>", "text": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理（Richard Guo，Dean Rasheed）§ 此前，在 INSERT 情况下，此类列引用会生成 NULL；在 UPDATE 情况下，则等同于 OLD 值。", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "commits": ["e528bfe97"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "304f3b7a18486857e4eac015eeb283a4f5a0a477ff7ecf49fa3bf8bd19c82f21", "section_path": ["变更"], "commit_groups": [["07b257189", "7062bd577", "8e39951be", "9d6208939", "c6a79be3f", "e528bfe97"]], "identity_text": "Fix incorrect handling of NEW generated columns in rule actions and rule qualifications (Richard Guo, Dean Rasheed) Previously, such column references would produce NULL in INSERT cases, or be equivalent to the OLD value in UPDATE cases.", "commit_aliases": ["07b257189", "7062bd577", "8e39951be", "9d6208939", "c6a79be3f", "e528bfe97"], "source_commits": ["e528bfe97"], "source_entry_id": "18.4/changes/021", "db_id": "090655eebbd07936e4cb9d733f25b629", "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63", "relations": [{"rule": 2, "type": "equivalent", "target": "47046c8c15b5c7b8a2538a455bf90e7f", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}}, {"rule": 2, "type": "equivalent", "target": "8d80511e26d842f1435d2598f5f3bbaf", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}}, {"rule": 2, "type": "equivalent", "target": "924c81d81cc88aec8a63bf143f2a1b9d", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}}, {"rule": 2, "type": "equivalent", "target": "c8b55f6e2f83066024ceec0fb6fec616", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8d80511e26d842f1435d2598f5f3bbaf", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}, "url": "/docs/compare/?release=17.10#17.10-5a2d4121326fa353", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "c8b55f6e2f83066024ceec0fb6fec616", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}, "url": "/docs/compare/?release=16.14#16.14-06d72fdc65f84e98", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "924c81d81cc88aec8a63bf143f2a1b9d", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}, "url": "/docs/compare/?release=15.18#15.18-f1d7f68c812128b9", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "47046c8c15b5c7b8a2538a455bf90e7f", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}, "url": "/docs/compare/?release=14.23#14.23-29ba099a9a7800bb", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-61f1172fd1f6b603", "cves": [], "html": "<p>修复虚假的 <span>“<span>indexes on virtual generated columns are not supported</span>”</span> 错误（Robert Haas）<a href=\"https://postgr.es/c/cceb9c18a\">§</a></p>\n<p>创建表达式索引时有时会错误地报告此错误。</p>", "text": "修复虚假的 “indexes on virtual generated columns are not supported” 错误（Robert Haas）§ 创建表达式索引时有时会错误地报告此错误。", "title": "修复虚假的 “indexes on virtual generated columns are not supported” 错误", "commits": ["cceb9c18a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "e8ac75ceb5a337d641a8170260673923d297cef2ecbba9406f19e8a55ad0722a", "section_path": ["变更"], "commit_groups": [["570e2fcc0", "cceb9c18a"]], "identity_text": "Fix spurious indexes on virtual generated columns are not supported errors (Robert Haas) Creation of an expression index could sometimes incorrectly report this error.", "commit_aliases": ["570e2fcc0", "cceb9c18a"], "source_commits": ["cceb9c18a"], "source_entry_id": "18.4/changes/022", "db_id": "10809b505e53f4caa2198df75ce3f735", "patch_ids": ["bada2bc45007a3aca1d5b8712ebf2e04"], "statement_hash": "98a3d07fd5c51c5e159270aa6be7f88c123bf9cdcaacda474b4b39e5bc976e87", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-734d0400d44f5a3f", "cves": [], "html": "<p>修复虚假的 <span>“<span>generated columns are not supported in COPY FROM WHERE conditions</span>”</span> 错误（Tom Lane）<a href=\"https://postgr.es/c/11c2c0cc8\">§</a></p>\n<p>在 <code>COPY FROM WHERE</code> 条件中使用系统列时，有时会错误报告此错误。</p>", "text": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误（Tom Lane）§ 在 COPY FROM WHERE 条件中使用系统列时，有时会错误报告此错误。", "title": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误", "commits": ["11c2c0cc8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "3ded2519af91f618651841221f070506306f043b8ac6ff8592dec5231f982e50", "section_path": ["变更"], "commit_groups": [["07e833e3c", "11c2c0cc8", "3c7a6bbe6", "40fa04e7c", "681a91d29"]], "identity_text": "Fix spurious generated columns are not supported in COPY FROM WHERE conditions errors (Tom Lane) Use of a system column in a COPY FROM WHERE condition could sometimes incorrectly report this error.", "commit_aliases": ["07e833e3c", "11c2c0cc8", "3c7a6bbe6", "40fa04e7c", "681a91d29"], "source_commits": ["11c2c0cc8"], "source_entry_id": "18.4/changes/023", "db_id": "8f94a546a98010653153df93291c1daa", "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d", "relations": [{"rule": 2, "type": "equivalent", "target": "245fb332b7d69bd5dc49fa8d57502aa2", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}}, {"rule": 2, "type": "equivalent", "target": "440131012dd49c3c07164d3cb19f4dc4", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}}, {"rule": 2, "type": "equivalent", "target": "8df2189076f2cd8cbe00157fbb1a0189", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}}, {"rule": 2, "type": "equivalent", "target": "91f89865543bf2e44365694aaed7f1c5", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8df2189076f2cd8cbe00157fbb1a0189", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}, "url": "/docs/compare/?release=17.10#17.10-ff70dbd91aa208f5", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "91f89865543bf2e44365694aaed7f1c5", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}, "url": "/docs/compare/?release=16.14#16.14-2358fdc79d78a2e6", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "245fb332b7d69bd5dc49fa8d57502aa2", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}, "url": "/docs/compare/?release=15.18#15.18-f0eb1786f6b6386e", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "440131012dd49c3c07164d3cb19f4dc4", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复虚假的 “generated columns are not supported in COPY FROM WHERE conditions” 错误", "evidence": {"same_day": true, "patch_ids": ["ffbf1ec2eaa36c2627f1603a95fc907d"], "statement_hash": "d39bf8499a6b555306ab12d7b050ccd17449a702d3330d112766f10a63c6d66d"}, "url": "/docs/compare/?release=14.23#14.23-97a5c279600949a1", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-34de9da81adc1f79", "cves": [], "html": "<p>当 <code>MERGE</code> 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败（Tender Wang）<a href=\"https://postgr.es/c/13fab378e\">§</a></p>\n<p>此前，这类场景的行为与较低隔离级别中的行为相同。</p>", "text": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败（Tender Wang）§ 此前，这类场景的行为与较低隔离级别中的行为相同。", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "commits": ["13fab378e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8a02358aa03c1255369f0fa3de56d57dc1d5929292b77353d5fb36ce49a717a6", "section_path": ["变更"], "commit_groups": [["13fab378e", "177037341", "2dcac93c0", "8bfaae6fb", "f6e63d4b8"]], "identity_text": "Correctly report a serialization failure when MERGE encounters a concurrently-updated tuple in repeatable-read or serializable mode (Tender Wang) Previously, such cases behaved the same as in lower isolation levels.", "commit_aliases": ["13fab378e", "177037341", "2dcac93c0", "8bfaae6fb", "f6e63d4b8"], "source_commits": ["13fab378e"], "source_entry_id": "18.4/changes/024", "db_id": "bfb26a4ca22c86d79dfde428bbcc3c24", "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4", "relations": [{"rule": 2, "type": "equivalent", "target": "3f720165e3e8a599ba151cefd48b97e8", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}}, {"rule": 2, "type": "equivalent", "target": "6827747aec40694708ad07aebaf4d3c0", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}}, {"rule": 2, "type": "equivalent", "target": "f9969f9244f4ca14ba57359448274286", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f9969f9244f4ca14ba57359448274286", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}, "url": "/docs/compare/?release=17.10#17.10-7ae06d40b417bc3b", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "6827747aec40694708ad07aebaf4d3c0", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}, "url": "/docs/compare/?release=16.14#16.14-f98d5e856950c9e4", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "3f720165e3e8a599ba151cefd48b97e8", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}, "url": "/docs/compare/?release=15.18#15.18-7ceac60eaa54d492", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}]}, {"id": "18.4-da4a103ca5dfdddc", "cves": [], "html": "<p>修复源表包含已删除列时的 <code>CREATE TABLE ... LIKE ... INCLUDING STATISTICS</code>（Julien Tachoires）<a href=\"https://postgr.es/c/149c875fc\">§</a></p>\n<p>在这类情况下，扩展统计信息对象可能会被错误复制，或该命令可能给出错误的报错。</p>", "text": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS（Julien Tachoires）§ 在这类情况下，扩展统计信息对象可能会被错误复制，或该命令可能给出错误的报错。", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "commits": ["149c875fc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ea4e0ec26e93b0117e68bbc15ef5d3f14ae1a23e12f8b9de9a4092a49e7865a7", "section_path": ["变更"], "commit_groups": [["149c875fc", "6cf49e804", "76d15a7ee", "7bb519635", "81b56b47c", "a0104b447"]], "identity_text": "Fix CREATE TABLE ... LIKE ... INCLUDING STATISTICS for cases where the source table has dropped column(s) (Julien Tachoires) In such cases, extended statistics objects could be copied incorrectly, or the command could give an incorrect error.", "commit_aliases": ["149c875fc", "6cf49e804", "76d15a7ee", "7bb519635", "81b56b47c", "a0104b447"], "source_commits": ["149c875fc"], "source_entry_id": "18.4/changes/025", "db_id": "4b8420c7de509df1179d8ee1c1364ee6", "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62", "relations": [{"rule": 2, "type": "equivalent", "target": "259f6916a28a7dd3bbeb72cc130b41a9", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}}, {"rule": 2, "type": "equivalent", "target": "2e2724c6cc505b0329f5a78d83fd96cb", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}}, {"rule": 2, "type": "equivalent", "target": "d68baf1e5d412f66c44df3a681238123", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}}, {"rule": 2, "type": "equivalent", "target": "e7ce3c2946bfdef059fc3d3621ffd79d", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e7ce3c2946bfdef059fc3d3621ffd79d", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}, "url": "/docs/compare/?release=17.10#17.10-b893eef62a42d4d7", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "d68baf1e5d412f66c44df3a681238123", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}, "url": "/docs/compare/?release=16.14#16.14-659db987f4321cc2", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "259f6916a28a7dd3bbeb72cc130b41a9", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}, "url": "/docs/compare/?release=15.18#15.18-442a4e22f7b920a0", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "2e2724c6cc505b0329f5a78d83fd96cb", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}, "url": "/docs/compare/?release=14.23#14.23-8c2e835d537dac09", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-720217f77930b818", "cves": [], "html": "<p>允许 <code>ALTER INDEX ... ATTACH PARTITION</code> 在适当时将父索引标记为有效（Sami Imseih）<a href=\"https://postgr.es/c/5713ac248\">§</a></p>\n<p>存在一些边界情况：即使分区索引的所有叶子索引均有效，该分区索引仍可能保持被标记为无效。此变更提供了一种机制，使用户可以在不借助手工更新系统目录的情况下纠正这种情况。</p>", "text": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效（Sami Imseih）§ 存在一些边界情况：即使分区索引的所有叶子索引均有效，该分区索引仍可能保持被标记为无效。此变更提供了一种机制，使用户可以在不借助手工更新系统目录的情况下纠正这种情况。", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "commits": ["5713ac248"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c7fb37f05c0c507003df5df3db21d5e4b480562fdecf037cd46f08d0a5239949", "section_path": ["变更"], "commit_groups": [["0859000d0", "313355d68", "5713ac248", "9d3e094f1", "becf6d269", "d809b16d1"]], "identity_text": "Allow ALTER INDEX ... ATTACH PARTITION to mark the parent index valid if appropriate (Sami Imseih) There are edge cases in which a partitioned index might remain marked as invalid even when all its leaf indexes are valid. This change provides a mechanism whereby a user can correct such a situation without resorting to manual catalog updates.", "commit_aliases": ["0859000d0", "313355d68", "5713ac248", "9d3e094f1", "becf6d269", "d809b16d1"], "source_commits": ["5713ac248"], "source_entry_id": "18.4/changes/026", "db_id": "9efa82150808ee72d1b174825d7f47d3", "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5", "relations": [{"rule": 2, "type": "equivalent", "target": "15a0dfb907bce338c1244951e2379584", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}}, {"rule": 2, "type": "equivalent", "target": "3b47c18aac1b9d5d839c6ae4de3ae964", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}}, {"rule": 2, "type": "equivalent", "target": "73eae229fd96afa624d3ae9343724889", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}}, {"rule": 2, "type": "equivalent", "target": "ef8cca025501a2f559a921e005a2df3a", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "73eae229fd96afa624d3ae9343724889", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}, "url": "/docs/compare/?release=17.10#17.10-a232240e214fd3cc", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "3b47c18aac1b9d5d839c6ae4de3ae964", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}, "url": "/docs/compare/?release=16.14#16.14-afd48d79cce62769", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "15a0dfb907bce338c1244951e2379584", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}, "url": "/docs/compare/?release=15.18#15.18-216b3db2d84f9f35", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "ef8cca025501a2f559a921e005a2df3a", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}, "url": "/docs/compare/?release=14.23#14.23-eb7da046cd9a17ab", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-655416f730344aaf", "cves": [], "html": "<p>修复 <code>ALTER TABLE ... SET NOT NULL</code>，使其只在完成目录更改后才调用对象访问钩子函数（Artur Zakirov）<a href=\"https://postgr.es/c/6958077ce\">§</a></p>", "text": "修复 ALTER TABLE ... SET NOT NULL，使其只在完成目录更改后才调用对象访问钩子函数（Artur Zakirov）§", "title": "修复 ALTER TABLE ... SET NOT NULL，使其只在完成目录更改后才调用对象访问钩子函数", "commits": ["6958077ce"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "2343653094cbe32fe9406267b47d59179b0533c48ae6b3228174ab1fccea3b2d", "section_path": ["变更"], "commit_groups": [["6958077ce", "e7975f1c0"]], "identity_text": "Fix ALTER TABLE ... SET NOT NULL to invoke object-access hook functions only after completing the catalog change (Artur Zakirov)", "commit_aliases": ["6958077ce", "e7975f1c0"], "source_commits": ["6958077ce"], "source_entry_id": "18.4/changes/027", "db_id": "43d9f06131caf2ef064630aca69efdf9", "patch_ids": ["990e77b758464c6ca9482318179aabfa"], "statement_hash": "ff18dd9e4aa149d33d3c8c705b416cef35c9189351368c8e7cca71a867b80ceb", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-58699ca9b2eb6554", "cves": [], "html": "<p>修复 <code>ALTER FOREIGN DATA WRAPPER</code>，使其不要删除包装器对象对其处理器函数的依赖（Jeff Davis）<a href=\"https://postgr.es/c/c11f87b1a\">§</a></p>", "text": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖（Jeff Davis）§", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "commits": ["c11f87b1a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "eac770e06525f8446d703396de4d9a5ab15d9341327a5268ff67c532a250c968", "section_path": ["变更"], "commit_groups": [["3a35ab1d0", "703fee3b2", "876fa84a2", "a19edb66a", "c11f87b1a", "c6f369e58"]], "identity_text": "Fix ALTER FOREIGN DATA WRAPPER to not drop the wrapper object's dependency on its handler function (Jeff Davis)", "commit_aliases": ["3a35ab1d0", "703fee3b2", "876fa84a2", "a19edb66a", "c11f87b1a", "c6f369e58"], "source_commits": ["c11f87b1a"], "source_entry_id": "18.4/changes/028", "db_id": "36e2e07d71e68b4283223f19d2984e7c", "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6", "relations": [{"rule": 2, "type": "equivalent", "target": "40f08757d4fdd0da278e5767f13b1a9d", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}}, {"rule": 2, "type": "equivalent", "target": "44fad7589f9dabcb24fd01bc1b9f0ef9", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}}, {"rule": 2, "type": "equivalent", "target": "b31bf5bb21c7900491a09645d594ea7f", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}}, {"rule": 2, "type": "equivalent", "target": "f47e2288275d1a173744e2f85b16ba59", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "40f08757d4fdd0da278e5767f13b1a9d", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}, "url": "/docs/compare/?release=17.10#17.10-c4bb8ccc29a46458", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "44fad7589f9dabcb24fd01bc1b9f0ef9", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}, "url": "/docs/compare/?release=16.14#16.14-7bc648cad1956f2b", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "f47e2288275d1a173744e2f85b16ba59", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}, "url": "/docs/compare/?release=15.18#15.18-fe342cfc5fa5e736", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "b31bf5bb21c7900491a09645d594ea7f", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}, "url": "/docs/compare/?release=14.23#14.23-7c81b1eb4ce06e8a", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-757e8def6f28d551", "cves": [], "html": "<p>修复外键触发器的可延迟性丢失问题（Yasuo Honda）<a href=\"https://postgr.es/c/5db5e3396\">§</a></p>\n<p>以前，定义为 <code>DEFERRABLE INITIALLY DEFERRED</code> 的外键，在被设置为 <code>NOT ENFORCED</code> 状态再改回 <code>ENFORCED</code> 后，会表现得像 <code>NOT DEFERRABLE</code>。</p>\n<p>如果你有受此问题影响的外键，可以在安装本次更新后，再次将其设置为 <code>NOT ENFORCED</code>，然后改回 <code>ENFORCED</code> 来修复。</p>", "text": "修复外键触发器的可延迟性丢失问题（Yasuo Honda）§ 以前，定义为 DEFERRABLE INITIALLY DEFERRED 的外键，在被设置为 NOT ENFORCED 状态再改回 ENFORCED 后，会表现得像 NOT DEFERRABLE。 如果你有受此问题影响的外键，可以在安装本次更新后，再次将其设置为 NOT ENFORCED，然后改回 ENFORCED 来修复。", "title": "修复外键触发器的可延迟性丢失问题", "commits": ["5db5e3396"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "3ec02fd26d09bc6bfdbfe84c8fa62b365d06ee44c8304dd7574747870153dd2c", "section_path": ["变更"], "commit_groups": [["2497dac55", "5db5e3396"]], "identity_text": "Fix loss of deferrability of foreign-key triggers (Yasuo Honda) Previously, a foreign key defined as DEFERRABLE INITIALLY DEFERRED would behave as NOT DEFERRABLE after being set to NOT ENFORCED status and then back to ENFORCED. If you have a foreign key with this problem, it can be repaired (after installing this update) by again setting it to NOT ENFORCED and then back to ENFORCED.", "commit_aliases": ["2497dac55", "5db5e3396"], "source_commits": ["5db5e3396"], "source_entry_id": "18.4/changes/029", "db_id": "a7d8bafa2e67763a273d0c70d25876b1", "patch_ids": ["a8b6899ab6bee4e9606c8611a5125b62"], "statement_hash": "448682b444cc8d8e557814b1258bf854a09a519e4a50147eb30083b336d17345", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-14749769518877d7", "cves": [], "html": "<p>修复 <code>WITHOUT OVERLAPS</code> 以允许域（Jian He）<a href=\"https://postgr.es/c/49f3cb453\">§</a></p>\n<p><code>UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS</code> 要求无重叠列是范围或多范围，但它也应允许基于这类类型的域。</p>", "text": "修复 WITHOUT OVERLAPS 以允许域（Jian He）§ UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS 要求无重叠列是范围或多范围，但它也应允许基于这类类型的域。", "title": "修复 WITHOUT OVERLAPS 以允许域", "commits": ["49f3cb453"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "5d736c6b9e17ace81f0e08e079ab89be5c2ec52f36404d213fd068342c662670", "section_path": ["变更"], "commit_groups": [["49f3cb453", "4edd6036d"]], "identity_text": "Fix WITHOUT OVERLAPS to allow domains (Jian He) UNIQUE/PRIMARY KEY ... WITHOUT OVERLAPS requires the no-overlap column to be a range or multirange, but it should allow a domain over such a type too.", "commit_aliases": ["49f3cb453", "4edd6036d"], "source_commits": ["49f3cb453"], "source_entry_id": "18.4/changes/030", "db_id": "7d6269513e48aefe9bdc3b0584b31529", "patch_ids": ["3fdf3834e29b4ddc0a9e5f011d5c8e13"], "statement_hash": "5c1cebbc5d901be819d5086acd99b9d83c7842859f6297a3e039acd57d9e78ee", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-ccc5811ee220170a", "cves": [], "html": "<p>不允许复合类型通过多范围成为自身的成员（Heikki Linnakangas）<a href=\"https://postgr.es/c/ff8f27d6e\">§</a></p>\n<p>当中间类型是域、数组、复合类型或范围时，我们已经禁止此类情况；但此前遗漏了多范围。</p>", "text": "不允许复合类型通过多范围成为自身的成员（Heikki Linnakangas）§ 当中间类型是域、数组、复合类型或范围时，我们已经禁止此类情况；但此前遗漏了多范围。", "title": "不允许复合类型通过多范围成为自身的成员", "commits": ["ff8f27d6e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8cc04a190a027ed7f7331686746174c2996429342f086de4aa3471e8450824e3", "section_path": ["变更"], "commit_groups": [["06e304524", "34ebeb15c", "54343f6f9", "c7a1d5fc6", "dd4069197", "ff8f27d6e"]], "identity_text": "Disallow making a composite type be a member of itself via a multirange (Heikki Linnakangas) We already forbade such cases when the intermediate type is a domain, array, composite type, or range; but multiranges were overlooked.", "commit_aliases": ["06e304524", "34ebeb15c", "54343f6f9", "c7a1d5fc6", "dd4069197", "ff8f27d6e"], "source_commits": ["ff8f27d6e"], "source_entry_id": "18.4/changes/031", "db_id": "e65839c47b604979321948f58b376888", "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2", "relations": [{"rule": 2, "type": "equivalent", "target": "aaf1253e3301e7ce01966fdecb2168ff", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}, {"rule": 2, "type": "equivalent", "target": "db27ce7162c0f5f66e5e36b2b4394be0", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}, {"rule": 2, "type": "equivalent", "target": "dbfa0390a811562580299aed6addef7f", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}, {"rule": 2, "type": "equivalent", "target": "e0d6011d1ad1750ec99d7b452609aa5c", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "dbfa0390a811562580299aed6addef7f", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "不允许复合类型通过多范围成为自身的成员", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}, "url": "/docs/compare/?release=17.10#17.10-a17faaa60c3b23db", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "aaf1253e3301e7ce01966fdecb2168ff", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "不允许复合类型通过多范围成为自身的成员", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}, "url": "/docs/compare/?release=16.14#16.14-320b63dd288d6613", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "db27ce7162c0f5f66e5e36b2b4394be0", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "不允许复合类型通过多范围成为自身的成员", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}, "url": "/docs/compare/?release=15.18#15.18-1b434ad500a69006", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "e0d6011d1ad1750ec99d7b452609aa5c", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "不允许复合类型通过多范围成为自身的成员", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}, "url": "/docs/compare/?release=14.23#14.23-50453b6dffac196c", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-4ed3df97c772ff79", "cves": [], "html": "<p>修复 Datum 镜像比较，使其不受符号扩展差异影响（David Rowley）<a href=\"https://postgr.es/c/49315de0c\">§</a></p>\n<p>这修复了一些此前会导致 <span>“<span>could not find memoization table entry</span>”</span> 错误或错误查询结果的情况。</p>", "text": "修复 Datum 镜像比较，使其不受符号扩展差异影响（David Rowley）§ 这修复了一些此前会导致 “could not find memoization table entry” 错误或错误查询结果的情况。", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "commits": ["49315de0c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "3de832ddc8bf78b6182f0e1711d3c5ff5baade94f5f8eb4f9d6771b78542be2a", "section_path": ["变更"], "commit_groups": [["0d866282b", "1bd90c887", "49315de0c", "6b2e091f0", "6ce5c310b", "d29808e35"]], "identity_text": "Fix datum-image comparisons to be insensitive to sign-extension variations (David Rowley) This fixes some situations that previously led to could not find memoization table entry errors or wrong query results.", "commit_aliases": ["0d866282b", "1bd90c887", "49315de0c", "6b2e091f0", "6ce5c310b", "d29808e35"], "source_commits": ["49315de0c"], "source_entry_id": "18.4/changes/032", "db_id": "c5c180d0b102c66e23f3e5c67497661a", "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a", "relations": [{"rule": 2, "type": "equivalent", "target": "5cabc37ab2a14b9bb0980c3ed400e023", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}}, {"rule": 2, "type": "equivalent", "target": "6de901a8850aaba4f6cb4f60757fd10b", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}}, {"rule": 2, "type": "equivalent", "target": "e186e88d722a03078d4189e25842fa12", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}}, {"rule": 2, "type": "equivalent", "target": "f9a962dc778922758842bad523e4e935", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f9a962dc778922758842bad523e4e935", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}, "url": "/docs/compare/?release=17.10#17.10-0fb5ea65c461a113", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "e186e88d722a03078d4189e25842fa12", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}, "url": "/docs/compare/?release=16.14#16.14-8586f1e2f65191db", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "6de901a8850aaba4f6cb4f60757fd10b", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}, "url": "/docs/compare/?release=15.18#15.18-35c4133cc110d098", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "5cabc37ab2a14b9bb0980c3ed400e023", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}, "url": "/docs/compare/?release=14.23#14.23-92e44334a5563e50", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-e5344bf8a6d35197", "cves": [], "html": "<p>修复带非严格等值操作符的 hash <code>IN</code>/<code>NOT IN</code> 的错误逻辑（Chengpeng Yan）<a href=\"https://postgr.es/c/035c520db\">§</a></p>\n<p>此前的代码可能崩溃或给出错误结果。所有内置数据类型都有严格的等值操作符，因此此问题只可能出现在扩展数据类型上。</p>", "text": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑（Chengpeng Yan）§ 此前的代码可能崩溃或给出错误结果。所有内置数据类型都有严格的等值操作符，因此此问题只可能出现在扩展数据类型上。", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "commits": ["035c520db"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ffb794be9437535a124258dc5a5a3054bb11a3db6230d2021690f0e0220a79e0", "section_path": ["变更"], "commit_groups": [["035c520db", "109de35b7", "3fda3e12f", "622f8b530", "94219a73f", "a2a0060d5"]], "identity_text": "Fix incorrect logic for hashed IN/NOT IN with non-strict equality operator (Chengpeng Yan) The previous coding could crash or give wrong answers. All built-in data types have strict equality operators, so that this issue could only arise with an extension data type.", "commit_aliases": ["035c520db", "109de35b7", "3fda3e12f", "622f8b530", "94219a73f", "a2a0060d5"], "source_commits": ["035c520db"], "source_entry_id": "18.4/changes/033", "db_id": "d1a95a788ffc450fd8a8b393d2c3e55d", "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d", "relations": [{"rule": 2, "type": "equivalent", "target": "2a86497013a318262f46769723449b63", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}, {"rule": 2, "type": "equivalent", "target": "450e4329b437178c4c67084a2ce52024", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}, {"rule": 2, "type": "equivalent", "target": "6a9e4a1d32172e81ee680d6f0342ca63", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}, {"rule": 2, "type": "equivalent", "target": "c26aa4cfe9a48bc8f6b4f3924802efa7", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6a9e4a1d32172e81ee680d6f0342ca63", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}, "url": "/docs/compare/?release=17.10#17.10-c7e5a864f1920ba5", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "c26aa4cfe9a48bc8f6b4f3924802efa7", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}, "url": "/docs/compare/?release=16.14#16.14-0eb4bde24f0d6fca", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "450e4329b437178c4c67084a2ce52024", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}, "url": "/docs/compare/?release=15.18#15.18-60c7c179902fa568", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "2a86497013a318262f46769723449b63", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}, "url": "/docs/compare/?release=14.23#14.23-7486ce91b98a0959", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-695d3a73d2ecfb3e", "cves": [], "html": "<p>在 <code>to_char()</code> 中截断过长的区域设置相关数字符号（Tom Lane）<a href=\"https://postgr.es/c/580e7be88\">§</a></p>\n<p>如果某个区域设置指定了长度超过 8 字节的货币符号、千位分隔符、小数符号或正负号符号，就可能出现缓冲区越界写。现实世界中不存在这样的区域设置，而且非特权攻击者也不太可能在 Postgres 服务器下安装恶意区域设置定义；但为安全起见，检查过长符号并在需要时截断。</p>", "text": "在 to_char() 中截断过长的区域设置相关数字符号（Tom Lane）§ 如果某个区域设置指定了长度超过 8 字节的货币符号、千位分隔符、小数符号或正负号符号，就可能出现缓冲区越界写。现实世界中不存在这样的区域设置，而且非特权攻击者也不太可能在 Postgres 服务器下安装恶意区域设置定义；但为安全起见，检查过长符号并在需要时截断。", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "commits": ["580e7be88"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "70eb34f88d8f608012378c0560ddedc3d3a33faefc96ac07099ec4ab95e051f1", "section_path": ["变更"], "commit_groups": [["580e7be88", "8a6f08c0c", "a50777680", "c97a28618", "e1e60f148", "f60d25986"]], "identity_text": "Truncate overly-long locale-specific numeric symbols in to_char() (Tom Lane) If a locale specified a currency symbol, thousands separator, or decimal or sign symbol more than 8 bytes long, a buffer overrun was possible. No such locales exist in the real world, and it's impractical for an unprivileged attacker to install a malicious locale definition underneath a Postgres server; but for safety's sake check for overlength symbols and truncate if needed.", "commit_aliases": ["580e7be88", "8a6f08c0c", "a50777680", "c97a28618", "e1e60f148", "f60d25986"], "source_commits": ["580e7be88"], "source_entry_id": "18.4/changes/034", "db_id": "606d4464f34532059b31083c8d4b85db", "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0", "relations": [{"rule": 2, "type": "equivalent", "target": "07daab7dbccbfcc34db05980b3a74098", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}}, {"rule": 2, "type": "equivalent", "target": "29acc0aac3cc6b0ee03ac19b4559887d", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}}, {"rule": 2, "type": "equivalent", "target": "7477baaf42cc60c640f8610e0225343b", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}}, {"rule": 2, "type": "equivalent", "target": "da89f430482b72634ad3d2f296bb5a93", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "07daab7dbccbfcc34db05980b3a74098", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}, "url": "/docs/compare/?release=17.10#17.10-ead7a4370e3d50c0", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "7477baaf42cc60c640f8610e0225343b", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}, "url": "/docs/compare/?release=16.14#16.14-eda4c756b58b4a86", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "29acc0aac3cc6b0ee03ac19b4559887d", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}, "url": "/docs/compare/?release=15.18#15.18-d044032a493dc642", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "da89f430482b72634ad3d2f296bb5a93", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}, "url": "/docs/compare/?release=14.23#14.23-a905b9ca587d8842", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-e6587b3cd0787b2e", "cves": [], "html": "<p>防止解析 <code>Ispell</code> 字典的词缀文件时发生缓冲区越界写（Tom Lane）<a href=\"https://postgr.es/c/00c6e0819\">§</a> <a href=\"https://postgr.es/c/c2bfeb3bb\">§</a></p>\n<p>损坏或恶意的词缀文件可能使服务器崩溃。这不被视为安全问题，因为文本检索配置文件被假定为可信，但仍然值得修复。</p>", "text": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写（Tom Lane）§ § 损坏或恶意的词缀文件可能使服务器崩溃。这不被视为安全问题，因为文本检索配置文件被假定为可信，但仍然值得修复。", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "commits": ["00c6e0819", "c2bfeb3bb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "26b8c98f5f285541175bbe791e9adc08dd729f507c8744e2c34ae51d9dfb43ea", "section_path": ["变更"], "commit_groups": [["00c6e0819", "0b196d3db", "21a24d709", "42383d32d", "d7970e7e9", "ea5f0d176"], ["17f72e037", "6cae0c2bd", "844bb90d4", "a5426dbf8", "c2bfeb3bb", "f852c9093"]], "identity_text": "Prevent buffer overruns when parsing an affix file for an Ispell dictionary (Tom Lane) A corrupt or malicious affix file could crash the server. This is not considered a security issue because text search configuration files are presumed trustworthy, but it still seems worth fixing.", "commit_aliases": ["00c6e0819", "0b196d3db", "17f72e037", "21a24d709", "42383d32d", "6cae0c2bd", "844bb90d4", "a5426dbf8", "c2bfeb3bb", "d7970e7e9", "ea5f0d176", "f852c9093"], "source_commits": ["00c6e0819", "c2bfeb3bb"], "source_entry_id": "18.4/changes/035", "db_id": "12f322f4feb75f55804ad196b114a9d6", "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8", "relations": [{"rule": 2, "type": "equivalent", "target": "2b5095497f4832976becc4b644155c51", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}}, {"rule": 2, "type": "equivalent", "target": "5f8b6d695a4f9576cfb99b263e2e4ff7", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}}, {"rule": 2, "type": "equivalent", "target": "cd403cd225ef88fed48df9f593dd683b", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}}, {"rule": 2, "type": "equivalent", "target": "f2129c1b029d4e186640295ff2fd808d", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b5095497f4832976becc4b644155c51", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}, "url": "/docs/compare/?release=17.10#17.10-666b81e0c79b2b28", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "cd403cd225ef88fed48df9f593dd683b", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}, "url": "/docs/compare/?release=16.14#16.14-0a0d8d6349e3929d", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "5f8b6d695a4f9576cfb99b263e2e4ff7", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}, "url": "/docs/compare/?release=15.18#15.18-87e3f08b5312ecda", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "f2129c1b029d4e186640295ff2fd808d", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}, "url": "/docs/compare/?release=14.23#14.23-1446a031fd4414f4", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-e679f36c64f131bf", "cves": [], "html": "<p>防范窗口聚合的帧起始和结束位置计算中的整数溢出（Richard Guo）<a href=\"https://postgr.es/c/bfc7dff26\">§</a></p>\n<p>用户指定的极大偏移量（接近 INT64_MAX）可能导致错误或错误的查询结果。</p>", "text": "防范窗口聚合的帧起始和结束位置计算中的整数溢出（Richard Guo）§ 用户指定的极大偏移量（接近 INT64_MAX）可能导致错误或错误的查询结果。", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "commits": ["bfc7dff26"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7cc0adb14be7a94e57f2517573a111a3e3ebe1c324a0215381ea483c66ba2a2b", "section_path": ["变更"], "commit_groups": [["0fe032e6a", "305cf0df0", "4da71fc37", "8b6c89e37", "bfc7dff26", "f8736f8bc"]], "identity_text": "Guard against integer overflow in calculations of frame start and end positions for window aggregates (Richard Guo) Very large user-specified offsets (close to INT64_MAX) could result in errors or incorrect query results.", "commit_aliases": ["0fe032e6a", "305cf0df0", "4da71fc37", "8b6c89e37", "bfc7dff26", "f8736f8bc"], "source_commits": ["bfc7dff26"], "source_entry_id": "18.4/changes/036", "db_id": "511c913495519e0301f1fb895b89e0e3", "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544", "relations": [{"rule": 2, "type": "equivalent", "target": "8ad5f4df6d3f1b7115577a0c720eb3e0", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}}, {"rule": 2, "type": "equivalent", "target": "9a742821f3f95e4a90a5c8c342890d50", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}}, {"rule": 2, "type": "equivalent", "target": "cac7bd4fb899dfb735baa61da9c859ec", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}}, {"rule": 2, "type": "equivalent", "target": "f1cd95144d4553602b7e2fbfe36961ad", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f1cd95144d4553602b7e2fbfe36961ad", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}, "url": "/docs/compare/?release=17.10#17.10-9cc0aae20d353dbd", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "9a742821f3f95e4a90a5c8c342890d50", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}, "url": "/docs/compare/?release=16.14#16.14-ed110186d7aac633", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "8ad5f4df6d3f1b7115577a0c720eb3e0", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}, "url": "/docs/compare/?release=15.18#15.18-41f6cd511e262ba3", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "cac7bd4fb899dfb735baa61da9c859ec", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}, "url": "/docs/compare/?release=14.23#14.23-170736a74064aa19", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-468cc4bcd201b1ba", "cves": [], "html": "<p>修复 <code>array_agg_array_combine()</code>，使其正确组合数组的空值位图（Dmytro Astapov）<a href=\"https://postgr.es/c/14bf2c39e\">§</a></p>\n<p>此错误导致并行化的 <code>array_agg(anyarray)</code> 计算有时产生不正确输出。</p>", "text": "修复 array_agg_array_combine()，使其正确组合数组的空值位图（Dmytro Astapov）§ 此错误导致并行化的 array_agg(anyarray) 计算有时产生不正确输出。", "title": "修复 array_agg_array_combine()，使其正确组合数组的空值位图", "commits": ["14bf2c39e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "f70440a1b0650303bc8248e82662915b1205d9d43392aa926cc38e81d547dafd", "section_path": ["变更"], "commit_groups": [["14bf2c39e", "6582010c8", "bb959269e", "d6c9432cb"]], "identity_text": "Fix array_agg_array_combine() to combine the arrays' null bitmaps correctly (Dmytro Astapov) This mistake resulted in sometimes-incorrect output from parallelized array_agg(anyarray) calculations.", "commit_aliases": ["14bf2c39e", "6582010c8", "bb959269e", "d6c9432cb"], "source_commits": ["14bf2c39e"], "source_entry_id": "18.4/changes/037", "db_id": "723a8eeb14f51a9627e04c54cff2c321", "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04", "relations": [{"rule": 2, "type": "equivalent", "target": "0e5d5bedebe61a4b8b996f87006ba93b", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}}, {"rule": 2, "type": "equivalent", "target": "a8336f214d5ae7c6da31f007fe97cf91", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a8336f214d5ae7c6da31f007fe97cf91", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 array_agg_array_combine()，使其正确组合数组的空值位图", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}, "url": "/docs/compare/?release=17.10#17.10-62d51a1802de9407", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "0e5d5bedebe61a4b8b996f87006ba93b", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 array_agg_array_combine()，使其正确组合数组的空值位图", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}, "url": "/docs/compare/?release=16.14#16.14-1a064ff9422dee0d", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-6abb19c703f2cc3c", "cves": [], "html": "<p>如果 <code>sync_file_range()</code> 返回错误码 <code>EINTR</code>，则进行重试（DaeMyung Kang）<a href=\"https://postgr.es/c/6cb307251\">§</a></p>", "text": "如果 sync_file_range() 返回错误码 EINTR，则进行重试（DaeMyung Kang）§", "title": "如果 sync_file_range() 返回错误码 EINTR，则进行重试", "commits": ["6cb307251"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ee9d1c2a9ea475f67bffa117fae0e8b302f29be5558460fa04d6f83f4d0207a5", "section_path": ["变更"], "commit_groups": [["3b35c10a4", "5499be332", "5941e7f09", "6cb307251"]], "identity_text": "Retry sync_file_range() if it returns error code EINTR (DaeMyung Kang)", "commit_aliases": ["3b35c10a4", "5499be332", "5941e7f09", "6cb307251"], "source_commits": ["6cb307251"], "source_entry_id": "18.4/changes/038", "db_id": "7fde099d3089697de30b435de5e86e2c", "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225", "relations": [{"rule": 2, "type": "equivalent", "target": "263733ae017f01e103baa9c76806929c", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}}, {"rule": 2, "type": "equivalent", "target": "2d88dc837a682f6290290ff2f8ed8b78", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "263733ae017f01e103baa9c76806929c", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "如果 sync_file_range() 返回错误码 EINTR，则进行重试", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}, "url": "/docs/compare/?release=17.10#17.10-9fc5c83ef66b127c", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "2d88dc837a682f6290290ff2f8ed8b78", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "如果 sync_file_range() 返回错误码 EINTR，则进行重试", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}, "url": "/docs/compare/?release=16.14#16.14-2f6b9e0e1667c471", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-58b13d376507a808", "cves": [], "html": "<p>修复 <code>pg_stat_reset_single_table_counters()</code> 在共享系统目录上的错误行为（Chao Li）<a href=\"https://postgr.es/c/b081c5b07\">§</a></p>\n<p>这类场景会产生重置当前数据库的 <code>stat_reset_timestamp</code> 的副作用，而这不是有意的。</p>", "text": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为（Chao Li）§ 这类场景会产生重置当前数据库的 stat_reset_timestamp 的副作用，而这不是有意的。", "title": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为", "commits": ["b081c5b07"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "842f38ccff2eac6c788b7628a6eeaa37293ee99c0a37875902dca665146126b5", "section_path": ["变更"], "commit_groups": [["80156cee0", "a4fefb3e0", "b081c5b07", "c6d3f0585", "c7cdcbd3e"]], "identity_text": "Fix incorrect behavior of pg_stat_reset_single_table_counters() on a shared catalog (Chao Li) Such cases had a side-effect of resetting the current database's stat_reset_timestamp, which was unintended.", "commit_aliases": ["80156cee0", "a4fefb3e0", "b081c5b07", "c6d3f0585", "c7cdcbd3e"], "source_commits": ["b081c5b07"], "source_entry_id": "18.4/changes/039", "db_id": "388698576be55b507a9b7abb256a6450", "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467", "relations": [{"rule": 2, "type": "equivalent", "target": "09d4f3d68a99c0eb46beb34f51959dbd", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}}, {"rule": 2, "type": "equivalent", "target": "6e037b0ab13babc0a57068f559d9947e", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}}, {"rule": 2, "type": "equivalent", "target": "78582be8ad9510fda737b311e1159d46", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "78582be8ad9510fda737b311e1159d46", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}, "url": "/docs/compare/?release=17.10#17.10-8b259c7f97a0d7e9", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "6e037b0ab13babc0a57068f559d9947e", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}, "url": "/docs/compare/?release=16.14#16.14-26884dfd6ebea54e", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "09d4f3d68a99c0eb46beb34f51959dbd", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}, "url": "/docs/compare/?release=15.18#15.18-aab21cd0a2fb21de", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}]}, {"id": "18.4-c51eded9a9ad369c", "cves": [], "html": "<p>当并行应用工作进程空闲时更新活动统计信息（Zhijie Hou）<a href=\"https://postgr.es/c/44c8dc280\">§</a></p>\n<p>以前，刚完成事务的统计信息可能长时间不被报告，尤其在工作负载较轻时。</p>", "text": "当并行应用工作进程空闲时更新活动统计信息（Zhijie Hou）§ 以前，刚完成事务的统计信息可能长时间不被报告，尤其在工作负载较轻时。", "title": "当并行应用工作进程空闲时更新活动统计信息", "commits": ["44c8dc280"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "0f38a0c7b2916f63a17b15949ea31d283036437e30490f8550f9eee25b66836c", "section_path": ["变更"], "commit_groups": [["090c4297e", "44c8dc280", "88d7fdcc9", "d052f6c7d"]], "identity_text": "Update activity statistics when a parallel apply worker is idle (Zhijie Hou) Previously, statistics from a recently-completed transaction might go unreported for long intervals, particularly if the workload is light.", "commit_aliases": ["090c4297e", "44c8dc280", "88d7fdcc9", "d052f6c7d"], "source_commits": ["44c8dc280"], "source_entry_id": "18.4/changes/040", "db_id": "980b17cc0e380660feb5723048978d0c", "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0", "relations": [{"rule": 2, "type": "equivalent", "target": "677b87203fcf8da98790d6378484a333", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}}, {"rule": 2, "type": "equivalent", "target": "96a3e2b2d17bbc2072d29a84e39fe9f0", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "96a3e2b2d17bbc2072d29a84e39fe9f0", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "当并行应用工作进程空闲时更新活动统计信息", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}, "url": "/docs/compare/?release=17.10#17.10-ab22f7a64370fbd6", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "677b87203fcf8da98790d6378484a333", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "当并行应用工作进程空闲时更新活动统计信息", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}, "url": "/docs/compare/?release=16.14#16.14-46ffad47336d7f40", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-9a9061bf537ff043", "cves": [], "html": "<p>修复集合操作中估算数组长度时出现的 <span>“<span>no relation entry for relid 0</span>”</span> 失败（Tender Wang）<a href=\"https://postgr.es/c/13e20d1c9\">§</a></p>", "text": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败（Tender Wang）§", "title": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败", "commits": ["13e20d1c9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ecd4d9794c67edfc061e72cc6ae874e0b3d09d0e7aae0513148948a05a1926a2", "section_path": ["变更"], "commit_groups": [["13e20d1c9", "77d0e82e5", "93ed18720"]], "identity_text": "Fix no relation entry for relid 0 failure while estimating array lengths in set operations (Tender Wang)", "commit_aliases": ["13e20d1c9", "77d0e82e5", "93ed18720"], "source_commits": ["13e20d1c9"], "source_entry_id": "18.4/changes/041", "db_id": "8b93ba333f257971520839fdfb923dc8", "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67", "relations": [{"rule": 2, "type": "equivalent", "target": "767acd748e88add4e0b136661b09348d", "evidence": {"same_day": true, "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "767acd748e88add4e0b136661b09348d", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败", "evidence": {"same_day": true, "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67"}, "url": "/docs/compare/?release=17.10#17.10-b34c916fe548b623", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-1b7a6be51f8649d8", "cves": [], "html": "<p>修复 <code>pglz_decompress()</code> 接收损坏输入时的缓冲区越界读问题（Andrew Dunstan）<a href=\"https://postgr.es/c/c3e436b1c\">§</a></p>\n<p>此前可能读取输入末尾之后的几个字节，在极其不走运的情况下可能导致崩溃。</p>", "text": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题（Andrew Dunstan）§ 此前可能读取输入末尾之后的几个字节，在极其不走运的情况下可能导致崩溃。", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "commits": ["c3e436b1c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "2622fb1e0384f9134f8addee155a77c817d66d712d29b1d6e4192715763b3594", "section_path": ["变更"], "commit_groups": [["2b5ba2a0a", "c05c3baf1", "c3e436b1c", "c88ad3a21", "de32a01e7", "e630f65d0"]], "identity_text": "Fix buffer overread when pglz_decompress() receives corrupt input (Andrew Dunstan) It was possible to read a few bytes past the end of the input, which in very unlucky cases might cause a crash.", "commit_aliases": ["2b5ba2a0a", "c05c3baf1", "c3e436b1c", "c88ad3a21", "de32a01e7", "e630f65d0"], "source_commits": ["c3e436b1c"], "source_entry_id": "18.4/changes/042", "db_id": "0ae0f8c53b17ca5f253bbab76a0d9b74", "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d", "relations": [{"rule": 2, "type": "equivalent", "target": "31b4e32fc9a04113a1aeaa4d2e794a7e", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}}, {"rule": 2, "type": "equivalent", "target": "7d77c3cf4d2df5b2b05bab302e7d6447", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}}, {"rule": 2, "type": "equivalent", "target": "8f0710244d42d6ab314f2ef4a78fa91d", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}}, {"rule": 2, "type": "equivalent", "target": "f313199e743d40f3a6df92ac0387bcfa", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7d77c3cf4d2df5b2b05bab302e7d6447", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}, "url": "/docs/compare/?release=17.10#17.10-fc2a0ba457a12efa", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "f313199e743d40f3a6df92ac0387bcfa", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}, "url": "/docs/compare/?release=16.14#16.14-43db7f38ffec18ea", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "8f0710244d42d6ab314f2ef4a78fa91d", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}, "url": "/docs/compare/?release=15.18#15.18-e99de70478646f68", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "31b4e32fc9a04113a1aeaa4d2e794a7e", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}, "url": "/docs/compare/?release=14.23#14.23-a9f0074e1ae26260", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-dd2acc7c0ea39340", "cves": [], "html": "<p>修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理（Andrew Dunstan）<a href=\"https://postgr.es/c/3e4955630\">§</a></p>\n<p>过去可能接受格式不正确的数字，导致后续失败。</p>", "text": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理（Andrew Dunstan）§ 过去可能接受格式不正确的数字，导致后续失败。", "title": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理", "commits": ["3e4955630"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7f354a831bb7d2c88088a9e7dbc4aedf98fa61903915939d634cc0d68b63f18c", "section_path": ["变更"], "commit_groups": [["2478bd5db", "2e373785e", "3e4955630"]], "identity_text": "Fix incremental JSON parser's handling of numeric tokens that cross input buffer boundaries (Andrew Dunstan) It was possible to accept an incorrectly-formatted number, leading to failures later.", "commit_aliases": ["2478bd5db", "2e373785e", "3e4955630"], "source_commits": ["3e4955630"], "source_entry_id": "18.4/changes/043", "db_id": "19c77cbe8cf7f7f6073b8df365b35790", "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463", "relations": [{"rule": 2, "type": "equivalent", "target": "56aacc58e4b3c19869652bc7bccc257f", "evidence": {"same_day": true, "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "56aacc58e4b3c19869652bc7bccc257f", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理", "evidence": {"same_day": true, "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463"}, "url": "/docs/compare/?release=17.10#17.10-4d205143d096f8a7", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-7eaea7144baecfd7", "cves": [], "html": "<p>防止恢复增量备份时关系可见性映射膨胀（Robert Haas）<a href=\"https://postgr.es/c/9540c0e5d\">§</a></p>\n<p>由于错误计算预期文件长度，恢复可能向可见性映射追加许多零块。这不会导致数据损坏，但可能浪费大量磁盘空间。</p>", "text": "防止恢复增量备份时关系可见性映射膨胀（Robert Haas）§ 由于错误计算预期文件长度，恢复可能向可见性映射追加许多零块。这不会导致数据损坏，但可能浪费大量磁盘空间。", "title": "防止恢复增量备份时关系可见性映射膨胀", "commits": ["9540c0e5d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "a2095c132a2c13d2446246bda6509150086aa1af77f74a38e9c9a8a7a9001a44", "section_path": ["变更"], "commit_groups": [["076bc57fa", "9540c0e5d", "ffc226ab6"]], "identity_text": "Prevent bloating relation visibility maps during restore of an incremental backup (Robert Haas) Restore could append many blocks of zeroes to a visibility map, due to incorrect computation of the expected file length. This does not result in data corruption, but it could waste a substantial amount of disk space.", "commit_aliases": ["076bc57fa", "9540c0e5d", "ffc226ab6"], "source_commits": ["9540c0e5d"], "source_entry_id": "18.4/changes/044", "db_id": "53b7f65c3e08f9341b47945f095569e8", "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2", "relations": [{"rule": 2, "type": "equivalent", "target": "8d78dd5d30d4094d87fbfc3de7307fc9", "evidence": {"same_day": true, "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8d78dd5d30d4094d87fbfc3de7307fc9", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止恢复增量备份时关系可见性映射膨胀", "evidence": {"same_day": true, "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2"}, "url": "/docs/compare/?release=17.10#17.10-1a6869f33820ce4a", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-3a216fc3a56d1f2e", "cves": [], "html": "<p>在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则（Jeff Davis）<a href=\"https://postgr.es/c/03c4f243e\">§</a></p>\n<p>这避免了某些边缘场景中的失败，例如物理复制启动时没有已确定的数据库，因而无法确定默认排序规则。</p>", "text": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则（Jeff Davis）§ 这避免了某些边缘场景中的失败，例如物理复制启动时没有已确定的数据库，因而无法确定默认排序规则。", "title": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则", "commits": ["03c4f243e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ca6290e5a73104a965da328f8ab392537a5d88f2b104870bd144639e79684eee", "section_path": ["变更"], "commit_groups": [["03c4f243e", "9dda30dd3", "dbf217c1c"]], "identity_text": "Use C collation, not the database's default collation, in catalog cache lookups on text columns (Jeff Davis) This avoids failures in edge cases such as physical replication startup, where there is no identified database so that a default collation cannot be determined.", "commit_aliases": ["03c4f243e", "9dda30dd3", "dbf217c1c"], "source_commits": ["03c4f243e"], "source_entry_id": "18.4/changes/045", "db_id": "eedc842000f52b63d80fc16df2a3a7fa", "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f", "relations": [{"rule": 2, "type": "equivalent", "target": "b4e242e2dfdaddd1a84c10f08ab6fdb6", "evidence": {"same_day": true, "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b4e242e2dfdaddd1a84c10f08ab6fdb6", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则", "evidence": {"same_day": true, "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f"}, "url": "/docs/compare/?release=17.10#17.10-a4c0aebef3a26164", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-401593c891e36279", "cves": [], "html": "<p>防止卡住的 slotsync 工作进程阻塞备库提升（Nisha Moond、Ajin Cherian）<a href=\"https://postgr.es/c/58c1188a3\">§</a> <a href=\"https://postgr.es/c/acf49bfed\">§</a> <a href=\"https://postgr.es/c/94efd308b\">§</a></p>\n<p>一个徒劳等待主库响应的工作进程，会让提升延迟一段不合理的时间。</p>", "text": "防止卡住的 slotsync 工作进程阻塞备库提升（Nisha Moond、Ajin Cherian）§ § § 一个徒劳等待主库响应的工作进程，会让提升延迟一段不合理的时间。", "title": "防止卡住的 slotsync 工作进程阻塞备库提升", "commits": ["58c1188a3", "94efd308b", "acf49bfed"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "aaebffec95e506635382bd0e94196d1f16aaf5d2ac954c07ff39f53f2221a160", "section_path": ["变更"], "commit_groups": [["1362bc33e", "4bed04d39", "94efd308b"], ["15910b1c3", "58c1188a3", "db93032a7"], ["586f4266f", "acf49bfed"]], "identity_text": "Prevent stuck slotsync worker processes from blocking promotion of a standby server (Nisha Moond, Ajin Cherian) A worker process that was vainly waiting for a response from the primary would delay promotion for an unreasonable amount of time.", "commit_aliases": ["1362bc33e", "15910b1c3", "4bed04d39", "586f4266f", "58c1188a3", "94efd308b", "acf49bfed", "db93032a7"], "source_commits": ["58c1188a3", "94efd308b", "acf49bfed"], "source_entry_id": "18.4/changes/046", "db_id": "e197fe7e68af6fc16360be64080650fb", "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509", "relations": [{"rule": 2, "type": "equivalent", "target": "299696a41fbafef0ba66bb25a5daba56", "evidence": {"same_day": true, "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "299696a41fbafef0ba66bb25a5daba56", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止卡住的 slotsync 工作进程阻塞备库提升", "evidence": {"same_day": true, "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509"}, "url": "/docs/compare/?release=17.10#17.10-f9ca5e51b9e70665", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-59479740d5b1c42c", "cves": [], "html": "<p>修复空闲 slotsync 工作进程产生过多日志输出的问题（Zhijie Hou）<a href=\"https://postgr.es/c/540fe8fb5\">§</a></p>", "text": "修复空闲 slotsync 工作进程产生过多日志输出的问题（Zhijie Hou）§", "title": "修复空闲 slotsync 工作进程产生过多日志输出的问题", "commits": ["540fe8fb5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "56513a1c633ce8a47b2cb0bde6139eca65a3e5251dbaeea476d9f7cd3c3265ca", "section_path": ["变更"], "commit_groups": [["540fe8fb5", "85c17f612", "91741b7cb"]], "identity_text": "Fix excessive log output from idle slotsync worker processes (Zhijie Hou)", "commit_aliases": ["540fe8fb5", "85c17f612", "91741b7cb"], "source_commits": ["540fe8fb5"], "source_entry_id": "18.4/changes/047", "db_id": "695bd513323417fe3250f7a82dc60ff8", "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4", "relations": [{"rule": 2, "type": "equivalent", "target": "823fb36d471b0ef6060bc9363c89e12c", "evidence": {"same_day": true, "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "823fb36d471b0ef6060bc9363c89e12c", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复空闲 slotsync 工作进程产生过多日志输出的问题", "evidence": {"same_day": true, "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4"}, "url": "/docs/compare/?release=17.10#17.10-f979cb3196409f3b", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-2024d132beedef06", "cves": [], "html": "<p>确保即使发生错误后，tuplestore 数据结构在内部也保持一致（Tom Lane）<a href=\"https://postgr.es/c/adb7873bb\">§</a></p>\n<p>此前代码对此不够谨慎，这在大多数时候没有问题，但对于支撑 <code>WITH HOLD</code> 游标的 tuplestore 则有问题。在 v15 及更早版本中，这会导致容易重现的崩溃；目前尚不知道较新分支是否易受影响，但最好在所有分支中保持一致性。</p>", "text": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致（Tom Lane）§ 此前代码对此不够谨慎，这在大多数时候没有问题，但对于支撑 WITH HOLD 游标的 tuplestore 则有问题。在 v15 及更早版本中，这会导致容易重现的崩溃；目前尚不知道较新分支是否易受影响，但最好在所有分支中保持一致性。", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "commits": ["adb7873bb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "5bdc06715aff25d6288e43807c49e045e2800e2d74a17dbcb33513012e39cf63", "section_path": ["变更"], "commit_groups": [["1f5b6a5e5", "59c139d53", "739477345", "7cd23aad2", "811f3263a", "adb7873bb"]], "identity_text": "Ensure that tuplestore data structures are internally consistent even after an error (Tom Lane) The code was previously careless about this, which is fine most of the time but is problematic for the tuplestore backing a WITH HOLD cursor. In v15 and before this leads to easily-reproducible crashes; later branches are not known to be vulnerable, but it seems best to preserve consistency in all.", "commit_aliases": ["1f5b6a5e5", "59c139d53", "739477345", "7cd23aad2", "811f3263a", "adb7873bb"], "source_commits": ["adb7873bb"], "source_entry_id": "18.4/changes/048", "db_id": "22646346c25b1d7d6643cd61087c0609", "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3", "relations": [{"rule": 2, "type": "equivalent", "target": "4bce4b0b77897bdec13cc979f743e388", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}}, {"rule": 2, "type": "equivalent", "target": "7a6f561d7317700ce105d1b02cced73b", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}}, {"rule": 2, "type": "equivalent", "target": "7ecc452c7ec1d9dbb53c7da2da6ff0fb", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}}, {"rule": 2, "type": "equivalent", "target": "b3f61452eefb1fe329d018b311fb82a7", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3f61452eefb1fe329d018b311fb82a7", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}, "url": "/docs/compare/?release=17.10#17.10-c10485892a0cc1b6", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "7ecc452c7ec1d9dbb53c7da2da6ff0fb", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}, "url": "/docs/compare/?release=16.14#16.14-aae90f52ee7bf039", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "7a6f561d7317700ce105d1b02cced73b", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}, "url": "/docs/compare/?release=15.18#15.18-b60e6a9d5bee1be5", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "4bce4b0b77897bdec13cc979f743e388", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}, "url": "/docs/compare/?release=14.23#14.23-5ea1dd55be87debe", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-31b8f4fb84eb2442", "cves": [], "html": "<p>让 <code>pg_aios</code> 系统视图的 <code>pid</code> 列在条目没有所属进程时显示 NULL 而不是 0（ChangAo Chen）<a href=\"https://postgr.es/c/882bdcf9f\">§</a></p>", "text": "让 pg_aios 系统视图的 pid 列在条目没有所属进程时显示 NULL 而不是 0（ChangAo Chen）§", "title": "让 pg_aios 系统视图的 pid 列在条目没有所属进程时显示 NULL 而不是 0", "commits": ["882bdcf9f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "053f0c15c56221d792a8bc6e819e078c37d06ffcd6fad01b4d7eba8bf23036fc", "section_path": ["变更"], "commit_groups": [["882bdcf9f", "93b76db0a"]], "identity_text": "Make the pg_aios system view's pid column show NULL not 0 when an entry has no owning process (ChangAo Chen)", "commit_aliases": ["882bdcf9f", "93b76db0a"], "source_commits": ["882bdcf9f"], "source_entry_id": "18.4/changes/049", "db_id": "39dad3fa894462363882bb2d00c79508", "patch_ids": ["8ca5fe936a75e5b38c4cfccb843dddc3"], "statement_hash": "cc6f01a65e56c6feb082e44429011c8c3b0dd89109143b4ab80e997a56f5cd89", "relations": [], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-8789ffc8666b33f9", "cves": [], "html": "<p>修复 <code>pg_stat_replication</code> 中过早报告 NULL 延迟的问题（Shinya Kato）<a href=\"https://postgr.es/c/98e96e579\">§</a></p>\n<p>即使复制活动正在发生，延迟列也经常读作 NULL。</p>", "text": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题（Shinya Kato）§ 即使复制活动正在发生，延迟列也经常读作 NULL。", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "commits": ["98e96e579"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "eaaba4794adf71b00e0e8b48b6411961a27dddf2c7f6f550898554fd54f50dad", "section_path": ["变更"], "commit_groups": [["246c296f0", "98e96e579", "bf7ecf353", "eef1ba704", "f42105001", "fdce5de55"]], "identity_text": "Fix premature NULL lag reporting in pg_stat_replication (Shinya Kato) The lag columns frequently read as NULL even while replication activity was happening.", "commit_aliases": ["246c296f0", "98e96e579", "bf7ecf353", "eef1ba704", "f42105001", "fdce5de55"], "source_commits": ["98e96e579"], "source_entry_id": "18.4/changes/050", "db_id": "bf6218705be170d40b881423fbe0391f", "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920", "relations": [{"rule": 2, "type": "equivalent", "target": "5851dbb38f0eb77c8633d934a8c81fbc", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}}, {"rule": 2, "type": "equivalent", "target": "65eb4d53da31a74e1d2b5ae72a4b3f98", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}}, {"rule": 2, "type": "equivalent", "target": "8f5d9efb9934b105d69fddf797f34e0b", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}}, {"rule": 2, "type": "equivalent", "target": "915ec8a085b4d90eb64720a431768f9b", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5851dbb38f0eb77c8633d934a8c81fbc", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}, "url": "/docs/compare/?release=17.10#17.10-aef7dca4bced6a82", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "65eb4d53da31a74e1d2b5ae72a4b3f98", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}, "url": "/docs/compare/?release=16.14#16.14-f26d51c0546fa772", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "915ec8a085b4d90eb64720a431768f9b", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}, "url": "/docs/compare/?release=15.18#15.18-fea30dc889e7ae5f", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "8f5d9efb9934b105d69fddf797f34e0b", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}, "url": "/docs/compare/?release=14.23#14.23-bcb3e939d63d9120", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-21b3ff02e00fea31", "cves": [], "html": "<p>修复并行 B-树索引扫描所用共享内存分配不足的问题（Siddharth Kothari）<a href=\"https://postgr.es/c/1e71970d2\">§</a></p>\n<p>在边界情况下，这可能导致服务器崩溃。</p>", "text": "修复并行 B-树索引扫描所用共享内存分配不足的问题（Siddharth Kothari）§ 在边界情况下，这可能导致服务器崩溃。", "title": "修复并行 B-树索引扫描所用共享内存分配不足的问题", "commits": ["1e71970d2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "1ef3d6cea990bd1dcf9ef51cc71e396b6f1f0d1befdde45495a99af305979d45", "section_path": ["变更"], "commit_groups": [["1e71970d2", "748d871b7"]], "identity_text": "Fix under-allocation of shared memory used for parallel btree index scans (Siddharth Kothari) In edge cases this could result in a server crash.", "commit_aliases": ["1e71970d2", "748d871b7"], "source_commits": ["1e71970d2"], "source_entry_id": "18.4/changes/051", "db_id": "98b5ca4b1ed9b2c07fdfe2cdb0d69c16", "patch_ids": ["2fc6e3250377e522a3426425b060e9c3"], "statement_hash": "2e4818f716b54a67ca93894bb2763fe0ec497edda3ec9887d07fefe174034d01", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-7270a57d5bd56fee", "cves": [], "html": "<p>避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败（Tomas Vondra）<a href=\"https://postgr.es/c/5b3f63a1b\">§</a></p>\n<p>不记录 WAL 的 GiST 索引有时仍可能产生 <span>“<span>xlog flush request <em><code>n/nnnn</code></em> is not satisfied</span>”</span> 错误，原因是错误地选择了一个<span>“<span>假 LSN</span>”</span> 来表示插入点。</p>", "text": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败（Tomas Vondra）§ 不记录 WAL 的 GiST 索引有时仍可能产生 “xlog flush request n/nnnn is not satisfied” 错误，原因是错误地选择了一个“假 LSN” 来表示插入点。", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "commits": ["5b3f63a1b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c12b74818f0a535dec43ac9c95a3e774f625e8ce762249521d73b330e3f6d4cc", "section_path": ["变更"], "commit_groups": [["4f4025eac", "5b3f63a1b", "6ef36bb35", "b1f14c967", "c0ffc725f", "ce06b5740"]], "identity_text": "Avoid rare flush failure when working with non-WAL-logged GiST indexes (Tomas Vondra) A non-logged GiST index could nonetheless sometimes produce xlog flush request n/nnnn is not satisfied errors, due to incorrect selection of a fake LSN to represent an insertion point.", "commit_aliases": ["4f4025eac", "5b3f63a1b", "6ef36bb35", "b1f14c967", "c0ffc725f", "ce06b5740"], "source_commits": ["5b3f63a1b"], "source_entry_id": "18.4/changes/052", "db_id": "7f24f05678451ef9707b5c36a7e8d868", "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1", "relations": [{"rule": 2, "type": "equivalent", "target": "722f27b43d438fc0b96acc89768d5c59", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}}, {"rule": 2, "type": "equivalent", "target": "83b71f6a6d871542c65ada24311dc7eb", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}}, {"rule": 2, "type": "equivalent", "target": "e347189d3e54dada6ed98ca299883a76", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}}, {"rule": 2, "type": "equivalent", "target": "fdbfdef092c5340666d36a36f384cef5", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "83b71f6a6d871542c65ada24311dc7eb", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}, "url": "/docs/compare/?release=17.10#17.10-81df83553a9e021a", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "e347189d3e54dada6ed98ca299883a76", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}, "url": "/docs/compare/?release=16.14#16.14-0b6ea33dc78e8d08", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "722f27b43d438fc0b96acc89768d5c59", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}, "url": "/docs/compare/?release=15.18#15.18-1314048fa2caf68a", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "fdbfdef092c5340666d36a36f384cef5", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}, "url": "/docs/compare/?release=14.23#14.23-e4b03579b2345154", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-6a31304d211cadfa", "cves": [], "html": "<p>修复对非常规大小的段所需 DSA 页面映射大小的低估问题（Paul Bunn）<a href=\"https://postgr.es/c/a0f38604d\">§</a></p>\n<p>此误算导致越界访问，并进而造成服务器崩溃。</p>", "text": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题（Paul Bunn）§ 此误算导致越界访问，并进而造成服务器崩溃。", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "commits": ["a0f38604d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7634c8ba8f8ffc038896e0b72ea3fe2175a1d44ae6d57fd144afb296e0dc066d", "section_path": ["变更"], "commit_groups": [["0af5e64e9", "2543b9ea9", "46c93b705", "4da2afd01", "a0f38604d", "eb11d7a91"]], "identity_text": "Fix underestimate of required size of DSA page maps for odd-size segments (Paul Bunn) This miscalculation led to out-of-bounds accesses and hence server crashes.", "commit_aliases": ["0af5e64e9", "2543b9ea9", "46c93b705", "4da2afd01", "a0f38604d", "eb11d7a91"], "source_commits": ["a0f38604d"], "source_entry_id": "18.4/changes/053", "db_id": "c0162fa5c8bd731ee869a6a910d5a618", "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e", "relations": [{"rule": 2, "type": "equivalent", "target": "132eccad33a03f9808709ff243633e21", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}}, {"rule": 2, "type": "equivalent", "target": "6c9b24cf6c2959b6e084b0f1468cc147", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}}, {"rule": 2, "type": "equivalent", "target": "d358ff7daadf000c76becae39274dcc8", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}}, {"rule": 2, "type": "equivalent", "target": "feb50a4056ee0c9561081c3bd1a5fd94", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "feb50a4056ee0c9561081c3bd1a5fd94", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}, "url": "/docs/compare/?release=17.10#17.10-530a8cbdc6f714b9", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "6c9b24cf6c2959b6e084b0f1468cc147", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}, "url": "/docs/compare/?release=16.14#16.14-8bb5b1022d86c764", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "132eccad33a03f9808709ff243633e21", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}, "url": "/docs/compare/?release=15.18#15.18-1a4308d681901087", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "d358ff7daadf000c76becae39274dcc8", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}, "url": "/docs/compare/?release=14.23#14.23-11bc13dcca69d74b", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-d3cfc20eaff1d676", "cves": [], "html": "<p>修复共享内存中 oldest-multixact 数组的索引（Yura Sokolov）<a href=\"https://postgr.es/c/0a50ef094\">§</a> <a href=\"https://postgr.es/c/fa3b328e6\">§</a></p>\n<p>这一错误可能导致一个已预备但尚未提交的事务所持有的行锁在其他会话看来不可见，或者导致该事务结果出现其他可见性问题。在 max_connections 设置非常小时，也可能发生内存踩踏。</p>", "text": "修复共享内存中 oldest-multixact 数组的索引（Yura Sokolov）§ § 这一错误可能导致一个已预备但尚未提交的事务所持有的行锁在其他会话看来不可见，或者导致该事务结果出现其他可见性问题。在 max_connections 设置非常小时，也可能发生内存踩踏。", "title": "修复共享内存中 oldest-multixact 数组的索引", "commits": ["0a50ef094", "fa3b328e6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "585061295c9c5bfba8ea8450d973ee3ffcd66eca2322f3d514fcddf1dd3b7dbb", "section_path": ["变更"], "commit_groups": [["0a50ef094", "ccae90abd", "dcd9c06a4"], ["969576dab", "fa3b328e6", "fe08113ae"]], "identity_text": "Fix indexing of oldest-multixact arrays in shared memory (Yura Sokolov) This mistake could cause a prepared-but-not-yet-committed transaction's row locks to appear invisible to other sessions, or other visibility issues for the results of such a transaction. With a very small max_connections setting, memory stomps were also possible.", "commit_aliases": ["0a50ef094", "969576dab", "ccae90abd", "dcd9c06a4", "fa3b328e6", "fe08113ae"], "source_commits": ["0a50ef094", "fa3b328e6"], "source_entry_id": "18.4/changes/054", "db_id": "257e52645de77966b485d158daff2049", "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac", "relations": [{"rule": 2, "type": "equivalent", "target": "440f1367bcb7bd58aa010daa1ed5105b", "evidence": {"same_day": true, "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "440f1367bcb7bd58aa010daa1ed5105b", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复共享内存中 oldest-multixact 数组的索引", "evidence": {"same_day": true, "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac"}, "url": "/docs/compare/?release=17.10#17.10-cfa55dcb71d57c12", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}]}, {"id": "18.4-d741c04b8ba8da80", "cves": [], "html": "<p>修复安装过多 <code>EXPLAIN</code> 扩展选项时的数组越界写（Joel Jacobson）<a href=\"https://postgr.es/c/730c98d03\">§</a></p>", "text": "修复安装过多 EXPLAIN 扩展选项时的数组越界写（Joel Jacobson）§", "title": "修复安装过多 EXPLAIN 扩展选项时的数组越界写", "commits": ["730c98d03"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ea69eb0828bdee04a674f3b776844e6dff7c83bd57f6d7ef5a5c4540d17a8965", "section_path": ["变更"], "commit_groups": [["730c98d03", "f7dc17aa9"]], "identity_text": "Fix array overrun when too many EXPLAIN extension options are installed (Joel Jacobson)", "commit_aliases": ["730c98d03", "f7dc17aa9"], "source_commits": ["730c98d03"], "source_entry_id": "18.4/changes/055", "db_id": "2c27166fac4a8166cbff771308e483d6", "patch_ids": ["efc29acce3ca9d8d3fb120451fc4ca89"], "statement_hash": "42fcf730871baa06f879abc92e1e12cf88021a9dda4d2b9e0b2a8c87fc865f1f", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-d17ff570c253e2a4", "cves": [], "html": "<p>修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃（Michael Paquier）<a href=\"https://postgr.es/c/83671c0da\">§</a></p>\n<p>如果该数据类型的 typanalyze 函数没有计算任何有用的统计信息，就可能发生 NULL 指针解引用。核心内置的 typanalyze 函数都不会这样表现，但扩展可能会如此。</p>", "text": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃（Michael Paquier）§ 如果该数据类型的 typanalyze 函数没有计算任何有用的统计信息，就可能发生 NULL 指针解引用。核心内置的 typanalyze 函数都不会这样表现，但扩展可能会如此。", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "commits": ["83671c0da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "a6d6eda1706575777e401b70e6374c60ef40a88f3a736b35ba170dbddb62cf83", "section_path": ["变更"], "commit_groups": [["038c7d4a3", "04745ba9c", "3b7a6fa15", "530b6b02f", "83671c0da", "f033abc6c"]], "identity_text": "Fix possible server crash when processing extended statistics on expressions of extension data types (Michael Paquier) NULL pointer dereferences were possible if the data type's typanalyze function does not compute any useful statistics. No in-core typanalyze function behaves that way, but extensions could.", "commit_aliases": ["038c7d4a3", "04745ba9c", "3b7a6fa15", "530b6b02f", "83671c0da", "f033abc6c"], "source_commits": ["83671c0da"], "source_entry_id": "18.4/changes/056", "db_id": "e3fcd13894196d38b7fdafd82a39872b", "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a", "relations": [{"rule": 2, "type": "equivalent", "target": "11bb9497f3c67aace227015bc936b98e", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}}, {"rule": 2, "type": "equivalent", "target": "1c1afd4ac22d6baac4a29928c824292c", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}}, {"rule": 2, "type": "equivalent", "target": "7060172e893faabd38e47a052f25c75c", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}}, {"rule": 2, "type": "equivalent", "target": "80939c27c6a18cbd33af67b54738ffbb", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "80939c27c6a18cbd33af67b54738ffbb", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}, "url": "/docs/compare/?release=17.10#17.10-55b28f30732d7db3", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "1c1afd4ac22d6baac4a29928c824292c", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}, "url": "/docs/compare/?release=16.14#16.14-0be3354f36793154", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "7060172e893faabd38e47a052f25c75c", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}, "url": "/docs/compare/?release=15.18#15.18-66aee329c6813e82", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "11bb9497f3c67aace227015bc936b98e", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}, "url": "/docs/compare/?release=14.23#14.23-4ba256fc57391391", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-2e1bb29db6fa2e3f", "cves": [], "html": "<p>正确显示在 <code>GROUP BY</code> 中使用的连接别名 Vars（Tom Lane）<a href=\"https://postgr.es/c/c2c1962a6\">§</a></p>\n<p>在包含类似 <code>SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x</code> 查询的视图中，<code>GROUP BY</code> 子句可能被逆解析错误显示，从而导致导出/恢复失败。只有当 <code>t1.x</code> 和 <code>t2.x</code> 数据类型并不相同，并且 <code>t1.x</code> 是需要隐式强制转换的一侧时，才会发生该失败。</p>", "text": "正确显示在 GROUP BY 中使用的连接别名 Vars（Tom Lane）§ 在包含类似 SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x 查询的视图中，GROUP BY 子句可能被逆解析错误显示，从而导致导出/恢复失败。只有当 t1.x 和 t2.x 数据类型并不相同，并且 t1.x 是需要隐式强制转换的一侧时，才会发生该失败。", "title": "正确显示在 GROUP BY 中使用的连接别名 Vars", "commits": ["c2c1962a6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "e25f43132041c8331aa38d774ae07a2fd81bfe116cb26d8ccd59e8d808123022", "section_path": ["变更"], "commit_groups": [["98616ac18", "c2c1962a6"]], "identity_text": "Correctly display join alias Vars that are used in GROUP BY (Tom Lane) In views containing queries like SELECT ... t1 LEFT JOIN t2 USING (x) GROUP BY x, the GROUP BY clause could be displayed incorrectly by deparsing, leading to dump/restore failures. Failures occurred only if t1.x and t2.x were not of identical data types and t1.x was the side that required an implicit coercion.", "commit_aliases": ["98616ac18", "c2c1962a6"], "source_commits": ["c2c1962a6"], "source_entry_id": "18.4/changes/057", "db_id": "5e752b46c1ad98780f84af438311a30a", "patch_ids": ["2d3aaa978f866519aa59acaca75c71f2"], "statement_hash": "4a8c2b1c074d7fe26de3844d355cf9e0a5da9523b99517433394f5399b4d0af3", "relations": [], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-d03de691fc9de456", "cves": [], "html": "<p>修复基于 ICU 的字符串处理中轻微的内存泄漏（Jeff Davis）<a href=\"https://postgr.es/c/4abf63c62\">§</a></p>", "text": "修复基于 ICU 的字符串处理中轻微的内存泄漏（Jeff Davis）§", "title": "修复基于 ICU 的字符串处理中轻微的内存泄漏", "commits": ["4abf63c62"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "a9e224936921e1963331dad335fbb68b989592f871716dc81f6ad82e7c37ac94", "section_path": ["变更"], "commit_groups": [["4761f2eee", "4abf63c62", "a4515c9b4", "d942511f0"]], "identity_text": "Fix minor memory leaks in ICU-based string processing (Jeff Davis)", "commit_aliases": ["4761f2eee", "4abf63c62", "a4515c9b4", "d942511f0"], "source_commits": ["4abf63c62"], "source_entry_id": "18.4/changes/058", "db_id": "837bd67b8c3f6368b3c27a6551f80927", "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97", "relations": [{"rule": 2, "type": "equivalent", "target": "50b72add33aaee1a9925c87cbf7716b3", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}}, {"rule": 2, "type": "equivalent", "target": "bd584e4f7982ffc4b076ab2f17b9df9c", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd584e4f7982ffc4b076ab2f17b9df9c", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复基于 ICU 的字符串处理中轻微的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}, "url": "/docs/compare/?release=17.10#17.10-e802516615666acf", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "50b72add33aaee1a9925c87cbf7716b3", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复基于 ICU 的字符串处理中轻微的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}, "url": "/docs/compare/?release=16.14#16.14-9c6d58940b19e710", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-fbb8a60e8a0fb7fa", "cves": [], "html": "<p>如果启动进程失败，在 postmaster 退出前正确关闭其他子进程（Ayush Tiwari）<a href=\"https://postgr.es/c/affdb2dd5\">§</a></p>\n<p>对此情况的处理依赖于一个早已过时的假定：启动进程运行时不存在其他 postmaster 子进程，因此可以立即退出 postmaster。孤立的子进程最终会注意到 postmaster 已死亡并自行退出，但更干净的关闭过程仍然是可取的。</p>", "text": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程（Ayush Tiwari）§ 对此情况的处理依赖于一个早已过时的假定：启动进程运行时不存在其他 postmaster 子进程，因此可以立即退出 postmaster。孤立的子进程最终会注意到 postmaster 已死亡并自行退出，但更干净的关闭过程仍然是可取的。", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "commits": ["affdb2dd5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "68c31c19230ddadd1bb75689080bdcd9d4f19cfe5d82a6547e023d3812aca964", "section_path": ["变更"], "commit_groups": [["23cebf672", "2d347f2cd", "9b43e6793", "affdb2dd5", "e381843cf"]], "identity_text": "If the startup process fails, properly shut down other child processes before exiting the postmaster (Ayush Tiwari) The handling of this situation relied on a long-obsolete assumption that no other postmaster children exist while the startup process is running, so that immediate postmaster exit is acceptable. Orphaned children would eventually notice the postmaster's death and exit on their own, but a cleaner shutdown procedure is desirable.", "commit_aliases": ["23cebf672", "2d347f2cd", "9b43e6793", "affdb2dd5", "e381843cf"], "source_commits": ["affdb2dd5"], "source_entry_id": "18.4/changes/059", "db_id": "60187dd7a7a6b60a0c3449316b65aa78", "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5", "relations": [{"rule": 2, "type": "equivalent", "target": "1258e1d70ad8d20566f8bef565afb542", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}}, {"rule": 2, "type": "equivalent", "target": "2a31a83d114004ec62a45d4511e6eea8", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}}, {"rule": 2, "type": "equivalent", "target": "35889e010982e213ace67b19129690cc", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1258e1d70ad8d20566f8bef565afb542", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}, "url": "/docs/compare/?release=17.10#17.10-ae6a8b961252ec16", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "35889e010982e213ace67b19129690cc", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}, "url": "/docs/compare/?release=16.14#16.14-0b7f6a3235e38857", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "2a31a83d114004ec62a45d4511e6eea8", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}, "url": "/docs/compare/?release=15.18#15.18-59e230aa6a0adc1d", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}]}, {"id": "18.4-b95009e302c19df6", "cves": [], "html": "<p>修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件（Heikki Linnakangas）<a href=\"https://postgr.es/c/0852643e1\">§</a></p>\n<p>跟随来自较旧小版本主库的 WAL 的备库，可能陷入反复崩溃和重启的循环，并抱怨 <span>“<span>could not access status of transaction</span>”</span>。</p>", "text": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件（Heikki Linnakangas）§ 跟随来自较旧小版本主库的 WAL 的备库，可能陷入反复崩溃和重启的循环，并抱怨 “could not access status of transaction”。", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "commits": ["0852643e1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "ac547c6f2c5e79a65589bd908f8df4b0b44a2c86fdb6cad890d325cd54b6e41d", "section_path": ["变更"], "commit_groups": [["0852643e1", "1ca385032", "77dff5d93", "a5f412107", "e35e466f6"]], "identity_text": "Fix race condition between WAL replay of checkpoints and multixact ID creations (Heikki Linnakangas) A standby server following WAL from a primary of an older minor version could get into a crash-and-restart loop complaining about could not access status of transaction.", "commit_aliases": ["0852643e1", "1ca385032", "77dff5d93", "a5f412107", "e35e466f6"], "source_commits": ["0852643e1"], "source_entry_id": "18.4/changes/060", "db_id": "2dd877a931aebbb79cf02748fddc6985", "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192", "relations": [{"rule": 2, "type": "equivalent", "target": "61f30ae9ddadfa030207bdea7cb12e70", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}}, {"rule": 2, "type": "equivalent", "target": "7656c6c266fb5f623679c473e6534cb4", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}}, {"rule": 2, "type": "equivalent", "target": "85b276d385b6533daa45fb10a83fcdc6", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}}, {"rule": 2, "type": "equivalent", "target": "bdf695af62de33084d77c352623dcee3", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7656c6c266fb5f623679c473e6534cb4", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}, "url": "/docs/compare/?release=17.10#17.10-b851403e0c059925", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "bdf695af62de33084d77c352623dcee3", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}, "url": "/docs/compare/?release=16.14#16.14-b3cb622e85e826dc", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "85b276d385b6533daa45fb10a83fcdc6", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}, "url": "/docs/compare/?release=15.18#15.18-729165d8f77b8c3e", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "61f30ae9ddadfa030207bdea7cb12e70", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}, "url": "/docs/compare/?release=14.23#14.23-c6d1cb4b3f13c969", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-a9cb192589c0f7aa", "cves": [], "html": "<p>防止 WAL 发送进程关闭时无限期等待（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/3eb2fecdb\">§</a> <a href=\"https://postgr.es/c/980498138\">§</a></p>\n<p>在发布逻辑复制数据的集簇关闭时，WAL 发送进程会等待所有待处理 WAL 被写出。但它没有正确请求执行此操作，因此在某些情况下这可能变成无限期等待。</p>", "text": "防止 WAL 发送进程关闭时无限期等待（Anthonin Bonnefoy）§ § 在发布逻辑复制数据的集簇关闭时，WAL 发送进程会等待所有待处理 WAL 被写出。但它没有正确请求执行此操作，因此在某些情况下这可能变成无限期等待。", "title": "防止 WAL 发送进程关闭时无限期等待", "commits": ["3eb2fecdb", "980498138"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "30e21260db1c3d5b99950ec0f5dc2e6fdbfa011ede52349a41454054360e4a6e", "section_path": ["变更"], "commit_groups": [["3bf6f22ce", "3eb2fecdb", "42734f296", "6eedb2a5f", "82935467a", "bbbc0888b"], ["8ee536c89", "980498138", "d927b4bd9", "da21ecf57", "f15471464", "fa9f2e317"]], "identity_text": "Prevent indefinite wait in shutdown of a walsender process (Anthonin Bonnefoy) At shutdown of a cluster that is publishing logical replication data, the walsender waits for all pending WAL to be written out. But it did not correctly request that to happen, so that in some cases this could become an indefinite wait.", "commit_aliases": ["3bf6f22ce", "3eb2fecdb", "42734f296", "6eedb2a5f", "82935467a", "8ee536c89", "980498138", "bbbc0888b", "d927b4bd9", "da21ecf57", "f15471464", "fa9f2e317"], "source_commits": ["3eb2fecdb", "980498138"], "source_entry_id": "18.4/changes/061", "db_id": "dd2e9c6da8c31f99c801d2fd16385b3c", "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530", "relations": [{"rule": 2, "type": "equivalent", "target": "45420fcd1c11fe55a25c2e6f51f48363", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}}, {"rule": 2, "type": "equivalent", "target": "58a67f2d4d7fff6342315f22db6849a6", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}}, {"rule": 2, "type": "equivalent", "target": "a7b932fcfa614135f399c6d16936a3ee", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}}, {"rule": 2, "type": "equivalent", "target": "f5dd9be5d5ba1e08ae8e1a43cf926484", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a7b932fcfa614135f399c6d16936a3ee", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "防止 WAL 发送进程关闭时无限期等待", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}, "url": "/docs/compare/?release=17.10#17.10-3ccf02812257acd0", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "58a67f2d4d7fff6342315f22db6849a6", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "防止 WAL 发送进程关闭时无限期等待", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}, "url": "/docs/compare/?release=16.14#16.14-817a820bc49c0dcf", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "45420fcd1c11fe55a25c2e6f51f48363", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "防止 WAL 发送进程关闭时无限期等待", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}, "url": "/docs/compare/?release=15.18#15.18-1a0fb49c7d011cf8", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "f5dd9be5d5ba1e08ae8e1a43cf926484", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "防止 WAL 发送进程关闭时无限期等待", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}, "url": "/docs/compare/?release=14.23#14.23-b352d254dd3297f4", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-97e2910c41fa9a19", "cves": [], "html": "<p>确保恢复期间对表空闲空间映射的更改会被持久化（Alexey Makhmutov）<a href=\"https://postgr.es/c/ac3b97db3\">§</a></p>\n<p>此前，在重放应当改变空闲空间映射的操作时，WAL 重放确实会更新该映射；但如果启用了校验和，映射页缓冲区不会被标记为脏，因此这些更改可能永远不会被写出。在备库上，随着时间推移，这会导致映射与表的实际内容严重不符。虽然该映射只作为提示使用，但在备库被提升为活跃服务器后，直到大部分映射被更新修复之前，这种情况可能在一段时间内造成显著性能下降。</p>", "text": "确保恢复期间对表空闲空间映射的更改会被持久化（Alexey Makhmutov）§ 此前，在重放应当改变空闲空间映射的操作时，WAL 重放确实会更新该映射；但如果启用了校验和，映射页缓冲区不会被标记为脏，因此这些更改可能永远不会被写出。在备库上，随着时间推移，这会导致映射与表的实际内容严重不符。虽然该映射只作为提示使用，但在备库被提升为活跃服务器后，直到大部分映射被更新修复之前，这种情况可能在一段时间内造成显著性能下降。", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "commits": ["ac3b97db3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "b4c7ae8e1632b5ecf778d21be35386e9777e6a942b825bd1a420c044b7e3cc4e", "section_path": ["变更"], "commit_groups": [["1cf010f21", "54537de35", "ac3b97db3", "c06d1a4ba", "ca259b084", "f5d1038d9"]], "identity_text": "Ensure that changes to tables' free space maps are persisted during recovery (Alexey Makhmutov) Previously, while WAL replay did update the free space map while replaying operations that should change it, the map page buffer did not get marked dirty if checksums are enabled, so that the changes might never get written out. On a standby server, over time this would result in a map wildly at variance with the table's actual contents. While the map is only used as a hint, this condition could cause significant performance degradation for some period of time after the standby server is promoted to be active, until most of the map has been repaired by updates.", "commit_aliases": ["1cf010f21", "54537de35", "ac3b97db3", "c06d1a4ba", "ca259b084", "f5d1038d9"], "source_commits": ["ac3b97db3"], "source_entry_id": "18.4/changes/062", "db_id": "0ab544ccf54b9ef9d9a67d11e0edd7e6", "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba", "relations": [{"rule": 2, "type": "equivalent", "target": "0a850a82a0e101c371b76446a16834eb", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}}, {"rule": 2, "type": "equivalent", "target": "5d55832b6f7b480606ba52039c22d06e", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}}, {"rule": 2, "type": "equivalent", "target": "d0b2b7eb40b300341a738f0c8f9b9486", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}}, {"rule": 2, "type": "equivalent", "target": "ef79709e772e43cd7f13cd40fd54ce08", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d0b2b7eb40b300341a738f0c8f9b9486", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}, "url": "/docs/compare/?release=17.10#17.10-fe407982706e6121", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "ef79709e772e43cd7f13cd40fd54ce08", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}, "url": "/docs/compare/?release=16.14#16.14-8125cf51d6ed071a", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "0a850a82a0e101c371b76446a16834eb", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}, "url": "/docs/compare/?release=15.18#15.18-c1ccf41821cc2c15", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "5d55832b6f7b480606ba52039c22d06e", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}, "url": "/docs/compare/?release=14.23#14.23-01e5d1d4b9c66a74", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-7aa817666dd07903", "cves": [], "html": "<p>修复某些 <span>ecpg</span> 函数在没有已建立连接的情况下被调用时的崩溃（Shruthi Gowda）<a href=\"https://postgr.es/c/e2688ea5e\">§</a></p>", "text": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃（Shruthi Gowda）§", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "commits": ["e2688ea5e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "dcf26468595d7c78f1807708270b114aa22c165d1ec52d8150a311fceec78d91", "section_path": ["变更"], "commit_groups": [["5d67549d9", "6916f4410", "7e4c871f4", "c34a280c8", "e2688ea5e", "f0e3f9732"]], "identity_text": "Fix crashes in some ecpg functions when called without any established connection (Shruthi Gowda)", "commit_aliases": ["5d67549d9", "6916f4410", "7e4c871f4", "c34a280c8", "e2688ea5e", "f0e3f9732"], "source_commits": ["e2688ea5e"], "source_entry_id": "18.4/changes/063", "db_id": "c0c7dfbc8d8c6bcae16ae7205d190917", "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a", "relations": [{"rule": 2, "type": "equivalent", "target": "7907242716f81b2600bf11b638097726", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}}, {"rule": 2, "type": "equivalent", "target": "80c1fd60cd9f0d7c266d99b227c860c1", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}}, {"rule": 2, "type": "equivalent", "target": "bdf9527e3b31fa7d5ae8f9823d072d3d", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}}, {"rule": 2, "type": "equivalent", "target": "feefd46320fbb1731e40ec3e06323dbb", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bdf9527e3b31fa7d5ae8f9823d072d3d", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}, "url": "/docs/compare/?release=17.10#17.10-4e8f75e7518f8860", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "7907242716f81b2600bf11b638097726", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}, "url": "/docs/compare/?release=16.14#16.14-44793a559af5c464", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "80c1fd60cd9f0d7c266d99b227c860c1", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}, "url": "/docs/compare/?release=15.18#15.18-c008865e32c5c2bd", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "feefd46320fbb1731e40ec3e06323dbb", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}, "url": "/docs/compare/?release=14.23#14.23-0d4724d0f0edd35d", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-927c209bb0a436cf", "cves": [], "html": "<p>加固 tar 文件解析逻辑，使其能够防范无法处理的归档（Tom Lane）<a href=\"https://postgr.es/c/698eae7db\">§</a></p>\n<p><span>pg_basebackup</span> 和 <span>pg_verifybackup</span> 中使用的 tar 文件读取代码，根本没有验证输入是否为 tar 文件，更不用说验证它是否属于我们能够处理的有效 tar 文件子集。对于输入文件由 <span>PostgreSQL</span> 代码生成的常见场景，这不是问题；但如果输入由其他 <span>tar</span> 程序生成，就可能成为问题。</p>", "text": "加固 tar 文件解析逻辑，使其能够防范无法处理的归档（Tom Lane）§ pg_basebackup 和 pg_verifybackup 中使用的 tar 文件读取代码，根本没有验证输入是否为 tar 文件，更不用说验证它是否属于我们能够处理的有效 tar 文件子集。对于输入文件由 PostgreSQL 代码生成的常见场景，这不是问题；但如果输入由其他 tar 程序生成，就可能成为问题。", "title": "加固 tar 文件解析逻辑，使其能够防范无法处理的归档", "commits": ["698eae7db"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "578b25b94ff8020a981a088d55d8d16dfbcf6e5b8065316d692942d65af1a5bc", "section_path": ["变更"], "commit_groups": [["698eae7db", "bc30c704a"]], "identity_text": "Harden tar-file parsing logic against archives it can't handle (Tom Lane) The tar-file reading code used in pg_basebackup and pg_verifybackup failed to verify that the input is a tar file at all, let alone that it fits into the subset of valid tar files that we can handle. This isn't a problem for the normal scenario where the input file was generated by PostgreSQL code, but it can be an issue if the input has been generated by some other tar program.", "commit_aliases": ["698eae7db", "bc30c704a"], "source_commits": ["698eae7db"], "source_entry_id": "18.4/changes/064", "db_id": "cfbe37010505dabb9d8718a926fa7918", "patch_ids": ["ce75739c3a49f201e6f23d201ae3df1f"], "statement_hash": "b88cecc4f1e07d97baf49826b0e6852cf61b8c4b3817c2da613355e317b533cd", "relations": [], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-3efb2ed246686260", "cves": [], "html": "<p>修复备份解压和 tar 解析代码中的多项错误（Andrew Dunstan, Tom Lane, Chao Li）<a href=\"https://postgr.es/c/5095f3f4a\">§</a> <a href=\"https://postgr.es/c/a01a592b1\">§</a> <a href=\"https://postgr.es/c/78dc9a808\">§</a></p>\n<p><span>pg_basebackup</span> 和 <span>pg_verifybackup</span> 中使用的解压和 tar 文件读取代码，会错误处理 tar 文件填充数据，在边界情况下可能损坏 LZ4 压缩数据，未检查一些异常错误条件，压缩/解压错误后未退出（导致级联错误报告），并且会泄漏内存。</p>", "text": "修复备份解压和 tar 解析代码中的多项错误（Andrew Dunstan, Tom Lane, Chao Li）§ § § pg_basebackup 和 pg_verifybackup 中使用的解压和 tar 文件读取代码，会错误处理 tar 文件填充数据，在边界情况下可能损坏 LZ4 压缩数据，未检查一些异常错误条件，压缩/解压错误后未退出（导致级联错误报告），并且会泄漏内存。", "title": "修复备份解压和 tar 解析代码中的多项错误", "commits": ["5095f3f4a", "78dc9a808", "a01a592b1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "cb9c6be5fd1ed810aed5121907e9abee1c0eb6f0b0eaa2df4feb45d2fd127cc8", "section_path": ["变更"], "commit_groups": [["01d58d7e3", "1590723f0", "5095f3f4a", "d3bb7841b", "f1298a4c2"], ["2640c5ba7", "415cc943f", "4548e8746", "78dc9a808", "c70f6dc6b"], ["8b198b093", "9a42888a3", "a01a592b1", "ac0accafd", "cce939c71"]], "identity_text": "Fix assorted bugs in backup decompression and tar-parsing code (Andrew Dunstan, Tom Lane, Chao Li) The decompression and tar-file reading code used in pg_basebackup and pg_verifybackup mishandled tar-file padding data, could corrupt LZ4-compressed data in edge cases, failed to check for some unusual error conditions, failed to exit after compression/decompression errors (leading to cascading error reports), and leaked memory.", "commit_aliases": ["01d58d7e3", "1590723f0", "2640c5ba7", "415cc943f", "4548e8746", "5095f3f4a", "78dc9a808", "8b198b093", "9a42888a3", "a01a592b1", "ac0accafd", "c70f6dc6b", "cce939c71", "d3bb7841b", "f1298a4c2"], "source_commits": ["5095f3f4a", "78dc9a808", "a01a592b1"], "source_entry_id": "18.4/changes/065", "db_id": "2c1767e33fbd2c5b0ad76b3984a83f2d", "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829", "relations": [{"rule": 2, "type": "equivalent", "target": "212902cab1e6fcee0bcc358f8fa492ef", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}}, {"rule": 2, "type": "equivalent", "target": "34c5828614b646d0ee1635c733748049", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}}, {"rule": 2, "type": "equivalent", "target": "bb9e0889e1a5adbf796ceaf3f2bba54a", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bb9e0889e1a5adbf796ceaf3f2bba54a", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复备份解压和 tar 解析代码中的多项错误", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}, "url": "/docs/compare/?release=17.10#17.10-608dfcd402c79cc9", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "212902cab1e6fcee0bcc358f8fa492ef", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复备份解压和 tar 解析代码中的多项错误", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}, "url": "/docs/compare/?release=16.14#16.14-55b8ddc2c336b3f6", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "34c5828614b646d0ee1635c733748049", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复备份解压和 tar 解析代码中的多项错误", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}, "url": "/docs/compare/?release=15.18#15.18-bb7e1f982c3d3fbb", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}]}, {"id": "18.4-cc6458aa3ad5fac1", "cves": [], "html": "<p>在 <span>pg_dump</span> 中，保留 <code>NOT NULL</code> 约束的 <code>NO INHERIT</code> 属性（Jian He）<a href=\"https://postgr.es/c/c3c8b63d7\">§</a></p>\n<p>有些情况遗漏了打印 <code>NO INHERIT</code> 子句。</p>", "text": "在 pg_dump 中，保留 NOT NULL 约束的 NO INHERIT 属性（Jian He）§ 有些情况遗漏了打印 NO INHERIT 子句。", "title": "在 pg_dump 中，保留 NOT NULL 约束的 NO INHERIT 属性", "commits": ["c3c8b63d7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "81eaadc3cf62b2e54dc3aa7d65c0af39028ad328d20366be8107d0a5da94b98c", "section_path": ["变更"], "commit_groups": [["c3c8b63d7", "d0833fdae"]], "identity_text": "In pg_dump, preserve NO INHERIT property of NOT NULL constraints (Jian He) Some cases missed printing the NO INHERIT clause.", "commit_aliases": ["c3c8b63d7", "d0833fdae"], "source_commits": ["c3c8b63d7"], "source_entry_id": "18.4/changes/066", "db_id": "591d57aec1d925b713bf09e1f3edaa5f", "patch_ids": ["e01ed1747be4b6914a87beb807da9e49"], "statement_hash": "5926bb02f2dcb74f96be6f74033a817ad65190a139029a48a6cd4ad5bd0bf132", "relations": [], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-4c4f381190f9d053", "cves": [], "html": "<p>在 <span>pg_dumpall</span> 中，不要跳过具有悬挂授权者 OID 的角色 <code>GRANT</code>（Tom Lane）<a href=\"https://postgr.es/c/b09158cc7\">§</a></p>\n<p>作为替代，像 v16 之前那样，通过发出不带任何 <code>GRANTED BY</code> 子句的 <code>GRANT</code> 来处理此类情况。这可以避免在可预见的情况下丢失授权，因为 v16 之前的服务器不会阻止删除授权者角色。继续针对缺失的授权者发出警告，但仅当源服务器为 v16 或更高版本时才这样做。</p>", "text": "在 pg_dumpall 中，不要跳过具有悬挂授权者 OID 的角色 GRANT（Tom Lane）§ 作为替代，像 v16 之前那样，通过发出不带任何 GRANTED BY 子句的 GRANT 来处理此类情况。这可以避免在可预见的情况下丢失授权，因为 v16 之前的服务器不会阻止删除授权者角色。继续针对缺失的授权者发出警告，但仅当源服务器为 v16 或更高版本时才这样做。", "title": "在 pg_dumpall 中，不要跳过具有悬挂授权者 OID 的角色 GRANT", "commits": ["b09158cc7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "20cdafa4bcad7a1c7702dada4919678945fe5144b57211a2aee7f6c2deb66d58", "section_path": ["变更"], "commit_groups": [["1cd783d20", "74b4438a7", "a4649c50a", "b09158cc7"]], "identity_text": "In pg_dumpall, don't skip role GRANTs with dangling grantor OIDs (Tom Lane) Instead, handle such cases by emitting GRANT without any GRANTED BY clause, as we did before v16. This avoids losing the grant in foreseeable cases, since pre-v16 servers didn't prevent dropping the grantor role. Continue to emit a warning about the missing grantor, but only if the source server is v16 or later.", "commit_aliases": ["1cd783d20", "74b4438a7", "a4649c50a", "b09158cc7"], "source_commits": ["b09158cc7"], "source_entry_id": "18.4/changes/067", "db_id": "498d15925e49297bef5794701969b9e3", "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298", "relations": [{"rule": 2, "type": "equivalent", "target": "48b5ddf02369d30a0910158589f12b23", "evidence": {"same_day": true, "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298"}}, {"rule": 2, "type": "equivalent", "target": "aaca3c112b54f50cb3d0aef43fa40117", "evidence": {"same_day": true, "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "48b5ddf02369d30a0910158589f12b23", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 pg_dumpall 中，不要跳过具有悬挂授权者 OID 的角色 GRANT", "evidence": {"same_day": true, "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298"}, "url": "/docs/compare/?release=17.10#17.10-abb35676e2703512", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "aaca3c112b54f50cb3d0aef43fa40117", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 pg_dumpall 中，不要跳过具有悬挂授权者 OID 的角色 GRANT", "evidence": {"same_day": true, "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298"}, "url": "/docs/compare/?release=16.14#16.14-4e7525a189b69460", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}]}, {"id": "18.4-f5f35647f03db5de", "cves": [], "html": "<p>在 <span>pg_upgrade</span> 中，连接到较旧源服务器时注意使用正确的协议版本（Jacob Champion）<a href=\"https://postgr.es/c/1b2773179\">§</a></p>\n<p>在尝试从 2018 年以前的服务器升级时，这可能会造成问题。</p>", "text": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本（Jacob Champion）§ 在尝试从 2018 年以前的服务器升级时，这可能会造成问题。", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "commits": ["1b2773179"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8350e1a25becbe288b1e0328484e7d60dd9277a9456f597a98cff73be40b3694", "section_path": ["变更"], "commit_groups": [["1b2773179", "a38ed212f", "a60a10338", "ad7fc3f1f", "c47744ede", "e726620d2"]], "identity_text": "In pg_upgrade, take care to use the correct protocol version when connecting to older source servers (Jacob Champion) This could be problematic when attempting to upgrade from a pre-2018 server.", "commit_aliases": ["1b2773179", "a38ed212f", "a60a10338", "ad7fc3f1f", "c47744ede", "e726620d2"], "source_commits": ["1b2773179"], "source_entry_id": "18.4/changes/068", "db_id": "b441ea3af4b648902039f9d5d3831785", "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c", "relations": [{"rule": 2, "type": "equivalent", "target": "29ee5ab07783ca431d54fc60a7a68ac6", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}}, {"rule": 2, "type": "equivalent", "target": "330e067151809e2b5b18a2ce11b3f4a8", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}}, {"rule": 2, "type": "equivalent", "target": "6e7bc01c77ad0b62b80fffc021e1f621", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}}, {"rule": 2, "type": "equivalent", "target": "df5ddbd0c6e2f445b5c35f53b9f74046", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "29ee5ab07783ca431d54fc60a7a68ac6", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}, "url": "/docs/compare/?release=17.10#17.10-cf34513657c8c0c2", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "df5ddbd0c6e2f445b5c35f53b9f74046", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}, "url": "/docs/compare/?release=16.14#16.14-187bc32bd33adec9", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "330e067151809e2b5b18a2ce11b3f4a8", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}, "url": "/docs/compare/?release=15.18#15.18-e68e0ef207bfd5a9", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "6e7bc01c77ad0b62b80fffc021e1f621", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}, "url": "/docs/compare/?release=14.23#14.23-2b24a61f4f7f3458", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-ab15ea8c2f16b1a1", "cves": [], "html": "<p>在 <code>contrib/basic_archive</code> 中，允许启动时归档目录不存在（Nathan Bossart）<a href=\"https://postgr.es/c/bde9ad315\">§</a></p>\n<p>此前，如果 <code>basic_archive.archive_directory</code> 的设置没有指向一个已存在的目录，就会被拒绝。这并不理想，因为即使该目录稍后出现，归档也会无限期卡住。</p>", "text": "在 contrib/basic_archive 中，允许启动时归档目录不存在（Nathan Bossart）§ 此前，如果 basic_archive.archive_directory 的设置没有指向一个已存在的目录，就会被拒绝。这并不理想，因为即使该目录稍后出现，归档也会无限期卡住。", "title": "在 contrib/basic_archive 中，允许启动时归档目录不存在", "commits": ["bde9ad315"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "8f51f3fd6f254e85baf55a8bd9646bf2e0766f98cd0ce7e799ff2ce137ab807b", "section_path": ["变更"], "commit_groups": [["28c2b7896", "8fc45ac5d", "bde9ad315", "cc774c543", "f510577de"]], "identity_text": "In contrib/basic_archive, allow the archive directory to be missing at startup (Nathan Bossart) Previously, the setting of basic_archive.archive_directory was rejected if it didn't point to an existing directory. This is undesirable because archiving will be stuck indefinitely, even if the directory appears later.", "commit_aliases": ["28c2b7896", "8fc45ac5d", "bde9ad315", "cc774c543", "f510577de"], "source_commits": ["bde9ad315"], "source_entry_id": "18.4/changes/069", "db_id": "b41103d47758e1bb2b7b7dfae49365b9", "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0", "relations": [{"rule": 2, "type": "equivalent", "target": "1ad9930c22ef55daa7211338a55a1d96", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}}, {"rule": 2, "type": "equivalent", "target": "616d8fa76e38a5c20f94d74810bf0dfa", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}}, {"rule": 2, "type": "equivalent", "target": "90e1038fbb68d1913c7ac6d7fe93e376", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "90e1038fbb68d1913c7ac6d7fe93e376", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 contrib/basic_archive 中，允许启动时归档目录不存在", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}, "url": "/docs/compare/?release=17.10#17.10-760c43569faae613", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "1ad9930c22ef55daa7211338a55a1d96", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 contrib/basic_archive 中，允许启动时归档目录不存在", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}, "url": "/docs/compare/?release=16.14#16.14-63d7fb0d7caa58c8", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "616d8fa76e38a5c20f94d74810bf0dfa", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在 contrib/basic_archive 中，允许启动时归档目录不存在", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}, "url": "/docs/compare/?release=15.18#15.18-89c4e31aafebc123", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}]}, {"id": "18.4-3cede858d59bf5c2", "cves": [], "html": "<p>修复 <code>contrib/ltree</code>，使其能够处理大小写折叠改变字符串字节长度的情况（Jeff Davis）<a href=\"https://postgr.es/c/b3c2a3d38\">§</a> <a href=\"https://postgr.es/c/53a57cae1\">§</a></p>\n<p>此前，指定大小写不敏感匹配的 <code>lquery</code> 模式，可能无法匹配本应匹配的标签。</p>", "text": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况（Jeff Davis）§ § 此前，指定大小写不敏感匹配的 lquery 模式，可能无法匹配本应匹配的标签。", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "commits": ["53a57cae1", "b3c2a3d38"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "c5b29e4136b4dde81189d9123d5790588f1fefd9fda73e26a22a180569ebbd65", "section_path": ["变更"], "commit_groups": [["058710d41", "2b993167f", "3ed2c7ef7", "53a57cae1", "d1bd9a7dc"], ["b3c2a3d38", "c8308a984"]], "identity_text": "Fix contrib/ltree to cope when case-folding changes a string's byte length (Jeff Davis) Previously, lquery patterns specifying case-insensitive matching might fail to match labels they should match.", "commit_aliases": ["058710d41", "2b993167f", "3ed2c7ef7", "53a57cae1", "b3c2a3d38", "c8308a984", "d1bd9a7dc"], "source_commits": ["53a57cae1", "b3c2a3d38"], "source_entry_id": "18.4/changes/070", "db_id": "64aaf0bd209b1b9e176ded962a3a5b0a", "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468", "relations": [{"rule": 2, "type": "equivalent", "target": "88979c94ad494073327481ff0f109ebc", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}, {"rule": 2, "type": "equivalent", "target": "b472005379ddc1793ee9ef6ac751eae2", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}, {"rule": 2, "type": "equivalent", "target": "c90a1fd6362ebfccf11986cdf78fdcbf", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}, {"rule": 2, "type": "equivalent", "target": "e7145d49a5e4620268f44ce6ce59f66b", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c90a1fd6362ebfccf11986cdf78fdcbf", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}, "url": "/docs/compare/?release=17.10#17.10-6f3016280c8e2025", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "88979c94ad494073327481ff0f109ebc", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}, "url": "/docs/compare/?release=16.14#16.14-efa7dba7dee29519", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "b472005379ddc1793ee9ef6ac751eae2", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}, "url": "/docs/compare/?release=15.18#15.18-30910f903ea7af7e", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "e7145d49a5e4620268f44ce6ce59f66b", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}, "url": "/docs/compare/?release=14.23#14.23-fb2120b452b43577", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-7eed4fd6e0f7af4c", "cves": [], "html": "<p>修复 <code>contrib/pg_overexplain</code> 的 <code>RANGE_TABLE</code> 选项输出结构错误的问题（Satyanarayana Narlapuram）<a href=\"https://postgr.es/c/6723d462d\">§</a></p>\n<p>某些字段在 JSON、YAML 和 XML 格式中位置错误，导致输出在结构上无效。</p>", "text": "修复 contrib/pg_overexplain 的 RANGE_TABLE 选项输出结构错误的问题（Satyanarayana Narlapuram）§ 某些字段在 JSON、YAML 和 XML 格式中位置错误，导致输出在结构上无效。", "title": "修复 contrib/pg_overexplain 的 RANGE_TABLE 选项输出结构错误的问题", "commits": ["6723d462d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "29c20b68392e7cfc54d80f25d77055ad68bce244a0febb29053ed40d82d3d99d", "section_path": ["变更"], "commit_groups": [["059cf7f58", "6723d462d"]], "identity_text": "Fix mis-structured output from contrib/pg_overexplain's RANGE_TABLE option (Satyanarayana Narlapuram) Some fields were misplaced in JSON, YAML, and XML formats, resulting in structurally invalid output.", "commit_aliases": ["059cf7f58", "6723d462d"], "source_commits": ["6723d462d"], "source_entry_id": "18.4/changes/071", "db_id": "a966a7e34390a814b0814712e4a00fdb", "patch_ids": ["7fbc73f17a809373752c95effd8e6508"], "statement_hash": "58504c6ef9233ef351280878eed22065a06df00f1c6e2baf450c3f48ff8a566a", "relations": [], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.4-d1fd29b11b780a8b", "cves": [], "html": "<p>在 <code>contrib/pg_stat_statements</code> 中，如果解析 <code>pgss_query_texts.stat</code> 文件时发生错误，不要泄漏内存（Heikki Linnakangas）<a href=\"https://postgr.es/c/25b02320e\">§</a></p>", "text": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存（Heikki Linnakangas）§", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "commits": ["25b02320e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "f3dca59a175138fee4dca1018d8a2aa458f19a90654727612a5d549960f8e664", "section_path": ["变更"], "commit_groups": [["25b02320e", "351e59f34", "3c74cb576", "52edaf9d9", "92cf11171", "a6d03067f"]], "identity_text": "In contrib/pg_stat_statements, don't leak memory if an error occurs while parsing the pgss_query_texts.stat file (Heikki Linnakangas)", "commit_aliases": ["25b02320e", "351e59f34", "3c74cb576", "52edaf9d9", "92cf11171", "a6d03067f"], "source_commits": ["25b02320e"], "source_entry_id": "18.4/changes/072", "db_id": "5405c5216994c7e3f308af24044493d4", "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad", "relations": [{"rule": 2, "type": "equivalent", "target": "07ffe7eed989081f7577ca43593bd960", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}}, {"rule": 2, "type": "equivalent", "target": "2b59e021939b9e9d9f09b01df770c280", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}}, {"rule": 2, "type": "equivalent", "target": "98f2c3414fd70c5c98ac19bfad5464b8", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}}, {"rule": 2, "type": "equivalent", "target": "e5a91133c6748bd29d99483810ddb96c", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "07ffe7eed989081f7577ca43593bd960", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}, "url": "/docs/compare/?release=17.10#17.10-c843d842d1a0089b", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "98f2c3414fd70c5c98ac19bfad5464b8", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}, "url": "/docs/compare/?release=16.14#16.14-cb16ea40ed7db838", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "2b59e021939b9e9d9f09b01df770c280", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}, "url": "/docs/compare/?release=15.18#15.18-bff45324f0b06366", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "e5a91133c6748bd29d99483810ddb96c", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}, "url": "/docs/compare/?release=14.23#14.23-9a190d7cbde2b3f7", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-78a75773cc77437b", "cves": [], "html": "<p>在 <code>contrib/postgres_fdw</code> 中，避免因过早清理失败连接而崩溃（Etsuro Fujita）<a href=\"https://postgr.es/c/c318777da\">§</a></p>\n<p>如果远程连接的中止清理失败，我们就不能再使用它。但要将关闭连接对象延迟到事务结束时执行，因为打开的游标等数据结构中可能仍有对它的引用。</p>", "text": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃（Etsuro Fujita）§ 如果远程连接的中止清理失败，我们就不能再使用它。但要将关闭连接对象延迟到事务结束时执行，因为打开的游标等数据结构中可能仍有对它的引用。", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "commits": ["c318777da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "7370c1e27b16e5685bf55cf6357a6c058a35c4df678be5bec75d4a3d13b7d645", "section_path": ["变更"], "commit_groups": [["1352651c2", "34c18a225", "648818ba3", "af8f9248f", "c318777da", "fd5b36ab1"]], "identity_text": "In contrib/postgres_fdw, avoid crash due to premature cleanup of a failed connection (Etsuro Fujita) If a remote connection fails abort cleanup, we can't use it any longer. But delay closing the connection object until end of transaction, because there might still be references to it within data structures such as open cursors.", "commit_aliases": ["1352651c2", "34c18a225", "648818ba3", "af8f9248f", "c318777da", "fd5b36ab1"], "source_commits": ["c318777da"], "source_entry_id": "18.4/changes/073", "db_id": "5debbdff219f6645c34f0afc23c6c9a8", "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48", "relations": [{"rule": 2, "type": "equivalent", "target": "701d8322decc496c951bc0d7ecfdd513", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}, {"rule": 2, "type": "equivalent", "target": "8c8ea6b283a201d99cb3d8c9f57cd142", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}, {"rule": 2, "type": "equivalent", "target": "9bcb1c284d9f8abb68fce372f4df9301", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}, {"rule": 2, "type": "equivalent", "target": "b0783885375212755fb05950c3052a4a", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}], "version": "18.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9bcb1c284d9f8abb68fce372f4df9301", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}, "url": "/docs/compare/?release=17.10#17.10-488be0605ad9d4ad", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "8c8ea6b283a201d99cb3d8c9f57cd142", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}, "url": "/docs/compare/?release=16.14#16.14-c88b56bc0749f951", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "701d8322decc496c951bc0d7ecfdd513", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}, "url": "/docs/compare/?release=15.18#15.18-9110118db586478d", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "b0783885375212755fb05950c3052a4a", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}, "url": "/docs/compare/?release=14.23#14.23-c4a00b3d7115895d", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}, {"id": "18.4-a78c59e453b0788d", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2026b 发布版本（Tom Lane）<a href=\"https://postgr.es/c/8a431b6d6\">§</a></p>\n<p>British Columbia（America/Vancouver）将从 2026 年 11 月开始全年采用 UTC-07（实际上就是永久 DST）。本次发布假定其 TZ 缩写从那时起为 <code>MST</code>。这看起来可能会改变，但尚不清楚会使用什么新缩写。另外还有一项针对 Moldova 的历史修正：自 2022 年以来，他们一直遵循 EU 的 DST 转换时间。</p>", "text": "将时区数据文件更新到 tzdata 2026b 发布版本（Tom Lane）§ British Columbia（America/Vancouver）将从 2026 年 11 月开始全年采用 UTC-07（实际上就是永久 DST）。本次发布假定其 TZ 缩写从那时起为 MST。这看起来可能会改变，但尚不清楚会使用什么新缩写。另外还有一项针对 Moldova 的历史修正：自 2022 年以来，他们一直遵循 EU 的 DST 转换时间。", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "commits": ["8a431b6d6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES", "source_hash": "51485d669ec4724819d65e5254b32119344328adaf7bade39c9fe735e65951eb", "section_path": ["变更"], "commit_groups": [["0465c999e", "4c0eab6f0", "8a431b6d6", "affd929c9", "e28fc73d5", "f64f62f5b"]], "identity_text": "Update time zone data files to tzdata release 2026b (Tom Lane) British Columbia (America/Vancouver) will be on year-round UTC-07 (effectively, permanent DST) beginning in November 2026. This release assumes that their TZ abbreviation will be MST from that time forward. That seems likely to change, but it's unclear what new abbreviation will be used. Also a historical correction for Moldova: they have followed EU DST transition times since 2022.", "commit_aliases": ["0465c999e", "4c0eab6f0", "8a431b6d6", "affd929c9", "e28fc73d5", "f64f62f5b"], "source_commits": ["8a431b6d6"], "source_entry_id": "18.4/changes/074", "db_id": "4bebcc2956a5ca291072c22c03407356", "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681", "relations": [{"rule": 2, "type": "equivalent", "target": "614039d003cde35ab46fd98561df1111", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}}, {"rule": 2, "type": "equivalent", "target": "ae0d24039285853394af147eee246b73", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}}, {"rule": 2, "type": "equivalent", "target": "c75239b417c7eb143ce21787698f02df", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}}, {"rule": 2, "type": "equivalent", "target": "de255c626ba35a131ca34e075c96784f", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}}], "version": "18.4", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ae0d24039285853394af147eee246b73", "kind": "equivalent", "version": "17.10", "label": "17.10", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}, "url": "/docs/compare/?release=17.10#17.10-1e6fcd0fa95c5ce6", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES"}, {"db_id": "de255c626ba35a131ca34e075c96784f", "kind": "equivalent", "version": "16.14", "label": "16.14", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}, "url": "/docs/compare/?release=16.14#16.14-d0a6ee4c3af9be4b", "source_url": "/docs/release/16.14/#RELEASE-16-14-CHANGES"}, {"db_id": "c75239b417c7eb143ce21787698f02df", "kind": "equivalent", "version": "15.18", "label": "15.18", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}, "url": "/docs/compare/?release=15.18#15.18-3f18ea3122bf2fa5", "source_url": "/docs/release/15.18/#RELEASE-15-18-CHANGES"}, {"db_id": "614039d003cde35ab46fd98561df1111", "kind": "equivalent", "version": "14.23", "label": "14.23", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}, "url": "/docs/compare/?release=14.23#14.23-ea01fb303eaf105f", "source_url": "/docs/release/14.23/#RELEASE-14-23-CHANGES"}]}]}, {"date": "2026-02-26", "build": "18.3", "major": "18", "minor": 3, "manual": "18", "status": "stable", "doc_git": "", "version": "18.3", "eol_date": "2030-11-14", "date_text": "2026-02-26", "supported": true, "manual_url": "/docs/18/release-18-3.html", "source_url": "/docs/release/18.3/", "entry_count": 9, "placeholder": false, "content_hash": "26fab0d6829ffbf0c274735819900fd9d9413fb32e036f8bcb822d37ac613761", "manual_build": "18.6", "source_as_of": "", "changes_count": 9, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，如果你从早于 18.2 的版本升级，请参见<a href=\"/docs/18/release-18-2.html\" title=\"E.4. 发布版本 18.2\">第 E.4 节</a>。</p>", "compatibility_count": 0, "label": "18.3", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 212, "support_days": 1510, "entries": [{"id": "18.3-ad611cd1e209983f", "cves": [], "html": "<p>修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题（Heikki Linnakangas）<a href=\"https://postgr.es/c/817f74600\">§</a></p>\n<p>为兼容旧版本处理多事务 ID 回卷方式而编写的错误逻辑，会导致重放失败，并出现诸如 <span>“<span>could not access status of transaction</span>”</span> 之类的消息。一种典型场景是：最新小版本的备库正在消费来自较旧版本主库的 WAL。</p>", "text": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题（Heikki Linnakangas）§ 为兼容旧版本处理多事务 ID 回卷方式而编写的错误逻辑，会导致重放失败，并出现诸如 “could not access status of transaction” 之类的消息。一种典型场景是：最新小版本的备库正在消费来自较旧版本主库的 WAL。", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "commits": ["817f74600"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "103f7a064258041866386b1c934b5dc1e6ae4ca6f921231e67b0cb23889c5b2d", "section_path": ["变更"], "commit_groups": [["23064542f", "4a36c89f1", "547a8aaa7", "817f74600", "899de38d8"]], "identity_text": "Fix failure after replaying a multixid truncation record from WAL that was generated by an older minor version (Heikki Linnakangas) Erroneous logic for coping with the way that previous versions handled multixid wraparound led to replay failure, with messages like could not access status of transaction. A typical scenario in which this could occur is a standby server of the latest minor version consuming WAL from a primary server of an older version.", "commit_aliases": ["23064542f", "4a36c89f1", "547a8aaa7", "817f74600", "899de38d8"], "source_commits": ["817f74600"], "source_entry_id": "18.3/changes/001", "db_id": "6d7df9238b789e2555fe1290d455a61a", "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d", "relations": [{"rule": 2, "type": "equivalent", "target": "269e20cac41b248d80f469e35fb3be04", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}}, {"rule": 2, "type": "equivalent", "target": "54acee06ad9ee6f00cba048e48dfdadc", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}}, {"rule": 2, "type": "equivalent", "target": "ac9d069b97f39c99f4c9540523c6dd01", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}}, {"rule": 2, "type": "equivalent", "target": "bb4c9dfad3173d99906963ab569e5990", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}}], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "269e20cac41b248d80f469e35fb3be04", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}, "url": "/docs/compare/?release=17.9#17.9-80ecbcad5117683e", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "54acee06ad9ee6f00cba048e48dfdadc", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}, "url": "/docs/compare/?release=16.13#16.13-2ec40dc78a340503", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}, {"db_id": "ac9d069b97f39c99f4c9540523c6dd01", "kind": "equivalent", "version": "15.17", "label": "15.17", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}, "url": "/docs/compare/?release=15.17#15.17-b825392cb651a3f2", "source_url": "/docs/release/15.17/#ZH-AUTO-RELEASE-15-SECT2-2"}, {"db_id": "bb4c9dfad3173d99906963ab569e5990", "kind": "equivalent", "version": "14.22", "label": "14.22", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}, "url": "/docs/compare/?release=14.22#14.22-b825392cb651a3f2", "source_url": "/docs/release/14.22/#ZH-AUTO-RELEASE-14-SECT2-2"}]}, {"id": "18.3-77113f5b52409590", "cves": ["CVE-2026-2006"], "html": "<p>避免在对<span>“<span>经过 TOAST 处理</span>”</span>的数据应用 <code>substring()</code> 时误报无效编码（Noah Misch）<a href=\"https://postgr.es/c/6e045e1a6\">§</a> <a href=\"https://postgr.es/c/d04b34d68\">§</a> <a href=\"https://postgr.es/c/4174e41b9\">§</a></p>\n<p>针对 CVE-2026-2006 的修复过于激进，在原本合法的情况下也可能报出字符不完整错误。</p>", "text": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码（Noah Misch）§ § § 针对 CVE-2026-2006 的修复过于激进，在原本合法的情况下也可能报出字符不完整错误。", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "commits": ["4174e41b9", "6e045e1a6", "d04b34d68"], "section": "变更", "category": "security", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "385042f170395ab48ac62db0063a8cbfa5ec36f5acc462be6ce28d90a0d3e02c", "section_path": ["变更"], "commit_groups": [["14b1fd617", "5d5232bc3", "6e045e1a6", "9f4fd119b", "a20eb248c", "bdfb37228"], ["2280ab354", "50d361f62", "8cef93d8a", "a0769e74d", "d04b34d68", "ec86152e0"], ["4174e41b9", "44fc85bbf", "45eb47230", "4644f8b23", "5b305ebcc", "8e73530f1"]], "identity_text": "Avoid incorrect complaint of invalid encoding when substring() is applied to toasted data (Noah Misch) The fix for CVE-2026-2006 was too aggressive and could raise an error about an incomplete character in cases that are actually valid.", "commit_aliases": ["14b1fd617", "2280ab354", "4174e41b9", "44fc85bbf", "45eb47230", "4644f8b23", "50d361f62", "5b305ebcc", "5d5232bc3", "6e045e1a6", "8cef93d8a", "8e73530f1", "9f4fd119b", "a0769e74d", "a20eb248c", "bdfb37228", "d04b34d68", "ec86152e0"], "source_commits": ["4174e41b9", "6e045e1a6", "d04b34d68"], "source_entry_id": "18.3/changes/002", "db_id": "9b63cad6030353d772f1330dfd687e9f", "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747", "relations": [{"rule": 2, "type": "equivalent", "target": "2913b28e99dd666bc31951814a799735", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}}, {"rule": 2, "type": "equivalent", "target": "91516991913d971894a1428891e4772e", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}}, {"rule": 2, "type": "equivalent", "target": "da9fc04e8b825c72955bd70be9fd53ee", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}}, {"rule": 2, "type": "equivalent", "target": "fe28a154c085da9085a635db8d9d4460", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}}], "version": "18.3", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "91516991913d971894a1428891e4772e", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}, "url": "/docs/compare/?release=17.9#17.9-24d7e69f6ec0ae9a", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "fe28a154c085da9085a635db8d9d4460", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}, "url": "/docs/compare/?release=16.13#16.13-46657f359d7a6c06", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}, {"db_id": "2913b28e99dd666bc31951814a799735", "kind": "equivalent", "version": "15.17", "label": "15.17", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}, "url": "/docs/compare/?release=15.17#15.17-ed7a109835c41923", "source_url": "/docs/release/15.17/#ZH-AUTO-RELEASE-15-SECT2-2"}, {"db_id": "da9fc04e8b825c72955bd70be9fd53ee", "kind": "equivalent", "version": "14.22", "label": "14.22", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}, "url": "/docs/compare/?release=14.22#14.22-0e619c964c972dcb", "source_url": "/docs/release/14.22/#ZH-AUTO-RELEASE-14-SECT2-2"}]}, {"id": "18.3-760673c96f02dc6a", "cves": ["CVE-2026-2007"], "html": "<p>修复针对 CVE-2026-2007 的修复中遗漏的问题（Zsolt Parragi）<a href=\"https://postgr.es/c/041e02e6a\">§</a></p>\n<p>如果因为输入包含的三字符组比初始估计更多而需要扩展 <span>“<span>bounds</span>”</span> 数组，<code>generate_trgm_only</code> 没有把修改后的数组指针返回给调用者。这会导致 <code>strict_word_similarity()</code> 及相关函数输出错误，极少数情况下还会崩溃。如果输入字符串在转换为小写后变长，就会触发这段错误代码。目前已知仅会在某些单字节编码配合 ICU 区域设置时发生这种情况。</p>", "text": "修复针对 CVE-2026-2007 的修复中遗漏的问题（Zsolt Parragi）§ 如果因为输入包含的三字符组比初始估计更多而需要扩展 “bounds” 数组，generate_trgm_only 没有把修改后的数组指针返回给调用者。这会导致 strict_word_similarity() 及相关函数输出错误，极少数情况下还会崩溃。如果输入字符串在转换为小写后变长，就会触发这段错误代码。目前已知仅会在某些单字节编码配合 ICU 区域设置时发生这种情况。", "title": "修复针对 CVE-2026-2007 的修复中遗漏的问题", "commits": ["041e02e6a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "b353c8f16f7cf05d4c8ce29c2e27cb990261f851a19bb5942a3636d3c0e0eb06", "section_path": ["变更"], "commit_groups": [["041e02e6a", "18bcdb75d"]], "identity_text": "Fix oversight in the fix for CVE-2026-2007 (Zsolt Parragi) If the bounds array needed to be expanded, because the input contained more trigrams than the initial guess, generate_trgm_only didn't return the modified array pointer to its caller. That would lead to incorrect output from strict_word_similarity() and related functions, or in rare cases a crash. The faulty code is reached if the input string becomes longer when it's converted to lower case. The only known instances of that occur when an ICU locale is used with certain single-byte encodings.", "commit_aliases": ["041e02e6a", "18bcdb75d"], "source_commits": ["041e02e6a"], "source_entry_id": "18.3/changes/003", "db_id": "bba76daa4b2c3aa3dad7cb3348361627", "patch_ids": ["5746d160c61038943aab7567edcfacd5"], "statement_hash": "aeb227836e4937f484397599f9cfd2ab0c9663370769305feeb631f1ea2c1bbf", "relations": [], "version": "18.3", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.3-2fc407c7b5f1163b", "cves": [], "html": "<p>修复 <code>json_strip_nulls()</code> 和 <code>jsonb_strip_nulls()</code> 的波动性标记（Andrew Dunstan）<a href=\"https://postgr.es/c/2f6ee7b38\">§</a></p>\n<p>这些函数一直被视为不可变，但在版本 18 的重构中却意外被标记为稳定。这会阻止它们被用于索引表达式，并可能导致查询中不必要的重复求值。该修复会纠正在新初始化的数据库集簇中的标记（包括通过 <span>pg_upgrade</span> 升级到 18.3 或更高版本的集簇）。但是，它无法帮助使用 18.0 到 18.2 创建的现有集簇。</p>\n<p>如果这一错误影响到了你对这些函数的使用，建议对现有集簇执行手工目录更新。以超级用户身份在每个受影响的数据库中执行：</p>\n<pre>UPDATE pg_catalog.pg_proc SET provolatile = 'i' WHERE oid IN ('3261','3262');\n</pre>\n<p>同时也要更新 <code>template0</code> 和 <code>template1</code>，这样将来新建的数据库也会带有该修复。</p>", "text": "修复 json_strip_nulls() 和 jsonb_strip_nulls() 的波动性标记（Andrew Dunstan）§ 这些函数一直被视为不可变，但在版本 18 的重构中却意外被标记为稳定。这会阻止它们被用于索引表达式，并可能导致查询中不必要的重复求值。该修复会纠正在新初始化的数据库集簇中的标记（包括通过 pg_upgrade 升级到 18.3 或更高版本的集簇）。但是，它无法帮助使用 18.0 到 18.2 创建的现有集簇。 如果这一错误影响到了你对这些函数的使用，建议对现有集簇执行手工目录更新。以超级用户身份在每个受影响的数据库中执行： UPDATE pg_catalog.pg_proc SET provolatile = 'i' WHERE oid IN ('3261','3262'); 同时也要更新 template0 和 template1，这样将来新建的数据库也会带有该修复。", "title": "修复 json_strip_nulls() 和 jsonb_strip_nulls() 的波动性标记", "commits": ["2f6ee7b38"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "69cd62e964905e515097310ffca11c4981f7e1a31ce586fae8c7446405c7e7fd", "section_path": ["变更"], "commit_groups": [["2f6ee7b38"], ["759b03b24"]], "identity_text": "Fix the volatility marking of json_strip_nulls() and jsonb_strip_nulls() (Andrew Dunstan) These functions have always been considered immutable, but refactoring in version 18 accidentally marked them stable instead. That prevents their use in index expressions and could cause unnecessary repeat evaluations in queries. This fix corrects the marking in newly-initialized database clusters (including clusters that are pg_upgrade'd to 18.3 or later). However it will not help existing clusters made using 18.0 through 18.2. If this mistake affects your usage of these functions, the recommended fix for an existing cluster is a manual catalog update. As superuser, perform UPDATE pg_catalog.pg_proc SET provolatile = 'i' WHERE oid IN ('3261','3262'); in each affected database. Update template0 and template1 as well, so that databases made in future will have the fix.", "commit_aliases": ["2f6ee7b38", "759b03b24"], "source_commits": ["2f6ee7b38", "759b03b24"], "source_entry_id": "18.3/changes/004", "db_id": "b0676672ef3eccce4bfc53495f6c6dc3", "patch_ids": ["3a0025921520001b45028dce4cf6545c", "3c779614e5f31760b4d0ff66997fdc12"], "statement_hash": "ea52638885fce4815a12bef2616101dc58e758e28f6544ac1d5ed498078d7721", "relations": [], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.3-cd0444df0515373f", "cves": [], "html": "<p>修复对 <code>LATERAL UNION ALL</code> 子查询输出可能将其置空的外连接集合的计算（Richard Guo）<a href=\"https://postgr.es/c/ed57c207c\">§</a></p>\n<p>这一错误可能导致系统误以为某些 <code>NOT NULL</code> 测试没有必要，从而跳过这些测试，最终产生错误的查询结果。</p>", "text": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算（Richard Guo）§ 这一错误可能导致系统误以为某些 NOT NULL 测试没有必要，从而跳过这些测试，最终产生错误的查询结果。", "title": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算", "commits": ["ed57c207c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "302cb4fe2adf6432d8f08ed99bb29e82b7882f2d697a8f894356bbe18a9632f6", "section_path": ["变更"], "commit_groups": [["691977d37", "bcaf1b510", "ec20a4552", "ed57c207c"]], "identity_text": "Fix computation of the set of potentially-nulling outer joins for the output of a LATERAL UNION ALL subquery (Richard Guo) This error could lead to skipping NOT NULL tests in the mistaken belief that they were unnecessary, resulting in wrong query output.", "commit_aliases": ["691977d37", "bcaf1b510", "ec20a4552", "ed57c207c"], "source_commits": ["ed57c207c"], "source_entry_id": "18.3/changes/005", "db_id": "18fdbd910c49cc504248c6225d989414", "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683", "relations": [{"rule": 2, "type": "equivalent", "target": "b67986c165e36a1a03e1f26aa1714455", "evidence": {"same_day": true, "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683"}}, {"rule": 2, "type": "equivalent", "target": "b8d8d19411ef9eb6905835bde4b0a556", "evidence": {"same_day": true, "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683"}}], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b67986c165e36a1a03e1f26aa1714455", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算", "evidence": {"same_day": true, "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683"}, "url": "/docs/compare/?release=17.9#17.9-1441e21296f1914d", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "b8d8d19411ef9eb6905835bde4b0a556", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算", "evidence": {"same_day": true, "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683"}, "url": "/docs/compare/?release=16.13#16.13-8d356903eb4a95b4", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}]}, {"id": "18.3-0f7d74b3efc6c659", "cves": [], "html": "<p>避免用户自定义约束与自动命名的 <code>NOT NULL</code> 约束发生名称冲突（Laurenz Albe）<a href=\"https://postgr.es/c/8d9a97e0b\">§</a></p>\n<p>从版本 18 开始，<code>NOT NULL</code> 约束拥有完整的 <code>pg_constraint</code> 条目，因此需要名字。对未命名 <code>NOT NULL</code> 约束选择名称的逻辑，未能避免与同一 <code>CREATE TABLE</code> 语句中用户编写的其他约束发生冲突。</p>", "text": "避免用户自定义约束与自动命名的 NOT NULL 约束发生名称冲突（Laurenz Albe）§ 从版本 18 开始，NOT NULL 约束拥有完整的 pg_constraint 条目，因此需要名字。对未命名 NOT NULL 约束选择名称的逻辑，未能避免与同一 CREATE TABLE 语句中用户编写的其他约束发生冲突。", "title": "避免用户自定义约束与自动命名的 NOT NULL 约束发生名称冲突", "commits": ["8d9a97e0b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "39458dc6a2571ebb70095b8c7716b51af2fe99d225b57860fddba4da475bde38", "section_path": ["变更"], "commit_groups": [["0eeffd31b", "8d9a97e0b"]], "identity_text": "Avoid name collisions between user-written constraints and automatically-named NOT NULL constraints (Laurenz Albe) As of version 18, NOT NULL constraints have full-fledged pg_constraint entries, and therefore require names. The logic for choosing a name for an unnamed NOT NULL constraint failed to avoid conflicts with user-written constraints elsewhere in the same CREATE TABLE statement.", "commit_aliases": ["0eeffd31b", "8d9a97e0b"], "source_commits": ["8d9a97e0b"], "source_entry_id": "18.3/changes/006", "db_id": "d4784548a1f32ea6f8bd918343dcdb09", "patch_ids": ["c17004a9d75adab1b627cac20c7716b1"], "statement_hash": "fd81cebb242019e1085e6af82a15875472cff42d16d84f62d9fa32656c8c4aca", "relations": [], "version": "18.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.3-a63ceb8e607a4b1d", "cves": [], "html": "<p>修复 <code>pg_stat_get_backend_wait_event()</code> 和 <code>pg_stat_get_backend_wait_event_type()</code>，使其能够为辅助进程返回值（Heikki Linnakangas）<a href=\"https://postgr.es/c/53463b4b2\">§</a></p>\n<p>此前，这些函数对辅助进程返回 NULL，但这与 <code>pg_stat_activity</code> 视图的行为不一致。</p>", "text": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值（Heikki Linnakangas）§ 此前，这些函数对辅助进程返回 NULL，但这与 pg_stat_activity 视图的行为不一致。", "title": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值", "commits": ["53463b4b2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "91a5c560e1bbd5f686e75fe66a5b3021d7fc701042d51efc04e223bf814b2b9a", "section_path": ["变更"], "commit_groups": [["2332911ae", "53463b4b2", "78a5e3074", "82b495cdd", "842473337", "ebc53ca7b"]], "identity_text": "Fix pg_stat_get_backend_wait_event() and pg_stat_get_backend_wait_event_type() to report values for auxiliary processes (Heikki Linnakangas) Previously these functions returned NULL for auxiliary processes, but that's inconsistent with the pg_stat_activity view.", "commit_aliases": ["2332911ae", "53463b4b2", "78a5e3074", "82b495cdd", "842473337", "ebc53ca7b"], "source_commits": ["53463b4b2"], "source_entry_id": "18.3/changes/007", "db_id": "51c535e1e5383ba40f60f95b951f7542", "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90", "relations": [{"rule": 2, "type": "equivalent", "target": "0fa32f0f7fbb9d8c7a7a1cfeaa993230", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}}, {"rule": 2, "type": "equivalent", "target": "b1227a7b977e0fdde28e2260fd4055ca", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}}, {"rule": 2, "type": "equivalent", "target": "ca6d569bfd12f83cd8b663f7b1b14c38", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}}, {"rule": 2, "type": "equivalent", "target": "d389f553498aab12a33e8658e42c2ebd", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}}], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ca6d569bfd12f83cd8b663f7b1b14c38", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}, "url": "/docs/compare/?release=17.9#17.9-49611ef76ca99838", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "0fa32f0f7fbb9d8c7a7a1cfeaa993230", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}, "url": "/docs/compare/?release=16.13#16.13-ba7ab6fc9d199173", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}, {"db_id": "d389f553498aab12a33e8658e42c2ebd", "kind": "equivalent", "version": "15.17", "label": "15.17", "title": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}, "url": "/docs/compare/?release=15.17#15.17-004af2947054d2ea", "source_url": "/docs/release/15.17/#ZH-AUTO-RELEASE-15-SECT2-2"}, {"db_id": "b1227a7b977e0fdde28e2260fd4055ca", "kind": "equivalent", "version": "14.22", "label": "14.22", "title": "修复 pg_stat_get_backend_wait_event() 和 pg_stat_get_backend_wait_event_type()，使其能够为辅助进程返回值", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}, "url": "/docs/compare/?release=14.22#14.22-380d81041c2b7b37", "source_url": "/docs/release/14.22/#ZH-AUTO-RELEASE-14-SECT2-2"}]}, {"id": "18.3-68534f113dfbb27d", "cves": [], "html": "<p>修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题（Tom Lane）<a href=\"https://postgr.es/c/ce4b7e3a1\">§</a></p>\n<p>如果该变量的值为 NULL，则会出现 <span>“<span>cache lookup failed for type 0</span>”</span> 错误。</p>", "text": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题（Tom Lane）§ 如果该变量的值为 NULL，则会出现 “cache lookup failed for type 0” 错误。", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "commits": ["ce4b7e3a1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "fbea03cca43c2b95870d7024da9123755c4689d0eebbc20fd8aab766b4475f49", "section_path": ["变更"], "commit_groups": [["254b15cbf", "2b93d3820", "9863c9075", "c66f4cff1", "ce4b7e3a1", "dfd850980"]], "identity_text": "Fix casting a composite-type variable to a domain type when returning its value from a PL/pgSQL function (Tom Lane) If the variable's value is NULL, a cache lookup failed for type 0 error resulted.", "commit_aliases": ["254b15cbf", "2b93d3820", "9863c9075", "c66f4cff1", "ce4b7e3a1", "dfd850980"], "source_commits": ["ce4b7e3a1"], "source_entry_id": "18.3/changes/008", "db_id": "d7289871637eb477a52d704b8b129dee", "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5", "relations": [{"rule": 2, "type": "equivalent", "target": "08e9766e078b0f98d664963d7351568a", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}}, {"rule": 2, "type": "equivalent", "target": "1f6375c5be0406ebaeab1ddd1281f48a", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}}, {"rule": 2, "type": "equivalent", "target": "509c9d18c03750ab5a1af4533e9e3f71", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}}, {"rule": 2, "type": "equivalent", "target": "b3e55b2d8440115c6283ddb4434aed5d", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}}], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1f6375c5be0406ebaeab1ddd1281f48a", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}, "url": "/docs/compare/?release=17.9#17.9-00f1ed550848c3b5", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "b3e55b2d8440115c6283ddb4434aed5d", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}, "url": "/docs/compare/?release=16.13#16.13-63ccf52c03df56be", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}, {"db_id": "509c9d18c03750ab5a1af4533e9e3f71", "kind": "equivalent", "version": "15.17", "label": "15.17", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}, "url": "/docs/compare/?release=15.17#15.17-f14d3ac393cef450", "source_url": "/docs/release/15.17/#ZH-AUTO-RELEASE-15-SECT2-2"}, {"db_id": "08e9766e078b0f98d664963d7351568a", "kind": "equivalent", "version": "14.22", "label": "14.22", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}, "url": "/docs/compare/?release=14.22#14.22-3b6651931176e1ab", "source_url": "/docs/release/14.22/#ZH-AUTO-RELEASE-14-SECT2-2"}]}, {"id": "18.3-72cba4c8d34e077e", "cves": [], "html": "<p>修复 <code>contrib/hstore</code> 二进制输入函数中潜在的空指针解引用问题（Michael Paquier）<a href=\"https://postgr.es/c/4a0843c53\">§</a></p>\n<p><code>hstore</code> 的接收函数在输入包含重复键时会崩溃。由 PostgreSQL 生成的 <code>hstore</code> 值永远不会包含重复键，因此这一错误一直未被发现。恶意构造或损坏的数据都可能触发该崩溃。</p>", "text": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题（Michael Paquier）§ hstore 的接收函数在输入包含重复键时会崩溃。由 PostgreSQL 生成的 hstore 值永远不会包含重复键，因此这一错误一直未被发现。恶意构造或损坏的数据都可能触发该崩溃。", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "commits": ["4a0843c53"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.3/#RELEASE-18-3-CHANGES", "source_hash": "20214df866b099d0ab12c5b30e2b32054f6cf39fae39bed47e62534149a7a8af", "section_path": ["变更"], "commit_groups": [["0dfbe42da", "31d0b917d", "4a0843c53", "63c05e03b", "a6f823e77", "f604cc695"]], "identity_text": "Fix potential null pointer dereference in contrib/hstore's binary input function (Michael Paquier) hstore's receive function crashed on input containing duplicate keys. hstore values generated by Postgres would never contain duplicate keys, so this mistake has gone unnoticed. The crash could be provoked by malicious or corrupted data.", "commit_aliases": ["0dfbe42da", "31d0b917d", "4a0843c53", "63c05e03b", "a6f823e77", "f604cc695"], "source_commits": ["4a0843c53"], "source_entry_id": "18.3/changes/009", "db_id": "302f35b8c992f59981d9c8bbcbf80b74", "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d", "relations": [{"rule": 2, "type": "equivalent", "target": "333c171c538037b7ded4bd4a610b1799", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}}, {"rule": 2, "type": "equivalent", "target": "3a65408ffac19ce6c90d333d8d5318cf", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}}, {"rule": 2, "type": "equivalent", "target": "6c2d1768700fe19270f371e13fa79343", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}}, {"rule": 2, "type": "equivalent", "target": "88acf3ddcff5993038ed18e0a7157844", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}}], "version": "18.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a65408ffac19ce6c90d333d8d5318cf", "kind": "equivalent", "version": "17.9", "label": "17.9", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}, "url": "/docs/compare/?release=17.9#17.9-09236fba7643dbb2", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES"}, {"db_id": "6c2d1768700fe19270f371e13fa79343", "kind": "equivalent", "version": "16.13", "label": "16.13", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}, "url": "/docs/compare/?release=16.13#16.13-cbdd4e244cbf6bcb", "source_url": "/docs/release/16.13/#RELEASE-16-13-CHANGES"}, {"db_id": "88acf3ddcff5993038ed18e0a7157844", "kind": "equivalent", "version": "15.17", "label": "15.17", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}, "url": "/docs/compare/?release=15.17#15.17-cf5bd5f4632c2dc1", "source_url": "/docs/release/15.17/#ZH-AUTO-RELEASE-15-SECT2-2"}, {"db_id": "333c171c538037b7ded4bd4a610b1799", "kind": "equivalent", "version": "14.22", "label": "14.22", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}, "url": "/docs/compare/?release=14.22#14.22-e6357c39af22cdb6", "source_url": "/docs/release/14.22/#ZH-AUTO-RELEASE-14-SECT2-2"}]}]}, {"date": "2026-02-12", "build": "18.2", "major": "18", "minor": 2, "manual": "18", "status": "stable", "doc_git": "", "version": "18.2", "eol_date": "2030-11-14", "date_text": "2026-02-12", "supported": true, "manual_url": "/docs/18/release-18-2.html", "source_url": "/docs/release/18.2/", "entry_count": 75, "placeholder": false, "content_hash": "e1e850244cdaa9980577a4439dfc87e3a503230c069463d053458cf6079d1e70", "manual_build": "18.6", "source_as_of": "", "changes_count": 75, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>\n<p>但是，如果你在 <code>ltree</code> 列上建有索引，则更新后可能需要对其重新索引。请参见下方第六条变更记录。</p>", "compatibility_count": 0, "label": "18.2", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 226, "support_days": 1510, "entries": [{"id": "18.2-5c52afa7301594c6", "cves": ["CVE-2026-2003"], "html": "<p>防止 <code>oidvector</code>/<code>int2vector</code> 出现意外的维度（Tom Lane）<a href=\"https://postgr.es/c/3b6588cd9\">§</a></p>\n<p>这些数据类型预期为不含空值的一维数组，但某些类型转换路径允许违背这些预期。现已为一些原本依赖这些预期却未加验证的函数补充检查，因为它们可能因此产生错误行为。</p>\n<p><span>PostgreSQL</span> 项目感谢 Altan Birler 报告此问题。（CVE-2026-2003）</p>", "text": "防止 oidvector/int2vector 出现意外的维度（Tom Lane）§ 这些数据类型预期为不含空值的一维数组，但某些类型转换路径允许违背这些预期。现已为一些原本依赖这些预期却未加验证的函数补充检查，因为它们可能因此产生错误行为。 PostgreSQL 项目感谢 Altan Birler 报告此问题。（CVE-2026-2003）", "title": "防止 oidvector/int2vector 出现意外的维度", "commits": ["3b6588cd9"], "section": "变更", "category": "security", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "fe994475fb9f99a34b9728f5a5e7ac9315c8f8a27bd6204ddfa72d82ab2f7d91", "section_path": ["变更"], "commit_groups": [["3b6588cd9", "3d160401b", "429aeaebd", "595956fc7", "60e7ae41a", "b39d38139"]], "identity_text": "Guard against unexpected dimensions of oidvector/int2vector (Tom Lane) These data types are expected to be 1-dimensional arrays containing no nulls, but there are cast pathways that permit violating those expectations. Add checks to some functions that were depending on those expectations without verifying them, and could misbehave in consequence. The PostgreSQL Project thanks Altan Birler for reporting this problem. (CVE-2026-2003)", "commit_aliases": ["3b6588cd9", "3d160401b", "429aeaebd", "595956fc7", "60e7ae41a", "b39d38139"], "source_commits": ["3b6588cd9"], "source_entry_id": "18.2/changes/001", "db_id": "020aec6d98ff35dcd4eca87ecb7d21fd", "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787", "relations": [{"rule": 2, "type": "equivalent", "target": "8db55cd2cacfbefb7d8380baee0440a5", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}}, {"rule": 2, "type": "equivalent", "target": "93680dc2fc005fc9bc0a92b7d80ee23b", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}}, {"rule": 2, "type": "equivalent", "target": "d474cd2cf9a4505bba396d502fe366fe", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}}, {"rule": 2, "type": "equivalent", "target": "dadfe1bd35a127e4b2350a876ce5f39d", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}}], "version": "18.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "dadfe1bd35a127e4b2350a876ce5f39d", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "防止 oidvector/int2vector 出现意外的维度", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}, "url": "/docs/compare/?release=17.8#17.8-a1109c4f32ae03d0", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "93680dc2fc005fc9bc0a92b7d80ee23b", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "防止 oidvector/int2vector 出现意外的维度", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}, "url": "/docs/compare/?release=16.12#16.12-289361027e903f71", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "8db55cd2cacfbefb7d8380baee0440a5", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "防止 oidvector/int2vector 出现意外的维度", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}, "url": "/docs/compare/?release=15.16#15.16-cffa85682917fc25", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "d474cd2cf9a4505bba396d502fe366fe", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "防止 oidvector/int2vector 出现意外的维度", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}, "url": "/docs/compare/?release=14.21#14.21-182abf620be79725", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-0a3add9d9f709ebd", "cves": ["CVE-2026-2004"], "html": "<p>增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护（Tom Lane）<a href=\"https://postgr.es/c/66ddac698\">§</a> <a href=\"https://postgr.es/c/b69af3dda\">§</a></p>\n<p><code>contrib/intarray</code> 包含一个选择率估算函数；由于它未检查输入是否为预期的数据类型，该函数可被滥用来执行任意代码。第三方扩展也应检查是否存在类似风险，并采用 intarray 现在使用的技术来增加防护。由于此类扩展的修复需要时间，我们现在要求具有超级用户权限，才能将非内置的选择率估算器附加到操作符上。</p>\n<p><span>PostgreSQL</span> 项目感谢 Daniel Firer（zeroday.cloud 成员）报告此问题。（CVE-2026-2004）</p>", "text": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护（Tom Lane）§ § contrib/intarray 包含一个选择率估算函数；由于它未检查输入是否为预期的数据类型，该函数可被滥用来执行任意代码。第三方扩展也应检查是否存在类似风险，并采用 intarray 现在使用的技术来增加防护。由于此类扩展的修复需要时间，我们现在要求具有超级用户权限，才能将非内置的选择率估算器附加到操作符上。 PostgreSQL 项目感谢 Daniel Firer（zeroday.cloud 成员）报告此问题。（CVE-2026-2004）", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "commits": ["66ddac698", "b69af3dda"], "section": "变更", "category": "security", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "5f2877c96b4d6a2170fba3c7e8bcac2815e78cd423e2e9f62e69ec8dee5ebdaa", "section_path": ["变更"], "commit_groups": [["3ecc84cce", "9fa38c572", "d484bc260", "dbb09fd8e"], ["66ddac698", "841d42cc4", "91d7c0bfd", "b764b26f2", "bbf5bcf58", "ea3bf3498"], ["7e82d9a04", "8ebdf41c2", "b69af3dda", "c0887b39d", "dd3ad2a4d", "deb464a40"]], "identity_text": "Harden selectivity estimators against being attached to operators that accept unexpected data types (Tom Lane) contrib/intarray contained a selectivity estimation function that could be abused for arbitrary code execution, because it did not check that its input was of the expected data type. Third-party extensions should check for similar hazards and add defenses using the technique intarray now uses. Since such extension fixes will take time, we now require superuser privilege to attach a non-built-in selectivity estimator to an operator. The PostgreSQL Project thanks Daniel Firer, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2004)", "commit_aliases": ["3ecc84cce", "66ddac698", "7e82d9a04", "841d42cc4", "8ebdf41c2", "91d7c0bfd", "9fa38c572", "b69af3dda", "b764b26f2", "bbf5bcf58", "c0887b39d", "d484bc260", "dbb09fd8e", "dd3ad2a4d", "deb464a40", "ea3bf3498"], "source_commits": ["66ddac698", "b69af3dda", "dbb09fd8e"], "source_entry_id": "18.2/changes/002", "db_id": "853a0accddf2290afda1b4c5d74207ed", "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4", "relations": [{"rule": 2, "type": "equivalent", "target": "184452363a4be8fbad69f06eb60df539", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}}, {"rule": 2, "type": "equivalent", "target": "3cfe051a6ace1086d9ff67af367a40f4", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}}, {"rule": 2, "type": "equivalent", "target": "b368f952921e7f029d36869bd2860743", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}}, {"rule": 2, "type": "equivalent", "target": "eb75ba70d74784578edba6ea18a6aaf9", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}}], "version": "18.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "eb75ba70d74784578edba6ea18a6aaf9", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}, "url": "/docs/compare/?release=17.8#17.8-66e960e22441cfaa", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "184452363a4be8fbad69f06eb60df539", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}, "url": "/docs/compare/?release=16.12#16.12-9d7c1c9d84e5292d", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "b368f952921e7f029d36869bd2860743", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}, "url": "/docs/compare/?release=15.16#15.16-9ecdcfc6d990fa17", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "3cfe051a6ace1086d9ff67af367a40f4", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}, "url": "/docs/compare/?release=14.21#14.21-4f1356e5a78a8982", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-c6669984145bd55c", "cves": ["CVE-2026-2005"], "html": "<p>修复 <code>contrib/pgcrypto</code> PGP 解密函数中的缓冲区溢出问题（Michael Paquier）<a href=\"https://postgr.es/c/209f387b8\">§</a></p>\n<p>解密带有超长会话密钥的精心构造消息会导致缓冲区溢出，严重时甚至可能执行任意代码。</p>\n<p><span>PostgreSQL</span> 项目感谢 Team Xint Code（zeroday.cloud 成员）报告此问题。（CVE-2026-2005）</p>", "text": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题（Michael Paquier）§ 解密带有超长会话密钥的精心构造消息会导致缓冲区溢出，严重时甚至可能执行任意代码。 PostgreSQL 项目感谢 Team Xint Code（zeroday.cloud 成员）报告此问题。（CVE-2026-2005）", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "commits": ["209f387b8"], "section": "变更", "category": "security", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "791a96f3e49adc249c0a775ab7d8472cdeebaadf676276ed6cf8345c0921e5fc", "section_path": ["变更"], "commit_groups": [["01de2e32d", "209f387b8", "379695d3c", "527b730f4", "7a7d9693c", "9a9982ec6"]], "identity_text": "Fix buffer overrun in contrib/pgcrypto's PGP decryption functions (Michael Paquier) Decrypting a crafted message with an overlength session key caused a buffer overrun, with consequences as bad as arbitrary code execution. The PostgreSQL Project thanks Team Xint Code, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2005)", "commit_aliases": ["01de2e32d", "209f387b8", "379695d3c", "527b730f4", "7a7d9693c", "9a9982ec6"], "source_commits": ["209f387b8"], "source_entry_id": "18.2/changes/003", "db_id": "ef4c4d388861428d41d8694448d1ec90", "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307", "relations": [{"rule": 2, "type": "equivalent", "target": "bdd4104dfc3659a38e0f0389ee19b847", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}}, {"rule": 2, "type": "equivalent", "target": "d0b0ce25a07e9ad598056180477520b6", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}}, {"rule": 2, "type": "equivalent", "target": "e4dd47f240a98be34ae099044d8a2b56", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}}, {"rule": 2, "type": "equivalent", "target": "e7bf20473d33d5835462a40fa9fd5552", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}}], "version": "18.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d0b0ce25a07e9ad598056180477520b6", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}, "url": "/docs/compare/?release=17.8#17.8-ad02898fb1831e36", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "e7bf20473d33d5835462a40fa9fd5552", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}, "url": "/docs/compare/?release=16.12#16.12-a3ed183e10806004", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "e4dd47f240a98be34ae099044d8a2b56", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}, "url": "/docs/compare/?release=15.16#15.16-55f620c5255ec99f", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "bdd4104dfc3659a38e0f0389ee19b847", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}, "url": "/docs/compare/?release=14.21#14.21-8072e6858a1ccb57", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-b28dc0bb7dc6b053", "cves": ["CVE-2026-2006"], "html": "<p>修复多字节字符长度验证不充分的问题（Thomas Munro，Noah Misch）<a href=\"https://postgr.es/c/df0852fe0\">§</a> <a href=\"https://postgr.es/c/efef05ba9\">§</a> <a href=\"https://postgr.es/c/7b5fc85be\">§</a> <a href=\"https://postgr.es/c/b0f5d25bc\">§</a> <a href=\"https://postgr.es/c/b42709194\">§</a> <a href=\"https://postgr.es/c/4543b02af\">§</a></p>\n<p>多处漏洞使攻击者只要能够发出精心构造的 SQL，就可能溢出字符串缓冲区，严重时甚至可以执行任意代码。应用这些修复后，当字符串函数处理数据库中存储的无效文本时，应用程序可能会看到 <span>“<span>invalid byte sequence for encoding</span>”</span> 错误。</p>\n<p><span>PostgreSQL</span> 项目感谢 Paul Gerste 和 Moritz Sanft（zeroday.cloud 成员）报告此问题。（CVE-2026-2006）</p>", "text": "修复多字节字符长度验证不充分的问题（Thomas Munro，Noah Misch）§ § § § § § 多处漏洞使攻击者只要能够发出精心构造的 SQL，就可能溢出字符串缓冲区，严重时甚至可以执行任意代码。应用这些修复后，当字符串函数处理数据库中存储的无效文本时，应用程序可能会看到 “invalid byte sequence for encoding” 错误。 PostgreSQL 项目感谢 Paul Gerste 和 Moritz Sanft（zeroday.cloud 成员）报告此问题。（CVE-2026-2006）", "title": "修复多字节字符长度验证不充分的问题", "commits": ["4543b02af", "7b5fc85be", "b0f5d25bc", "b42709194", "df0852fe0", "efef05ba9"], "section": "变更", "category": "security", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "d557f73b34b4644693c2136f42999479e3bf11299615ca496ccfc56912747e88", "section_path": ["变更"], "commit_groups": [["0c33d5608", "8373ed094", "8f8b1ffac", "b42709194", "d536aee55", "dc072a09a"], ["10ebc4bd6", "4c08960d9", "757bf8145", "b0f5d25bc", "c67bef3f3", "e7591254c"], ["1e7fe06c1", "319e8a644", "7b5fc85be", "cecedb912", "d837fb029", "fd82ddb67"], ["2a53db21e", "70ff9ede5", "838248b1b", "af79c30dc", "b2c81ac86", "df0852fe0"], ["4543b02af", "5301b2b7d", "6f741bcb6", "763671b74", "955433ebd", "c5dc75479"], ["50863be0b", "6ed116046", "74ee636cc", "7a522039f", "b0e3f5cf9", "efef05ba9"]], "identity_text": "Fix inadequate validation of multibyte character lengths (Thomas Munro, Noah Misch) Assorted bugs allowed an attacker able to issue crafted SQL to overrun string buffers, with consequences as bad as arbitrary code execution. After these fixes, applications may observe invalid byte sequence for encoding errors when string functions process invalid text that has been stored in the database. The PostgreSQL Project thanks Paul Gerste and Moritz Sanft, as part of zeroday.cloud, for reporting this problem. (CVE-2026-2006)", "commit_aliases": ["0c33d5608", "10ebc4bd6", "1e7fe06c1", "2a53db21e", "319e8a644", "4543b02af", "4c08960d9", "50863be0b", "5301b2b7d", "6ed116046", "6f741bcb6", "70ff9ede5", "74ee636cc", "757bf8145", "763671b74", "7a522039f", "7b5fc85be", "8373ed094", "838248b1b", "8f8b1ffac", "955433ebd", "af79c30dc", "b0e3f5cf9", "b0f5d25bc", "b2c81ac86", "b42709194", "c5dc75479", "c67bef3f3", "cecedb912", "d536aee55", "d837fb029", "dc072a09a", "df0852fe0", "e7591254c", "efef05ba9", "fd82ddb67"], "source_commits": ["4543b02af", "7b5fc85be", "b0f5d25bc", "b42709194", "df0852fe0", "efef05ba9"], "source_entry_id": "18.2/changes/004", "db_id": "66ef8e4bb930ff6d7fb76f1509e60bdb", "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb", "relations": [{"rule": 2, "type": "equivalent", "target": "25b98554e64d0842a180907318bd502a", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}}, {"rule": 2, "type": "equivalent", "target": "2fee65050d60d6944038f5de1fd6e77f", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}}, {"rule": 2, "type": "equivalent", "target": "c7f1c767af36d148849ecf12abc7b39c", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}}, {"rule": 2, "type": "equivalent", "target": "e5c2b929807dffd0fc80d18ac5ef27da", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}}], "version": "18.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2fee65050d60d6944038f5de1fd6e77f", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复多字节字符长度验证不充分的问题", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}, "url": "/docs/compare/?release=17.8#17.8-0378679c62701a5e", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "c7f1c767af36d148849ecf12abc7b39c", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复多字节字符长度验证不充分的问题", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}, "url": "/docs/compare/?release=16.12#16.12-d657c6f02bbf824f", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "e5c2b929807dffd0fc80d18ac5ef27da", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复多字节字符长度验证不充分的问题", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}, "url": "/docs/compare/?release=15.16#15.16-62940c666c30fc8b", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "25b98554e64d0842a180907318bd502a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复多字节字符长度验证不充分的问题", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}, "url": "/docs/compare/?release=14.21#14.21-0170b76fb58a4a02", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-c06546179f64c96f", "cves": ["CVE-2026-2007"], "html": "<p>加固 <code>contrib/pg_trgm</code>，以应对字符串转小写行为的变化（Heikki Linnakangas）<a href=\"https://postgr.es/c/e0965fb1a\">§</a> <a href=\"https://postgr.es/c/18548681d\">§</a></p>\n<p>修复潜在的缓冲区越界问题，因为在某些区域设置中，将字符串转换为小写后产生的字符数可能多于原始字符串中的字符数（而非字节数）。这种行为是版本 18 中新增的，因此该缺陷也是新引入的。</p>\n<p><span>PostgreSQL</span> 项目感谢 Heikki Linnakangas 报告此问题。（CVE-2026-2007）</p>", "text": "加固 contrib/pg_trgm，以应对字符串转小写行为的变化（Heikki Linnakangas）§ § 修复潜在的缓冲区越界问题，因为在某些区域设置中，将字符串转换为小写后产生的字符数可能多于原始字符串中的字符数（而非字节数）。这种行为是版本 18 中新增的，因此该缺陷也是新引入的。 PostgreSQL 项目感谢 Heikki Linnakangas 报告此问题。（CVE-2026-2007）", "title": "加固 contrib/pg_trgm，以应对字符串转小写行为的变化", "commits": ["18548681d", "e0965fb1a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "4ca1b05495d40ac64500fd5b28f5325eae1f38a331b7a0742faa0c82d591ebed", "section_path": ["变更"], "commit_groups": [["00896ddaf", "e0965fb1a"], ["18548681d", "54598670f"]], "identity_text": "Harden contrib/pg_trgm against changes in string lowercasing behavior (Heikki Linnakangas) Fix potential buffer overruns arising from the fact that in some locales lower-casing a string can produce more characters (not bytes) than were in the original. That behavior is new in version 18, and so is the bug. The PostgreSQL Project thanks Heikki Linnakangas for reporting this problem. (CVE-2026-2007)", "commit_aliases": ["00896ddaf", "18548681d", "54598670f", "e0965fb1a"], "source_commits": ["18548681d", "e0965fb1a"], "source_entry_id": "18.2/changes/005", "db_id": "95fa609ca10598fcbb0e28380f59c52b", "patch_ids": ["5701670e8636f3ad6e90ece759b0f13c", "58324894c92d02a2d347ffa71bcabd58"], "statement_hash": "842194f3cb8ebb43fc2cf44a76c56bf4cdf698c126f74cd0b634e06ad05f42e6", "relations": [], "version": "18.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-8107ada0cc1987cf", "cves": [], "html": "<p>修复 <code>contrib/ltree</code> 中不一致的大小写不敏感匹配问题（Jeff Davis）<a href=\"https://postgr.es/c/806555e30\">§</a> <a href=\"https://postgr.es/c/8993bf099\">§</a></p>\n<p><code>ltree</code> 中与索引相关的例程所使用的大小写折叠实现与主操作符不同。只有在默认排序规则提供者为 libc 且编码为单字节时，两者行为才一致。</p>\n<p>为修复该问题，代码已改为使用数据库默认排序规则的大小写折叠行为。除非数据库使用 libc 作为排序规则提供者且其编码为单字节，否则此更改要求对 <code>ltree</code> 列上的索引重新建立索引（无论索引访问方法为何）。否则，使用这些索引的搜索将无法找到相关条目。</p>", "text": "修复 contrib/ltree 中不一致的大小写不敏感匹配问题（Jeff Davis）§ § ltree 中与索引相关的例程所使用的大小写折叠实现与主操作符不同。只有在默认排序规则提供者为 libc 且编码为单字节时，两者行为才一致。 为修复该问题，代码已改为使用数据库默认排序规则的大小写折叠行为。除非数据库使用 libc 作为排序规则提供者且其编码为单字节，否则此更改要求对 ltree 列上的索引重新建立索引（无论索引访问方法为何）。否则，使用这些索引的搜索将无法找到相关条目。", "title": "修复 contrib/ltree 中不一致的大小写不敏感匹配问题", "commits": ["806555e30", "8993bf099"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "293c30e613b4d435169de45a9fb1127d910bf354fdcf42643453ef65f1940336", "section_path": ["变更"], "commit_groups": [["7f007e4a0", "806555e30"], ["8993bf099"]], "identity_text": "Fix inconsistent case-insensitive matching in contrib/ltree (Jeff Davis) Index-related routines in ltree used a different implementation of case-folding than the primary operators did. Their behavior was equivalent only if the default collation provider was libc and the encoding was single-byte. To fix, change the code to use case-folding with the database's default collation. This change will require reindexing indexes on ltree columns (regardless of the index access method) unless the database uses libc as collation provider and its encoding is single-byte. Without that, searches of such indexes will fail to locate relevant entries.", "commit_aliases": ["7f007e4a0", "806555e30", "8993bf099"], "source_commits": ["806555e30", "8993bf099"], "source_entry_id": "18.2/changes/006", "db_id": "f1aaa470ec2427a3bbea9a8b789e4da3", "patch_ids": ["20bcd119c7a5ccd8d6c5b2cbec82a03f", "91c3e917f6a5ec72c88bfb372b71316e"], "statement_hash": "bf596476471b4eb2b843395c81da162031723bd1b8e69d43b32ae7afc01863fb", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-bffed45d64e86015", "cves": [], "html": "<p>使用 <code>ALTER TABLE ... ADD CONSTRAINT</code> 为列添加显式命名的非空约束时，如果该列已经标记为 NOT NULL，则要求所提供的名称与现有约束名称一致（Álvaro Herrera、Srinath Reddy Sadipiralla）。<a href=\"https://postgr.es/c/492a69e14\">§</a></p>", "text": "使用 ALTER TABLE ... ADD CONSTRAINT 为列添加显式命名的非空约束时，如果该列已经标记为 NOT NULL，则要求所提供的名称与现有约束名称一致（Álvaro Herrera、Srinath Reddy Sadipiralla）。§", "title": "使用 ALTER TABLE ... ADD CONSTRAINT 为列添加显式命名的非空约束时，如果该列已经标记为 NOT NULL，则要求所提供的名称与现有约束名称一致（Álvaro Herrera、Srinath Reddy Sadipiralla）。", "commits": ["492a69e14"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "801bf7f08770f729a2298f661ae3b3e5239f7907db1365e7ea819e16d06ae28a", "section_path": ["变更"], "commit_groups": [["492a69e14", "96e2af605"]], "identity_text": "When using ALTER TABLE ... ADD CONSTRAINT to add a not-null constraint with an explicit name, if the column is already marked NOT NULL, require that the provided name match the existing constraint name (Álvaro Herrera, Srinath Reddy Sadipiralla)", "commit_aliases": ["492a69e14", "96e2af605"], "source_commits": ["492a69e14"], "source_entry_id": "18.2/changes/007", "db_id": "56dc21c3cd2fff96c529ae9b2f971e88", "patch_ids": ["ad511117ad108627aac3bc33ba669536"], "statement_hash": "8a1913dbe2937a6cc326c741017e415951638e48685efb1731d90b2f92245875", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-d6f0ddb2f2597bb2", "cves": [], "html": "<p>不允许由子查询中的 CTE 引用决定聚合函数的语义层级（Tom Lane）<a href=\"https://postgr.es/c/12bc32917\">§</a></p>\n<p>此变更撤销了两个小版本之前引入的一项更改；现在，如果某个子查询引用的 CTE 所处层级低于按标准 SQL 规则依据其中的列引用和聚合所判定的聚合语义层级，将抛出错误。先前的修复方案本身也带来了问题，而且目前尚不清楚应如何处理。由于 SQL 标准本就完全不允许在聚合中包含子查询，将此类情况视为错误似乎已经足够。</p>", "text": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级（Tom Lane）§ 此变更撤销了两个小版本之前引入的一项更改；现在，如果某个子查询引用的 CTE 所处层级低于按标准 SQL 规则依据其中的列引用和聚合所判定的聚合语义层级，将抛出错误。先前的修复方案本身也带来了问题，而且目前尚不清楚应如何处理。由于 SQL 标准本就完全不允许在聚合中包含子查询，将此类情况视为错误似乎已经足够。", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "commits": ["12bc32917"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "7441d1eca0c2bfb6db24f0e89519196554b2eb9ff55fca9d77f788145bc59a02", "section_path": ["变更"], "commit_groups": [["075a763e2", "12bc32917", "1c8c3206f", "35b5c62c3", "9f5a58aac", "b85397481"]], "identity_text": "Don't allow CTE references in sub-selects to determine semantic levels of aggregate functions (Tom Lane) This change undoes a change made two minor releases ago, instead throwing an error if a sub-select references a CTE that's below the semantic level that standard SQL rules would assign to the aggregate based on contained column references and aggregates. The attempted fix turned out to cause problems of its own, and it's unclear what to do instead. Since sub-selects within aggregates are disallowed altogether by the SQL standard, treating such cases as errors seems sufficient.", "commit_aliases": ["075a763e2", "12bc32917", "1c8c3206f", "35b5c62c3", "9f5a58aac", "b85397481"], "source_commits": ["12bc32917"], "source_entry_id": "18.2/changes/008", "db_id": "968c190ce539c030cfe3824a0cddc761", "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059", "relations": [{"rule": 2, "type": "equivalent", "target": "128a16829eb01aeea2a683fa84040725", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}}, {"rule": 2, "type": "equivalent", "target": "4864352d8953061a7f3e2f942fd405e2", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}}, {"rule": 2, "type": "equivalent", "target": "cc9e6465c86b962c0dda27e8afcac193", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}}, {"rule": 2, "type": "equivalent", "target": "dcc6e6d85b35d0422b8e17422a731c4a", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "128a16829eb01aeea2a683fa84040725", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}, "url": "/docs/compare/?release=17.8#17.8-69605b7e08548aa0", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "cc9e6465c86b962c0dda27e8afcac193", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}, "url": "/docs/compare/?release=16.12#16.12-e79313988f03e883", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "4864352d8953061a7f3e2f942fd405e2", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}, "url": "/docs/compare/?release=15.16#15.16-dc510262703bad79", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "dcc6e6d85b35d0422b8e17422a731c4a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}, "url": "/docs/compare/?release=14.21#14.21-9f3dcc608f8165a8", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-449ed1ba9b72a08e", "cves": [], "html": "<p>修复 CTE 查询中 <code>MERGE</code> 的触发器过渡表捕获问题（Dean Rasheed）<a href=\"https://postgr.es/c/c6ce4dcf9\">§</a></p>\n<p>当执行包含 <code>MERGE</code> 和另一个对具有语句级 <code>AFTER</code> 触发器的表的 DML 操作的数据修改 CTE 查询时，传递给触发器的过渡表将不包含 <code>MERGE</code> 影响的行，而只包含其他操作影响的行。</p>", "text": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题（Dean Rasheed）§ 当执行包含 MERGE 和另一个对具有语句级 AFTER 触发器的表的 DML 操作的数据修改 CTE 查询时，传递给触发器的过渡表将不包含 MERGE 影响的行，而只包含其他操作影响的行。", "title": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题", "commits": ["c6ce4dcf9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "f0f05b23484c67560aedd4d68f8ad30f449b5ab9539724f34f75fc1723abd0a3", "section_path": ["变更"], "commit_groups": [["b4307ae2e", "c5824536e", "c5fc17dda", "c6ce4dcf9", "e7391bbf1"]], "identity_text": "Fix trigger transition table capture for MERGE in CTE queries (Dean Rasheed) When executing a data-modifying CTE query containing both a MERGE and another DML operation on a table with statement-level AFTER triggers, the transition tables passed to the triggers would not include the rows affected by the MERGE, only those affected by the other operation(s).", "commit_aliases": ["b4307ae2e", "c5824536e", "c5fc17dda", "c6ce4dcf9", "e7391bbf1"], "source_commits": ["c6ce4dcf9"], "source_entry_id": "18.2/changes/009", "db_id": "e753c6457f34a85baec08d989ba33d82", "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9", "relations": [{"rule": 2, "type": "equivalent", "target": "67486d10436f31c845689f24645f975f", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}}, {"rule": 2, "type": "equivalent", "target": "d454fc992715ec69f11869ffab65efab", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}}, {"rule": 2, "type": "equivalent", "target": "d4a6c61bfb31b9d9da04d2ea0c6cf39b", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d454fc992715ec69f11869ffab65efab", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}, "url": "/docs/compare/?release=17.8#17.8-a05a36b6df4c6b60", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "d4a6c61bfb31b9d9da04d2ea0c6cf39b", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}, "url": "/docs/compare/?release=16.12#16.12-224692435a938225", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "67486d10436f31c845689f24645f975f", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}, "url": "/docs/compare/?release=15.16#15.16-3bdf28daf1c8fa5a", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}]}, {"id": "18.2-5cdbe1aab8d4d9b3", "cves": [], "html": "<p>修复对非关系范围表条目（例如子查询）所对应行标记的错误剪枝（Dean Rasheed）<a href=\"https://postgr.es/c/f335457e8\">§</a></p>\n<p>如果拟执行的行更新需要由 EvalPlanQual 复查修改，例如该行被并发更新时，此问题会导致不正确的结果。</p>", "text": "修复对非关系范围表条目（例如子查询）所对应行标记的错误剪枝（Dean Rasheed）§ 如果拟执行的行更新需要由 EvalPlanQual 复查修改，例如该行被并发更新时，此问题会导致不正确的结果。", "title": "修复对非关系范围表条目（例如子查询）所对应行标记的错误剪枝", "commits": ["f335457e8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "95c63c924f06095199dadafd4b211e2cb34c79ddccf7c381c757e7449284fd4f", "section_path": ["变更"], "commit_groups": [["889676a0d", "f335457e8"]], "identity_text": "Fix incorrect pruning of rowmarks belonging to non-relation rangetable entries, such as subqueries (Dean Rasheed) This led to incorrect results if a proposed row update needed to be modified by EvalPlanQual rechecking, as could happen if there was a concurrent update to that row.", "commit_aliases": ["889676a0d", "f335457e8"], "source_commits": ["f335457e8"], "source_entry_id": "18.2/changes/010", "db_id": "caf0b499119457e7b5f32e7812786e45", "patch_ids": ["cc7499fdc74374d0838681b0e4e6cbce"], "statement_hash": "1302bad0f15fa4ccc1f2e489bbe7c15b86ea748af40600dd43abfa98cb1694f5", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-6f5d6058ff3801ed", "cves": [], "html": "<p>修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题（Amit Langote）<a href=\"https://postgr.es/c/9f4b7bfc5\">§</a></p>\n<p>在这种情况下，执行器可能报告 <span>“<span>could not find junk ctid column</span>”</span> 错误，即使实际上无需执行任何操作。</p>", "text": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题（Amit Langote）§ 在这种情况下，执行器可能报告 “could not find junk ctid column” 错误，即使实际上无需执行任何操作。", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "commits": ["9f4b7bfc5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "ae613928441a2248bf5dcb5b91ec42acf14302127242c9163500608ef0f6674e", "section_path": ["变更"], "commit_groups": [["687533b39", "6d2fa44d2", "933f67fb6", "9f4b7bfc5", "f9a468c66", "fab386f74"]], "identity_text": "Fix failure when all children of a partitioned target table of an update or delete have been pruned (Amit Langote) In such cases, the executor could report could not find junk ctid column errors, even though nothing needs to be done.", "commit_aliases": ["687533b39", "6d2fa44d2", "933f67fb6", "9f4b7bfc5", "f9a468c66", "fab386f74"], "source_commits": ["9f4b7bfc5"], "source_entry_id": "18.2/changes/011", "db_id": "f4b5a0c770a80f36d1c78eef1f635128", "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3", "relations": [{"rule": 2, "type": "equivalent", "target": "179b2113d34cec63f6ed7d3339773014", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}, {"rule": 2, "type": "equivalent", "target": "4ced629daa2801c0202dec91097dd571", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}, {"rule": 2, "type": "equivalent", "target": "63da9c3d80fbdcaacf4a6c8e130df7a3", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}, {"rule": 2, "type": "equivalent", "target": "7a4315af35989c84209f54d435f1bc39", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "63da9c3d80fbdcaacf4a6c8e130df7a3", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}, "url": "/docs/compare/?release=17.8#17.8-47d93f8afe450b73", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "7a4315af35989c84209f54d435f1bc39", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}, "url": "/docs/compare/?release=16.12#16.12-4f022f27b3f533c3", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "179b2113d34cec63f6ed7d3339773014", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}, "url": "/docs/compare/?release=15.16#15.16-fc6e34c9815a3a0c", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "4ced629daa2801c0202dec91097dd571", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}, "url": "/docs/compare/?release=14.21#14.21-807fef0437b28900", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-76075de65b93bee4", "cves": [], "html": "<p>修复数组下标内子查询的表达式求值错误（Andres Freund）<a href=\"https://postgr.es/c/bdc5dedfc\">§</a></p>", "text": "修复数组下标内子查询的表达式求值错误（Andres Freund）§", "title": "修复数组下标内子查询的表达式求值错误", "commits": ["bdc5dedfc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "cc7d39b69e97d5475b6643118ea3c371f3d8748bd98ed00644a2d6c2e2e83bce", "section_path": ["变更"], "commit_groups": [["75609fded", "bdc5dedfc"]], "identity_text": "Fix expression evaluation bug for a sub-select within an array subscript (Andres Freund)", "commit_aliases": ["75609fded", "bdc5dedfc"], "source_commits": ["bdc5dedfc"], "source_entry_id": "18.2/changes/012", "db_id": "d51cc67df421ce0b185e4351a475c98c", "patch_ids": ["5908ce8e0da90c8b77e7a7d38c3e1377"], "statement_hash": "2125e6ce990cf454284474b773e9091e1c42ad8ba7465f081da4fd84ee20d578", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-ae79adaf8f257b64", "cves": [], "html": "<p>修复非确定性排序规则下的文本子串搜索（Laurenz Albe）<a href=\"https://postgr.es/c/18b349315\">§</a></p>\n<p>使用非确定性排序规则时，未能检测到恰好位于被搜索字符串末尾的匹配。</p>", "text": "修复非确定性排序规则下的文本子串搜索（Laurenz Albe）§ 使用非确定性排序规则时，未能检测到恰好位于被搜索字符串末尾的匹配。", "title": "修复非确定性排序规则下的文本子串搜索", "commits": ["18b349315"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "d0c98fcaf9a96ad1be16714c11aab51affff7efb750446d6d233191c575718d6", "section_path": ["变更"], "commit_groups": [["18b349315", "6dfce8420"]], "identity_text": "Fix text substring search for non-deterministic collations (Laurenz Albe) When using a non-deterministic collation, we failed to detect a match occurring at the very end of the searched string.", "commit_aliases": ["18b349315", "6dfce8420"], "source_commits": ["18b349315"], "source_entry_id": "18.2/changes/013", "db_id": "6b7eab2a0410d798bfe50ae7628ef2dc", "patch_ids": ["ea38b18c588f3f94f7b67f3c7c313412"], "statement_hash": "310b7de794986202c641c1b8c3d90b363fa90fb99c78c23f1c7cff31b4f4747b", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-339f2dc7a8d3edca", "cves": [], "html": "<p>避免当查询包含重复的窗口函数调用时规划器可能出现的失败（Meng Zhang，David Rowley）<a href=\"https://postgr.es/c/ccde5be68\">§</a></p>\n<p>对此类调用去重时的混淆可能导致诸如 <span>“<span>WindowFunc with winref 2 assigned to WindowAgg with winref 1</span>”</span> 之类的错误。</p>", "text": "避免当查询包含重复的窗口函数调用时规划器可能出现的失败（Meng Zhang，David Rowley）§ 对此类调用去重时的混淆可能导致诸如 “WindowFunc with winref 2 assigned to WindowAgg with winref 1” 之类的错误。", "title": "避免当查询包含重复的窗口函数调用时规划器可能出现的失败", "commits": ["ccde5be68"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "fc0dae4adf33bc18af8510a13791cb63b3243cb74e0fb7ec0534f349211c5782", "section_path": ["变更"], "commit_groups": [["4297a3519", "7027dd499", "cae812741", "ccde5be68"]], "identity_text": "Avoid possible planner failure when a query contains duplicate window function calls (Meng Zhang, David Rowley) Confusion over de-duplication of such calls could result in errors like WindowFunc with winref 2 assigned to WindowAgg with winref 1.", "commit_aliases": ["4297a3519", "7027dd499", "cae812741", "ccde5be68"], "source_commits": ["ccde5be68"], "source_entry_id": "18.2/changes/014", "db_id": "4b3957065e21f608944a30199fa8b0a3", "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e", "relations": [{"rule": 2, "type": "equivalent", "target": "74b77b8e6ab0ea1bc12ae9243c478255", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}}, {"rule": 2, "type": "equivalent", "target": "7ac52809fbfe8babeb50e09de2f149dc", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7ac52809fbfe8babeb50e09de2f149dc", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "避免当查询包含重复的窗口函数调用时规划器可能出现的失败", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}, "url": "/docs/compare/?release=17.8#17.8-a2c5213ddb6acb5c", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "74b77b8e6ab0ea1bc12ae9243c478255", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "避免当查询包含重复的窗口函数调用时规划器可能出现的失败", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}, "url": "/docs/compare/?release=16.12#16.12-8fbbc59398435d48", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}]}, {"id": "18.2-649e6794b398ddbb", "cves": [], "html": "<p>修复涉及返回集合的函数和分组集的规划器错误（Richard Guo）<a href=\"https://postgr.es/c/382ce9cb7\">§</a></p>\n<p>构造 ProjectSet 计划节点时，规划器未能识别出涉及分组表达式的子表达式已由输入计划计算。这会导致低效计划，或出现 <span>“<span>variable not found in subplan target list</span>”</span> 等错误。</p>", "text": "修复涉及返回集合的函数和分组集的规划器错误（Richard Guo）§ 构造 ProjectSet 计划节点时，规划器未能识别出涉及分组表达式的子表达式已由输入计划计算。这会导致低效计划，或出现 “variable not found in subplan target list” 等错误。", "title": "修复涉及返回集合的函数和分组集的规划器错误", "commits": ["382ce9cb7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "bfe0c00a4c0bd63be1d00cedf698d85b72a12a918ad78e6380acde776206dc0e", "section_path": ["变更"], "commit_groups": [["325808cac", "382ce9cb7"]], "identity_text": "Fix planner error with set-returning functions and grouping sets (Richard Guo) When constructing a ProjectSet plan node, the planner failed to detect that subexpressions involving grouping expressions were already computed by the input plan. This led to inefficient plans or errors such as variable not found in subplan target list.", "commit_aliases": ["325808cac", "382ce9cb7"], "source_commits": ["382ce9cb7"], "source_entry_id": "18.2/changes/015", "db_id": "bc2a159eaf3974e7716604942064c56f", "patch_ids": ["eeb8feeb82fe026545fa79e36fe8e45a"], "statement_hash": "1c3b6e833fd7b899cf7ef68c26c207cfe9f1fd37cce060a0ea001c22d4e52b17", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-6765d768956aae6e", "cves": [], "html": "<p>避免在子查询的分组子句包含易变函数或返回集合的函数时进行不正确的优化（Richard Guo）<a href=\"https://postgr.es/c/7650eabb6\">§</a></p>\n<p>规划器会尝试下推引用此类分组列的外层查询限制，这会因为对易变函数进行多次求值而导致错误行为，或者因将返回集合的函数引入子查询的 <code>WHERE</code>/<code>HAVING</code> 子句而报错。</p>", "text": "避免在子查询的分组子句包含易变函数或返回集合的函数时进行不正确的优化（Richard Guo）§ 规划器会尝试下推引用此类分组列的外层查询限制，这会因为对易变函数进行多次求值而导致错误行为，或者因将返回集合的函数引入子查询的 WHERE/HAVING 子句而报错。", "title": "避免在子查询的分组子句包含易变函数或返回集合的函数时进行不正确的优化", "commits": ["7650eabb6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "ab9c80987ac3a97add7ebc6bf2a3e7915a82f69bbf712cb57a5c1d38f722a237", "section_path": ["变更"], "commit_groups": [["34740b90b", "7650eabb6"]], "identity_text": "Avoid incorrect optimization when a subquery's grouping clause contains a volatile or set-returning function (Richard Guo) The planner was willing to push down outer-query restrictions referencing such a grouping column, leading to incorrect behavior due to multiple evaluation of a volatile function, or errors caused by introduction of a set-returning function into the subquery's WHERE/HAVING clauses.", "commit_aliases": ["34740b90b", "7650eabb6"], "source_commits": ["7650eabb6"], "source_entry_id": "18.2/changes/016", "db_id": "9b5a3307e8e1098ff8eef8ca23427644", "patch_ids": ["a57bfe9b17a406dcabee6035042eee67"], "statement_hash": "38a215b6ea2052b022eeb01f4141057758fbd647538154244b177bbeaea77912", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-746d4217820b0179", "cves": [], "html": "<p>在搜索表达式的统计信息时穿透 PlaceHolderVar 节点（Richard Guo）<a href=\"https://postgr.es/c/7e9f852a7\">§</a></p>\n<p>此更改允许规划器找到从子查询上拉出来的表达式，或用于 <code>GROUP BY</code> 的表达式的相关统计信息，从而避免退回到默认估算值。（严格来说，我们也许应该调整找到的统计信息，以反映该值为 NULL 的概率增加，但对于普通 Var 我们也从未做过同等处理。）这一限制虽由来已久，但 <span>PostgreSQL</span> 18 让 PlaceHolderVar 的出现比以前更常见，因此做出此修改以避免受影响场景中的计划退化。</p>", "text": "在搜索表达式的统计信息时穿透 PlaceHolderVar 节点（Richard Guo）§ 此更改允许规划器找到从子查询上拉出来的表达式，或用于 GROUP BY 的表达式的相关统计信息，从而避免退回到默认估算值。（严格来说，我们也许应该调整找到的统计信息，以反映该值为 NULL 的概率增加，但对于普通 Var 我们也从未做过同等处理。）这一限制虽由来已久，但 PostgreSQL 18 让 PlaceHolderVar 的出现比以前更常见，因此做出此修改以避免受影响场景中的计划退化。", "title": "在搜索表达式的统计信息时穿透 PlaceHolderVar 节点", "commits": ["7e9f852a7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "2e3fe0c0b9544928ab0db692c8afc782b0d2fe59c6e0976a7e3fc982e6453423", "section_path": ["变更"], "commit_groups": [["559f9e90d", "7e9f852a7"]], "identity_text": "Look through PlaceHolderVar nodes when searching for statistics about an expression (Richard Guo) This change allows the planner to find relevant statistics about expressions pulled up from subqueries or used in GROUP BY, avoiding falling back to a default estimate. (Arguably we should adjust any found statistics to account for an increased probability of the value being NULL, but we've never done the equivalent thing for plain Vars either.) While this restriction is old, changes in PostgreSQL version 18 made PlaceHolderVars more common than before, so make the change to avoid plan regressions in affected cases.", "commit_aliases": ["559f9e90d", "7e9f852a7"], "source_commits": ["7e9f852a7"], "source_entry_id": "18.2/changes/017", "db_id": "1fd583db09b5d4f529a7cc73d10d9b3e", "patch_ids": ["a2b0342c9a69df2baecdd5b03c45ecdb"], "statement_hash": "37469dabc76b94c5c696a16261f7cc8e3a46334e6d787ceca0d2b3b1fbe08e65", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-0677f3efa6183aff", "cves": [], "html": "<p>在将表达式匹配到索引时穿透无操作的 PlaceHolderVar 节点（Richard Guo）<a href=\"https://postgr.es/c/b4cf74420\">§</a></p>\n<p>由于 <span>PostgreSQL</span> 18 在更多场景下使用 PlaceHolderVar，一些原本可以使用索引的查询反而不能使用索引了。新增相应逻辑以防止这种退化。</p>", "text": "在将表达式匹配到索引时穿透无操作的 PlaceHolderVar 节点（Richard Guo）§ 由于 PostgreSQL 18 在更多场景下使用 PlaceHolderVar，一些原本可以使用索引的查询反而不能使用索引了。新增相应逻辑以防止这种退化。", "title": "在将表达式匹配到索引时穿透无操作的 PlaceHolderVar 节点", "commits": ["b4cf74420"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "a22a975a62936995e5c733505e5cb2413d8e0ffe0fc8ea23bab714f1ed47ce58", "section_path": ["变更"], "commit_groups": [["ad66f705f", "b4cf74420"]], "identity_text": "Look through no-op PlaceHolderVar nodes when matching expressions to indexes (Richard Guo) Because PostgreSQL version 18 uses PlaceHolderVars in more cases than before, some queries that formerly could use an index failed to do so. Add logic to prevent that regression.", "commit_aliases": ["ad66f705f", "b4cf74420"], "source_commits": ["b4cf74420"], "source_entry_id": "18.2/changes/018", "db_id": "210a202963ef31d2c268f29448660f49", "patch_ids": ["53d01d1a3c53c6464ef09ecc976ee332"], "statement_hash": "499947e9b2731bd734d2d41a7fb4749ea9665bdf69c9076c6227ba0edaaa6c0c", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-df3239546e44b0cd", "cves": [], "html": "<p>修复规划器将 <code>OR</code> 子句转换为 ScalarArrayOp 索引条件时的问题（Tender Wang、Tom Lane）<a href=\"https://postgr.es/c/bf5b13a8a\">§</a></p>\n<p>该代码未能正确处理 RelabelType 节点，可能生成无效表达式，或者无法完成本应有效的转换。</p>", "text": "修复规划器将 OR 子句转换为 ScalarArrayOp 索引条件时的问题（Tender Wang、Tom Lane）§ 该代码未能正确处理 RelabelType 节点，可能生成无效表达式，或者无法完成本应有效的转换。", "title": "修复规划器将 OR 子句转换为 ScalarArrayOp 索引条件时的问题", "commits": ["bf5b13a8a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "3ed87fea3bb1e7df63b1e9929de9df6e3de1977345d1ad50cab3a41567b78a13", "section_path": ["变更"], "commit_groups": [["bf5b13a8a", "ed931377a"]], "identity_text": "Fix planner's conversion of OR clauses to ScalarArrayOp index conditions (Tender Wang, Tom Lane) The code did not handle RelabelType nodes correctly, and could generate invalid expressions or fail to perform a valid conversion.", "commit_aliases": ["bf5b13a8a", "ed931377a"], "source_commits": ["bf5b13a8a"], "source_entry_id": "18.2/changes/019", "db_id": "94eedc608f36ae44537859b8b9484ab3", "patch_ids": ["1c449b40bb86e705289bfa79952a34a2"], "statement_hash": "4613d2cb8f7f4c9cb614a7c8886084608316d9fe5c1bbb70ce9149628a5849c7", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-61e225cdb2ce1f36", "cves": [], "html": "<p>允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值（Tom Lane）<a href=\"https://postgr.es/c/a212877dc\">§</a></p>\n<p>通常我们会删除被谓词蕴含的 WHERE 子句，因为测试它没有意义——对于每个索引条目，该条件必然成立。然而，如果索引是需要在前导索引键上有 WHERE 子句的类型（如 hash 索引），这样做可能阻止创建索引扫描计划。在考虑此类索引时，不要删除被蕴含的子句。</p>", "text": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值（Tom Lane）§ 通常我们会删除被谓词蕴含的 WHERE 子句，因为测试它没有意义——对于每个索引条目，该条件必然成立。然而，如果索引是需要在前导索引键上有 WHERE 子句的类型（如 hash 索引），这样做可能阻止创建索引扫描计划。在考虑此类索引时，不要删除被蕴含的子句。", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "commits": ["a212877dc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "940c123fdafbfd46e4011394da6445710439a88097114f626d24be102a557cfb", "section_path": ["变更"], "commit_groups": [["5528e8d10", "9e77323fc", "a212877dc", "b497766a8", "e79b27662", "f19502f04"]], "identity_text": "Allow indexscans on partial hash indexes even when the index's predicate implies the truth of the WHERE clause (Tom Lane) Normally we drop a WHERE clause that is implied by the predicate, since it's pointless to test it; it must hold for every index entry. However that can prevent creation of an indexscan plan if the index is one that requires a WHERE clause on the leading index key, as hash indexes do. Don't drop implied clauses when considering such an index.", "commit_aliases": ["5528e8d10", "9e77323fc", "a212877dc", "b497766a8", "e79b27662", "f19502f04"], "source_commits": ["a212877dc"], "source_entry_id": "18.2/changes/020", "db_id": "ed2a57d1a47eb0ac687c6d995081429b", "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac", "relations": [{"rule": 2, "type": "equivalent", "target": "46491fe43c6b06ae0b36463bb9ec508d", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}}, {"rule": 2, "type": "equivalent", "target": "b1cd37aac266a35b85d498fbf852a341", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}}, {"rule": 2, "type": "equivalent", "target": "be90b044d06ac445fb5ba563113882da", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}}, {"rule": 2, "type": "equivalent", "target": "f2b4b6b2c2b28f97888464f6ce6ad3fa", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "46491fe43c6b06ae0b36463bb9ec508d", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}, "url": "/docs/compare/?release=17.8#17.8-845083cdcffc5df5", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "be90b044d06ac445fb5ba563113882da", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}, "url": "/docs/compare/?release=16.12#16.12-576930101da7e4de", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "b1cd37aac266a35b85d498fbf852a341", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}, "url": "/docs/compare/?release=15.16#15.16-818eabd46b773ca1", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "f2b4b6b2c2b28f97888464f6ce6ad3fa", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}, "url": "/docs/compare/?release=14.21#14.21-a5950a5bc8025cc6", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-569b26ba06e60ceb", "cves": [], "html": "<p>不要为不记录 WAL 的 BRIN 索引生成 WAL（Kirill Reshke）<a href=\"https://postgr.es/c/d77a5f981\">§</a></p>\n<p>一条很少执行到的代码路径错误地为 BRIN 索引生成了 WAL 记录，即使该索引被标记为不记录 WAL。崩溃恢复时将无法重放该记录，并报告文件已存在的错误。</p>", "text": "不要为不记录 WAL 的 BRIN 索引生成 WAL（Kirill Reshke）§ 一条很少执行到的代码路径错误地为 BRIN 索引生成了 WAL 记录，即使该索引被标记为不记录 WAL。崩溃恢复时将无法重放该记录，并报告文件已存在的错误。", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "commits": ["d77a5f981"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "4916ac87639a386a3af9712d074cb0e4c0ef07680859c6be41649e5274b34329", "section_path": ["变更"], "commit_groups": [["460d97020", "4b6d096a0", "951b60f7a", "a5277700e", "ab4256869", "d77a5f981"]], "identity_text": "Do not emit WAL for unlogged BRIN indexes (Kirill Reshke) One seldom-taken code path incorrectly emitted a WAL record relating to a BRIN index even if the index was marked unlogged. Crash recovery would then fail to replay that record, complaining that the file already exists.", "commit_aliases": ["460d97020", "4b6d096a0", "951b60f7a", "a5277700e", "ab4256869", "d77a5f981"], "source_commits": ["d77a5f981"], "source_entry_id": "18.2/changes/021", "db_id": "0937f4c4aaa8ff37a519ed8e315b4268", "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f", "relations": [{"rule": 2, "type": "equivalent", "target": "293acf13040f24b30864b10bd699a3a0", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}}, {"rule": 2, "type": "equivalent", "target": "5e595f6d6c44016c34bfdd305d261a1f", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}}, {"rule": 2, "type": "equivalent", "target": "a7d18f384393c9a111537f87704719de", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}}, {"rule": 2, "type": "equivalent", "target": "e2905bab9de145b119d05715dee49169", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "293acf13040f24b30864b10bd699a3a0", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}, "url": "/docs/compare/?release=17.8#17.8-91a20d38e502ab15", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "a7d18f384393c9a111537f87704719de", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}, "url": "/docs/compare/?release=16.12#16.12-1d78fb1ed6b323ce", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "5e595f6d6c44016c34bfdd305d261a1f", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}, "url": "/docs/compare/?release=15.16#15.16-a50c7a9a9c1966f8", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "e2905bab9de145b119d05715dee49169", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}, "url": "/docs/compare/?release=14.21#14.21-7a0553ecbce106c9", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-f25edebc3313b2e9", "cves": [], "html": "<p>在并行 GIN 索引构建中使用正确的排序函数（Tomas Vondra）<a href=\"https://postgr.es/c/eee71a66c\">§</a></p>\n<p>并行代码使用了默认排序操作符（由列数据类型的 B-树操作符类决定），而它本应在存在时使用 GIN 操作符类指定的排序函数。如果该数据类型没有 B-树操作符类，就会失败；如果操作符类指定的排序函数与 B-树操作符类不一致，则会生成无效索引。</p>", "text": "在并行 GIN 索引构建中使用正确的排序函数（Tomas Vondra）§ 并行代码使用了默认排序操作符（由列数据类型的 B-树操作符类决定），而它本应在存在时使用 GIN 操作符类指定的排序函数。如果该数据类型没有 B-树操作符类，就会失败；如果操作符类指定的排序函数与 B-树操作符类不一致，则会生成无效索引。", "title": "在并行 GIN 索引构建中使用正确的排序函数", "commits": ["eee71a66c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "973146437be60c25c40e87f556a60ea70c774a8c9dfe17423d4113036c477198", "section_path": ["变更"], "commit_groups": [["db14dcdec", "eee71a66c"]], "identity_text": "Use the correct ordering function in parallel GIN index builds (Tomas Vondra) The parallel code used the default ordering operator (which is determined by the column data type's btree opclass), whereas it should use the ordering function specified by the GIN opclass, if any. This led to a failure if the data type has no btree opclass, or to an invalid index if the opclass specifies an ordering function that doesn't agree with the btree opclass.", "commit_aliases": ["db14dcdec", "eee71a66c"], "source_commits": ["eee71a66c"], "source_entry_id": "18.2/changes/022", "db_id": "8bb71f9af38e5b5860817aa7de5e1ab4", "patch_ids": ["aa226fd5175b721e5e2259a6364ccac6"], "statement_hash": "318cfc6b1c80caebb91eb100312a972bee87e50eb8e5e2b385370bf2723cca6d", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-0a2a82e68a475c0b", "cves": [], "html": "<p>防止截断未读 <code>NOTIFY</code> 消息仍然需要的 CLOG（Joel Jacobson，Heikki Linnakangas）<a href=\"https://postgr.es/c/321ec5462\">§</a> <a href=\"https://postgr.es/c/7b069a187\">§</a> <a href=\"https://postgr.es/c/82fa6b78d\">§</a></p>\n<p>此修复防止了当后端进程吸收 <code>NOTIFY</code> 消息较慢时出现的 <span>“<span>could not access status of transaction</span>”</span> 错误。</p>", "text": "防止截断未读 NOTIFY 消息仍然需要的 CLOG（Joel Jacobson，Heikki Linnakangas）§ § § 此修复防止了当后端进程吸收 NOTIFY 消息较慢时出现的 “could not access status of transaction” 错误。", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "commits": ["321ec5462", "7b069a187", "82fa6b78d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "80036028fc43f6a1424113e48c2042ee0819051992e415beff5ba6bdaa114795", "section_path": ["变更"], "commit_groups": [["053e1868b", "1a469d7b5", "321ec5462", "8eeb4a0f7", "d02c03ddc", "eba917d36"], ["0bdc777e8", "0e8eaa218", "21a9014cf", "82fa6b78d", "84f1bf4af", "d80d5f099"], ["0c862646c", "44e8c60be", "797e9ea6e", "7b069a187", "c2682810a", "c2e58c071"]], "identity_text": "Prevent truncation of CLOG that is still needed by unread NOTIFY messages (Joel Jacobson, Heikki Linnakangas) This fix prevents could not access status of transaction errors when a backend is slow to absorb NOTIFY messages.", "commit_aliases": ["053e1868b", "0bdc777e8", "0c862646c", "0e8eaa218", "1a469d7b5", "21a9014cf", "321ec5462", "44e8c60be", "797e9ea6e", "7b069a187", "82fa6b78d", "84f1bf4af", "8eeb4a0f7", "c2682810a", "c2e58c071", "d02c03ddc", "d80d5f099", "eba917d36"], "source_commits": ["321ec5462", "7b069a187", "82fa6b78d"], "source_entry_id": "18.2/changes/023", "db_id": "9ff198dcfbb11c56f5a356cc045a2e21", "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36", "relations": [{"rule": 2, "type": "equivalent", "target": "51e86dfcb154e6afc9dffcc36abdfb81", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}}, {"rule": 2, "type": "equivalent", "target": "b59bb775aaba7282f555785a3372d9b7", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}}, {"rule": 2, "type": "equivalent", "target": "b91addf2aa923755ae6d33001e1ecedf", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}}, {"rule": 2, "type": "equivalent", "target": "fc6cc5e241bcf4f346b4c240b4ebb59c", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b59bb775aaba7282f555785a3372d9b7", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}, "url": "/docs/compare/?release=17.8#17.8-4391ac8372980d16", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "b91addf2aa923755ae6d33001e1ecedf", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}, "url": "/docs/compare/?release=16.12#16.12-c24c02cc9ffbeaa4", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "fc6cc5e241bcf4f346b4c240b4ebb59c", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}, "url": "/docs/compare/?release=15.16#15.16-33cc5dd7a3fa872f", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "51e86dfcb154e6afc9dffcc36abdfb81", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}, "url": "/docs/compare/?release=14.21#14.21-e468ab28720aedd2", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-073ea8d2455d251d", "cves": [], "html": "<p>将 <code>NOTIFY</code> 消息处理期间发生的错误升级为 FATAL，即关闭连接（Heikki Linnakangas）<a href=\"https://postgr.es/c/aab4a84bb\">§</a></p>\n<p>以前，如果后端在吸收 <code>NOTIFY</code> 消息时遇到错误，它会跳过该消息，向客户端报告错误，然后继续运行。但这种行为存在很多问题。一个主要问题是，客户端没有好的方法来知道通知丢失了，更无法知道通知的内容是什么。根据应用逻辑的不同，错过一条通知可能导致应用程序卡在等待状态。此外，剩余的消息在有人发送新的 <code>NOTIFY</code> 之前不会被处理。</p>\n<p>另外，如果连接在接收到 <code>NOTIFY</code> 信号时处于空闲状态，由于无关的原因，任何 ERROR 都会被升级为 FATAL。因此，我们选择在所有情况下都这样做，以保持一致性，并向应用程序提供一个明确的信号，表明它可能错过了一些通知。</p>", "text": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接（Heikki Linnakangas）§ 以前，如果后端在吸收 NOTIFY 消息时遇到错误，它会跳过该消息，向客户端报告错误，然后继续运行。但这种行为存在很多问题。一个主要问题是，客户端没有好的方法来知道通知丢失了，更无法知道通知的内容是什么。根据应用逻辑的不同，错过一条通知可能导致应用程序卡在等待状态。此外，剩余的消息在有人发送新的 NOTIFY 之前不会被处理。 另外，如果连接在接收到 NOTIFY 信号时处于空闲状态，由于无关的原因，任何 ERROR 都会被升级为 FATAL。因此，我们选择在所有情况下都这样做，以保持一致性，并向应用程序提供一个明确的信号，表明它可能错过了一些通知。", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "commits": ["aab4a84bb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "09846176004935d266902d069bce32a6d91b5b71097d0060ae2c4b814edbd8c0", "section_path": ["变更"], "commit_groups": [["1b4699090", "7cb05dd2d", "aab4a84bb", "b1da37de2", "b821c9292", "c1a5bde00"]], "identity_text": "Escalate errors occurring during NOTIFY message processing to FATAL, i.e. close the connection (Heikki Linnakangas) Formerly, if a backend got an error while absorbing a NOTIFY message, it would advance past that message, report the error to the client, and move on. That behavior was fraught with problems though. One big concern is that the client has no good way to know that a notification was lost, and certainly no way to know what was in it. Depending on the application logic, missing a notification could cause the application to get stuck waiting, for example. Also, any remaining messages would not get processed until someone sent a new NOTIFY. Also, if the connection is idle at the time of receiving a NOTIFY signal, any ERROR would be escalated to FATAL anyway, due to unrelated concerns. Therefore, we've chosen to make that happen in all cases, for consistency and to provide a clear signal to the application that it might have missed some notifications.", "commit_aliases": ["1b4699090", "7cb05dd2d", "aab4a84bb", "b1da37de2", "b821c9292", "c1a5bde00"], "source_commits": ["aab4a84bb"], "source_entry_id": "18.2/changes/024", "db_id": "2578b5de351f2e0a0f1cb1385293acf1", "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343", "relations": [{"rule": 2, "type": "equivalent", "target": "2b671b11e767f32199661c5675739435", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}, {"rule": 2, "type": "equivalent", "target": "340f3cdce36c643b1f14a964c498f497", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}, {"rule": 2, "type": "equivalent", "target": "a44a10f8650876c478bd97a4096ffb22", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}, {"rule": 2, "type": "equivalent", "target": "d4ce5365c9cfca02e6db88e5179af61a", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a44a10f8650876c478bd97a4096ffb22", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}, "url": "/docs/compare/?release=17.8#17.8-9232f0a43f14d80d", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "2b671b11e767f32199661c5675739435", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}, "url": "/docs/compare/?release=16.12#16.12-29d9c9d4dad68ed2", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "340f3cdce36c643b1f14a964c498f497", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}, "url": "/docs/compare/?release=15.16#15.16-46172f9fd6222d05", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "d4ce5365c9cfca02e6db88e5179af61a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}, "url": "/docs/compare/?release=14.21#14.21-01ee61ebe13f940a", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-c776aad9e4397483", "cves": [], "html": "<p>在计算查询 ID hash 时纳入分组表达式（Jian He）<a href=\"https://postgr.es/c/9c3caad02\">§</a></p>\n<p>以前，两个除了 <code>GROUP BY</code> 表达式不同之外其余都相同的查询，会被 <code>contrib/pg_stat_statements</code> 以及其他使用查询 ID 的模块合并在一起。</p>", "text": "在计算查询 ID hash 时纳入分组表达式（Jian He）§ 以前，两个除了 GROUP BY 表达式不同之外其余都相同的查询，会被 contrib/pg_stat_statements 以及其他使用查询 ID 的模块合并在一起。", "title": "在计算查询 ID hash 时纳入分组表达式", "commits": ["9c3caad02"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "eedb6675ae097912d0f81eba48a312b4aa303e1482d75a2413f5694c61799ab8", "section_path": ["变更"], "commit_groups": [["9c3caad02", "e217dc748"]], "identity_text": "Consider grouping expressions when computing a query ID hash (Jian He) Previously, two queries that were the same except in GROUP BY expressions would be merged by contrib/pg_stat_statements and other users of query IDs.", "commit_aliases": ["9c3caad02", "e217dc748"], "source_commits": ["9c3caad02"], "source_entry_id": "18.2/changes/025", "db_id": "45a5eeb2bacd1dedc1490b8ffff62798", "patch_ids": ["a0cecf69ec7964724911302c6fa3a07b"], "statement_hash": "e34d8ff79a2989809c11d3caf91cddcce955ac35372061609057c466eb42a6a8", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-6bf24a3ded894f6c", "cves": [], "html": "<p>修复在发生并发更新时 <code>EXPLAIN ANALYZE MERGE</code> 对更新计数错误的问题（Dean Rasheed）<a href=\"https://postgr.es/c/5749d95d4\">§</a></p>\n<p>这种情况会导致 <code>EXPLAIN</code> 输出中的 <span>“<span>skipped</span>”</span> 元组计数错误，或者在启用断言的构建中引发断言失败。</p>", "text": "修复在发生并发更新时 EXPLAIN ANALYZE MERGE 对更新计数错误的问题（Dean Rasheed）§ 这种情况会导致 EXPLAIN 输出中的 “skipped” 元组计数错误，或者在启用断言的构建中引发断言失败。", "title": "修复在发生并发更新时 EXPLAIN ANALYZE MERGE 对更新计数错误的问题", "commits": ["5749d95d4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "869b53748e1daa06b1079f29d8747208ce8a19c53697acc70e68d26522124547", "section_path": ["变更"], "commit_groups": [["1b92fe7bb", "5749d95d4", "d6c415c4b"]], "identity_text": "Fix erroneous counting of updates in EXPLAIN ANALYZE MERGE with a concurrent update (Dean Rasheed) This situation led to an incorrect count of skipped tuples in EXPLAIN's output, or to an assertion failure in an assert-enabled build.", "commit_aliases": ["1b92fe7bb", "5749d95d4", "d6c415c4b"], "source_commits": ["5749d95d4"], "source_entry_id": "18.2/changes/026", "db_id": "25fcb7323829da37f0ce18de95018eec", "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078", "relations": [{"rule": 2, "type": "equivalent", "target": "0cbfe95ba5642b68cc4518c9e5648046", "evidence": {"same_day": true, "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0cbfe95ba5642b68cc4518c9e5648046", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复在发生并发更新时 EXPLAIN ANALYZE MERGE 对更新计数错误的问题", "evidence": {"same_day": true, "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078"}, "url": "/docs/compare/?release=17.8#17.8-ebe5acebca0a9592", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-96ad5c05e88ce8b6", "cves": [], "html": "<p>修复在锁定元组时跟踪更新链的错误（Jasper Smit）<a href=\"https://postgr.es/c/3e3a80f62\">§</a></p>\n<p>此代码路径忽略了检查更新链中第一个新元组的 xmin，使得在原始更新者中止且空间被 <code>VACUUM</code> 立即回收并重新使用的情况下，可能会锁定一个不相关的元组。这可能导致意外的事务延迟或死锁。与识别到错误元组相关的错误也已被观察到。</p>", "text": "修复在锁定元组时跟踪更新链的错误（Jasper Smit）§ 此代码路径忽略了检查更新链中第一个新元组的 xmin，使得在原始更新者中止且空间被 VACUUM 立即回收并重新使用的情况下，可能会锁定一个不相关的元组。这可能导致意外的事务延迟或死锁。与识别到错误元组相关的错误也已被观察到。", "title": "修复在锁定元组时跟踪更新链的错误", "commits": ["3e3a80f62"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "aaabd7b3b88beca355be28b2c64c1bfdcec6f70d7d2f448af2ed53f3240ede76", "section_path": ["变更"], "commit_groups": [["3e3a80f62", "5d5487cd2", "7efef18ff", "955f55068", "b6201c76e", "bb87d7fef"]], "identity_text": "Fix bug in following update chain when locking a tuple (Jasper Smit) This code path neglected to check the xmin of the first new tuple in the update chain, making it possible to lock an unrelated tuple if the original updater aborted and the space was immediately reclaimed by VACUUM and then re-used. That could cause unexpected transaction delays or deadlocks. Errors associated with having identified the wrong tuple have also been observed.", "commit_aliases": ["3e3a80f62", "5d5487cd2", "7efef18ff", "955f55068", "b6201c76e", "bb87d7fef"], "source_commits": ["3e3a80f62"], "source_entry_id": "18.2/changes/027", "db_id": "d4cc08cb8b81ba921b2e9bc0318b23a2", "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1", "relations": [{"rule": 2, "type": "equivalent", "target": "4f4cdca5150cc29cfd55ff6bd60fa8f1", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}}, {"rule": 2, "type": "equivalent", "target": "5ccdb2c39df1f114f475423eacc2efdd", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}}, {"rule": 2, "type": "equivalent", "target": "814dec09a6214d7245a3c0e86beb4e1d", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}}, {"rule": 2, "type": "equivalent", "target": "8954f19da0659a10c8106e76f12e9ccc", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8954f19da0659a10c8106e76f12e9ccc", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复在锁定元组时跟踪更新链的错误", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}, "url": "/docs/compare/?release=17.8#17.8-50532778c9796546", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "5ccdb2c39df1f114f475423eacc2efdd", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复在锁定元组时跟踪更新链的错误", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}, "url": "/docs/compare/?release=16.12#16.12-1952a802cdfdf415", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "814dec09a6214d7245a3c0e86beb4e1d", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复在锁定元组时跟踪更新链的错误", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}, "url": "/docs/compare/?release=15.16#15.16-2115d7c9b8824ad6", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "4f4cdca5150cc29cfd55ff6bd60fa8f1", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复在锁定元组时跟踪更新链的错误", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}, "url": "/docs/compare/?release=14.21#14.21-c0f9814f19f729ee", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-ac8dbfd270ee5d7f", "cves": [], "html": "<p>修复对大表增量备份处理不正确的问题（Robert Haas、Oleg Tkachenko）<a href=\"https://postgr.es/c/c80b0c9d6\">§</a></p>\n<p>如果一个超过 1GB 的表（更一般地说，超过安装的段大小的表）在基础备份和增量备份之间被 <code>VACUUM</code> 截断，<span>pg_combinebackup</span> 可能会因 <span>“<span>truncation block length in excess of segment size</span>”</span> 错误而失败，从而无法恢复该增量备份。</p>", "text": "修复对大表增量备份处理不正确的问题（Robert Haas、Oleg Tkachenko）§ 如果一个超过 1GB 的表（更一般地说，超过安装的段大小的表）在基础备份和增量备份之间被 VACUUM 截断，pg_combinebackup 可能会因 “truncation block length in excess of segment size” 错误而失败，从而无法恢复该增量备份。", "title": "修复对大表增量备份处理不正确的问题", "commits": ["c80b0c9d6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "6529e03f77a10cddc3b78636e480b45fd15e00747523e407587c5dec4351a08b", "section_path": ["变更"], "commit_groups": [["ad569b54a", "c80b0c9d6", "ecd275718"]], "identity_text": "Fix incorrect handling of incremental backups of large tables (Robert Haas, Oleg Tkachenko) If a table exceeding 1GB (or in general, the installation's segment size) is truncated by VACUUM between the base backup and the incremental backup, pg_combinebackup could fail with an error about truncation block length in excess of segment size. This prevented restoring the incremental backup.", "commit_aliases": ["ad569b54a", "c80b0c9d6", "ecd275718"], "source_commits": ["c80b0c9d6"], "source_entry_id": "18.2/changes/028", "db_id": "5de4dbe75c947fa408b59b064069c0f4", "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769", "relations": [{"rule": 2, "type": "equivalent", "target": "396235bc9daa1f15f99178df7bd67a76", "evidence": {"same_day": true, "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "396235bc9daa1f15f99178df7bd67a76", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复对大表增量备份处理不正确的问题", "evidence": {"same_day": true, "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769"}, "url": "/docs/compare/?release=17.8#17.8-9171e2849738082f", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-c5a2be58244ca433", "cves": [], "html": "<p>修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题（Rahila Syed）<a href=\"https://postgr.es/c/1943ceb38\">§</a></p>", "text": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题（Rahila Syed）§", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "commits": ["1943ceb38"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "180197e1a61f1d8e7a43fa25597e6fab706a833f5b2345e7c840fbb264d9daf7", "section_path": ["变更"], "commit_groups": [["1943ceb38", "4071fe900", "980b7c736", "9cbb1d21d", "b926ff137", "f6df78173"]], "identity_text": "Fix potential backend process crash at process exit due to trying to release a lock in an already-unmapped shared memory segment (Rahila Syed)", "commit_aliases": ["1943ceb38", "4071fe900", "980b7c736", "9cbb1d21d", "b926ff137", "f6df78173"], "source_commits": ["1943ceb38"], "source_entry_id": "18.2/changes/029", "db_id": "5ad3db5c0edaa4934f3f9d9b4709c52d", "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3", "relations": [{"rule": 2, "type": "equivalent", "target": "125f7282ee77b2dbf96db553539c22c4", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}}, {"rule": 2, "type": "equivalent", "target": "45af7190ae2808ef37392b8f701626cf", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}}, {"rule": 2, "type": "equivalent", "target": "7be6eebc70de0b6a710a45541a4092f0", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}}, {"rule": 2, "type": "equivalent", "target": "d2811b8c558ee3336f69ce2dee648262", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d2811b8c558ee3336f69ce2dee648262", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}, "url": "/docs/compare/?release=17.8#17.8-ff65f3935e08be00", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "7be6eebc70de0b6a710a45541a4092f0", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}, "url": "/docs/compare/?release=16.12#16.12-a697dba42d12b45f", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "125f7282ee77b2dbf96db553539c22c4", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}, "url": "/docs/compare/?release=15.16#15.16-4db75c5b481234d4", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "45af7190ae2808ef37392b8f701626cf", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}, "url": "/docs/compare/?release=14.21#14.21-c6d749d8181b360c", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-f5298e917912b5f8", "cves": [], "html": "<p>修复异步 I/O 代码中的竞争条件（Andres Freund）<a href=\"https://postgr.es/c/7f1b3a4ce\">§</a></p>\n<p>异步 I/O 操作的结果码有可能在被读取之前就被覆盖。</p>", "text": "修复异步 I/O 代码中的竞争条件（Andres Freund）§ 异步 I/O 操作的结果码有可能在被读取之前就被覆盖。", "title": "修复异步 I/O 代码中的竞争条件", "commits": ["7f1b3a4ce"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "5af700db1614d279fcb4fcebf26c8689988d0b9bde5b133a056adcd4a9552070", "section_path": ["变更"], "commit_groups": [["7f1b3a4ce", "807764990"]], "identity_text": "Fix race condition in async I/O code (Andres Freund) It was possible for the result code of an asynchronous I/O operation to be overwritten before it was fetched.", "commit_aliases": ["7f1b3a4ce", "807764990"], "source_commits": ["7f1b3a4ce"], "source_entry_id": "18.2/changes/030", "db_id": "d7b9af6aba344aaf3e300ba043f6e676", "patch_ids": ["eadaff6d2b44dde4bfed1267e5de7286"], "statement_hash": "1ed0580c38ed15716eec1bf553a375fa0748d46936276494503831223d421a84", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-8b23c352cad22240", "cves": [], "html": "<p>防止崩溃后多事务日志被错误截断（Heikki Linnakangas）<a href=\"https://postgr.es/c/09532a78b\">§</a></p>", "text": "防止崩溃后多事务日志被错误截断（Heikki Linnakangas）§", "title": "防止崩溃后多事务日志被错误截断", "commits": ["09532a78b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "b4d9d073ee0c207fd4db7a4b87e25dfeb96b650630b7eb32cdefaef578df0398", "section_path": ["变更"], "commit_groups": [["09532a78b", "102bdaa9b", "46be454ca", "a563ac619", "c7946e6f3", "d3ad4cef6"]], "identity_text": "Guard against incorrect truncation of the multixact log after a crash (Heikki Linnakangas)", "commit_aliases": ["09532a78b", "102bdaa9b", "46be454ca", "a563ac619", "c7946e6f3", "d3ad4cef6"], "source_commits": ["09532a78b"], "source_entry_id": "18.2/changes/031", "db_id": "3a7694cde691f1c0a64647d256362d79", "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad", "relations": [{"rule": 2, "type": "equivalent", "target": "06c8d0231b48925fde45dbbe5447711a", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}}, {"rule": 2, "type": "equivalent", "target": "423a226c0afa155ba2f8b3bf4d809b9b", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}}, {"rule": 2, "type": "equivalent", "target": "543d98a0d64e54acd061d5327cda0d92", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}}, {"rule": 2, "type": "equivalent", "target": "98b43daf45e235647020ad11a022bebb", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "423a226c0afa155ba2f8b3bf4d809b9b", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "防止崩溃后多事务日志被错误截断", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}, "url": "/docs/compare/?release=17.8#17.8-9e854c237f5aabf9", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "543d98a0d64e54acd061d5327cda0d92", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "防止崩溃后多事务日志被错误截断", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}, "url": "/docs/compare/?release=16.12#16.12-1dcc130cbed466e7", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "98b43daf45e235647020ad11a022bebb", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "防止崩溃后多事务日志被错误截断", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}, "url": "/docs/compare/?release=15.16#15.16-1c33da61822d76af", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "06c8d0231b48925fde45dbbe5447711a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "防止崩溃后多事务日志被错误截断", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}, "url": "/docs/compare/?release=14.21#14.21-82a8e8c00098deab", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-08c685de487e23d3", "cves": [], "html": "<p>修复 <code>pg_stat_get_backend_activity()</code> 可能返回编码错误的结果的问题（Chao Li）<a href=\"https://postgr.es/c/06907e864\">§</a></p>\n<p>保存会话活动字符串的共享内存缓冲区末尾可能包含不完整的多字节字符。读取者应该截断掉任何此类不完整字符，但此函数未能做到这一点。</p>", "text": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题（Chao Li）§ 保存会话活动字符串的共享内存缓冲区末尾可能包含不完整的多字节字符。读取者应该截断掉任何此类不完整字符，但此函数未能做到这一点。", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "commits": ["06907e864"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "29530afde8264c142f5ab853dcdea08e713d94dabb80e54bdacfb0c892aafb74", "section_path": ["变更"], "commit_groups": [["06907e864", "300575fe2", "36b8f4974", "52b27f585", "c48829ed8", "ea3524cff"]], "identity_text": "Fix possibly mis-encoded result of pg_stat_get_backend_activity() (Chao Li) The shared-memory buffer holding a session's activity string can end with an incomplete multibyte character. Readers are supposed to truncate off any such incomplete character, but this function failed to do so.", "commit_aliases": ["06907e864", "300575fe2", "36b8f4974", "52b27f585", "c48829ed8", "ea3524cff"], "source_commits": ["06907e864"], "source_entry_id": "18.2/changes/032", "db_id": "2011af15ea6d97b67e6182e61860c8c7", "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178", "relations": [{"rule": 2, "type": "equivalent", "target": "1d61f99b846c4ede8289346c443c6eab", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}}, {"rule": 2, "type": "equivalent", "target": "3fc6fbb291fd58ddb3732e1040a55913", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}}, {"rule": 2, "type": "equivalent", "target": "962171149258cdfb98c25d6f7cda03e4", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}}, {"rule": 2, "type": "equivalent", "target": "c6e97abc5a7f6b7dd2f4f8bbf960d054", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "962171149258cdfb98c25d6f7cda03e4", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}, "url": "/docs/compare/?release=17.8#17.8-5b4587fee1692efc", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "3fc6fbb291fd58ddb3732e1040a55913", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}, "url": "/docs/compare/?release=16.12#16.12-5dda0d4807cb6225", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "c6e97abc5a7f6b7dd2f4f8bbf960d054", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}, "url": "/docs/compare/?release=15.16#15.16-cd833dd2d455a71f", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "1d61f99b846c4ede8289346c443c6eab", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}, "url": "/docs/compare/?release=14.21#14.21-e2ab71f43353e5cd", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-92cabc87c606add7", "cves": [], "html": "<p>防止递归的内存上下文日志记录（Fujii Masao）<a href=\"https://postgr.es/c/b863d8d87\">§</a></p>\n<p>持续不断的请求内存上下文日志记录的信号流可能导致日志记录代码的递归执行，理论上可能导致栈溢出。</p>", "text": "防止递归的内存上下文日志记录（Fujii Masao）§ 持续不断的请求内存上下文日志记录的信号流可能导致日志记录代码的递归执行，理论上可能导致栈溢出。", "title": "防止递归的内存上下文日志记录", "commits": ["b863d8d87"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "61d8b79df234e3b08f9a7ceddb5eb530fc8c77363e6950b382ec3018c466cec6", "section_path": ["变更"], "commit_groups": [["0fc2f533a", "1a9a49699", "3853f6168", "699293d27", "b3ccb0a2c", "b863d8d87"]], "identity_text": "Guard against recursive memory context logging (Fujii Masao) A constant flow of signals requesting memory context logging could cause recursive execution of the logging code, which in theory could lead to stack overflow.", "commit_aliases": ["0fc2f533a", "1a9a49699", "3853f6168", "699293d27", "b3ccb0a2c", "b863d8d87"], "source_commits": ["b863d8d87"], "source_entry_id": "18.2/changes/033", "db_id": "e532d3e562a8bcd039083d7610c4fe02", "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4", "relations": [{"rule": 2, "type": "equivalent", "target": "6911fcfb9b3a10c2cb527c328b7e80dd", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}, {"rule": 2, "type": "equivalent", "target": "69b5630e62f581864e385c3537959829", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}, {"rule": 2, "type": "equivalent", "target": "76d6a4cdde5956fd5fdf83af6a0f6953", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}, {"rule": 2, "type": "equivalent", "target": "cdc054743d9f7923ca54a8a0dd5eba4d", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "76d6a4cdde5956fd5fdf83af6a0f6953", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "防止递归的内存上下文日志记录", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}, "url": "/docs/compare/?release=17.8#17.8-a1b611399d727246", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "cdc054743d9f7923ca54a8a0dd5eba4d", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "防止递归的内存上下文日志记录", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}, "url": "/docs/compare/?release=16.12#16.12-2616fc2b052bb88f", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "6911fcfb9b3a10c2cb527c328b7e80dd", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "防止递归的内存上下文日志记录", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}, "url": "/docs/compare/?release=15.16#15.16-c5eabf46f29ea686", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "69b5630e62f581864e385c3537959829", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "防止递归的内存上下文日志记录", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}, "url": "/docs/compare/?release=14.21#14.21-0397158066e277a7", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-f56daebc6196999a", "cves": [], "html": "<p>修复重新初始化并行执行上下文时的内存上下文使用问题（Jakub Wartak，Jeevan Chalke）<a href=\"https://postgr.es/c/57df5ab80\">§</a></p>\n<p>此错误可能由于附属数据结构的生命周期比并行上下文更短而导致崩溃。目前尚未发现仅使用 <span>PostgreSQL</span> 核心就能触发该问题的情况，但我们收到了扩展中出现问题的报告。</p>", "text": "修复重新初始化并行执行上下文时的内存上下文使用问题（Jakub Wartak，Jeevan Chalke）§ 此错误可能由于附属数据结构的生命周期比并行上下文更短而导致崩溃。目前尚未发现仅使用 PostgreSQL 核心就能触发该问题的情况，但我们收到了扩展中出现问题的报告。", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "commits": ["57df5ab80"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "8b856562e302886b3980dd226fc10bab94afbb0d74beb879683b401621aa77ee", "section_path": ["变更"], "commit_groups": [["12c2f843c", "1d0fc2499", "1d9f7fbba", "57df5ab80", "bd2726d3e", "f1a6e622b"]], "identity_text": "Fix memory context usage when reinitializing a parallel execution context (Jakub Wartak, Jeevan Chalke) This error could result in a crash due to a subsidiary data structure having a shorter lifespan than the parallel context. The problem is not known to be reachable using only core PostgreSQL, but we have reports of trouble in extensions.", "commit_aliases": ["12c2f843c", "1d0fc2499", "1d9f7fbba", "57df5ab80", "bd2726d3e", "f1a6e622b"], "source_commits": ["57df5ab80"], "source_entry_id": "18.2/changes/034", "db_id": "a0538505db5e86d813d403a8571068b8", "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0", "relations": [{"rule": 2, "type": "equivalent", "target": "0e538a4d4cac5aac8cab0d86cc46e6d8", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}}, {"rule": 2, "type": "equivalent", "target": "770932eb6650d49472c43e2db5c83969", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}}, {"rule": 2, "type": "equivalent", "target": "82f0fec30baf25cedac6f47fedd86a1a", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}}, {"rule": 2, "type": "equivalent", "target": "c0e0fccdb1ff80df5a7c450903b3c742", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0e0fccdb1ff80df5a7c450903b3c742", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}, "url": "/docs/compare/?release=17.8#17.8-cdcf22c5f5200747", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "0e538a4d4cac5aac8cab0d86cc46e6d8", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}, "url": "/docs/compare/?release=16.12#16.12-9d7bd150ce599d54", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "82f0fec30baf25cedac6f47fedd86a1a", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}, "url": "/docs/compare/?release=15.16#15.16-d2b6dee5909338ef", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "770932eb6650d49472c43e2db5c83969", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}, "url": "/docs/compare/?release=14.21#14.21-06477385d1974f88", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-0eb611cc5bc18380", "cves": [], "html": "<p>在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环（Andrey Borodin）<a href=\"https://postgr.es/c/e46041fd9\">§</a> <a href=\"https://postgr.es/c/02ba5e3be\">§</a></p>\n<p>之前的逻辑可能会卡在等待一个永远不会发生的更新上。</p>", "text": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环（Andrey Borodin）§ § 之前的逻辑可能会卡在等待一个永远不会发生的更新上。", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "commits": ["02ba5e3be", "e46041fd9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "14e17e5ba91c9882b49a56627e0b767d34ca9a5f5d8ada7687bd25381c2eb477", "section_path": ["变更"], "commit_groups": [["02ba5e3be", "489695554", "4d689a176", "4d936c3ff", "b9a02b978", "cad40cec2"], ["635166913", "789d65364", "81416e101", "8ba61bc06", "8cfb174a6", "e46041fd9"]], "identity_text": "Set next multixid's offset when creating a new multixid, to remove the wait loop that was needed in corner cases (Andrey Borodin) The previous logic could get stuck waiting for an update that would never occur.", "commit_aliases": ["02ba5e3be", "489695554", "4d689a176", "4d936c3ff", "635166913", "789d65364", "81416e101", "8ba61bc06", "8cfb174a6", "b9a02b978", "cad40cec2", "e46041fd9"], "source_commits": ["02ba5e3be", "e46041fd9"], "source_entry_id": "18.2/changes/035", "db_id": "9d39be361a73eeb011b1508852d458c4", "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d", "relations": [{"rule": 2, "type": "equivalent", "target": "1d8beb2475d7ec3ee5619d442f62f4e4", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}}, {"rule": 2, "type": "equivalent", "target": "2b4c07606e0901ac70bb0fbb4680ebbe", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}}, {"rule": 2, "type": "equivalent", "target": "df073012abdc28126571ebecafb9c308", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}}, {"rule": 2, "type": "equivalent", "target": "fff819d80d05a70e4ebf82ab7f9c951a", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "df073012abdc28126571ebecafb9c308", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}, "url": "/docs/compare/?release=17.8#17.8-351e263e26b0031c", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "1d8beb2475d7ec3ee5619d442f62f4e4", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}, "url": "/docs/compare/?release=16.12#16.12-90168bc8332f7a84", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "2b4c07606e0901ac70bb0fbb4680ebbe", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}, "url": "/docs/compare/?release=15.16#15.16-639bc1c588a62efb", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "fff819d80d05a70e4ebf82ab7f9c951a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}, "url": "/docs/compare/?release=14.21#14.21-fc1711f590b7a7c5", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-598e6b46a303e445", "cves": [], "html": "<p>避免多次重写数据修改 CTE（Bernice Southey，Dean Rasheed）<a href=\"https://postgr.es/c/b880d9a02\">§</a></p>\n<p>以前，在更新自动可更新视图或带规则的关系时，如果原始查询含有数据修改 CTE，重写器会由于递归而多次重写这些 CTE。这不仅低效，而且当 CTE 包含对GENERATED ALWAYS 列的更新时可能产生虚假错误。</p>", "text": "避免多次重写数据修改 CTE（Bernice Southey，Dean Rasheed）§ 以前，在更新自动可更新视图或带规则的关系时，如果原始查询含有数据修改 CTE，重写器会由于递归而多次重写这些 CTE。这不仅低效，而且当 CTE 包含对GENERATED ALWAYS 列的更新时可能产生虚假错误。", "title": "避免多次重写数据修改 CTE", "commits": ["b880d9a02"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "44ccaf69d17829570c1688499434a08725e7185f58e5fd6536d6717c13cb3725", "section_path": ["变更"], "commit_groups": [["134a8ee22", "2d5b97b8c", "3881561d7", "4d288e33b", "b880d9a02", "c09096503"]], "identity_text": "Avoid rewriting data-modifying CTEs more than once (Bernice Southey, Dean Rasheed) Formerly, when updating an auto-updatable view or a relation with rules, if the original query had any data-modifying CTEs, the rewriter would rewrite those CTEs multiple times due to recursion. This was inefficient and could produce false errors if a CTE included an update of an always-generated column.", "commit_aliases": ["134a8ee22", "2d5b97b8c", "3881561d7", "4d288e33b", "b880d9a02", "c09096503"], "source_commits": ["b880d9a02"], "source_entry_id": "18.2/changes/036", "db_id": "b1252119d1b5ac0ac5230ba9b7fb844b", "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb", "relations": [{"rule": 2, "type": "equivalent", "target": "6e6c8a0f6889fba17b9d4ea6308a8d7a", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}}, {"rule": 2, "type": "equivalent", "target": "c9710e1b97bbf384a5536e25246c2c1e", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}}, {"rule": 2, "type": "equivalent", "target": "f467408bfd650872bf1654f4ee4ec70d", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}}, {"rule": 2, "type": "equivalent", "target": "fa9d76713707441eef7a725233377166", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f467408bfd650872bf1654f4ee4ec70d", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "避免多次重写数据修改 CTE", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}, "url": "/docs/compare/?release=17.8#17.8-fed0bc33b201283d", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "c9710e1b97bbf384a5536e25246c2c1e", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "避免多次重写数据修改 CTE", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}, "url": "/docs/compare/?release=16.12#16.12-806ed942f9c5fd64", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "fa9d76713707441eef7a725233377166", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "避免多次重写数据修改 CTE", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}, "url": "/docs/compare/?release=15.16#15.16-fdb06078edbce9e9", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "6e6c8a0f6889fba17b9d4ea6308a8d7a", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "避免多次重写数据修改 CTE", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}, "url": "/docs/compare/?release=14.21#14.21-7e5820de57d7faff", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-44b11be419e13584", "cves": [], "html": "<p>允许重试 DSM 注册表条目的初始化（Nathan Bossart）<a href=\"https://postgr.es/c/b83bcc0df\">§</a></p>\n<p>如果动态共享内存条目的初始化进行到一半失败，允许下一次尝试使用该条目时重新初始化。此前，该条目会永久处于失败状态。</p>", "text": "允许重试 DSM 注册表条目的初始化（Nathan Bossart）§ 如果动态共享内存条目的初始化进行到一半失败，允许下一次尝试使用该条目时重新初始化。此前，该条目会永久处于失败状态。", "title": "允许重试 DSM 注册表条目的初始化", "commits": ["b83bcc0df"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "1d9998e86e6642435db7d6ef25747b4e039b914ac3ac16e0428251aa6d99ebbb", "section_path": ["变更"], "commit_groups": [["2fc5c5062", "b83bcc0df", "dbdc717ac"]], "identity_text": "Allow retrying initialization of a DSM registry entry (Nathan Bossart) If we fail partway through initialization of a dynamic shared memory entry, allow the next attempt to use that entry to retry initialization. Previously the entry was left in a permanently-failed state.", "commit_aliases": ["2fc5c5062", "b83bcc0df", "dbdc717ac"], "source_commits": ["b83bcc0df"], "source_entry_id": "18.2/changes/037", "db_id": "35cb139db6fcca1cb726591686762d5e", "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73", "relations": [{"rule": 2, "type": "equivalent", "target": "5039c49f944e0ea8e42e7eb5859d47f5", "evidence": {"same_day": true, "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5039c49f944e0ea8e42e7eb5859d47f5", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "允许重试 DSM 注册表条目的初始化", "evidence": {"same_day": true, "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73"}, "url": "/docs/compare/?release=17.8#17.8-be3128d810d25a5b", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-41d3c4fc60b60873", "cves": [], "html": "<p>避免在页面被换出时 NUMA 状态视图失败（Tomas Vondra）<a href=\"https://postgr.es/c/9796c4f56\">§</a></p>", "text": "避免在页面被换出时 NUMA 状态视图失败（Tomas Vondra）§", "title": "避免在页面被换出时 NUMA 状态视图失败", "commits": ["9796c4f56"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "38d4ca5996782890ca2a8d47c302f2fba325fe4e6d025da506c9c1c097171cfe", "section_path": ["变更"], "commit_groups": [["3fccbd94c", "9796c4f56"]], "identity_text": "Avoid failure of NUMA status views when a page has been swapped out (Tomas Vondra)", "commit_aliases": ["3fccbd94c", "9796c4f56"], "source_commits": ["9796c4f56"], "source_entry_id": "18.2/changes/038", "db_id": "a4a4627ccc48db9aa301be1c008e8e7a", "patch_ids": ["c1934fec3a67006ff496ce9fb844191b"], "statement_hash": "981fce7d7bf6866f425cbf1dc7f0d13d35e9addf7428a9dce5e55e3c69b9c85d", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-33eb39d50d6770e0", "cves": [], "html": "<p>避免在使用较旧 libnuma 版本查询 NUMA 页面状态时出现 <span>“<span>operation not permitted</span>”</span> 错误（Tomas Vondra）<a href=\"https://postgr.es/c/482e98ac4\">§</a></p>", "text": "避免在使用较旧 libnuma 版本查询 NUMA 页面状态时出现 “operation not permitted” 错误（Tomas Vondra）§", "title": "避免在使用较旧 libnuma 版本查询 NUMA 页面状态时出现 “operation not permitted” 错误", "commits": ["482e98ac4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "10794498f6ae24d9bfbee4b67ef15fa1893a35ad5b80ba4d3f628c72faed942c", "section_path": ["变更"], "commit_groups": [["482e98ac4", "599336c64"]], "identity_text": "Avoid operation not permitted errors when querying NUMA page status with older libnuma versions (Tomas Vondra)", "commit_aliases": ["482e98ac4", "599336c64"], "source_commits": ["482e98ac4"], "source_entry_id": "18.2/changes/039", "db_id": "f1a5fdf26515c807e56ed1d6de014dd1", "patch_ids": ["639b15538137cdc707818eaccc7bb5ba"], "statement_hash": "d7f2ab1d3fb2329282928f089cffff62ce9cd74b3faa5a45573d6cf600c28439", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-48e29718af30085d", "cves": [], "html": "<p>如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败（Nitin Jadhav）<a href=\"https://postgr.es/c/68ebdf2b0\">§</a></p>\n<p>在开始恢复之前添加一个显式检查，以确保不会造成损害并提供有用的错误消息。以前，在这种情况下恢复可能会崩溃或损坏数据库。</p>", "text": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败（Nitin Jadhav）§ 在开始恢复之前添加一个显式检查，以确保不会造成损害并提供有用的错误消息。以前，在这种情况下恢复可能会崩溃或损坏数据库。", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "commits": ["68ebdf2b0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "a97d834694985c925575808f5404b4fed36f485d77bdb9ddc03de6d8e2eda696", "section_path": ["变更"], "commit_groups": [["14161bca4", "1aa57e9ed", "68ebdf2b0", "95ef6f490", "dc7c77f82", "f5927da4f"]], "identity_text": "Fail recovery if WAL does not exist back to the redo point indicated by the checkpoint record (Nitin Jadhav) Add an explicit check for this before starting recovery, so that no harm is done and a useful error message is provided. Previously, recovery might crash or corrupt the database in this situation.", "commit_aliases": ["14161bca4", "1aa57e9ed", "68ebdf2b0", "95ef6f490", "dc7c77f82", "f5927da4f"], "source_commits": ["68ebdf2b0"], "source_entry_id": "18.2/changes/040", "db_id": "afebd143b96e516829ea82f80f213765", "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034", "relations": [{"rule": 2, "type": "equivalent", "target": "011195db7fe270680db938124518987b", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}}, {"rule": 2, "type": "equivalent", "target": "3f4035b04c1c0e9ba08acef72e76fc91", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}}, {"rule": 2, "type": "equivalent", "target": "7e009c5e3ee2635f5a3f2d6750f1a823", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}}, {"rule": 2, "type": "equivalent", "target": "ea5f140766dc7aa68dd175c861036247", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3f4035b04c1c0e9ba08acef72e76fc91", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}, "url": "/docs/compare/?release=17.8#17.8-3d4d2474ea729f43", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "7e009c5e3ee2635f5a3f2d6750f1a823", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}, "url": "/docs/compare/?release=16.12#16.12-ac8c469b0c901db5", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "ea5f140766dc7aa68dd175c861036247", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}, "url": "/docs/compare/?release=15.16#15.16-61074b4b2db3b9f8", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "011195db7fe270680db938124518987b", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}, "url": "/docs/compare/?release=14.21#14.21-c97498907e799420", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-4ab1376a3267c027", "cves": [], "html": "<p>避免在 <code>ALTER PUBLICATION</code> 期间修改源查询树（Sunil S）<a href=\"https://postgr.es/c/bea57a6b4\">§</a></p>\n<p>此错误的可见效果是，为该查询触发的事件触发器只能看到第一个 <code>publish</code> 选项，即使指定了多个选项。如果此类查询被设置为预备语句，重新执行时也会出现错误行为。</p>", "text": "避免在 ALTER PUBLICATION 期间修改源查询树（Sunil S）§ 此错误的可见效果是，为该查询触发的事件触发器只能看到第一个 publish 选项，即使指定了多个选项。如果此类查询被设置为预备语句，重新执行时也会出现错误行为。", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "commits": ["bea57a6b4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "ec943f003283b9e8429e711f9384fae3ee7c8daa5bf31daa2e374009331fae12", "section_path": ["变更"], "commit_groups": [["0687a6eb0", "6ca8506ea", "ae45c7296", "bb08ac7ac", "bea57a6b4", "f20b79059"]], "identity_text": "Avoid scribbling on the source query tree during ALTER PUBLICATION (Sunil S) This error had the visible effect that an event trigger fired for the query would see only the first publish option, even if several had been specified. If such a query were set up as a prepared statement, re-executions would misbehave too.", "commit_aliases": ["0687a6eb0", "6ca8506ea", "ae45c7296", "bb08ac7ac", "bea57a6b4", "f20b79059"], "source_commits": ["bea57a6b4"], "source_entry_id": "18.2/changes/041", "db_id": "7e3fc1d0791de552b876cdb2454f31d0", "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd", "relations": [{"rule": 2, "type": "equivalent", "target": "382e740a0f9f434506934984bfab5d72", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}}, {"rule": 2, "type": "equivalent", "target": "609a67b3d1e8a8770d3091b2429519a7", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}}, {"rule": 2, "type": "equivalent", "target": "bb090370862ac9b9ba54fb93b71c4869", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}}, {"rule": 2, "type": "equivalent", "target": "ef85167b2646b7c7d896a19a6abb3509", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bb090370862ac9b9ba54fb93b71c4869", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}, "url": "/docs/compare/?release=17.8#17.8-51768104ffbbb8b1", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "609a67b3d1e8a8770d3091b2429519a7", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}, "url": "/docs/compare/?release=16.12#16.12-0890dbb40db6c9be", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "ef85167b2646b7c7d896a19a6abb3509", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}, "url": "/docs/compare/?release=15.16#15.16-a0b138a134556f43", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "382e740a0f9f434506934984bfab5d72", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}, "url": "/docs/compare/?release=14.21#14.21-cf7993cc29f1125e", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-a7e8eb1d775d340e", "cves": [], "html": "<p>将 <code>CREATE SUBSCRIPTION ... CONNECTION</code> 中指定的连接选项传递给发布端的 walsender 进程（Fujii Masao）<a href=\"https://postgr.es/c/797fc5d1b\">§</a></p>\n<p>在此修复之前，<code>options</code> 连接选项（如果有的话）会被忽略，因此，例如无法在 walsender 会话中设置自定义服务器参数值。该功能本应正常工作；在 <span>PostgreSQL</span> 15 中的重构破坏它之前，它也确实一直是正常工作的，因此这里恢复了先前的行为。</p>", "text": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程（Fujii Masao）§ 在此修复之前，options 连接选项（如果有的话）会被忽略，因此，例如无法在 walsender 会话中设置自定义服务器参数值。该功能本应正常工作；在 PostgreSQL 15 中的重构破坏它之前，它也确实一直是正常工作的，因此这里恢复了先前的行为。", "title": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程", "commits": ["797fc5d1b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "7f7628e43957aa95b0cf8dee9f0d665bb345bfc2cf17334fe95ddeadb2e19f3a", "section_path": ["变更"], "commit_groups": [["75f3428f2", "797fc5d1b", "7a990e801", "d926462d8", "f7eb44e0f"]], "identity_text": "Pass connection options specified in CREATE SUBSCRIPTION ... CONNECTION to the publisher's walsender (Fujii Masao) Before this fix, the options connection option (if any) was ignored, thus for example preventing setting custom server parameter values in the walsender session. It was intended for that to work, and it did work before refactoring in PostgreSQL version 15 broke it, so restore the previous behavior.", "commit_aliases": ["75f3428f2", "797fc5d1b", "7a990e801", "d926462d8", "f7eb44e0f"], "source_commits": ["797fc5d1b"], "source_entry_id": "18.2/changes/042", "db_id": "88f8d8a25ce40f7bce801ec6d1ceb806", "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c", "relations": [{"rule": 2, "type": "equivalent", "target": "14350aa55158b13629c79743cee560e0", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}}, {"rule": 2, "type": "equivalent", "target": "2854750f46ab8bd38a28c1cfd5ae77c9", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}}, {"rule": 2, "type": "equivalent", "target": "e6adf36f29967b514be061f08ac43c83", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e6adf36f29967b514be061f08ac43c83", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}, "url": "/docs/compare/?release=17.8#17.8-8dc05bb27f841a6c", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "2854750f46ab8bd38a28c1cfd5ae77c9", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}, "url": "/docs/compare/?release=16.12#16.12-856e665b12053097", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "14350aa55158b13629c79743cee560e0", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}, "url": "/docs/compare/?release=15.16#15.16-572c337cdeda5be4", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}]}, {"id": "18.2-882569f761ef0610", "cves": [], "html": "<p>防止新创建或新同步的复制槽被无效化（Zhijie Hou）<a href=\"https://postgr.es/c/919c9fa13\">§</a> <a href=\"https://postgr.es/c/1c60f7236\">§</a> <a href=\"https://postgr.es/c/d3ceb2084\">§</a></p>\n<p>与并发检查点的竞争条件可能导致复制槽所需的 WAL 被删除，使得该槽立即被标记为无效。</p>", "text": "防止新创建或新同步的复制槽被无效化（Zhijie Hou）§ § § 与并发检查点的竞争条件可能导致复制槽所需的 WAL 被删除，使得该槽立即被标记为无效。", "title": "防止新创建或新同步的复制槽被无效化", "commits": ["1c60f7236", "919c9fa13", "d3ceb2084"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "88ca5df37ed03978aa067a4d4c868b6246df884c64949b108a4266a212778954", "section_path": ["变更"], "commit_groups": [["006dd4b2e", "24cce33c3", "3510ebeb0", "7406df605", "aae05622a", "d3ceb2084"], ["1c60f7236", "3a98f989e", "9649f1adf"], ["3243c0177", "851f6649c", "919c9fa13"]], "identity_text": "Prevent invalidation of newly created or newly synced replication slots (Zhijie Hou) A race condition with a concurrent checkpoint could allow WAL to be removed that is needed by the replication slot, causing the slot to immediately get marked invalid.", "commit_aliases": ["006dd4b2e", "1c60f7236", "24cce33c3", "3243c0177", "3510ebeb0", "3a98f989e", "7406df605", "851f6649c", "919c9fa13", "9649f1adf", "aae05622a", "d3ceb2084"], "source_commits": ["1c60f7236", "919c9fa13", "d3ceb2084"], "source_entry_id": "18.2/changes/043", "db_id": "cb75695174eb56fb419b9a98e09580cc", "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9", "relations": [{"rule": 2, "type": "equivalent", "target": "2e44c2dcd00ca731067ba5c1a7a9a31c", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}}, {"rule": 2, "type": "equivalent", "target": "54b2a393bc7cb86ab19eb7c660bb2004", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}}, {"rule": 2, "type": "equivalent", "target": "7045b64c3c70e172ffa2ef8c1ae90896", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}}, {"rule": 2, "type": "equivalent", "target": "d1a860dc00a9dc81973d46ece96b0748", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e44c2dcd00ca731067ba5c1a7a9a31c", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "防止新创建或新同步的复制槽被无效化", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}, "url": "/docs/compare/?release=17.8#17.8-2ab0d69c3c8683d7", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "7045b64c3c70e172ffa2ef8c1ae90896", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "防止新创建或新同步的复制槽被无效化", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}, "url": "/docs/compare/?release=16.12#16.12-2c0a03a7293625cd", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "54b2a393bc7cb86ab19eb7c660bb2004", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "防止新创建或新同步的复制槽被无效化", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}, "url": "/docs/compare/?release=15.16#15.16-2523a9b1b515d26f", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "d1a860dc00a9dc81973d46ece96b0748", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "防止新创建或新同步的复制槽被无效化", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}, "url": "/docs/compare/?release=14.21#14.21-39c6194420a5bf2b", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-7907d70dfbb36d36", "cves": [], "html": "<p>修复计算复制槽所需 xmin 时的竞争条件（Zhijie Hou）<a href=\"https://postgr.es/c/fd7c86cfa\">§</a></p>\n<p>这可能导致错误 <span>“<span>cannot build an initial slot snapshot as oldest safe xid follows snapshot's xmin</span>”</span>。</p>", "text": "修复计算复制槽所需 xmin 时的竞争条件（Zhijie Hou）§ 这可能导致错误 “cannot build an initial slot snapshot as oldest safe xid follows snapshot's xmin”。", "title": "修复计算复制槽所需 xmin 时的竞争条件", "commits": ["fd7c86cfa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "5b4375f3820b11314c74407155165bb30cc4d0b1dcf897beef596b8f61a11e84", "section_path": ["变更"], "commit_groups": [["123b851ab", "2a5225b99", "57048d6e1", "821466722", "fa557d300", "fd7c86cfa"]], "identity_text": "Fix race condition in computing a replication slot's required xmin (Zhijie Hou) This could lead to the error cannot build an initial slot snapshot as oldest safe xid follows snapshot's xmin.", "commit_aliases": ["123b851ab", "2a5225b99", "57048d6e1", "821466722", "fa557d300", "fd7c86cfa"], "source_commits": ["fd7c86cfa"], "source_entry_id": "18.2/changes/044", "db_id": "669fa902ee7eb1553fc960938aa0101f", "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369", "relations": [{"rule": 2, "type": "equivalent", "target": "5b75bdc74484bae30e1e7fdc965c9335", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}}, {"rule": 2, "type": "equivalent", "target": "8dfd1735c21afd64306b7ba15b0a34a0", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}}, {"rule": 2, "type": "equivalent", "target": "97d0bb3c79bb34e32cf7ac9c088a6cc5", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}}, {"rule": 2, "type": "equivalent", "target": "ed4968909e48309a69552757b02c2ad7", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5b75bdc74484bae30e1e7fdc965c9335", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复计算复制槽所需 xmin 时的竞争条件", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}, "url": "/docs/compare/?release=17.8#17.8-73bf563728deef29", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "97d0bb3c79bb34e32cf7ac9c088a6cc5", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复计算复制槽所需 xmin 时的竞争条件", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}, "url": "/docs/compare/?release=16.12#16.12-dc6c53055853a66a", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "8dfd1735c21afd64306b7ba15b0a34a0", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复计算复制槽所需 xmin 时的竞争条件", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}, "url": "/docs/compare/?release=15.16#15.16-a49381efba5b11d0", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "ed4968909e48309a69552757b02c2ad7", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复计算复制槽所需 xmin 时的竞争条件", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}, "url": "/docs/compare/?release=14.21#14.21-e0ac9a9b715f44f3", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-2de557ccdda45f50", "cves": [], "html": "<p>在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 <code>pg_replication_origin</code> 条目的添加（Zhijie Hou）<a href=\"https://postgr.es/c/b07c32619\">§</a></p>\n<p>以前，如果复制步骤失败，新的 <code>pg_replication_origin</code> 条目会因事务回滚而丢失，从而导致共享内存中的状态不一致。</p>", "text": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加（Zhijie Hou）§ 以前，如果复制步骤失败，新的 pg_replication_origin 条目会因事务回滚而丢失，从而导致共享内存中的状态不一致。", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "commits": ["b07c32619"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "1ce542a92ac46eb50f4fd3e150ef6882855df63afe3683aa9bb289269947a7f1", "section_path": ["变更"], "commit_groups": [["25a04aa52", "8e0d32a4a", "90d1beef6", "b07c32619", "e063ccc72", "e22e9ab0c"]], "identity_text": "During initial synchronization of a logical replication subscription, commit the addition of a pg_replication_origin entry before starting to copy data (Zhijie Hou) Previously, if the copy step failed, the new pg_replication_origin entry would be lost due to transaction rollback. This led to inconsistent state in shared memory.", "commit_aliases": ["25a04aa52", "8e0d32a4a", "90d1beef6", "b07c32619", "e063ccc72", "e22e9ab0c"], "source_commits": ["b07c32619"], "source_entry_id": "18.2/changes/045", "db_id": "0641edcbe436f507275b2cfe99e6bfe1", "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26", "relations": [{"rule": 2, "type": "equivalent", "target": "5bdf0ada14933155ce231f2e53c4a971", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}}, {"rule": 2, "type": "equivalent", "target": "6868525096474e94a6c61c14b66bef91", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}}, {"rule": 2, "type": "equivalent", "target": "ca66bcb2ba08cd3e614c66d8cd512695", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}}, {"rule": 2, "type": "equivalent", "target": "eb4ae0a26d975941de9f63f06cf9d77f", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "eb4ae0a26d975941de9f63f06cf9d77f", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}, "url": "/docs/compare/?release=17.8#17.8-e95d66b2b17f79c5", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "6868525096474e94a6c61c14b66bef91", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}, "url": "/docs/compare/?release=16.12#16.12-986cc1721ba7e0ca", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "ca66bcb2ba08cd3e614c66d8cd512695", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}, "url": "/docs/compare/?release=15.16#15.16-72eafe5fdeaf4699", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "5bdf0ada14933155ce231f2e53c4a971", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}, "url": "/docs/compare/?release=14.21#14.21-3e55dd139a333f1e", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-434a2b6b0d42abc4", "cves": [], "html": "<p>在并行工作进程应用失败后不推进逻辑复制进度（Zhijie Hou）<a href=\"https://postgr.es/c/2f7ffe124\">§</a></p>\n<p>之前的行为允许订阅者丢失事务。</p>", "text": "在并行工作进程应用失败后不推进逻辑复制进度（Zhijie Hou）§ 之前的行为允许订阅者丢失事务。", "title": "在并行工作进程应用失败后不推进逻辑复制进度", "commits": ["2f7ffe124"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "c17ef3ba75ba5fa5aac564f44981db3ee27f8743c1b4e5bfc13e722e0597619e", "section_path": ["变更"], "commit_groups": [["0ed8f1afb", "1528b0d89", "2f7ffe124", "63a65adf4"]], "identity_text": "Don't advance logical replication progress after a parallel worker apply failure (Zhijie Hou) The previous behavior allowed transactions to be lost by a subscriber.", "commit_aliases": ["0ed8f1afb", "1528b0d89", "2f7ffe124", "63a65adf4"], "source_commits": ["2f7ffe124"], "source_entry_id": "18.2/changes/046", "db_id": "3e82f89211515507e8f8677f313d3799", "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa", "relations": [{"rule": 2, "type": "equivalent", "target": "0f5fb8d4e546a502c86c3683cd965e48", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}}, {"rule": 2, "type": "equivalent", "target": "d3f0ce1d0627ffd85c57f5963d822b33", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d3f0ce1d0627ffd85c57f5963d822b33", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "在并行工作进程应用失败后不推进逻辑复制进度", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}, "url": "/docs/compare/?release=17.8#17.8-e6867fece2c6f2d4", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "0f5fb8d4e546a502c86c3683cd965e48", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "在并行工作进程应用失败后不推进逻辑复制进度", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}, "url": "/docs/compare/?release=16.12#16.12-3caf153e1345719c", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}]}, {"id": "18.2-2a6c1c4c27f67acd", "cves": [], "html": "<p>修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理（Zhijie Hou）<a href=\"https://postgr.es/c/6c61c69d5\">§</a></p>\n<p>以前，这类超时信号实际上会被忽略。</p>", "text": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理（Zhijie Hou）§ 以前，这类超时信号实际上会被忽略。", "title": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理", "commits": ["6c61c69d5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "017587a58ab5429b97a836037d4a2dcc806817c09eeeafb775bf2d12edd94f1f", "section_path": ["变更"], "commit_groups": [["04396eacd", "6c61c69d5", "f2818868a"]], "identity_text": "Fix logical replication slotsync worker processes to handle LOCK_TIMEOUT signals correctly (Zhijie Hou) Previously, timeout signals were effectively ignored.", "commit_aliases": ["04396eacd", "6c61c69d5", "f2818868a"], "source_commits": ["6c61c69d5"], "source_entry_id": "18.2/changes/047", "db_id": "b79cdfd53c29fdec5dd1d0dff7f08fee", "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5", "relations": [{"rule": 2, "type": "equivalent", "target": "516169d81baba61d618e37237bc53276", "evidence": {"same_day": true, "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "516169d81baba61d618e37237bc53276", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理", "evidence": {"same_day": true, "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5"}, "url": "/docs/compare/?release=17.8#17.8-f2b54a080f4d7fca", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-c52d288613257e1b", "cves": [], "html": "<p>修复流复制副本服务器重启期间可能出现的 <span>“<span>unexpected data beyond EOF</span>”</span> 失败问题（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/9ed411e08\">§</a></p>", "text": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题（Anthonin Bonnefoy）§", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "commits": ["9ed411e08"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "0ac3e36bd9eb803636d4bc335fbd3e6c1cd2c90d25709b74f7c9a37a8a9bdc37", "section_path": ["变更"], "commit_groups": [["23b25586d", "2514f1c77", "9ed411e08", "a2eeb04f3", "c3770181c", "ef8465588"]], "identity_text": "Fix possible failure with unexpected data beyond EOF during restart of a streaming replica server (Anthonin Bonnefoy)", "commit_aliases": ["23b25586d", "2514f1c77", "9ed411e08", "a2eeb04f3", "c3770181c", "ef8465588"], "source_commits": ["9ed411e08"], "source_entry_id": "18.2/changes/048", "db_id": "06594efa4344da118700b1c48988f5e4", "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab", "relations": [{"rule": 2, "type": "equivalent", "target": "668c3f03c522a5db8d076f179e064027", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}}, {"rule": 2, "type": "equivalent", "target": "8d924571fb5bee478b47c49ff89fa7f5", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}}, {"rule": 2, "type": "equivalent", "target": "a321a63cf72d9e7f3afd2ff1e5a2c814", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}}, {"rule": 2, "type": "equivalent", "target": "a79b7d220801497e224783e6369f7957", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a79b7d220801497e224783e6369f7957", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}, "url": "/docs/compare/?release=17.8#17.8-ca1e290b0cb2dd09", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "a321a63cf72d9e7f3afd2ff1e5a2c814", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}, "url": "/docs/compare/?release=16.12#16.12-ce78056abed06c7f", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "668c3f03c522a5db8d076f179e064027", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}, "url": "/docs/compare/?release=15.16#15.16-ba8bb5d9e4033d19", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "8d924571fb5bee478b47c49ff89fa7f5", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}, "url": "/docs/compare/?release=14.21#14.21-56f9977d411ed1a0", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-a3a0f5425174a83a", "cves": [], "html": "<p>修复 SQL/JSON 路径类型不匹配时的错误报告（Jian He）<a href=\"https://postgr.es/c/15ba0702c\">§</a></p>\n<p>该代码原本应报告路径表达式类型不正确，却可能产生 <span>“<span>cache lookup failed for type 0</span>”</span> 错误。</p>", "text": "修复 SQL/JSON 路径类型不匹配时的错误报告（Jian He）§ 该代码原本应报告路径表达式类型不正确，却可能产生 “cache lookup failed for type 0” 错误。", "title": "修复 SQL/JSON 路径类型不匹配时的错误报告", "commits": ["15ba0702c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "2e243fce6b9135a007fbafb79736adc7b43b27bd3e12b89d1e6be0a5b8436842", "section_path": ["变更"], "commit_groups": [["15ba0702c", "519fa0433", "b5511fed5"]], "identity_text": "Fix error reporting for SQL/JSON path type mismatches (Jian He) The code could produce a cache lookup failed for type 0 error instead of the intended complaint about the path expression not being of the right type.", "commit_aliases": ["15ba0702c", "519fa0433", "b5511fed5"], "source_commits": ["15ba0702c"], "source_entry_id": "18.2/changes/049", "db_id": "54166f9d89f4ebad4b6522ec9d70d5f6", "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af", "relations": [{"rule": 2, "type": "equivalent", "target": "8483ae615f87a4c8e095a563aecd48c8", "evidence": {"same_day": true, "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8483ae615f87a4c8e095a563aecd48c8", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 SQL/JSON 路径类型不匹配时的错误报告", "evidence": {"same_day": true, "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af"}, "url": "/docs/compare/?release=17.8#17.8-2a0ef06d727eafaf", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-3915ae13b44752be", "cves": [], "html": "<p>修复解析分区范围边界时对列位置的错误跟踪（myzhen）<a href=\"https://postgr.es/c/c35e5dd9a\">§</a></p>\n<p>这可能导致在关于将分区边界值转换为列的数据类型的错误消息中引用错误的列名。</p>", "text": "修复解析分区范围边界时对列位置的错误跟踪（myzhen）§ 这可能导致在关于将分区边界值转换为列的数据类型的错误消息中引用错误的列名。", "title": "修复解析分区范围边界时对列位置的错误跟踪", "commits": ["c35e5dd9a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "fa85d72517344f820a9769f83967f877f4194c8f595ca694fae0c2e502a1d930", "section_path": ["变更"], "commit_groups": [["349107537", "3ad05640b", "821c4d27b", "84b787ae6", "a65995947", "c35e5dd9a"]], "identity_text": "Fix erroneous tracking of column position when parsing partition range bounds (myzhen) This could, for example, lead to the wrong column name being cited in error messages about casting partition bound values to the column's data type.", "commit_aliases": ["349107537", "3ad05640b", "821c4d27b", "84b787ae6", "a65995947", "c35e5dd9a"], "source_commits": ["c35e5dd9a"], "source_entry_id": "18.2/changes/050", "db_id": "bcd807761d1a951aa85d661bf8df019c", "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232", "relations": [{"rule": 2, "type": "equivalent", "target": "3d999c9c39b345cf00d6c149f77369bc", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}}, {"rule": 2, "type": "equivalent", "target": "775ee6e8b3e233efe9c85fc527d0a5d4", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}}, {"rule": 2, "type": "equivalent", "target": "8da33c76c87cf129799d93a7efd47d96", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}}, {"rule": 2, "type": "equivalent", "target": "bb4e430870bc5f4909df899b3e4e6a47", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3d999c9c39b345cf00d6c149f77369bc", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复解析分区范围边界时对列位置的错误跟踪", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}, "url": "/docs/compare/?release=17.8#17.8-1ae71997df1c5c19", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "bb4e430870bc5f4909df899b3e4e6a47", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复解析分区范围边界时对列位置的错误跟踪", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}, "url": "/docs/compare/?release=16.12#16.12-cf6cf28e524760ac", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "775ee6e8b3e233efe9c85fc527d0a5d4", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复解析分区范围边界时对列位置的错误跟踪", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}, "url": "/docs/compare/?release=15.16#15.16-ed7528c4bca01a17", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "8da33c76c87cf129799d93a7efd47d96", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复解析分区范围边界时对列位置的错误跟踪", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}, "url": "/docs/compare/?release=14.21#14.21-cd4c9b00fed268c0", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-2eb9c2c4100a1830", "cves": [], "html": "<p>修复错误消息中的各种小错误（Man Zeng，Tianchen Zhang）<a href=\"https://postgr.es/c/acfa422c3\">§</a> <a href=\"https://postgr.es/c/2ca4464b6\">§</a> <a href=\"https://postgr.es/c/ab61f0087\">§</a> <a href=\"https://postgr.es/c/69ee81932\">§</a> <a href=\"https://postgr.es/c/cff2ef984\">§</a></p>\n<p>例如，关于备份清单中时间线编号不匹配的错误报告在应该显示结束时间线编号的地方显示了起始时间线编号。</p>", "text": "修复错误消息中的各种小错误（Man Zeng，Tianchen Zhang）§ § § § § 例如，关于备份清单中时间线编号不匹配的错误报告在应该显示结束时间线编号的地方显示了起始时间线编号。", "title": "修复错误消息中的各种小错误", "commits": ["2ca4464b6", "69ee81932", "ab61f0087", "acfa422c3", "cff2ef984"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "3a2e503ffa840257c48e18ab773638404e85b6cf64ba6cd94646de3511c66bcf", "section_path": ["变更"], "commit_groups": [["05ef2371a", "69ee81932", "6bca4b50d", "e8fd6c9fd", "f1dc7a5b7", "fbf8df580"], ["1653ce523", "3e7bb39df", "5449fd261", "9dcd0b3de", "a7bdbbada", "cff2ef984"], ["263af458e", "2ca4464b6", "c8ec74713"], ["4ec943f7d", "67ad4387b", "74a116a79", "977a17a3e", "acfa422c3", "d32e17160"], ["5995135f1", "a9afa021e", "ab61f0087"]], "identity_text": "Fix assorted minor errors in error messages (Man Zeng, Tianchen Zhang) For example, an error report about mismatched timeline number in a backup manifest showed the starting timeline number where it meant to show the ending timeline number.", "commit_aliases": ["05ef2371a", "1653ce523", "263af458e", "2ca4464b6", "3e7bb39df", "4ec943f7d", "5449fd261", "5995135f1", "67ad4387b", "69ee81932", "6bca4b50d", "74a116a79", "977a17a3e", "9dcd0b3de", "a7bdbbada", "a9afa021e", "ab61f0087", "acfa422c3", "c8ec74713", "cff2ef984", "d32e17160", "e8fd6c9fd", "f1dc7a5b7", "fbf8df580"], "source_commits": ["2ca4464b6", "69ee81932", "ab61f0087", "acfa422c3", "cff2ef984"], "source_entry_id": "18.2/changes/051", "db_id": "c28d793705797c568ae351065c8bf92d", "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737", "relations": [{"rule": 2, "type": "equivalent", "target": "03e8508ea8a410388767d947c24e8eb3", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}}, {"rule": 2, "type": "equivalent", "target": "040254b8395148f9ed2820a7a9e7de75", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}}, {"rule": 2, "type": "equivalent", "target": "6391fdf7551cb6b17994c91b76215a9f", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}}, {"rule": 2, "type": "equivalent", "target": "e4eecf733b283aee3b3d1c824dbc8e27", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "040254b8395148f9ed2820a7a9e7de75", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复错误消息中的各种小错误", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}, "url": "/docs/compare/?release=17.8#17.8-4eafc20a792cccfc", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "e4eecf733b283aee3b3d1c824dbc8e27", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复错误消息中的各种小错误", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}, "url": "/docs/compare/?release=16.12#16.12-3849a6578b12c6fe", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "6391fdf7551cb6b17994c91b76215a9f", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复错误消息中的各种小错误", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}, "url": "/docs/compare/?release=15.16#15.16-3b76c2a636f3fe46", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "03e8508ea8a410388767d947c24e8eb3", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复错误消息中的各种小错误", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}, "url": "/docs/compare/?release=14.21#14.21-2f6c908c2dcee449", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-53f3b7ffe4f6fe06", "cves": [], "html": "<p>修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/f1c6b153c\">§</a></p>", "text": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题（Anthonin Bonnefoy）§", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "commits": ["f1c6b153c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "9981fa0cf79c4c8beef5d9a46dae95989b255aff0b13e70cfe22036f2abce7d8", "section_path": ["变更"], "commit_groups": [["7600dc79c", "cbdd09ae1", "d0bb0e5b3", "de8081c30", "e5d99b4d9", "f1c6b153c"]], "identity_text": "Fix failure to perform function inlining when doing JIT compilation with LLVM version 17 or later (Anthonin Bonnefoy)", "commit_aliases": ["7600dc79c", "cbdd09ae1", "d0bb0e5b3", "de8081c30", "e5d99b4d9", "f1c6b153c"], "source_commits": ["f1c6b153c"], "source_entry_id": "18.2/changes/052", "db_id": "6c8a23f42fdf36b27a5c63a60ef638ee", "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af", "relations": [{"rule": 2, "type": "equivalent", "target": "1d826bf62f1c8707e84a00b08bca6cc2", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}}, {"rule": 2, "type": "equivalent", "target": "23db3b0771d0b80deb078c18239bf311", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}}, {"rule": 2, "type": "equivalent", "target": "41aa0fa812e386b3bf111e16e5ca824b", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}}, {"rule": 2, "type": "equivalent", "target": "da5340b311cf457b0c8052e7119f6c5c", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "23db3b0771d0b80deb078c18239bf311", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}, "url": "/docs/compare/?release=17.8#17.8-c185802f4eacb2ea", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "1d826bf62f1c8707e84a00b08bca6cc2", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}, "url": "/docs/compare/?release=16.12#16.12-e61e367302b48095", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "da5340b311cf457b0c8052e7119f6c5c", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}, "url": "/docs/compare/?release=15.16#15.16-7077db49018d55b0", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "41aa0fa812e386b3bf111e16e5ca824b", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}, "url": "/docs/compare/?release=14.21#14.21-c9d25ce6f3b8c109", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-bf063586f9119b1e", "cves": [], "html": "<p>调整我们的 JIT 代码以兼容 LLVM 21（Holger Hoffstätte）<a href=\"https://postgr.es/c/912cfa314\">§</a></p>\n<p>之前的代码在 aarch64 机器上编译失败。</p>", "text": "调整我们的 JIT 代码以兼容 LLVM 21（Holger Hoffstätte）§ 之前的代码在 aarch64 机器上编译失败。", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "commits": ["912cfa314"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "642123a264bfa926555231fb51c1f55785277efb74e7e05d7068980643cc565b", "section_path": ["变更"], "commit_groups": [["035a1f5ac", "0dceba21d", "55164852d", "600acd34b", "60215eae7", "912cfa314"]], "identity_text": "Adjust our JIT code to work with LLVM 21 (Holger Hoffstätte) The previous coding failed to compile on aarch64 machines.", "commit_aliases": ["035a1f5ac", "0dceba21d", "55164852d", "600acd34b", "60215eae7", "912cfa314"], "source_commits": ["912cfa314"], "source_entry_id": "18.2/changes/053", "db_id": "e7ed91f4e25921028767eb7d80e59575", "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc", "relations": [{"rule": 2, "type": "equivalent", "target": "084e13baf0a1aaa1b6831e50a2e8b014", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}, {"rule": 2, "type": "equivalent", "target": "51e665bd2f8466b41d80cf0223c7e413", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}, {"rule": 2, "type": "equivalent", "target": "c7ea32ba825d2c7140b0017b02f1a3ec", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}, {"rule": 2, "type": "equivalent", "target": "cff57c5be469c947c3ffe128e6ba5e35", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c7ea32ba825d2c7140b0017b02f1a3ec", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}, "url": "/docs/compare/?release=17.8#17.8-64e9296142cf419d", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "51e665bd2f8466b41d80cf0223c7e413", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}, "url": "/docs/compare/?release=16.12#16.12-f79746039ad9700e", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "084e13baf0a1aaa1b6831e50a2e8b014", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}, "url": "/docs/compare/?release=15.16#15.16-1709d5e654f518fa", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "cff57c5be469c947c3ffe128e6ba5e35", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}, "url": "/docs/compare/?release=14.21#14.21-cf7b1ea7a3d14458", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-af5fc26e8f8168d4", "cves": [], "html": "<p>修复 aarch64 专用代码，使其可与旧版（RHEL7 时代）的系统头文件一起构建（Tom Lane）<a href=\"https://postgr.es/c/db4eba152\">§</a> <a href=\"https://postgr.es/c/6a5170755\">§</a></p>", "text": "修复 aarch64 专用代码，使其可与旧版（RHEL7 时代）的系统头文件一起构建（Tom Lane）§ §", "title": "修复 aarch64 专用代码，使其可与旧版（RHEL7 时代）的系统头文件一起构建", "commits": ["6a5170755", "db4eba152"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "529bcd93c047b2ef7eec0c93454effdb7bf1dc30a7e787b9cdc4b0f1eba54689", "section_path": ["变更"], "commit_groups": [["3e83bdd35", "6a5170755"], ["6d969ca68", "db4eba152"]], "identity_text": "Fix aarch64-specific code to build with old (RHEL7-era) system header files (Tom Lane)", "commit_aliases": ["3e83bdd35", "6a5170755", "6d969ca68", "db4eba152"], "source_commits": ["6a5170755", "db4eba152"], "source_entry_id": "18.2/changes/054", "db_id": "a44abc9297ae39cc8abcc977a7a85ce4", "patch_ids": ["2792ee2090bd3b24ee2601afc2231214", "341f355bf2e1a82a85b3bc4ddacd7e41"], "statement_hash": "029c7334d68c62bf885d8809ad4d9b0c95dcd9472fff890d2839cbdcfca4b7eb", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-86262bb2b8fa68fb", "cves": [], "html": "<p>修复对 <code>io_uring_queue_init_mem()</code> 的错误 configure 检测（Masahiko Sawada）<a href=\"https://postgr.es/c/640772c6d\">§</a></p>\n<p>该错误导致在基于 autotools 的构建中无法优化异步 I/O 缓冲区分配，尽管使用 meson 构建时这段代码是可用的。这个遗漏的主要影响是后端进程退出速度比应有的更慢。</p>", "text": "修复对 io_uring_queue_init_mem() 的错误 configure 检测（Masahiko Sawada）§ 该错误导致在基于 autotools 的构建中无法优化异步 I/O 缓冲区分配，尽管使用 meson 构建时这段代码是可用的。这个遗漏的主要影响是后端进程退出速度比应有的更慢。", "title": "修复对 io_uring_queue_init_mem() 的错误 configure 检测", "commits": ["640772c6d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "ad451119c2c42159d919470bd46bbc04ff30fcfd36273c4c496e4e04cd4a44a7", "section_path": ["变更"], "commit_groups": [["640772c6d", "85d5bd308"]], "identity_text": "Fix incorrect configure probe for io_uring_queue_init_mem() (Masahiko Sawada) This error resulted in failure to optimize async I/O buffer allocations in autotools-based builds, though the code did work when building with meson. The main impact of the omission was slower-than-necessary backend process exits.", "commit_aliases": ["640772c6d", "85d5bd308"], "source_commits": ["640772c6d"], "source_entry_id": "18.2/changes/055", "db_id": "d68ab5c932a807f00f02a3ef1979ea8e", "patch_ids": ["31cbb2c33e39c0e4ef28cc6890ff10f4"], "statement_hash": "d8fc17387f6344b93284d7852d2f78ec8e602fcb2a9c3aaa1c5d271b3ab58ea4", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-03a42dee6cc753ad", "cves": [], "html": "<p>增加新的服务器参数<a href=\"/docs/18/runtime-config-resource.html#GUC-FILE-EXTEND-METHOD\">file_extend_method</a>来控制 <code>posix_fallocate()</code> 的使用（Thomas Munro）<a href=\"https://postgr.es/c/33e3de6d7\">§</a></p>\n<p><span>PostgreSQL</span> 版本 16 及更高版本会使用 <code>posix_fallocate()</code>（如果平台提供的话）来扩展关系文件。然而，据报告这与某些文件系统交互不良：BTRFS 压缩会因使用 <code>posix_fallocate()</code> 而被禁用，而在较旧的 Linux 内核版本中 XFS 可能会产生虚假的 <code>ENOSPC</code> 错误。为提供一种解决方案，引入了这个新的服务器参数。将 <code>file_extend_method</code> 设置为 <code>write_zeros</code> 将使服务器回退到通过写入全零数据块来扩展文件的旧方法。</p>", "text": "增加新的服务器参数file_extend_method来控制 posix_fallocate() 的使用（Thomas Munro）§ PostgreSQL 版本 16 及更高版本会使用 posix_fallocate()（如果平台提供的话）来扩展关系文件。然而，据报告这与某些文件系统交互不良：BTRFS 压缩会因使用 posix_fallocate() 而被禁用，而在较旧的 Linux 内核版本中 XFS 可能会产生虚假的 ENOSPC 错误。为提供一种解决方案，引入了这个新的服务器参数。将 file_extend_method 设置为 write_zeros 将使服务器回退到通过写入全零数据块来扩展文件的旧方法。", "title": "增加新的服务器参数file_extend_method来控制 posix_fallocate() 的使用", "commits": ["33e3de6d7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "0763504b59f32586bd0ff315aa6677dae3416479e0120c8722fe71ac102de530", "section_path": ["变更"], "commit_groups": [["33e3de6d7", "4dac22aa1", "e37b59802", "f94e9141a"]], "identity_text": "Add new server parameter guc-file-extend-method to control use of posix_fallocate() (Thomas Munro) PostgreSQL version 16 and later will use posix_fallocate(), if the platform provides it, to extend relation files. However, this has been reported to interact poorly with some file systems: BTRFS compression is disabled by the use of posix_fallocate(), and XFS could produce spurious ENOSPC errors in older Linux kernel versions. To provide a workaround, introduce this new server parameter. Setting file_extend_method to write_zeros will cause the server to return to the old method of extending files by writing blocks of zeroes.", "commit_aliases": ["33e3de6d7", "4dac22aa1", "e37b59802", "f94e9141a"], "source_commits": ["33e3de6d7"], "source_entry_id": "18.2/changes/056", "db_id": "21858e94e3aeea81abfb43c5e1981b1c", "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f", "relations": [{"rule": 2, "type": "equivalent", "target": "1190447ef9e06df061dbd62c7fd05aa7", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}}, {"rule": 2, "type": "equivalent", "target": "831a2a1707eb5395bf41f9e7b4720b03", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "831a2a1707eb5395bf41f9e7b4720b03", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "增加新的服务器参数file_extend_method来控制 posix_fallocate() 的使用", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}, "url": "/docs/compare/?release=17.8#17.8-3210c07692952f51", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "1190447ef9e06df061dbd62c7fd05aa7", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "增加新的服务器参数file_extend_method来控制 posix_fallocate() 的使用", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}, "url": "/docs/compare/?release=16.12#16.12-06ed9c5b6b2f5f40", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}]}, {"id": "18.2-10e49010a4ad318c", "cves": [], "html": "<p>在 Windows 上遵守 <code>open()</code> 的 <code>O_CLOEXEC</code> 标志（Bryan Green，Thomas Munro）<a href=\"https://postgr.es/c/bebb281b0\">§</a> <a href=\"https://postgr.es/c/a7d06e74d\">§</a> <a href=\"https://postgr.es/c/4da5c33a3\">§</a></p>\n<p>使此标志像在 POSIX 平台上一样工作，以避免将文件句柄泄漏到子进程（如 <code>COPY TO/FROM PROGRAM</code>）中。虽然该泄漏没有造成太多问题，但它似乎是不可取的。</p>", "text": "在 Windows 上遵守 open() 的 O_CLOEXEC 标志（Bryan Green，Thomas Munro）§ § § 使此标志像在 POSIX 平台上一样工作，以避免将文件句柄泄漏到子进程（如 COPY TO/FROM PROGRAM）中。虽然该泄漏没有造成太多问题，但它似乎是不可取的。", "title": "在 Windows 上遵守 open() 的 O_CLOEXEC 标志", "commits": ["4da5c33a3", "a7d06e74d", "bebb281b0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "020a5f8c42b63941e930482cc638cddc844a411b4e170096b1d3565c877d9537", "section_path": ["变更"], "commit_groups": [["045185913", "0666ccc16", "a7d06e74d", "bec2a0aa3"], ["45d92b76d", "4da5c33a3", "80e8ec772", "b3c8119e2"], ["bebb281b0", "c507ba55f", "d62a258cd", "f24af0e04"]], "identity_text": "Honor open()'s O_CLOEXEC flag on Windows (Bryan Green, Thomas Munro) Make this flag work like it does on POSIX platforms, so that we don't leak file handles into child processes such as COPY TO/FROM PROGRAM. While that leakage hasn't caused many problems, it seems undesirable.", "commit_aliases": ["045185913", "0666ccc16", "45d92b76d", "4da5c33a3", "80e8ec772", "a7d06e74d", "b3c8119e2", "bebb281b0", "bec2a0aa3", "c507ba55f", "d62a258cd", "f24af0e04"], "source_commits": ["4da5c33a3", "a7d06e74d", "bebb281b0"], "source_entry_id": "18.2/changes/057", "db_id": "fa4848909b9ff58346d80a375d2238ce", "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7", "relations": [{"rule": 2, "type": "equivalent", "target": "003ad72554700873dc6210b7a5e54e84", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}}, {"rule": 2, "type": "equivalent", "target": "6b80a0f86b8e07e750eef0cc17220a4a", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6b80a0f86b8e07e750eef0cc17220a4a", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "在 Windows 上遵守 open() 的 O_CLOEXEC 标志", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}, "url": "/docs/compare/?release=17.8#17.8-8c683b207dde44d9", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "003ad72554700873dc6210b7a5e54e84", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "在 Windows 上遵守 open() 的 O_CLOEXEC 标志", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}, "url": "/docs/compare/?release=16.12#16.12-d83dcf4471c4e2b6", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}]}, {"id": "18.2-ca3da398904bd780", "cves": [], "html": "<p>修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题（Tom Lane）<a href=\"https://postgr.es/c/5eac1d68f\">§</a></p>", "text": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题（Tom Lane）§", "title": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题", "commits": ["5eac1d68f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "f1d750e251da7d0c5b6c6b1df9e1accdcbd5f93f3d2ebd78c2af2fe02f60fa7d", "section_path": ["变更"], "commit_groups": [["59c2f7efa", "5eac1d68f", "7369656fa", "c0bf15729"]], "identity_text": "Fix failure to parse long options on the server command line in Solaris executables built with meson (Tom Lane)", "commit_aliases": ["59c2f7efa", "5eac1d68f", "7369656fa", "c0bf15729"], "source_commits": ["5eac1d68f"], "source_entry_id": "18.2/changes/058", "db_id": "c730bdc0e2bcae412d1b558e6989e803", "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac", "relations": [{"rule": 2, "type": "equivalent", "target": "563cd6c38790a66a34d7d2cbdab27f36", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}}, {"rule": 2, "type": "equivalent", "target": "ae36e9e2da103cf26dac76edbf8412a6", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "563cd6c38790a66a34d7d2cbdab27f36", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}, "url": "/docs/compare/?release=17.8#17.8-c28c500f08d6dda7", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "ae36e9e2da103cf26dac76edbf8412a6", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}, "url": "/docs/compare/?release=16.12#16.12-19e3352e6e937b69", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}]}, {"id": "18.2-e1336b6079ff8d5b", "cves": [], "html": "<p>支持在 GNU/Hurd 上更改进程标题（Michael Banck）<a href=\"https://postgr.es/c/bcfca332f\">§</a></p>", "text": "支持在 GNU/Hurd 上更改进程标题（Michael Banck）§", "title": "支持在 GNU/Hurd 上更改进程标题", "commits": ["bcfca332f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "3651cd00413e52bb3457a26d79d84c86f9729cad9edaec4ba29371fdb93f26e0", "section_path": ["变更"], "commit_groups": [["29a3e22f3", "32b236644", "3995e4a9d", "a1407dade", "bcfca332f", "d66a922f9"]], "identity_text": "Support process title changes on GNU/Hurd (Michael Banck)", "commit_aliases": ["29a3e22f3", "32b236644", "3995e4a9d", "a1407dade", "bcfca332f", "d66a922f9"], "source_commits": ["bcfca332f"], "source_entry_id": "18.2/changes/059", "db_id": "92b88e55c652dfa1fcdde3f0953f3285", "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f", "relations": [{"rule": 2, "type": "equivalent", "target": "45f431c4bd4cad50e4053b47f371bd3f", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}}, {"rule": 2, "type": "equivalent", "target": "465d44f8b93dc009feaa8d1fac573196", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}}, {"rule": 2, "type": "equivalent", "target": "b14342e6824ed37b82078bd9a6cc21e1", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}}, {"rule": 2, "type": "equivalent", "target": "d2f91f9760f28a721378c4e8d76ef619", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b14342e6824ed37b82078bd9a6cc21e1", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "支持在 GNU/Hurd 上更改进程标题", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}, "url": "/docs/compare/?release=17.8#17.8-3cbfa3eb5e11672e", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "45f431c4bd4cad50e4053b47f371bd3f", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "支持在 GNU/Hurd 上更改进程标题", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}, "url": "/docs/compare/?release=16.12#16.12-518eec4d74a9bdf5", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "d2f91f9760f28a721378c4e8d76ef619", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "支持在 GNU/Hurd 上更改进程标题", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}, "url": "/docs/compare/?release=15.16#15.16-03e934debe8d5e92", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "465d44f8b93dc009feaa8d1fac573196", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "支持在 GNU/Hurd 上更改进程标题", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}, "url": "/docs/compare/?release=14.21#14.21-d81eba7f3eeb9460", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-208ee506bc091a4e", "cves": [], "html": "<p>修复 <span>psql</span> 对 <code>VACUUM</code> 选项值的 Tab 补全（Yugo Nagata）<a href=\"https://postgr.es/c/4e1376900\">§</a></p>", "text": "修复 psql 对 VACUUM 选项值的 Tab 补全（Yugo Nagata）§", "title": "修复 psql 对 VACUUM 选项值的 Tab 补全", "commits": ["4e1376900"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "795aa4c4f95ee4028ff6a69e46104986349ec281dfd541dc14835862cb9cdc7a", "section_path": ["变更"], "commit_groups": [["4e1376900", "c5c808f9b"]], "identity_text": "Fix psql's tab completion for VACUUM option values (Yugo Nagata)", "commit_aliases": ["4e1376900", "c5c808f9b"], "source_commits": ["4e1376900"], "source_entry_id": "18.2/changes/060", "db_id": "3ed7d34c9f1f44d7f12b3cdf5be71fdb", "patch_ids": ["47fa51099f2042bb10fa2d4100d596e6"], "statement_hash": "484a8e0d2d168721774297ba19d5a5bf75c0ddb8133cd526f01eca3a45220bf6", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-33c3f1c7bab6b68d", "cves": [], "html": "<p>在 <span>psql</span> 命令提示符中，如果没有服务器连接，则不要显示 <code>%P</code>（管道状态）的值（Chao Li）<a href=\"https://postgr.es/c/d42735b1e\">§</a></p>\n<p>这使 <code>%P</code> 的行为与其他依赖当前活动连接的提示符转义序列保持一致。</p>", "text": "在 psql 命令提示符中，如果没有服务器连接，则不要显示 %P（管道状态）的值（Chao Li）§ 这使 %P 的行为与其他依赖当前活动连接的提示符转义序列保持一致。", "title": "在 psql 命令提示符中，如果没有服务器连接，则不要显示 %P（管道状态）的值", "commits": ["d42735b1e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "c12e03620468521702d6bd8dcc133365a028c92b4c8a1403dc325a5fa1efbb80", "section_path": ["变更"], "commit_groups": [["4b77282f2", "d42735b1e"]], "identity_text": "In psql command prompts, do not show a value for %P (pipeline status) when there is no server connection (Chao Li) This makes %P act like other prompt escape sequences whose values depend on the active connection.", "commit_aliases": ["4b77282f2", "d42735b1e"], "source_commits": ["d42735b1e"], "source_entry_id": "18.2/changes/061", "db_id": "0856ce3b7218500bf5dbe52cdc233e9f", "patch_ids": ["693bff41453365dddf860360cb11e561"], "statement_hash": "272361171af0f32c0153740896cdb38602e94f6913109737c20a6f445a8d851e", "relations": [], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-4719d9fbda426b6b", "cves": [], "html": "<p>修复 <span>pg_dump</span> 收集序列值的逻辑（Nathan Bossart）<a href=\"https://postgr.es/c/39d555576\">§</a> <a href=\"https://postgr.es/c/56e1f5010\">§</a></p>\n<p>如果某个序列在转储过程中被并发删除，<span>pg_dump</span> 会失败，即使该序列并不在待转储的数据库对象中。另外，如果调用用户没有权限读取序列值，<span>pg_dump</span> 先前会输出错误的值，而不是像预期那样失败。</p>", "text": "修复 pg_dump 收集序列值的逻辑（Nathan Bossart）§ § 如果某个序列在转储过程中被并发删除，pg_dump 会失败，即使该序列并不在待转储的数据库对象中。另外，如果调用用户没有权限读取序列值，pg_dump 先前会输出错误的值，而不是像预期那样失败。", "title": "修复 pg_dump 收集序列值的逻辑", "commits": ["39d555576", "56e1f5010"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "37f2d4cc5be5c650e6934efeddfac614410556bf5d2ba2916471c87b81d6781e", "section_path": ["变更"], "commit_groups": [["39d555576", "7a485bd64"], ["56e1f5010", "5d1f5079a"]], "identity_text": "Fix pg_dump's logic for collecting sequence values (Nathan Bossart) pg_dump failed if a sequence was dropped concurrently with the dump, even if the sequence was not among the database objects to be dumped. Also, if the calling user lacks privileges to read a sequence's value, pg_dump emitted incorrect values rather than failing as expected.", "commit_aliases": ["39d555576", "56e1f5010", "5d1f5079a", "7a485bd64"], "source_commits": ["39d555576", "56e1f5010"], "source_entry_id": "18.2/changes/062", "db_id": "6a88db926279b2de84f76189b0b7b586", "patch_ids": ["09260790fdc4775cb78273043d8cf1be", "eaea0ffb838affab367b400e8c79884f"], "statement_hash": "ce18d8cd7ca3634349a95b8901669acb169663943174c58ace92a87d8eb5a4ae", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-f023cfdc0ce6569e", "cves": [], "html": "<p>修复 <span>pg_dump</span> 对 <code>oauth_validator_libraries</code> 取值的引号处理可能不正确的问题（ChangAo Chen）<a href=\"https://postgr.es/c/61c78e1f4\">§</a></p>\n<p>如果 <span>pg_dump</span> 需要转储该设置的值，它此前会应用错误的引用规则。</p>", "text": "修复 pg_dump 对 oauth_validator_libraries 取值的引号处理可能不正确的问题（ChangAo Chen）§ 如果 pg_dump 需要转储该设置的值，它此前会应用错误的引用规则。", "title": "修复 pg_dump 对 oauth_validator_libraries 取值的引号处理可能不正确的问题", "commits": ["61c78e1f4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "b70c2051bd8c92a107757fad0742c202ef62cfffe67c8c80e96122f38bd6cf65", "section_path": ["变更"], "commit_groups": [["61c78e1f4", "ec0da9b89"]], "identity_text": "Fix potentially-incorrect quoting of oauth_validator_libraries values by pg_dump (ChangAo Chen) pg_dump applied the wrong quoting rule if it needed to dump a value of this setting.", "commit_aliases": ["61c78e1f4", "ec0da9b89"], "source_commits": ["61c78e1f4"], "source_entry_id": "18.2/changes/063", "db_id": "2edcdf4c426f73af4c504d84d937d988", "patch_ids": ["862047a17a76ec23fcd2672f659199b1"], "statement_hash": "d589bfa7906038771b189bb28737cfa67b315269b47561f913b9ac6b9a230781", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-ee37d4b2b910a503", "cves": [], "html": "<p>避免 <span>pg_dump</span> 在 binary-upgrade 模式下触发断言失败（Vignesh C）<a href=\"https://postgr.es/c/573e679a2\">§</a></p>\n<p>对象排序代码未能处理订阅关系对象，从而触发断言，不过在生产构建中并未发现严重的实际影响。</p>", "text": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败（Vignesh C）§ 对象排序代码未能处理订阅关系对象，从而触发断言，不过在生产构建中并未发现严重的实际影响。", "title": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败", "commits": ["573e679a2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "30e87eaba4d7329f1777ef3c10be9b4eeeb69ede053339decb40edbf95012f34", "section_path": ["变更"], "commit_groups": [["1cdc07ad5", "573e679a2", "d49936f30"]], "identity_text": "Avoid pg_dump assertion failure in binary-upgrade mode (Vignesh C) Failure to handle subscription-relation objects in the object sorting code triggered an assertion, though there were no serious ill effects in production builds.", "commit_aliases": ["1cdc07ad5", "573e679a2", "d49936f30"], "source_commits": ["573e679a2"], "source_entry_id": "18.2/changes/064", "db_id": "df5cb5704fef8f74897251fa0c3be081", "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a", "relations": [{"rule": 2, "type": "equivalent", "target": "4494339208c66bea624ef04f8e7162d7", "evidence": {"same_day": true, "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4494339208c66bea624ef04f8e7162d7", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败", "evidence": {"same_day": true, "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a"}, "url": "/docs/compare/?release=17.8#17.8-fb87d1ddb8333f9e", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-e7bddef1f2dbe17d", "cves": [], "html": "<p>修复 pipeline 模式下 <span>pgbench</span> 在有多个 <code>\\syncpipeline</code> 命令时的错误处理问题（Yugo Nagata）<a href=\"https://postgr.es/c/00e64e35c\">§</a></p>\n<p>如果在查询错误之后又遇到多个 <code>\\syncpipeline</code> 命令，<span>pgbench</span> 会报告 <span>“<span>failed to exit pipeline mode</span>”</span>，或者在启用断言的构建中触发断言失败。</p>", "text": "修复 pipeline 模式下 pgbench 在有多个 \\syncpipeline 命令时的错误处理问题（Yugo Nagata）§ 如果在查询错误之后又遇到多个 \\syncpipeline 命令，pgbench 会报告 “failed to exit pipeline mode”，或者在启用断言的构建中触发断言失败。", "title": "修复 pipeline 模式下 pgbench 在有多个 \\syncpipeline 命令时的错误处理问题", "commits": ["00e64e35c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "faa30a575df1ae78579de5ecbb4f392a5468803fa8d63169d08e576c223c33b3", "section_path": ["变更"], "commit_groups": [["00e64e35c", "4aa0ac057", "5bc251b28"]], "identity_text": "Fix incorrect error handling in pgbench with multiple \\syncpipeline commands in pipeline mode (Yugo Nagata) If multiple \\syncpipeline commands are encountered after a query error, pgbench would report failed to exit pipeline mode, or get an assertion failure in an assert-enabled build.", "commit_aliases": ["00e64e35c", "4aa0ac057", "5bc251b28"], "source_commits": ["00e64e35c"], "source_entry_id": "18.2/changes/065", "db_id": "110c54d4f77bbbf3b3cb5646c3d03270", "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385", "relations": [{"rule": 2, "type": "equivalent", "target": "e6397b23168007fedda0f3f80287907f", "evidence": {"same_day": true, "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e6397b23168007fedda0f3f80287907f", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 pipeline 模式下 pgbench 在有多个 \\syncpipeline 命令时的错误处理问题", "evidence": {"same_day": true, "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385"}, "url": "/docs/compare/?release=17.8#17.8-db3cf1766c83bbad", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}]}, {"id": "18.2-12ea46c5ca32b0f2", "cves": [], "html": "<p>使 <span>pg_resetwal</span> 在更改 OldestXID 时打印更新后的值（Heikki Linnakangas）<a href=\"https://postgr.es/c/19594271c\">§</a></p>\n<p>它对可以更改的其他每个变量都已经这样做了。</p>", "text": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值（Heikki Linnakangas）§ 它对可以更改的其他每个变量都已经这样做了。", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "commits": ["19594271c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "7d0671d0086f58d8e012489b82175ffdaeea54f9aec8617fd497a06c1f4dc1b7", "section_path": ["变更"], "commit_groups": [["11cc0f452", "19594271c", "7c494072b", "890cc81b6", "d5b4f3a6d", "f2e0ca0af"]], "identity_text": "Make pg_resetwal print the updated value when changing OldestXID (Heikki Linnakangas) It already did that for every other variable it can change.", "commit_aliases": ["11cc0f452", "19594271c", "7c494072b", "890cc81b6", "d5b4f3a6d", "f2e0ca0af"], "source_commits": ["19594271c"], "source_entry_id": "18.2/changes/066", "db_id": "5f928cd7f1a940e12cd51a8ce19d06f6", "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a", "relations": [{"rule": 2, "type": "equivalent", "target": "22be50f61755ecf5187af28b01545b41", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}}, {"rule": 2, "type": "equivalent", "target": "47e617ce37a58405cf4c7f033f26b641", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}}, {"rule": 2, "type": "equivalent", "target": "500d9d80888f7caeb4b4801bee95301d", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}}, {"rule": 2, "type": "equivalent", "target": "94c5ea9aed8ffadf4043f33f201ed4e5", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "500d9d80888f7caeb4b4801bee95301d", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}, "url": "/docs/compare/?release=17.8#17.8-0aca6daf3559b899", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "94c5ea9aed8ffadf4043f33f201ed4e5", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}, "url": "/docs/compare/?release=16.12#16.12-49d7c6db55fd3d90", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "47e617ce37a58405cf4c7f033f26b641", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}, "url": "/docs/compare/?release=15.16#15.16-3d69fa0131d029ba", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "22be50f61755ecf5187af28b01545b41", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}, "url": "/docs/compare/?release=14.21#14.21-cd08367401e4956d", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-b3adbf7cc127bf87", "cves": [], "html": "<p>使 <span>pg_resetwal</span> 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX（Maxim Orlov）<a href=\"https://postgr.es/c/8747b969f\">§</a></p>\n<p>这些是有效的值，因此拒绝它们是不正确的。在最坏的情况下，如果恰好在多事务回卷点尝试 pg_upgrade，升级将失败。</p>", "text": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX（Maxim Orlov）§ 这些是有效的值，因此拒绝它们是不正确的。在最坏的情况下，如果恰好在多事务回卷点尝试 pg_upgrade，升级将失败。", "title": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX", "commits": ["8747b969f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "19aa11ac03ecd9743883b5b3b7d28a4034c78e536b691f1127ad247cf62f9794", "section_path": ["变更"], "commit_groups": [["8747b969f", "94939c5f3", "97cd4b65a", "cb2ef0e92", "e039b09f8"]], "identity_text": "Make pg_resetwal allow setting next multixact xid to 0 or next multixact offset to UINT32_MAX (Maxim Orlov) These are valid values, so rejecting them was incorrect. In the worst case, if a pg_upgrade is attempted when exactly at the point of multixact wraparound, the upgrade would fail.", "commit_aliases": ["8747b969f", "94939c5f3", "97cd4b65a", "cb2ef0e92", "e039b09f8"], "source_commits": ["8747b969f"], "source_entry_id": "18.2/changes/067", "db_id": "a4ce7629005a43b316bb9b4fbdb478ad", "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea", "relations": [{"rule": 2, "type": "equivalent", "target": "4da7f3aac2517d05e54bea6d3c1ab25e", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}}, {"rule": 2, "type": "equivalent", "target": "89127b250f2abea1a64f754f71c48c77", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}}, {"rule": 2, "type": "equivalent", "target": "ba56a98c48c3c98e929510554c2c7d1f", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ba56a98c48c3c98e929510554c2c7d1f", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}, "url": "/docs/compare/?release=17.8#17.8-6a1deb077e1799c1", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "89127b250f2abea1a64f754f71c48c77", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}, "url": "/docs/compare/?release=16.12#16.12-be4ccb27fcd54b62", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "4da7f3aac2517d05e54bea6d3c1ab25e", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}, "url": "/docs/compare/?release=15.16#15.16-fed3a8dfafe193ba", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}]}, {"id": "18.2-bbfcc39776d1a2a4", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，为 B-树索引父节点检查使用正确的快照（Mihail Nikalayeu）<a href=\"https://postgr.es/c/df93f94dd\">§</a> <a href=\"https://postgr.es/c/3c83a2a0a\">§</a></p>\n<p>之前的代码在检查使用 <code>CREATE INDEX CONCURRENTLY</code> 创建的索引时会产生虚假错误。</p>", "text": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照（Mihail Nikalayeu）§ § 之前的代码在检查使用 CREATE INDEX CONCURRENTLY 创建的索引时会产生虚假错误。", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "commits": ["3c83a2a0a", "df93f94dd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "9326fd49078399bcb649954f0bd02440c060b83b9344d667e3d08342bb8c7469", "section_path": ["变更"], "commit_groups": [["098a1fab8", "1f28982e4", "3c83a2a0a", "607a67c5e", "dcddd6987", "e1a327dc4"], ["6bd469d26", "ce2f575b7", "df93f94dd"]], "identity_text": "In contrib/amcheck, use the correct snapshot for btree index parent checks (Mihail Nikalayeu) The previous coding caused spurious errors when examining indexes created with CREATE INDEX CONCURRENTLY.", "commit_aliases": ["098a1fab8", "1f28982e4", "3c83a2a0a", "607a67c5e", "6bd469d26", "ce2f575b7", "dcddd6987", "df93f94dd", "e1a327dc4"], "source_commits": ["3c83a2a0a", "df93f94dd"], "source_entry_id": "18.2/changes/068", "db_id": "955a03e6ef46153a22d64b4e82c47168", "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d", "relations": [{"rule": 2, "type": "equivalent", "target": "493a72cf1959504f8641847b78bd08a1", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}}, {"rule": 2, "type": "equivalent", "target": "8bafe8c0e161e1a9a94a09493833d987", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}}, {"rule": 2, "type": "equivalent", "target": "8c9e41f976444baa74aa90d4929a9857", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}}, {"rule": 2, "type": "equivalent", "target": "d68c80f0e4be35945733a8602d932285", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8c9e41f976444baa74aa90d4929a9857", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}, "url": "/docs/compare/?release=17.8#17.8-ab740b8bd4036a5f", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "8bafe8c0e161e1a9a94a09493833d987", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}, "url": "/docs/compare/?release=16.12#16.12-57cb8c5f86934ffc", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "d68c80f0e4be35945733a8602d932285", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}, "url": "/docs/compare/?release=15.16#15.16-32e275050e59e4f0", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "493a72cf1959504f8641847b78bd08a1", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}, "url": "/docs/compare/?release=14.21#14.21-823de0611d087fb4", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-cb9b48895e2b846c", "cves": [], "html": "<p>修复 <code>contrib/amcheck</code> 以正确处理<span>“<span>半死亡</span>”</span> B-树索引页面（Heikki Linnakangas）<a href=\"https://postgr.es/c/19e786727\">§</a></p>\n<p><code>amcheck</code> 期望此类页面有一个父级下行链接，但实际上没有，导致关于 <span>“<span>mismatch between parent key and child high key</span>”</span> 的虚假错误报告。</p>", "text": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面（Heikki Linnakangas）§ amcheck 期望此类页面有一个父级下行链接，但实际上没有，导致关于 “mismatch between parent key and child high key” 的虚假错误报告。", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "commits": ["19e786727"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "8fa96693fff98265a0eba650e2e0dafe814e655826a1332ee1b546918eac0d02", "section_path": ["变更"], "commit_groups": [["182901626", "19e786727", "7792bdc45", "cbe04e5d7", "e8ae59445", "fbb4b6078"]], "identity_text": "Fix contrib/amcheck to handle half-dead btree index pages correctly (Heikki Linnakangas) amcheck expected such a page to have a parent downlink, but it does not, leading to a false error report about mismatch between parent key and child high key.", "commit_aliases": ["182901626", "19e786727", "7792bdc45", "cbe04e5d7", "e8ae59445", "fbb4b6078"], "source_commits": ["19e786727"], "source_entry_id": "18.2/changes/069", "db_id": "cd3fba00555984ba827b4d51519989d9", "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5", "relations": [{"rule": 2, "type": "equivalent", "target": "7d94ee89b853fd7d6f3bb697328e1fed", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}}, {"rule": 2, "type": "equivalent", "target": "b0c422d1b24cdfdcd3828e41eecc8d38", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}}, {"rule": 2, "type": "equivalent", "target": "bb53eff1677e4a2b4b54e1dcbe8a077d", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}}, {"rule": 2, "type": "equivalent", "target": "c7f51c102edaf4e048fd2d187271f417", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7d94ee89b853fd7d6f3bb697328e1fed", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}, "url": "/docs/compare/?release=17.8#17.8-9f60cb27b127637e", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "bb53eff1677e4a2b4b54e1dcbe8a077d", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}, "url": "/docs/compare/?release=16.12#16.12-8ce4eed0d5e06f12", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "b0c422d1b24cdfdcd3828e41eecc8d38", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}, "url": "/docs/compare/?release=15.16#15.16-98501264b939d5f7", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "c7f51c102edaf4e048fd2d187271f417", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}, "url": "/docs/compare/?release=14.21#14.21-36f7bc4e4927fff8", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-9de86ea05d414299", "cves": [], "html": "<p>修复 <code>contrib/amcheck</code> 以正确处理不完整的 B-树根页面分裂（Heikki Linnakangas）<a href=\"https://postgr.es/c/50c63ebb0\">§</a></p>\n<p><code>amcheck</code> 可能会报告关于 <span>“<span>block is not true root</span>”</span> 的虚假错误。</p>", "text": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂（Heikki Linnakangas）§ amcheck 可能会报告关于 “block is not true root” 的虚假错误。", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "commits": ["50c63ebb0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "8b82126eb1d80a76e95cd0e4eb336c2056c96da83f69395171038e994fb18a1a", "section_path": ["变更"], "commit_groups": [["50c63ebb0", "5a2d1df00", "6c05ef572", "721b58fbe", "a4cb21ea9", "f2a6df9fd"]], "identity_text": "Fix contrib/amcheck to handle incomplete btree root page splits correctly (Heikki Linnakangas) amcheck could report a false error about block is not true root.", "commit_aliases": ["50c63ebb0", "5a2d1df00", "6c05ef572", "721b58fbe", "a4cb21ea9", "f2a6df9fd"], "source_commits": ["50c63ebb0"], "source_entry_id": "18.2/changes/070", "db_id": "8501633eefd4ba0be52ed6a8edf74102", "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb", "relations": [{"rule": 2, "type": "equivalent", "target": "0961927e1e1f17e976e1fe45d36dd9ce", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}}, {"rule": 2, "type": "equivalent", "target": "36d6b9b121e09182786381bf1019a5a6", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}}, {"rule": 2, "type": "equivalent", "target": "67e3b43981f7755a637c3f6f8538cf81", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}}, {"rule": 2, "type": "equivalent", "target": "c098597887b2f2c2a2d33ae0dfbe3669", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "67e3b43981f7755a637c3f6f8538cf81", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}, "url": "/docs/compare/?release=17.8#17.8-5b1a363a1650f076", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "0961927e1e1f17e976e1fe45d36dd9ce", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}, "url": "/docs/compare/?release=16.12#16.12-c9fd4d380e654c76", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "c098597887b2f2c2a2d33ae0dfbe3669", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}, "url": "/docs/compare/?release=15.16#15.16-fdcaabc9a4bd33b0", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "36d6b9b121e09182786381bf1019a5a6", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}, "url": "/docs/compare/?release=14.21#14.21-fe04a8384b630984", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-78621868f8a48d3e", "cves": [], "html": "<p>修复 <code>contrib/pg_buffercache</code> 中过度分配内存的问题（David Geier）<a href=\"https://postgr.es/c/580b5c2f3\">§</a></p>\n<p>代码分配的内存是NUMA页面状态需要的两倍。</p>", "text": "修复 contrib/pg_buffercache 中过度分配内存的问题（David Geier）§ 代码分配的内存是NUMA页面状态需要的两倍。", "title": "修复 contrib/pg_buffercache 中过度分配内存的问题", "commits": ["580b5c2f3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "88873f3cec0f4d824b5d7ec01e5819d140fc5921a33dd96de5c0410e14d7329b", "section_path": ["变更"], "commit_groups": [["3f83de20b", "580b5c2f3"]], "identity_text": "Fix excessive memory allocation in contrib/pg_buffercache (David Geier) The code allocated twice as much memory as it needed for NUMA page status.", "commit_aliases": ["3f83de20b", "580b5c2f3"], "source_commits": ["580b5c2f3"], "source_entry_id": "18.2/changes/071", "db_id": "2a469e87e461518ff6a0c895df4011c4", "patch_ids": ["68296f37cd0ce327bf140bb0b4bfe511"], "statement_hash": "1042007c5ddc717af06afcddccb20c95b2ab0127baff1887603f236846d07dd3", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-a45188e655691d38", "cves": [], "html": "<p>修复 <code>contrib/intarray</code> 中 <code>@@</code> 选择率估算器的边界情况整数溢出问题（Chao Li）<a href=\"https://postgr.es/c/07c1c6ec5\">§</a></p>\n<p>这可能导致在涉及最大整数值的情况下产生不准确的选择率估算。</p>", "text": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题（Chao Li）§ 这可能导致在涉及最大整数值的情况下产生不准确的选择率估算。", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "commits": ["07c1c6ec5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "0406ef3ec261ae8dfc6ed54bf7e8d656476a289a09885f44526d65c22f1e2707", "section_path": ["变更"], "commit_groups": [["07c1c6ec5", "4f49e4b55", "54f82c4aa", "67a6fd507", "a5f2dc421", "c89510431"]], "identity_text": "Fix edge-case integer overflow in contrib/intarray's selectivity estimator for @@ (Chao Li) This could cause poor selectivity estimates to be produced for cases involving the maximum integer value.", "commit_aliases": ["07c1c6ec5", "4f49e4b55", "54f82c4aa", "67a6fd507", "a5f2dc421", "c89510431"], "source_commits": ["07c1c6ec5"], "source_entry_id": "18.2/changes/072", "db_id": "e129aabe6a0e432884befb054f303449", "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf", "relations": [{"rule": 2, "type": "equivalent", "target": "1285579c66ecba8872eb8b17f3bc4e1b", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}}, {"rule": 2, "type": "equivalent", "target": "59e2d3bf9637de09505f940988dcd182", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}}, {"rule": 2, "type": "equivalent", "target": "81dbabd3964ac7d16575fec8b0e775d4", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}}, {"rule": 2, "type": "equivalent", "target": "8280d414e29b698e7a7b5bdab7d65a67", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8280d414e29b698e7a7b5bdab7d65a67", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}, "url": "/docs/compare/?release=17.8#17.8-ab6fdf5f76b2dd4a", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "1285579c66ecba8872eb8b17f3bc4e1b", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}, "url": "/docs/compare/?release=16.12#16.12-5a125ae178db396f", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "81dbabd3964ac7d16575fec8b0e775d4", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}, "url": "/docs/compare/?release=15.16#15.16-f389445655314c8a", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "59e2d3bf9637de09505f940988dcd182", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}, "url": "/docs/compare/?release=14.21#14.21-b90e49b89a9df63b", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-4b1b9fbd0223faf3", "cves": [], "html": "<p>修复 <code>contrib/ltree</code> 中的多字节编码问题（Jeff Davis）<a href=\"https://postgr.es/c/f79e239e0\">§</a></p>\n<p>之前的代码可能将不完整的多字节字符传递给 <code>lower()</code>，可能导致不正确的行为。</p>", "text": "修复 contrib/ltree 中的多字节编码问题（Jeff Davis）§ 之前的代码可能将不完整的多字节字符传递给 lower()，可能导致不正确的行为。", "title": "修复 contrib/ltree 中的多字节编码问题", "commits": ["f79e239e0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "1b3ea9b9fd7b0b74a653230b73b439d93c2fb66c05c85a60e3b6e6a64caa34f2", "section_path": ["变更"], "commit_groups": [["335b2f30b", "84d5efa7e", "898991966", "b80227c0a", "b8cfe9dc2", "f79e239e0"]], "identity_text": "Fix multibyte-encoding issue in contrib/ltree (Jeff Davis) The previous coding could pass an incomplete multibyte character to lower(), probably resulting in incorrect behavior.", "commit_aliases": ["335b2f30b", "84d5efa7e", "898991966", "b80227c0a", "b8cfe9dc2", "f79e239e0"], "source_commits": ["f79e239e0"], "source_entry_id": "18.2/changes/073", "db_id": "a7c924b73b0998bc9111869833cc9355", "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8", "relations": [{"rule": 2, "type": "equivalent", "target": "68d5a5585afcd2453c96b9409ff4eb3e", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}}, {"rule": 2, "type": "equivalent", "target": "81f250eccec05588f1ee61ab46a58eef", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}}, {"rule": 2, "type": "equivalent", "target": "d009a076d5863b0968962c0a478ad63c", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}}, {"rule": 2, "type": "equivalent", "target": "d10631fe1ac5049f82fdf79ee53d5075", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}}], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d009a076d5863b0968962c0a478ad63c", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "修复 contrib/ltree 中的多字节编码问题", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}, "url": "/docs/compare/?release=17.8#17.8-cb9f9359b4259ec9", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "81f250eccec05588f1ee61ab46a58eef", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复 contrib/ltree 中的多字节编码问题", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}, "url": "/docs/compare/?release=16.12#16.12-62d738484b043fb5", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "d10631fe1ac5049f82fdf79ee53d5075", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复 contrib/ltree 中的多字节编码问题", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}, "url": "/docs/compare/?release=15.16#15.16-a86dbc9d880920b4", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "68d5a5585afcd2453c96b9409ff4eb3e", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复 contrib/ltree 中的多字节编码问题", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}, "url": "/docs/compare/?release=14.21#14.21-16f0b9fef0baa13b", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "18.2-88be8c9b8608cbbe", "cves": [], "html": "<p>避免当 <code>contrib/pg_stat_statements</code> 处理包含常量和非常量表达式的 <code>IN</code> 列表时发生崩溃（Sami Imseih）<a href=\"https://postgr.es/c/3304e97b1\">§</a></p>", "text": "避免当 contrib/pg_stat_statements 处理包含常量和非常量表达式的 IN 列表时发生崩溃（Sami Imseih）§", "title": "避免当 contrib/pg_stat_statements 处理包含常量和非常量表达式的 IN 列表时发生崩溃", "commits": ["3304e97b1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "d9db972c28c90a40ba525627189a32e20fa74e1597314455dcadf45500b27791", "section_path": ["变更"], "commit_groups": [["3304e97b1", "5d95219fa"]], "identity_text": "Avoid crash in contrib/pg_stat_statements when an IN list contains both constants and non-constant expressions (Sami Imseih)", "commit_aliases": ["3304e97b1", "5d95219fa"], "source_commits": ["3304e97b1"], "source_entry_id": "18.2/changes/074", "db_id": "91440dc09c962461aba340bf8d013706", "patch_ids": ["7630dbbb9eb7bf6a2e8bb27d523e2b17"], "statement_hash": "d25646826d953ef8261159e709f96e95efd7d1f356853de68cc892f611ebcbea", "relations": [], "version": "18.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.2-4cbf16ee6dc57970", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2025c 版本（Tom Lane）<a href=\"https://postgr.es/c/6574bee64\">§</a></p>\n<p>唯一的变更是下加利福尼亚 1976 年之前时间戳的历史数据。</p>", "text": "将时区数据文件更新到 tzdata 2025c 版本（Tom Lane）§ 唯一的变更是下加利福尼亚 1976 年之前时间戳的历史数据。", "title": "将时区数据文件更新到 tzdata 2025c 版本", "commits": ["6574bee64"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES", "source_hash": "bb2f3728e4b9f6f7fccf237ab4892ab16d5f39075e844a735198a307cb87d00a", "section_path": ["变更"], "commit_groups": [["00410b76d", "228fe0c3e", "6574bee64", "8bbf28191", "d852d105e", "f87c0b84e"]], "identity_text": "Update time zone data files to tzdata release 2025c (Tom Lane) The only change is in historical data for pre-1976 timestamps in Baja California.", "commit_aliases": ["00410b76d", "228fe0c3e", "6574bee64", "8bbf28191", "d852d105e", "f87c0b84e"], "source_commits": ["6574bee64"], "source_entry_id": "18.2/changes/075", "db_id": "1e212940a15748de8b9d8f9f8a00221c", "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b", "relations": [{"rule": 2, "type": "equivalent", "target": "6a2a6f129d457a35195c94f742bac1c7", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}}, {"rule": 2, "type": "equivalent", "target": "8fe4829a60aad3b491b6cf8cc56b6b67", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}}, {"rule": 2, "type": "equivalent", "target": "af6fece6fb7485ca9609d00ddf419b69", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}}, {"rule": 2, "type": "equivalent", "target": "e11e7a4857357ba2a4255391b7eb4033", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}}], "version": "18.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e11e7a4857357ba2a4255391b7eb4033", "kind": "equivalent", "version": "17.8", "label": "17.8", "title": "将时区数据文件更新到 tzdata 2025c 版本", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}, "url": "/docs/compare/?release=17.8#17.8-6f023224ced53b65", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES"}, {"db_id": "6a2a6f129d457a35195c94f742bac1c7", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "将时区数据文件更新到 tzdata 2025c 版本", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}, "url": "/docs/compare/?release=16.12#16.12-6eb2ba686b659281", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "8fe4829a60aad3b491b6cf8cc56b6b67", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "将时区数据文件更新到 tzdata 2025c 版本", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}, "url": "/docs/compare/?release=15.16#15.16-c4e519f4ba92f2b8", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "af6fece6fb7485ca9609d00ddf419b69", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "将时区数据文件更新到 tzdata 2025c 版本", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}, "url": "/docs/compare/?release=14.21#14.21-af62fd071fbac039", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}]}, {"date": "2025-11-13", "build": "18.1", "major": "18", "minor": 1, "manual": "18", "status": "stable", "doc_git": "", "version": "18.1", "eol_date": "2030-11-14", "date_text": "2025-11-13", "supported": true, "manual_url": "/docs/18/release-18-1.html", "source_url": "/docs/release/18.1/", "entry_count": 53, "placeholder": false, "content_hash": "66700dac793fc044b8f7c2c102c994a4c8eb8d81241e1aaf34fc9723b5a51be4", "manual_build": "18.6", "source_as_of": "", "changes_count": 53, "doc_loaded_at": "2026-09-26T02:56:34.731814", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>", "compatibility_count": 0, "label": "18.1", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 317, "support_days": 1510, "entries": [{"id": "18.1-45bd7bfaea1c1e6c", "cves": ["CVE-2025-12817"], "html": "<p>检查 <code>CREATE STATISTICS</code> 中模式的 <code>CREATE</code> 权限（Jelte Fennema-Nio）<a href=\"https://postgr.es/c/00eb646ea\">§</a></p>\n<p>此遗漏允许表的所有者在任何模式中创建统计对象，可能导致意外的命名冲突。</p>\n<p><span>PostgreSQL</span> 项目感谢 Jelte Fennema-Nio 报告此问题。（CVE-2025-12817）</p>", "text": "检查 CREATE STATISTICS 中模式的 CREATE 权限（Jelte Fennema-Nio）§ 此遗漏允许表的所有者在任何模式中创建统计对象，可能导致意外的命名冲突。 PostgreSQL 项目感谢 Jelte Fennema-Nio 报告此问题。（CVE-2025-12817）", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "commits": ["00eb646ea"], "section": "变更", "category": "security", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "7c9fc98fd26352f2c8df8d62ef124c4a11c97ac338af1e68ad9300d406affc69", "section_path": ["变更"], "commit_groups": [["00eb646ea", "2393d374a", "5e4fcbe53", "8a2530ebc", "95cce5669", "d20abb587", "e2fb3dfa8"]], "identity_text": "Check for CREATE privileges on the schema in CREATE STATISTICS (Jelte Fennema-Nio) This omission allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts. The PostgreSQL Project thanks Jelte Fennema-Nio for reporting this problem. (CVE-2025-12817)", "commit_aliases": ["00eb646ea", "2393d374a", "5e4fcbe53", "8a2530ebc", "95cce5669", "d20abb587", "e2fb3dfa8"], "source_commits": ["00eb646ea"], "source_entry_id": "18.1/changes/001", "db_id": "0b1db4254a2e3444434b0ca4004ea84b", "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704", "relations": [{"rule": 2, "type": "equivalent", "target": "3aabd99e8b497ed573a9c3988472f89b", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}, {"rule": 2, "type": "equivalent", "target": "5434410099d24e095f2f3662e9b084be", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}, {"rule": 2, "type": "equivalent", "target": "6167ff71ba63659939df7295a1784bd5", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}, {"rule": 2, "type": "equivalent", "target": "7a542e168dfd911c88c2817105ab4eb1", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}, {"rule": 2, "type": "equivalent", "target": "fc4febff3c2281775597453f96dfd148", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}], "version": "18.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "6167ff71ba63659939df7295a1784bd5", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=17.7#17.7-36aab10e5138d3d1", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "fc4febff3c2281775597453f96dfd148", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=16.11#16.11-de601249f8288957", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "3aabd99e8b497ed573a9c3988472f89b", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=15.15#15.15-41d0e2da68ae7d2f", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7a542e168dfd911c88c2817105ab4eb1", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=14.20#14.20-1acfdd0cd4bbd28d", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "5434410099d24e095f2f3662e9b084be", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=13.23#13.23-5bf870f01e021d82", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-3a4a5ae84a44ca49", "cves": ["CVE-2025-12818"], "html": "<p>避免 <span>libpq</span> 中分配大小计算的整数溢出（Jacob Champion）<a href=\"https://postgr.es/c/7eb8fcad8\">§</a></p>\n<p><span>libpq</span> 中有多处对内存分配所需大小的计算不够谨慎。足够大的输入可能导致整数溢出，从而分配一个不够大的缓冲区，进而导致写入超出缓冲区的末尾。</p>\n<p><span>PostgreSQL</span> 项目感谢 Positive Technologies 的 Aleksey Solovev 报告此问题。（CVE-2025-12818）</p>", "text": "避免 libpq 中分配大小计算的整数溢出（Jacob Champion）§ libpq 中有多处对内存分配所需大小的计算不够谨慎。足够大的输入可能导致整数溢出，从而分配一个不够大的缓冲区，进而导致写入超出缓冲区的末尾。 PostgreSQL 项目感谢 Positive Technologies 的 Aleksey Solovev 报告此问题。（CVE-2025-12818）", "title": "避免 libpq 中分配大小计算的整数溢出", "commits": ["7eb8fcad8"], "section": "变更", "category": "security", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "b45871c637865cee86198fd246cd8aabd5edf5df7efc227adeb36544fb4819da", "section_path": ["变更"], "commit_groups": [["585fd9b3c", "600086f47", "7eb8fcad8", "91421565f", "96d2c7e96", "d6f0c0d6d", "f5999f018"]], "identity_text": "Avoid integer overflow in allocation-size calculations within libpq (Jacob Champion) Several places in libpq were not sufficiently careful about computing the required size of a memory allocation. Sufficiently large inputs could cause integer overflow, resulting in an undersized buffer, which would then lead to writing past the end of the buffer. The PostgreSQL Project thanks Aleksey Solovev of Positive Technologies for reporting this problem. (CVE-2025-12818)", "commit_aliases": ["585fd9b3c", "600086f47", "7eb8fcad8", "91421565f", "96d2c7e96", "d6f0c0d6d", "f5999f018"], "source_commits": ["7eb8fcad8"], "source_entry_id": "18.1/changes/002", "db_id": "c53264df3df1081cfca59daebb417ae4", "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb", "relations": [{"rule": 2, "type": "equivalent", "target": "10c3ef25a629d41429d514190a9f5584", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}, {"rule": 2, "type": "equivalent", "target": "1f91b721b071de697f740c95cd556a9e", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}, {"rule": 2, "type": "equivalent", "target": "601fa44b8aa3f725f41f2320ba9cf51b", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}, {"rule": 2, "type": "equivalent", "target": "9b1eafd982ad52573adf6f2d6ae70703", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}, {"rule": 2, "type": "equivalent", "target": "cf7417da3f5aaff52ed6398652b5cefb", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}], "version": "18.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "cf7417da3f5aaff52ed6398652b5cefb", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=17.7#17.7-a326b8fad6479f02", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "10c3ef25a629d41429d514190a9f5584", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=16.11#16.11-c5f87912ec601f66", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "601fa44b8aa3f725f41f2320ba9cf51b", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=15.15#15.15-3568c624ba81b610", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "1f91b721b071de697f740c95cd556a9e", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=14.20#14.20-e2a95ddb7200c878", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "9b1eafd982ad52573adf6f2d6ae70703", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=13.23#13.23-d6bd7a2c0c48c3ad", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-b921a1ea6f2b8ead", "cves": [], "html": "<p>防止当 <code>JSON_VALUE</code> 等 SQL/JSON 函数的 <code>DEFAULT</code> 子句包含 <code>COLLATE</code> 表达式时出现 <span>“<span>unrecognized node type</span>”</span> 错误（Jian He）<a href=\"https://postgr.es/c/dc9125111\">§</a> <a href=\"https://postgr.es/c/1baae827e\">§</a></p>", "text": "防止当 JSON_VALUE 等 SQL/JSON 函数的 DEFAULT 子句包含 COLLATE 表达式时出现 “unrecognized node type” 错误（Jian He）§ §", "title": "防止当 JSON_VALUE 等 SQL/JSON 函数的 DEFAULT 子句包含 COLLATE 表达式时出现 “unrecognized node type” 错误", "commits": ["1baae827e", "dc9125111"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "b8839fac421b0ed413869d4e000cad7d9a3ccfe9b3c3a11d9fafca5e41e7e8f0", "section_path": ["变更"], "commit_groups": [["09f86a42f", "dc9125111", "ef5e60a9d"], ["1baae827e", "1e6dfdaa0", "c09a06918"]], "identity_text": "Prevent unrecognized node type errors when a SQL/JSON function such as JSON_VALUE has a DEFAULT clause containing a COLLATE expression (Jian He)", "commit_aliases": ["09f86a42f", "1baae827e", "1e6dfdaa0", "c09a06918", "dc9125111", "ef5e60a9d"], "source_commits": ["1baae827e", "dc9125111"], "source_entry_id": "18.1/changes/003", "db_id": "4870df49130804d64e1e92d7f9d6f17f", "patch_ids": ["9aacced6a6f638f7d31013e87be76fac", "b716f15276c076fd364e99593404fc28"], "statement_hash": "3181f0e422077fb0af80285571b22222a84421d45cb3710f3ce56bbe5fc3852c", "relations": [{"rule": 2, "type": "equivalent", "target": "3387a44cfd06079d33247002758176c2", "evidence": {"same_day": true, "patch_ids": ["9aacced6a6f638f7d31013e87be76fac", "b716f15276c076fd364e99593404fc28"], "statement_hash": "3181f0e422077fb0af80285571b22222a84421d45cb3710f3ce56bbe5fc3852c"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3387a44cfd06079d33247002758176c2", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "防止当 JSON_VALUE 等 SQL/JSON 函数的 DEFAULT 子句包含 COLLATE 表达式时出现 “unrecognized node type” 错误", "evidence": {"same_day": true, "patch_ids": ["9aacced6a6f638f7d31013e87be76fac", "b716f15276c076fd364e99593404fc28"], "statement_hash": "3181f0e422077fb0af80285571b22222a84421d45cb3710f3ce56bbe5fc3852c"}, "url": "/docs/compare/?release=17.7#17.7-7345a25f928001c5", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}]}, {"id": "18.1-3c477bf7c9a2885e", "cves": [], "html": "<p>避免对带有分组集的无变量 <code>HAVING</code> 子句进行错误优化（Richard Guo）<a href=\"https://postgr.es/c/40c242830\">§</a> <a href=\"https://postgr.es/c/ee49f2cf4\">§</a></p>", "text": "避免对带有分组集的无变量 HAVING 子句进行错误优化（Richard Guo）§ §", "title": "避免对带有分组集的无变量 HAVING 子句进行错误优化", "commits": ["40c242830", "ee49f2cf4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "ad359f03b7b74d8a0a552d70b1b2cf5e247a06f8ad1e5b8356baf8e55e4d2baf", "section_path": ["变更"], "commit_groups": [["18d261409", "40c242830"], ["ee49f2cf4"]], "identity_text": "Avoid incorrect optimization of variable-free HAVING clauses with grouping sets (Richard Guo)", "commit_aliases": ["18d261409", "40c242830", "ee49f2cf4"], "source_commits": ["40c242830", "ee49f2cf4"], "source_entry_id": "18.1/changes/004", "db_id": "64d7741972b458081894d24da0374395", "patch_ids": ["2c0ae04ea0e784fc2d17c8ab38e5cd41", "50b322963c6b58d35aea2955fcfea34f"], "statement_hash": "40b106b47db0974b5bea1bdc63c90189e253c1958fd7ff025f370ad6794518ba", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-dbb02ab568ba9c9d", "cves": [], "html": "<p>不要在哈希右半连接中使用并行（Richard Guo）<a href=\"https://postgr.es/c/ef6168baf\">§</a></p>\n<p>由于在更新连接的共享 hash 表时存在竞态条件，该情况无法可靠工作。</p>", "text": "不要在哈希右半连接中使用并行（Richard Guo）§ 由于在更新连接的共享 hash 表时存在竞态条件，该情况无法可靠工作。", "title": "不要在哈希右半连接中使用并行", "commits": ["ef6168baf"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "39312baafff0331dc6e11307f7638efa4a10bda18328fc33401949b670dd2c7a", "section_path": ["变更"], "commit_groups": [["257ee7834", "ef6168baf"]], "identity_text": "Do not use parallelism in hash right semi joins (Richard Guo) The case does not work reliably due to a race condition in updating the join's shared hash table.", "commit_aliases": ["257ee7834", "ef6168baf"], "source_commits": ["ef6168baf"], "source_entry_id": "18.1/changes/005", "db_id": "ed09728e7057ba0bd58174091cf36572", "patch_ids": ["f3845afa0fdccbe6d8cbb30c204eadc5"], "statement_hash": "3f17b0b718491fbba177f4509a3ce7371c9be8208074eb0f788005239524f671", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-5ec2ebf5e9d409d9", "cves": [], "html": "<p>避免创建有序追加计划时可能发生的除零错误（Richard Guo）<a href=\"https://postgr.es/c/500f64636\">§</a></p>\n<p>这种错误可能导致错误选择最便宜的路径，或导致调试构建中的断言失败。</p>", "text": "避免创建有序追加计划时可能发生的除零错误（Richard Guo）§ 这种错误可能导致错误选择最便宜的路径，或导致调试构建中的断言失败。", "title": "避免创建有序追加计划时可能发生的除零错误", "commits": ["500f64636"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "05094dbe1a52e137262c79803f4a98e69d7150808221f3286b1687f51db2a39b", "section_path": ["变更"], "commit_groups": [["500f64636", "c1777f2d6"]], "identity_text": "Avoid possible division-by-zero when creating ordered-append plans (Richard Guo) This mistake could result in incorrect selection of the cheapest path, or in an assertion failure in debug builds.", "commit_aliases": ["500f64636", "c1777f2d6"], "source_commits": ["500f64636"], "source_entry_id": "18.1/changes/006", "db_id": "805d87830e137872aeddda00e5eb47fa", "patch_ids": ["9414b4063f9e09aec7dbfc033ff0d56c"], "statement_hash": "9ab1c92995e5dc19b2f8430a87e9fe9e0f7b8dac32500b13b471acc4c3e4632a", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-c0b31ef03ca6b8d1", "cves": [], "html": "<p>修复使用支持有序访问但不支持仅索引扫描的索引类型时发生的规划器失败（Maxime Schoemans）<a href=\"https://postgr.es/c/74197bdc8\">§</a></p>\n<p>这一疏漏会导致 <span>“<span>no data returned for index-only scan</span>”</span> 等错误。任何核心内置索引类型都不会出现这种情况，但一些扩展遇到了此问题。</p>", "text": "修复使用支持有序访问但不支持仅索引扫描的索引类型时发生的规划器失败（Maxime Schoemans）§ 这一疏漏会导致 “no data returned for index-only scan” 等错误。任何核心内置索引类型都不会出现这种情况，但一些扩展遇到了此问题。", "title": "修复使用支持有序访问但不支持仅索引扫描的索引类型时发生的规划器失败", "commits": ["74197bdc8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "57874e5db38d38966d2b710cf21e5580b67abd8ab00c1e2cd67449f3d5a529a0", "section_path": ["变更"], "commit_groups": [["35e53b684", "74197bdc8"]], "identity_text": "Fix planner failure with index types that can do ordered access but not index-only scans (Maxime Schoemans) This oversight resulted in errors like no data returned for index-only scan. The case does not arise with any in-core index type, but some extensions encountered the problem.", "commit_aliases": ["35e53b684", "74197bdc8"], "source_commits": ["74197bdc8"], "source_entry_id": "18.1/changes/007", "db_id": "48e2cdd93edf3d7841847a6e50d6cef2", "patch_ids": ["cccb634623d2b8f1ee8f5067fca472e2"], "statement_hash": "24cae600a957284e060515856c041bc697d4b1ccf9e6f631f35d5bdbade1bc28", "relations": [], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-b879ef73b7e33cee", "cves": [], "html": "<p>移除 B-树索引清理中的错误断言（Peter Geoghegan）<a href=\"https://postgr.es/c/61de81a49\">§</a></p>", "text": "移除 B-树索引清理中的错误断言（Peter Geoghegan）§", "title": "移除 B-树索引清理中的错误断言", "commits": ["61de81a49"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "59bedcdf0405a0fdb81cbd2d57d7e60036379d06f239428467ffd59ad5ee4756", "section_path": ["变更"], "commit_groups": [["314004021", "61de81a49", "843e50208", "ae15cebc2", "af302ff6b", "c160fd469", "ca0c93908"]], "identity_text": "Remove faulty assertion in btree index cleanup (Peter Geoghegan)", "commit_aliases": ["314004021", "61de81a49", "843e50208", "ae15cebc2", "af302ff6b", "c160fd469", "ca0c93908"], "source_commits": ["61de81a49"], "source_entry_id": "18.1/changes/008", "db_id": "1a0e9b151c18103e9e44e0d5b065435e", "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1", "relations": [{"rule": 2, "type": "equivalent", "target": "0a57a548c4b77cd7d910727d3c65b3a6", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}, {"rule": 2, "type": "equivalent", "target": "3933929e20ae66e9831bcbabb992d203", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}, {"rule": 2, "type": "equivalent", "target": "444038cce9bb99031a082f8098e1be72", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}, {"rule": 2, "type": "equivalent", "target": "488141078c6f2db091ee11544337a811", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}, {"rule": 2, "type": "equivalent", "target": "9e457bb041db2cbeaeaf7995dafca323", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "488141078c6f2db091ee11544337a811", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=17.7#17.7-0a5a861bce4d8e04", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "3933929e20ae66e9831bcbabb992d203", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=16.11#16.11-d9b1b3d193f8b619", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "0a57a548c4b77cd7d910727d3c65b3a6", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=15.15#15.15-a04a5bb82b43a3d4", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "9e457bb041db2cbeaeaf7995dafca323", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=14.20#14.20-5e29cf4287b439af", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "444038cce9bb99031a082f8098e1be72", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=13.23#13.23-14a74180f99d2672", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-37c61345d3eacb08", "cves": [], "html": "<p>避免并行 GIN 索引构建期间可能发生的内存不足或 <span>“<span>invalid memory alloc request size</span>”</span> 失败（Tomas Vondra）<a href=\"https://postgr.es/c/a26b753a0\">§</a></p>", "text": "避免并行 GIN 索引构建期间可能发生的内存不足或 “invalid memory alloc request size” 失败（Tomas Vondra）§", "title": "避免并行 GIN 索引构建期间可能发生的内存不足或 “invalid memory alloc request size” 失败", "commits": ["a26b753a0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "fb8079b2782c06b6778225c99b5fd0371cff81d513d4d0cff5381c5dacf27249", "section_path": ["变更"], "commit_groups": [["a26b753a0", "c98dffcb7"]], "identity_text": "Avoid possible out-of-memory or invalid memory alloc request size failures during parallel GIN index build (Tomas Vondra)", "commit_aliases": ["a26b753a0", "c98dffcb7"], "source_commits": ["a26b753a0"], "source_entry_id": "18.1/changes/009", "db_id": "e3a6863618f309db1f698b4f2fcc8973", "patch_ids": ["2cfdabaf231689f023ac206f2d6e0d32"], "statement_hash": "5743d4aa1ec81c0d062d02b160bfecf8805fd2e5abb8be2006065e2655b7797e", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-a00fe3bcec296ab2", "cves": [], "html": "<p>确保 BRIN 自动汇总为需要快照的索引表达式提供快照（Álvaro Herrera）<a href=\"https://postgr.es/c/419ffde23\">§</a> <a href=\"https://postgr.es/c/8733f0b54\">§</a></p>\n<p>以前，此类索引的自动汇总会失败，然后留下占位索引元组，导致索引随时间膨胀。</p>", "text": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照（Álvaro Herrera）§ § 以前，此类索引的自动汇总会失败，然后留下占位索引元组，导致索引随时间膨胀。", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "commits": ["419ffde23", "8733f0b54"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "72084de464215059c3d1b5ad06a481c8d136be1b10eac24c155283ac177e3095", "section_path": ["变更"], "commit_groups": [["0a3d27bfe", "20442cf50", "3b5007347", "65b0d1f74", "8733f0b54", "bcfbd3f74", "ef81697fe"], ["23ddadf68", "3c7b47974", "419ffde23", "6ef33c805", "a95e3d84c", "f0ad41716", "f4b68b033"]], "identity_text": "Ensure that BRIN autosummarization provides a snapshot for index expressions that need one (Álvaro Herrera) Previously, autosummarization would fail for such indexes, and then leave placeholder index tuples behind, causing the index to bloat over time.", "commit_aliases": ["0a3d27bfe", "20442cf50", "23ddadf68", "3b5007347", "3c7b47974", "419ffde23", "65b0d1f74", "6ef33c805", "8733f0b54", "a95e3d84c", "bcfbd3f74", "ef81697fe", "f0ad41716", "f4b68b033"], "source_commits": ["419ffde23", "8733f0b54"], "source_entry_id": "18.1/changes/010", "db_id": "5e3ad415c950ddc874e527c528e4312f", "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585", "relations": [{"rule": 2, "type": "equivalent", "target": "0cb94d7b769fa6011ab24dd8d4a5182f", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}}, {"rule": 2, "type": "equivalent", "target": "0dd09cb0d2d5f7d388110d5f734dee23", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}}, {"rule": 2, "type": "equivalent", "target": "3e8741d3d489044f4c55886a02fd1ca6", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}}, {"rule": 2, "type": "equivalent", "target": "721aeb1deeff7de3e90db706f730ab11", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}}, {"rule": 2, "type": "equivalent", "target": "7f0361a52a096ffc5b14904781aeb0bc", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "721aeb1deeff7de3e90db706f730ab11", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=17.7#17.7-a8f10736234e0b39", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "3e8741d3d489044f4c55886a02fd1ca6", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=16.11#16.11-fa68b622cb30fa75", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "0dd09cb0d2d5f7d388110d5f734dee23", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=15.15#15.15-fd7c1849f8c37f75", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7f0361a52a096ffc5b14904781aeb0bc", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=14.20#14.20-1c3a5c9cbab5b1ac", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "0cb94d7b769fa6011ab24dd8d4a5182f", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=13.23#13.23-de4921e0152423d8", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-4d75a8abffa08925", "cves": [], "html": "<p>修复当表接近 2<sup>32</sup> 页时 BRIN 索引扫描中的整数溢出风险（Sunil S）<a href=\"https://postgr.es/c/715983a81\">§</a></p>\n<p>此疏忽可能导致无限循环或扫描不需要的表页面。</p>", "text": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险（Sunil S）§ 此疏忽可能导致无限循环或扫描不需要的表页面。", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "commits": ["715983a81"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "a227f200daffb8d9736fdb106e7db525288805f9d039e2aed7b51c500b5e9285", "section_path": ["变更"], "commit_groups": [["715983a81", "810aaf7f2", "9fd29d7ff", "c28f8ca29", "c4f5a59ab", "eea24eb0a", "ef915bf93"]], "identity_text": "Fix integer-overflow hazard in BRIN index scans when the table contains close to 232 pages (Sunil S) This oversight could result in an infinite loop or scanning of unneeded table pages.", "commit_aliases": ["715983a81", "810aaf7f2", "9fd29d7ff", "c28f8ca29", "c4f5a59ab", "eea24eb0a", "ef915bf93"], "source_commits": ["715983a81"], "source_entry_id": "18.1/changes/011", "db_id": "393a9b7eb2a54302a3bd8b2790808ca8", "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f", "relations": [{"rule": 2, "type": "equivalent", "target": "3eee9fbd93044d08fe7b761285b4eef0", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}}, {"rule": 2, "type": "equivalent", "target": "41c5c1173ef259c7bb96b3467e9de919", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}}, {"rule": 2, "type": "equivalent", "target": "c0b6100e40d8b770ece9bacc3084ea91", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}}, {"rule": 2, "type": "equivalent", "target": "ca0d04f29eca7d84d81b300dc4107221", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}}, {"rule": 2, "type": "equivalent", "target": "cbb0ef9e07e346b9959c4a482b828973", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3eee9fbd93044d08fe7b761285b4eef0", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=17.7#17.7-22b81d2b7991be50", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "41c5c1173ef259c7bb96b3467e9de919", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=16.11#16.11-f239d80cd401413a", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "ca0d04f29eca7d84d81b300dc4107221", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=15.15#15.15-b0a9c7b1bda7fbc4", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "cbb0ef9e07e346b9959c4a482b828973", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=14.20#14.20-fc1c1f6d56fc4b89", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "c0b6100e40d8b770ece9bacc3084ea91", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=13.23#13.23-6eae1200294c5fb3", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-d78511e9b384a86b", "cves": [], "html": "<p>修复 JIT 生成的元组解构代码中存储值的错误零扩展问题（David Rowley）<a href=\"https://postgr.es/c/ceb51d09b\">§</a></p>\n<p>不使用 JIT 时，等效代码执行的是符号扩展而非零扩展，导致小整数数据类型的 Datum 表示不同。这种不一致在大多数情况下被掩盖了，但已知在使用 Memoize 计划节点时会导致 <span>“<span>could not find memoization table entry</span>”</span> 错误，还可能存在其他症状。</p>", "text": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题（David Rowley）§ 不使用 JIT 时，等效代码执行的是符号扩展而非零扩展，导致小整数数据类型的 Datum 表示不同。这种不一致在大多数情况下被掩盖了，但已知在使用 Memoize 计划节点时会导致 “could not find memoization table entry” 错误，还可能存在其他症状。", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "commits": ["ceb51d09b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "e82cf8c36ee531c20dbe457691d6d17ef5a6a4de2b92f57fdcfdb5db66d65a3d", "section_path": ["变更"], "commit_groups": [["10945148e", "3398b0d02", "4afab175b", "6911f8037", "b8ecfbe5a", "ceb51d09b", "e4316ec4d"]], "identity_text": "Fix incorrect zero-extension of stored values in JIT-generated tuple deforming code (David Rowley) When not using JIT, the equivalent code does sign-extension not zero-extension, leading to a different Datum representation of small integer data types. This inconsistency was masked in most cases, but it is known to lead to could not find memoization table entry errors when using Memoize plan nodes, and there might be other symptoms.", "commit_aliases": ["10945148e", "3398b0d02", "4afab175b", "6911f8037", "b8ecfbe5a", "ceb51d09b", "e4316ec4d"], "source_commits": ["ceb51d09b"], "source_entry_id": "18.1/changes/012", "db_id": "de262079624c4f7225fefc1938b4d6c4", "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb", "relations": [{"rule": 2, "type": "equivalent", "target": "7c81d67412977edb96996856917b1f9a", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}, {"rule": 2, "type": "equivalent", "target": "8411046717133be1fc919e915895664b", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}, {"rule": 2, "type": "equivalent", "target": "9b610d9fca503412ae7e72eddc6e5502", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}, {"rule": 2, "type": "equivalent", "target": "c520d8534b29d6a33acf98a0e9c4f0ef", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}, {"rule": 2, "type": "equivalent", "target": "e11c7ac708a333ed4eb5a375fef717d8", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e11c7ac708a333ed4eb5a375fef717d8", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=17.7#17.7-aa1a9b53c515db45", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "8411046717133be1fc919e915895664b", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=16.11#16.11-92911a65af0fd193", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "c520d8534b29d6a33acf98a0e9c4f0ef", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=15.15#15.15-8fd4e4f59a5c06ab", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7c81d67412977edb96996856917b1f9a", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=14.20#14.20-f7c15c83384f177c", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "9b610d9fca503412ae7e72eddc6e5502", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=13.23#13.23-d2c92bd0308b724e", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-86469df42b03e324", "cves": [], "html": "<p>修复处理带 hash 的 <code>GROUPING SETS</code> 查询时罕见的崩溃（David Rowley）<a href=\"https://postgr.es/c/0b6a02f03\">§</a></p>", "text": "修复处理带 hash 的 GROUPING SETS 查询时罕见的崩溃（David Rowley）§", "title": "修复处理带 hash 的 GROUPING SETS 查询时罕见的崩溃", "commits": ["0b6a02f03"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "cc577384085b9efd2f083bd967ec65d06ee8023c468f527337a797ad834fcc5e", "section_path": ["变更"], "commit_groups": [["0b6a02f03", "5c0a20003"]], "identity_text": "Fix rare crash when processing hashed GROUPING SETS queries (David Rowley)", "commit_aliases": ["0b6a02f03", "5c0a20003"], "source_commits": ["0b6a02f03"], "source_entry_id": "18.1/changes/013", "db_id": "e70ede7bd5583f381bf465e783e34002", "patch_ids": ["1c5627dd3234f4c77c310d7fcec4806f"], "statement_hash": "aaf9819b0b8a5d95eaa44966037d6f0f416829e205ff02c52bbbbb49ed82e79b", "relations": [], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-595b80f1b57139d2", "cves": [], "html": "<p>修复哈希连接中有误的 hash 表大小选择逻辑（Tomas Vondra）<a href=\"https://postgr.es/c/aa151022e\">§</a></p>\n<p>哈希连接有时会使用比预期更多的内存，或者未能以高效的方式划分这些内存。</p>", "text": "修复哈希连接中有误的 hash 表大小选择逻辑（Tomas Vondra）§ 哈希连接有时会使用比预期更多的内存，或者未能以高效的方式划分这些内存。", "title": "修复哈希连接中有误的 hash 表大小选择逻辑", "commits": ["aa151022e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "2f1f77c5b58aad4080d3f53a2ed5a3111544020d333a1a2c3c94f1a0b67b0fff", "section_path": ["变更"], "commit_groups": [["aa151022e", "b85c4700f"]], "identity_text": "Repair faulty hash-table-size-choosing logic in hash joins (Tomas Vondra) Hash joins sometimes used more memory than intended, or failed to divide it in an efficient way.", "commit_aliases": ["aa151022e", "b85c4700f"], "source_commits": ["aa151022e"], "source_entry_id": "18.1/changes/014", "db_id": "a3653066758eab729f75956e87c77d7e", "patch_ids": ["e7109e998d0ab28d4a07d7656b59c540"], "statement_hash": "673e758ffe8bfaad06735b49302d3951f81c17011e37608c1152b407bc0c3e5b", "relations": [], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-db784857980e4eb2", "cves": [], "html": "<p>改进统计信息操纵函数中的关系查找逻辑（Nathan Bossart）<a href=\"https://postgr.es/c/c8af5019b\">§</a> <a href=\"https://postgr.es/c/15d7dded0\">§</a></p>\n<p>修复 <code>pg_restore_relation_stats()</code>、<code>pg_clear_relation_stats()</code>、<code>pg_restore_attribute_stats()</code> 和 <code>pg_clear_attribute_stats()</code>，使其在获取目标关系锁之前而不是之后检查权限。</p>", "text": "改进统计信息操纵函数中的关系查找逻辑（Nathan Bossart）§ § 修复 pg_restore_relation_stats()、pg_clear_relation_stats()、pg_restore_attribute_stats() 和 pg_clear_attribute_stats()，使其在获取目标关系锁之前而不是之后检查权限。", "title": "改进统计信息操纵函数中的关系查找逻辑", "commits": ["15d7dded0", "c8af5019b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "f8bd59218ac4b34b3ee565d68c5695004386bd084e04b43b9b6021087ca2e7ac", "section_path": ["变更"], "commit_groups": [["15d7dded0"], ["688dc6299", "c8af5019b"]], "identity_text": "Improve relation lookup logic in statistics manipulation functions (Nathan Bossart) Fix pg_restore_relation_stats(), pg_clear_relation_stats(), pg_restore_attribute_stats(), and pg_clear_attribute_stats() to check privileges before acquiring lock on the target relation rather than after.", "commit_aliases": ["15d7dded0", "688dc6299", "c8af5019b"], "source_commits": ["15d7dded0", "c8af5019b"], "source_entry_id": "18.1/changes/015", "db_id": "994046ec35e4309bd0a13d4c68e9f1d1", "patch_ids": ["4003c14332c687be30fc03d4af31da84", "4da2341fff5b72181492769ab6d6fa07"], "statement_hash": "44114a78e01aa87c025a8c38bf3fab478ad80fcca0d566de78a5c814a859cbd4", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-fa17262588de7970", "cves": [], "html": "<p>修复触发器结果关系信息缓存的错误逻辑（David Rowley，Amit Langote）<a href=\"https://postgr.es/c/a2387c32f\">§</a></p>\n<p>在分区的列集与其父分区表的列集在物理上不完全相同的情况下，此疏忽可能导致崩溃。</p>", "text": "修复触发器结果关系信息缓存的错误逻辑（David Rowley，Amit Langote）§ 在分区的列集与其父分区表的列集在物理上不完全相同的情况下，此疏忽可能导致崩溃。", "title": "修复触发器结果关系信息缓存的错误逻辑", "commits": ["a2387c32f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "7e6a20eac8e6a679bac5be291d65d4bde10ba300dbe130df9e3bc131f6fe1ef8", "section_path": ["变更"], "commit_groups": [["0d3074615", "2992b9a07", "39dcfda2d", "a2387c32f", "a546964db"]], "identity_text": "Fix incorrect logic for caching result-relation information for triggers (David Rowley, Amit Langote) In cases where partitions' column sets aren't physically identical to their parent partitioned tables' column sets, this oversight could lead to crashes.", "commit_aliases": ["0d3074615", "2992b9a07", "39dcfda2d", "a2387c32f", "a546964db"], "source_commits": ["a2387c32f"], "source_entry_id": "18.1/changes/016", "db_id": "13af7f30c1a66144a7c4729335ad6c55", "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef", "relations": [{"rule": 2, "type": "equivalent", "target": "7ba23c07eaeb399e352fe32a704464e6", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}}, {"rule": 2, "type": "equivalent", "target": "ba3b5897c3d85845178cb5eee8dfba01", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}}, {"rule": 2, "type": "equivalent", "target": "bb7f7a3657690f7a6c75d641dcc65860", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ba3b5897c3d85845178cb5eee8dfba01", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复触发器结果关系信息缓存的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}, "url": "/docs/compare/?release=17.7#17.7-6305949a00dd4b54", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "7ba23c07eaeb399e352fe32a704464e6", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复触发器结果关系信息缓存的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}, "url": "/docs/compare/?release=16.11#16.11-b434454c9c408c94", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "bb7f7a3657690f7a6c75d641dcc65860", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复触发器结果关系信息缓存的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}, "url": "/docs/compare/?release=15.15#15.15-c8e0a3ed2fb6c04a", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "18.1-4fabed399ac5f947", "cves": [], "html": "<p>修复在分区表上执行 EvalPlanQual 重新检查期间发生的崩溃（David Rowley、Amit Langote）<a href=\"https://postgr.es/c/1296dcf18\">§</a></p>", "text": "修复在分区表上执行 EvalPlanQual 重新检查期间发生的崩溃（David Rowley、Amit Langote）§", "title": "修复在分区表上执行 EvalPlanQual 重新检查期间发生的崩溃", "commits": ["1296dcf18"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "2bb2eab84c9d0aef8280d0f562760f0381fcab6030475f916b6ae62ee941d8c4", "section_path": ["变更"], "commit_groups": [["1296dcf18", "905e932f0"]], "identity_text": "Fix crash during EvalPlanQual rechecks on partitioned tables (David Rowley, Amit Langote)", "commit_aliases": ["1296dcf18", "905e932f0"], "source_commits": ["1296dcf18"], "source_entry_id": "18.1/changes/017", "db_id": "a0c4022eb806e7bff85e5e4f45d350da", "patch_ids": ["cfaa90e1fdcf18ac6f3f0eafaf77ada8"], "statement_hash": "9669bf1f77810bf9ebd51d3fc0ea281b8ca1e3a90f20cee99402fbc39242eea5", "relations": [], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-1ad36d259b8c4e29", "cves": [], "html": "<p>修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理（Masahiko Sawada，Etsuro Fujita）<a href=\"https://postgr.es/c/b14144325\">§</a></p>\n<p>在这种情况下，应该正常调用外部或自定义访问方法，但之前并未发生，通常会导致崩溃。</p>", "text": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理（Masahiko Sawada，Etsuro Fujita）§ 在这种情况下，应该正常调用外部或自定义访问方法，但之前并未发生，通常会导致崩溃。", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "commits": ["b14144325"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "68bd82f61fd04a0e7bc6338db072a1418250c1160d5cc3607107def8305a4549", "section_path": ["变更"], "commit_groups": [["12609fbac", "12b0c0e51", "24e74b962", "2bb84ea7e", "4a08603a2", "5a9af4868", "b14144325"]], "identity_text": "Fix EvalPlanQual handling of foreign or custom joins that do not have an alternative local-join plan prepared for EPQ (Masahiko Sawada, Etsuro Fujita) In such cases the foreign or custom access method should be invoked normally, but that did not happen, typically leading to a crash.", "commit_aliases": ["12609fbac", "12b0c0e51", "24e74b962", "2bb84ea7e", "4a08603a2", "5a9af4868", "b14144325"], "source_commits": ["b14144325"], "source_entry_id": "18.1/changes/018", "db_id": "3a7c71a715168a6fe003c04ad6530b01", "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5", "relations": [{"rule": 2, "type": "equivalent", "target": "152497e1f56957947f79200f3011a52e", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}, {"rule": 2, "type": "equivalent", "target": "a830cee6374ea38a3cf10eb53388b93d", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}, {"rule": 2, "type": "equivalent", "target": "b4c88efd3c63eeaee70001c500504502", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}, {"rule": 2, "type": "equivalent", "target": "d5c74a3284403534934e2ff5e453332e", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}, {"rule": 2, "type": "equivalent", "target": "f8e7d0fe512da9f5e4221f5173c42a62", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d5c74a3284403534934e2ff5e453332e", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=17.7#17.7-7d939e96432565c4", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "a830cee6374ea38a3cf10eb53388b93d", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=16.11#16.11-071fb89b558772fa", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "f8e7d0fe512da9f5e4221f5173c42a62", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=15.15#15.15-93fef6ea11e7fc81", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "b4c88efd3c63eeaee70001c500504502", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=14.20#14.20-9d1b9820ad3ea33d", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "152497e1f56957947f79200f3011a52e", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=13.23#13.23-e3ce52e617ed9fef", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-570dc654ef6dd9a2", "cves": [], "html": "<p>避免在 <code>DETACH CONCURRENTLY</code> 期间重复 hash 分区约束（Haiyang Li）<a href=\"https://postgr.es/c/08c037dff\">§</a></p>\n<p><code>ALTER TABLE DETACH PARTITION CONCURRENTLY</code> 被编写为向现已分离的分区添加分区约束的副本。这是不恰当的，部分原因是非并发 <code>DETACH</code> 不会这样做，但主要原因是在 hash 分区的情况下，约束表达式包含对父表 OID 的引用。这在导出/恢复期间，或在 <code>DETACH</code> 之后父表被删除时会导致问题。在 v19 及更高版本中，我们将不再创建任何此类约束副本。在已发布的分支中，为了最大限度地降低不可预见后果的风险，仅在 hash 分区的情况下跳过添加复制约束。</p>", "text": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束（Haiyang Li）§ ALTER TABLE DETACH PARTITION CONCURRENTLY 被编写为向现已分离的分区添加分区约束的副本。这是不恰当的，部分原因是非并发 DETACH 不会这样做，但主要原因是在 hash 分区的情况下，约束表达式包含对父表 OID 的引用。这在导出/恢复期间，或在 DETACH 之后父表被删除时会导致问题。在 v19 及更高版本中，我们将不再创建任何此类约束副本。在已发布的分支中，为了最大限度地降低不可预见后果的风险，仅在 hash 分区的情况下跳过添加复制约束。", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "commits": ["08c037dff"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "7e59da2bb8190713c1b6aaecda2d276233b7a05b5210c8dcd12d3e20b33779f5", "section_path": ["变更"], "commit_groups": [["08c037dff", "3231fd045", "b753be38a", "b835759ec", "bdae98495", "ea06f97ee"]], "identity_text": "Avoid duplicating hash partition constraints during DETACH CONCURRENTLY (Haiyang Li) ALTER TABLE DETACH PARTITION CONCURRENTLY was written to add a copy of the partitioning constraint to the now-detached partition. This was misguided, partially because non-concurrent DETACH doesn't do that, but mostly because in the case of hash partitioning the constraint expression contains references to the parent table's OID. That causes problems during dump/restore, or if the parent table is dropped after DETACH. In v19 and later, we'll no longer create any such copied constraints at all. In released branches, to minimize the risk of unforeseen consequences, only skip adding a copied constraint if it is for hash partitioning.", "commit_aliases": ["08c037dff", "3231fd045", "b753be38a", "b835759ec", "bdae98495", "ea06f97ee"], "source_commits": ["08c037dff"], "source_entry_id": "18.1/changes/019", "db_id": "565728557128822df30c43191a2dbfad", "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f", "relations": [{"rule": 2, "type": "equivalent", "target": "417982fb5fc35be16b96cd9dffae86f4", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}}, {"rule": 2, "type": "equivalent", "target": "71fe017c4d7b33e60357f0d6d3c24f44", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}}, {"rule": 2, "type": "equivalent", "target": "cf6c332f29166e2669260e45b57ff0d2", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}}, {"rule": 2, "type": "equivalent", "target": "d8002886e5e02df8376c5986e54462f2", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d8002886e5e02df8376c5986e54462f2", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}, "url": "/docs/compare/?release=17.7#17.7-7064942458440619", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "cf6c332f29166e2669260e45b57ff0d2", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}, "url": "/docs/compare/?release=16.11#16.11-fe3f70460c985c25", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "71fe017c4d7b33e60357f0d6d3c24f44", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}, "url": "/docs/compare/?release=15.15#15.15-9c9de66bf89091ff", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "417982fb5fc35be16b96cd9dffae86f4", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}, "url": "/docs/compare/?release=14.20#14.20-bf89a39228e4a4ca", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}]}, {"id": "18.1-6edf5c69ea4392a4", "cves": [], "html": "<p>禁止在分区键中使用生成列（Jian He，Ashutosh Bapat）<a href=\"https://postgr.es/c/ba99c9491\">§</a></p>\n<p>这本来已经不被允许，但检查遗漏了一些情况，例如列引用隐含在整行引用中的情况。</p>", "text": "禁止在分区键中使用生成列（Jian He，Ashutosh Bapat）§ 这本来已经不被允许，但检查遗漏了一些情况，例如列引用隐含在整行引用中的情况。", "title": "禁止在分区键中使用生成列", "commits": ["ba99c9491"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "c34ef2c7cbe47429ce0a76c1aa2caa7f267cdc4c1707565553f5dc4cd8576ddd", "section_path": ["变更"], "commit_groups": [["040cc5f3c", "04345d7a4", "0b44f2443", "643a5e96c", "7180d56c5", "7f239c72a", "ba99c9491"]], "identity_text": "Disallow generated columns in partition keys (Jian He, Ashutosh Bapat) This was already not allowed, but the check missed some cases, such as where the column reference is implicit in a whole-row reference.", "commit_aliases": ["040cc5f3c", "04345d7a4", "0b44f2443", "643a5e96c", "7180d56c5", "7f239c72a", "ba99c9491"], "source_commits": ["ba99c9491"], "source_entry_id": "18.1/changes/020", "db_id": "a8595e24703e1deff3ce7b6fe56d02db", "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f", "relations": [{"rule": 2, "type": "equivalent", "target": "300cd459ecbe8f82fbe0665d8d6b47c5", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}}, {"rule": 2, "type": "equivalent", "target": "525dd26c2bb1d8a0169ce29cab95adac", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}}, {"rule": 2, "type": "equivalent", "target": "605ca6399f9aae142eb2f308e3d598fd", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}}, {"rule": 2, "type": "equivalent", "target": "8894dad53381cd45feb93c24e4fb14ba", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}}, {"rule": 2, "type": "equivalent", "target": "adb9f0cae7cdccc24195248ff3704b74", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8894dad53381cd45feb93c24e4fb14ba", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=17.7#17.7-6b87f410ccf7eeba", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "300cd459ecbe8f82fbe0665d8d6b47c5", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=16.11#16.11-2c9382bd25ce0f59", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "605ca6399f9aae142eb2f308e3d598fd", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=15.15#15.15-7ad9c63c8b6e6da5", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "adb9f0cae7cdccc24195248ff3704b74", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=14.20#14.20-e39243838bbc984a", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "525dd26c2bb1d8a0169ce29cab95adac", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=13.23#13.23-9b4ab32d62f672a8", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-f93c705391287b77", "cves": [], "html": "<p>禁止在 <code>COPY ... FROM ... WHERE</code> 子句中使用生成列（Peter Eisentraut，Jian He）<a href=\"https://postgr.es/c/0f9e0068b\">§</a></p>\n<p>以前，尝试引用此类列会导致不正确的行为或晦涩的错误消息，因为在执行 <code>WHERE</code> 过滤时生成列尚未计算。</p>", "text": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列（Peter Eisentraut，Jian He）§ 以前，尝试引用此类列会导致不正确的行为或晦涩的错误消息，因为在执行 WHERE 过滤时生成列尚未计算。", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "commits": ["0f9e0068b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "96a32620f5a6b43836e51a7fab983dad5c9aa7e9311a79e3a3119442e89844ac", "section_path": ["变更"], "commit_groups": [["07f787e57", "0f9e0068b", "26958f4d9", "3717849e6", "8278737bf", "aa606b931", "ccfe28eb4"]], "identity_text": "Disallow generated columns in COPY ... FROM ... WHERE clauses (Peter Eisentraut, Jian He) Previously, incorrect behavior or an obscure error message resulted from attempting to reference such a column, since generated columns have not yet been computed at the point where WHERE filtering is done.", "commit_aliases": ["07f787e57", "0f9e0068b", "26958f4d9", "3717849e6", "8278737bf", "aa606b931", "ccfe28eb4"], "source_commits": ["0f9e0068b"], "source_entry_id": "18.1/changes/021", "db_id": "476c1d31c3b2a4f231e061a533173538", "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6", "relations": [{"rule": 2, "type": "equivalent", "target": "688b8d0a8d86ff5dfc64586a1e76d364", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}, {"rule": 2, "type": "equivalent", "target": "7910dd8ca51fdddfcd65a301d722ec44", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}, {"rule": 2, "type": "equivalent", "target": "7b8f833f1bd965ce518eb2d3e003a1dc", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}, {"rule": 2, "type": "equivalent", "target": "9cbb9b53b5d6bb4acf6cc0063d8379f2", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}, {"rule": 2, "type": "equivalent", "target": "d7b4a6585334f8e8aa07a327994e2043", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d7b4a6585334f8e8aa07a327994e2043", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=17.7#17.7-0707cf226664ba13", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "9cbb9b53b5d6bb4acf6cc0063d8379f2", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=16.11#16.11-954887ba5dd000ba", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "7b8f833f1bd965ce518eb2d3e003a1dc", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=15.15#15.15-076d57a3f0940e3d", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7910dd8ca51fdddfcd65a301d722ec44", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=14.20#14.20-4a1e5b283bd94af8", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "688b8d0a8d86ff5dfc64586a1e76d364", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=13.23#13.23-27a4ac9e65339e2a", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-8cabd69c2fc9923e", "cves": [], "html": "<p>如果某列带有标记为无效的非空约束，则禁止将其设置为 identity 列（Jian He）<a href=\"https://postgr.es/c/d9ffc2729\">§</a></p>\n<p>identity 列必须是非空的，但先前的检查漏掉了这一边界情况。</p>", "text": "如果某列带有标记为无效的非空约束，则禁止将其设置为 identity 列（Jian He）§ identity 列必须是非空的，但先前的检查漏掉了这一边界情况。", "title": "如果某列带有标记为无效的非空约束，则禁止将其设置为 identity 列", "commits": ["d9ffc2729"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "2363f4d7bfd86ce33ae953ccf4e4c56d7128d64840b12913cbbdb8adf4dc9418", "section_path": ["变更"], "commit_groups": [["cf8be0225", "d9ffc2729"]], "identity_text": "Prevent setting a column as identity if it has a not-null constraint but the constraint is marked as invalid (Jian He) Identity columns must be not-null, but the check for that missed this edge case.", "commit_aliases": ["cf8be0225", "d9ffc2729"], "source_commits": ["d9ffc2729"], "source_entry_id": "18.1/changes/022", "db_id": "1cc2ad2f1d77c84c94244519b7c21f49", "patch_ids": ["98b878ffaecd78024f87c7da5729ffae"], "statement_hash": "eb006304791e8ea1548b9c4a7928a374c1b1a1f0d2a2219dc90b3744065f5b53", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-546fe16e34bc5978", "cves": [], "html": "<p>避免并行清理中潜在的释放后使用问题（Kevin Oommen Anish）<a href=\"https://postgr.es/c/76613b539\">§</a></p>\n<p>该缺陷在标准构建中似乎没有实际后果，但理论上仍存在风险。</p>", "text": "避免并行清理中潜在的释放后使用问题（Kevin Oommen Anish）§ 该缺陷在标准构建中似乎没有实际后果，但理论上仍存在风险。", "title": "避免并行清理中潜在的释放后使用问题", "commits": ["76613b539"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "794966efecdda80a55b270d172d2da28726e6f70a5a5522d7467b5a2506ac2d1", "section_path": ["变更"], "commit_groups": [["3549ffb6a", "54ab74865", "76613b539"]], "identity_text": "Avoid potential use-after-free in parallel vacuum (Kevin Oommen Anish) This bug seems to have no consequences in standard builds, but it's theoretically a hazard.", "commit_aliases": ["3549ffb6a", "54ab74865", "76613b539"], "source_commits": ["76613b539"], "source_entry_id": "18.1/changes/023", "db_id": "65b586522e7240dd1f867d7850ea61db", "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706", "relations": [{"rule": 2, "type": "equivalent", "target": "f0dbb32056abe3b3dfdd78472b7f273b", "evidence": {"same_day": true, "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f0dbb32056abe3b3dfdd78472b7f273b", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免并行清理中潜在的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706"}, "url": "/docs/compare/?release=17.7#17.7-8f2649a92990dc78", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}]}, {"id": "18.1-4356f370a232f620", "cves": [], "html": "<p>修复 <code>pg_temp</code> 中统计对象的可见性检查（Noah Misch）<a href=\"https://postgr.es/c/d024160ff\">§</a></p>\n<p>位于临时模式中的统计对象如果不加模式限定就无法命名，但 <code>pg_statistics_obj_is_visible()</code> 遗漏了这一点，可能无论如何都返回 <span>“<span>true</span>”</span>。反过来，像 <code>pg_describe_object()</code> 这样的函数可能无法按预期对对象名称进行模式限定。</p>", "text": "修复 pg_temp 中统计对象的可见性检查（Noah Misch）§ 位于临时模式中的统计对象如果不加模式限定就无法命名，但 pg_statistics_obj_is_visible() 遗漏了这一点，可能无论如何都返回 “true”。反过来，像 pg_describe_object() 这样的函数可能无法按预期对对象名称进行模式限定。", "title": "修复 pg_temp 中统计对象的可见性检查", "commits": ["d024160ff"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "af2707e6586fbda4dcfaf8a61041a506fb3f6863d0bde7c5e7db840d18aa8d33", "section_path": ["变更"], "commit_groups": [["5816baa9b", "6778fbca6", "a95393ecd", "ab16418ee", "afb2cce74", "d024160ff", "d202ec1fb"]], "identity_text": "Fix visibility checking for statistics objects in pg_temp (Noah Misch) A statistics object located in a temporary schema cannot be named without schema qualification, but pg_statistics_obj_is_visible() missed that memo and could return true regardless. In turn, functions such as pg_describe_object() could fail to schema-qualify the object's name as expected.", "commit_aliases": ["5816baa9b", "6778fbca6", "a95393ecd", "ab16418ee", "afb2cce74", "d024160ff", "d202ec1fb"], "source_commits": ["d024160ff"], "source_entry_id": "18.1/changes/024", "db_id": "20af10bca614d2e3d01c9b7d89ca87a3", "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24", "relations": [{"rule": 2, "type": "equivalent", "target": "12fee3df0b5233b7e8135e949ea2f87f", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}}, {"rule": 2, "type": "equivalent", "target": "7e832b26c5667abdcb7da1479c2627cc", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}}, {"rule": 2, "type": "equivalent", "target": "8294c317781f8f709b7133dfce95b792", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}}, {"rule": 2, "type": "equivalent", "target": "875f65c32c6f6827a1f949b0b14ab7c2", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}}, {"rule": 2, "type": "equivalent", "target": "9ba9c2385da1c0904fac8dc3ed1373f9", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e832b26c5667abdcb7da1479c2627cc", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=17.7#17.7-542a921308709f1a", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "8294c317781f8f709b7133dfce95b792", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=16.11#16.11-8fadc4c9437a4ca4", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "12fee3df0b5233b7e8135e949ea2f87f", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=15.15#15.15-2b35c01425341c9d", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "875f65c32c6f6827a1f949b0b14ab7c2", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=14.20#14.20-a62bf543526a33a4", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "9ba9c2385da1c0904fac8dc3ed1373f9", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=13.23#13.23-2dee3974fb706ea9", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-c10f4000798b8d9f", "cves": [], "html": "<p>修复 WAL 重放数据库创建过程中的轻微内存泄漏（Nathan Bossart）<a href=\"https://postgr.es/c/33e7b4a7c\">§</a></p>", "text": "修复 WAL 重放数据库创建过程中的轻微内存泄漏（Nathan Bossart）§", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "commits": ["33e7b4a7c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "a381a6bd43d267b9f76ad047254634c9c95e037e775f93f4d28201deb4381cb1", "section_path": ["变更"], "commit_groups": [["23b316c36", "33e7b4a7c", "c72b5c536", "f9993ac64", "ff47f9c16"]], "identity_text": "Fix minor memory leak during WAL replay of database creation (Nathan Bossart)", "commit_aliases": ["23b316c36", "33e7b4a7c", "c72b5c536", "f9993ac64", "ff47f9c16"], "source_commits": ["33e7b4a7c"], "source_entry_id": "18.1/changes/025", "db_id": "0e7b5976bd913c25991a5ff549ac5f81", "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c", "relations": [{"rule": 2, "type": "equivalent", "target": "07b0f2ed9748f2ad84f75138a8f693ab", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}}, {"rule": 2, "type": "equivalent", "target": "4be639cfbce3dac014c7f3139f4beaa7", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}}, {"rule": 2, "type": "equivalent", "target": "52d97c7cf8fbcce26fef4b0c910e4bf6", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4be639cfbce3dac014c7f3139f4beaa7", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}, "url": "/docs/compare/?release=17.7#17.7-200457c819df1105", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "07b0f2ed9748f2ad84f75138a8f693ab", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}, "url": "/docs/compare/?release=16.11#16.11-2e0c5a7298bb48a1", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "52d97c7cf8fbcce26fef4b0c910e4bf6", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}, "url": "/docs/compare/?release=15.15#15.15-e3961aff6d69ca4a", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "18.1-b311e5c7746f8633", "cves": [], "html": "<p>修复 <code>pg_stat_replication</code> 视图中复制延迟的错误报告（Fujii Masao）<a href=\"https://postgr.es/c/9670032cc\">§</a></p>\n<p>如果任何备库的重放 LSN 停止前进，<code>write_lag</code> 和 <code>flush_lag</code> 列最终将停止更新。</p>", "text": "修复 pg_stat_replication 视图中复制延迟的错误报告（Fujii Masao）§ 如果任何备库的重放 LSN 停止前进，write_lag 和 flush_lag 列最终将停止更新。", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "commits": ["9670032cc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "4072bb158c7920b7b4bb50d95772901eb7bd28f35a45d14007539c13c9364213", "section_path": ["变更"], "commit_groups": [["2e55cf4ef", "59b215f72", "62d5ee75b", "7d7ebdb80", "883a95646", "9670032cc", "a7ab6ce6a"]], "identity_text": "Fix incorrect reporting of replication lag in pg_stat_replication view (Fujii Masao) If any standby server's replay LSN stopped advancing, the write_lag and flush_lag columns would eventually stop updating.", "commit_aliases": ["2e55cf4ef", "59b215f72", "62d5ee75b", "7d7ebdb80", "883a95646", "9670032cc", "a7ab6ce6a"], "source_commits": ["9670032cc"], "source_entry_id": "18.1/changes/026", "db_id": "a8414849a53aabf5dc53c77b1324c0d5", "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b", "relations": [{"rule": 2, "type": "equivalent", "target": "73705651f9a3f30d44ed83016f7ac1b4", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}, {"rule": 2, "type": "equivalent", "target": "791fcff31a58ed212a423b5a722b6f4f", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}, {"rule": 2, "type": "equivalent", "target": "7ca4b40fd7ad687ba5827a90faa10c14", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}, {"rule": 2, "type": "equivalent", "target": "81b53885fae1691a0cea71be2e9b050a", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}, {"rule": 2, "type": "equivalent", "target": "905cf5ba46c020ac69b28eb9f2785b5c", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "905cf5ba46c020ac69b28eb9f2785b5c", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=17.7#17.7-fbae455a9f86efab", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "73705651f9a3f30d44ed83016f7ac1b4", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=16.11#16.11-6fd1b6c4fcd3c179", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "791fcff31a58ed212a423b5a722b6f4f", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=15.15#15.15-0b86e1265303e925", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7ca4b40fd7ad687ba5827a90faa10c14", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=14.20#14.20-e6ac77ccd9c8c250", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "81b53885fae1691a0cea71be2e9b050a", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=13.23#13.23-3107d28e63120415", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-f9c71c1aa9e41b8f", "cves": [], "html": "<p>避免关于无效 <code>primary_slot_name</code> 设置的重复日志消息（Fujii Masao）<a href=\"https://postgr.es/c/6ff7ba9fe\">§</a></p>", "text": "避免关于无效 primary_slot_name 设置的重复日志消息（Fujii Masao）§", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "commits": ["6ff7ba9fe"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "9a05fa4790b674064b1a98525583db56a4e66371c149f67d363856aaf68a29d3", "section_path": ["变更"], "commit_groups": [["1db2870bb", "4fd916eab", "6ff7ba9fe", "b00a16bae", "caf529aba", "f106f53df", "f33e60a53"]], "identity_text": "Avoid duplicative log messages about invalid primary_slot_name settings (Fujii Masao)", "commit_aliases": ["1db2870bb", "4fd916eab", "6ff7ba9fe", "b00a16bae", "caf529aba", "f106f53df", "f33e60a53"], "source_commits": ["6ff7ba9fe"], "source_entry_id": "18.1/changes/027", "db_id": "d99230cf9e376e84d70ff48c950dfbd4", "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146", "relations": [{"rule": 2, "type": "equivalent", "target": "5c7937a41540430a37c6313f454afd47", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}, {"rule": 2, "type": "equivalent", "target": "5d244383e118ee187bdf1d544ea5c57a", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}, {"rule": 2, "type": "equivalent", "target": "9c77ea90dcad71a57f74e096fec194cc", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}, {"rule": 2, "type": "equivalent", "target": "cf1cf0980c4a8fd8a92c2de26d804a18", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}, {"rule": 2, "type": "equivalent", "target": "d5025bddb4b7e773a31ef5a7852fa818", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5c7937a41540430a37c6313f454afd47", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=17.7#17.7-a02e0c2e2b41cb37", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "5d244383e118ee187bdf1d544ea5c57a", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=16.11#16.11-ee0cf1e6bc6716c9", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "d5025bddb4b7e773a31ef5a7852fa818", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=15.15#15.15-06f80d83cff8e2e7", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "9c77ea90dcad71a57f74e096fec194cc", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=14.20#14.20-329643b68626e90f", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "cf1cf0980c4a8fd8a92c2de26d804a18", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=13.23#13.23-e92cb908f7177984", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-54c0160872575046", "cves": [], "html": "<p>当 <code>synchronized_standby_slots</code> 引用了不存在的复制槽时，避免发生故障（Shlok Kyal）<a href=\"https://postgr.es/c/b45a8d7d8\">§</a></p>", "text": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障（Shlok Kyal）§", "title": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障", "commits": ["b45a8d7d8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "0f406430afac78443128876f868a55c777f0402b61818a0d607be1c70acbd2e0", "section_path": ["变更"], "commit_groups": [["0024f5a10", "b45a8d7d8", "e0dc4bbfb"]], "identity_text": "Avoid failures when synchronized_standby_slots references nonexistent replication slots (Shlok Kyal)", "commit_aliases": ["0024f5a10", "b45a8d7d8", "e0dc4bbfb"], "source_commits": ["b45a8d7d8"], "source_entry_id": "18.1/changes/028", "db_id": "b7ea92ca342575d1da32619d7a74920a", "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a", "relations": [{"rule": 2, "type": "equivalent", "target": "e94415bf2bf6f74daabb0dd238831f93", "evidence": {"same_day": true, "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e94415bf2bf6f74daabb0dd238831f93", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障", "evidence": {"same_day": true, "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a"}, "url": "/docs/compare/?release=17.7#17.7-256c71c4a8bc7974", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}]}, {"id": "18.1-a601bee3c15f74a5", "cves": [], "html": "<p>在写入复制槽状态到磁盘失败后删除未完成的槽状态文件（Michael Paquier）<a href=\"https://postgr.es/c/9a6ea00ac\">§</a></p>\n<p>以前，磁盘空间不足等失败会留下一个临时 <code>state.tmp</code> 文件。这是有问题的，因为它会阻止所有后续写入状态的尝试，需要手动干预来清理。</p>", "text": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件（Michael Paquier）§ 以前，磁盘空间不足等失败会留下一个临时 state.tmp 文件。这是有问题的，因为它会阻止所有后续写入状态的尝试，需要手动干预来清理。", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "commits": ["9a6ea00ac"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "9a2261e57d450c78d7ff2e36d822d6f24474a1f6410381427fd18ddb7cc75686", "section_path": ["变更"], "commit_groups": [["0adf424b4", "42348839d", "912af1c7e", "9a6ea00ac", "bfdd1a12d", "c878d9808", "f57f2760e"]], "identity_text": "Remove the unfinished slot state file after failing to write a replication slot's state to disk (Michael Paquier) Previously, a failure such as out-of-disk-space resulted in leaving a temporary state.tmp file behind. That's problematic because it would block all subsequent attempts to write the state, requiring manual intervention to clean up.", "commit_aliases": ["0adf424b4", "42348839d", "912af1c7e", "9a6ea00ac", "bfdd1a12d", "c878d9808", "f57f2760e"], "source_commits": ["9a6ea00ac"], "source_entry_id": "18.1/changes/029", "db_id": "88acef5002288cf26f90d74ea72f7dd0", "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72", "relations": [{"rule": 2, "type": "equivalent", "target": "0620bfd126e45a7fb30310413dd82566", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}}, {"rule": 2, "type": "equivalent", "target": "4f476f781039e87ea8de4907a56dfba2", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}}, {"rule": 2, "type": "equivalent", "target": "5f4978515e70467b8cd476a8782b3741", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}}, {"rule": 2, "type": "equivalent", "target": "8f6b3684b0c7ebef23c4baebfd451ab8", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}}, {"rule": 2, "type": "equivalent", "target": "d3ba6564e6c91003b631012ed6405fc2", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d3ba6564e6c91003b631012ed6405fc2", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=17.7#17.7-fa4d518d83f33a49", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "0620bfd126e45a7fb30310413dd82566", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=16.11#16.11-f777cd18de1f53b2", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "4f476f781039e87ea8de4907a56dfba2", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=15.15#15.15-783a22b01672c5c1", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "8f6b3684b0c7ebef23c4baebfd451ab8", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=14.20#14.20-790adc94b2e3aa97", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "5f4978515e70467b8cd476a8782b3741", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=13.23#13.23-c506ff43f09b181c", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-b4b351d19dc05865", "cves": [], "html": "<p>修复逻辑复制并行应用工作进程中锁超时信号的错误处理（Hayato Kuroda）<a href=\"https://postgr.es/c/37fc5de43\">§</a></p>\n<p>同一个信号编号被同时用于工作进程关闭和锁超时，导致混淆。</p>", "text": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理（Hayato Kuroda）§ 同一个信号编号被同时用于工作进程关闭和锁超时，导致混淆。", "title": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理", "commits": ["37fc5de43"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "714e58270e4ca5f91f9e2d91bc61604ea15cf638406700f413135f063d7942c8", "section_path": ["变更"], "commit_groups": [["2f6e1a490", "37fc5de43", "a54c7a113", "e41d954da"]], "identity_text": "Fix mishandling of lock timeout signals in parallel apply workers for logical replication (Hayato Kuroda) The same signal number was being used for both worker shutdown and lock timeout, leading to confusion.", "commit_aliases": ["2f6e1a490", "37fc5de43", "a54c7a113", "e41d954da"], "source_commits": ["37fc5de43"], "source_entry_id": "18.1/changes/030", "db_id": "943decff2b98c926290fdf650e4a0edc", "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575", "relations": [{"rule": 2, "type": "equivalent", "target": "50ee30b81e767311733d723cd36948c0", "evidence": {"same_day": true, "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575"}}, {"rule": 2, "type": "equivalent", "target": "b1d5f444628e0aea3eb678b0a2d29dfa", "evidence": {"same_day": true, "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "50ee30b81e767311733d723cd36948c0", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理", "evidence": {"same_day": true, "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575"}, "url": "/docs/compare/?release=17.7#17.7-2f08c0b5ad93baa5", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "b1d5f444628e0aea3eb678b0a2d29dfa", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理", "evidence": {"same_day": true, "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575"}, "url": "/docs/compare/?release=16.11#16.11-acfdc23367087fb5", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}]}, {"id": "18.1-a20d69b97abaf6de", "cves": [], "html": "<p>避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭（Xuneng Zhou）<a href=\"https://postgr.es/c/a14201073\">§</a></p>\n<p>在时间线切换期间，备库的 WAL 接收进程应保持活动状态，等待新的 WAL 流式传输起始点。相反，它反复关闭并立即重新启动，这可能会混淆状态监控代码。</p>", "text": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭（Xuneng Zhou）§ 在时间线切换期间，备库的 WAL 接收进程应保持活动状态，等待新的 WAL 流式传输起始点。相反，它反复关闭并立即重新启动，这可能会混淆状态监控代码。", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "commits": ["a14201073"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "1e48a276127802a798f2d83743e6434e202fd58ee0a2faa8438270cc38bed7ca", "section_path": ["变更"], "commit_groups": [["17b2d5ec7", "25b484080", "9b6109607", "a14201073", "a1b8b3b2e", "da5ea6c70", "e7340b484"]], "identity_text": "Avoid unwanted WAL receiver shutdown when switching from streaming to archive WAL source (Xuneng Zhou) During a timeline change, a standby server's WAL receiver should remain alive, waiting for a new WAL streaming start point. Instead it was repeatedly shutting down and immediately getting restarted, which could confuse status monitoring code.", "commit_aliases": ["17b2d5ec7", "25b484080", "9b6109607", "a14201073", "a1b8b3b2e", "da5ea6c70", "e7340b484"], "source_commits": ["a14201073"], "source_entry_id": "18.1/changes/031", "db_id": "5e6622b056fdeebae1797bcd6bab73d8", "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74", "relations": [{"rule": 2, "type": "equivalent", "target": "186f1aca8e166170a7cedbb47670ed32", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}, {"rule": 2, "type": "equivalent", "target": "74dc0b8668a34ee86a69e81b07977ac3", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}, {"rule": 2, "type": "equivalent", "target": "7e82176acdf9327aca4da62b00d1400a", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}, {"rule": 2, "type": "equivalent", "target": "b76ca1acc7d0e06651b84c05d5298bb5", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}, {"rule": 2, "type": "equivalent", "target": "c392b0b8a9a1720a5f28a1d62993d15b", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b76ca1acc7d0e06651b84c05d5298bb5", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=17.7#17.7-0a048ec34f6d4d74", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "74dc0b8668a34ee86a69e81b07977ac3", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=16.11#16.11-5e20452104432165", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "186f1aca8e166170a7cedbb47670ed32", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=15.15#15.15-96abfce14575540c", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "c392b0b8a9a1720a5f28a1d62993d15b", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=14.20#14.20-c26203a903d008e3", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "7e82176acdf9327aca4da62b00d1400a", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=13.23#13.23-4af8775ea855af94", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-5ac1192568f3b470", "cves": [], "html": "<p>修复 <span>pgoutput</span> 逻辑解码插件维护的关系同步缓存中的释放后使用问题（Vignesh C，Masahiko Sawada）<a href=\"https://postgr.es/c/32b95fc71\">§</a></p>\n<p>逻辑解码期间的错误可能导致同一会话中后续逻辑解码尝试崩溃。此情况仅在通过 SQL 函数调用 <span>pgoutput</span> 时可以触发。</p>", "text": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题（Vignesh C，Masahiko Sawada）§ 逻辑解码期间的错误可能导致同一会话中后续逻辑解码尝试崩溃。此情况仅在通过 SQL 函数调用 pgoutput 时可以触发。", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "commits": ["32b95fc71"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "5e0d3bf538ab0c71063d21857506abb59dbd382251a7f9371a0e85c8a0ca57f3", "section_path": ["变更"], "commit_groups": [["32b95fc71", "a61592253", "b07682bce", "b46efe904", "c40761759"]], "identity_text": "Fix use-after-free issue in the relation synchronization cache maintained by the pgoutput logical decoding plugin (Vignesh C, Masahiko Sawada) An error during logical decoding could result in crashes in subsequent logical decoding attempts in the same session. The case is only reachable when pgoutput is invoked via SQL functions.", "commit_aliases": ["32b95fc71", "a61592253", "b07682bce", "b46efe904", "c40761759"], "source_commits": ["32b95fc71"], "source_entry_id": "18.1/changes/032", "db_id": "01678f172fb01945bdf37dee98659abb", "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc", "relations": [{"rule": 2, "type": "equivalent", "target": "88eeed6b80c39786442df0b17dadee4a", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}}, {"rule": 2, "type": "equivalent", "target": "b5c5a46598eb51eef76d3c62dc981396", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}}, {"rule": 2, "type": "equivalent", "target": "bd8536eb35145d43f731406b08299135", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b5c5a46598eb51eef76d3c62dc981396", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}, "url": "/docs/compare/?release=17.7#17.7-db1ad25a90aef00e", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "bd8536eb35145d43f731406b08299135", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}, "url": "/docs/compare/?release=16.11#16.11-83edf36bdfedb497", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "88eeed6b80c39786442df0b17dadee4a", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}, "url": "/docs/compare/?release=15.15#15.15-8b79db713221db62", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "18.1-11b960ad24efa0be", "cves": [], "html": "<p>避免不必要地失效逻辑复制槽（Bertrand Drouvot）<a href=\"https://postgr.es/c/bf3dba508\">§</a></p>", "text": "避免不必要地失效逻辑复制槽（Bertrand Drouvot）§", "title": "避免不必要地失效逻辑复制槽", "commits": ["bf3dba508"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "8314a67474fb2faf2aa29f6d4a6461256fd1f4b2de6a62e94ae410489e1838d1", "section_path": ["变更"], "commit_groups": [["bf3dba508", "d43209468", "e3714dc05", "f3fb6bc9f"]], "identity_text": "Avoid unnecessary invalidation of logical replication slots (Bertrand Drouvot)", "commit_aliases": ["bf3dba508", "d43209468", "e3714dc05", "f3fb6bc9f"], "source_commits": ["bf3dba508"], "source_entry_id": "18.1/changes/033", "db_id": "dbc091f15023788511302d163d035b51", "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c", "relations": [{"rule": 2, "type": "equivalent", "target": "cb9ea43000f5f0564c0ad169585ea59f", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}}, {"rule": 2, "type": "equivalent", "target": "d82a9dd65733472f8ceb24aa092ce2c1", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d82a9dd65733472f8ceb24aa092ce2c1", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免不必要地失效逻辑复制槽", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}, "url": "/docs/compare/?release=17.7#17.7-7503f801e6751f4a", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "cb9ea43000f5f0564c0ad169585ea59f", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免不必要地失效逻辑复制槽", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}, "url": "/docs/compare/?release=16.11#16.11-1bcfcc46772ad747", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}]}, {"id": "18.1-33661c84650917d0", "cves": [], "html": "<p>在区域设置中恢复对 <code>C</code> 排序规则的特殊处理（Jeff Davis）<a href=\"https://postgr.es/c/3ebea75f9\">§</a></p>\n<p>这修复了后端启动早期、尚未选择数据库之前访问共享系统目录时的一个回归问题。目前尚未发现这会影响 <span>PostgreSQL</span> 核心代码，但某些扩展已因此失效。</p>", "text": "在区域设置中恢复对 C 排序规则的特殊处理（Jeff Davis）§ 这修复了后端启动早期、尚未选择数据库之前访问共享系统目录时的一个回归问题。目前尚未发现这会影响 PostgreSQL 核心代码，但某些扩展已因此失效。", "title": "在区域设置中恢复对 C 排序规则的特殊处理", "commits": ["3ebea75f9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "5967144f5a9ac390e5f43e37e44136126f8a69ddef70fa46672228f341690c6e", "section_path": ["变更"], "commit_groups": [["3ebea75f9", "d115de9d8"]], "identity_text": "Re-establish special case for C collation in locale setup (Jeff Davis) This fixes a regression in access to shared catalogs early in backend startup, before a database has been selected. It is not known to be a problem for any core PostgreSQL code, but some extensions were broken.", "commit_aliases": ["3ebea75f9", "d115de9d8"], "source_commits": ["3ebea75f9"], "source_entry_id": "18.1/changes/034", "db_id": "f3a09ba6d76319872cf3c57dfe3cbb7f", "patch_ids": ["8a35575852644cce7c43988f09a72271"], "statement_hash": "a7ae6078a0c5cd7c2be592c68fcd68fe554b04a4788ec782c9e11a5f99e01b1d", "relations": [], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-0bab432ae295bddb", "cves": [], "html": "<p>修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印（Bryan Green）<a href=\"https://postgr.es/c/b48ae226e\">§</a></p>\n<p>此代码本来会崩溃或至少打印乱码。但没有此类情况被报告过，这表明这些系统调用的失败极为罕见。</p>", "text": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印（Bryan Green）§ 此代码本来会崩溃或至少打印乱码。但没有此类情况被报告过，这表明这些系统调用的失败极为罕见。", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "commits": ["b48ae226e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "5b3d2f02beb4e4207ef2adb44b13c503bb6ce3715b669e0353ee71a40523866b", "section_path": ["变更"], "commit_groups": [["03bf7a12c", "4c53519e1", "75a555d61", "9883e3cd1", "b48ae226e", "e91eb4ad6", "f91666c83"]], "identity_text": "Fix incorrect printing of messages about failures in checking whether the user has Windows administrator privilege (Bryan Green) This code would have crashed or at least printed garbage. No such cases have been reported though, indicating that failure of these system calls is extremely rare.", "commit_aliases": ["03bf7a12c", "4c53519e1", "75a555d61", "9883e3cd1", "b48ae226e", "e91eb4ad6", "f91666c83"], "source_commits": ["b48ae226e"], "source_entry_id": "18.1/changes/035", "db_id": "54e06bd3860e1bbda5ac887cf9128e18", "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef", "relations": [{"rule": 2, "type": "equivalent", "target": "1bce0a6531645bd3f70523a4fd591cf3", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}, {"rule": 2, "type": "equivalent", "target": "27ca4eb718e79592fec76dc7fda731c1", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}, {"rule": 2, "type": "equivalent", "target": "92380498a4385f5ba77ddf5e840497f2", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}, {"rule": 2, "type": "equivalent", "target": "bf9e24f2b769f783785421c6c4666a0a", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}, {"rule": 2, "type": "equivalent", "target": "fc910ae34d590e376c66274cf6b8087f", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1bce0a6531645bd3f70523a4fd591cf3", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=17.7#17.7-6554bc7b77289e22", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "92380498a4385f5ba77ddf5e840497f2", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=16.11#16.11-713a970c4e1b104e", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "27ca4eb718e79592fec76dc7fda731c1", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=15.15#15.15-c16c9322537a1ada", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "fc910ae34d590e376c66274cf6b8087f", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=14.20#14.20-1da5f9c55441affe", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "bf9e24f2b769f783785421c6c4666a0a", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=13.23#13.23-f44c9122c79014ab", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-c00c424726e8c2ba", "cves": [], "html": "<p>避免在使用某些 libsanitizer 选项测试 <span>PostgreSQL</span> 时崩溃（Emmanuel Sibi，Jacob Champion）<a href=\"https://postgr.es/c/6d8acb777\">§</a></p>", "text": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃（Emmanuel Sibi，Jacob Champion）§", "title": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃", "commits": ["6d8acb777"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "02b71b367fa5b096a4d78c9500bb07dc328a3f881cd84ef6bb00ab944d1b7821", "section_path": ["变更"], "commit_groups": [["6d8acb777", "a9515f294", "c775bf048", "d4baa327a"]], "identity_text": "Avoid crash when attempting to test PostgreSQL with certain libsanitizer options (Emmanuel Sibi, Jacob Champion)", "commit_aliases": ["6d8acb777", "a9515f294", "c775bf048", "d4baa327a"], "source_commits": ["6d8acb777"], "source_entry_id": "18.1/changes/036", "db_id": "78099173e39c6c3e78fe3e6dbd3ae346", "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9", "relations": [{"rule": 2, "type": "equivalent", "target": "1a27f92e7f186016d17a28e80fd6ba2a", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}}, {"rule": 2, "type": "equivalent", "target": "3fe9f73cb5b5abb15f5187f203890f07", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3fe9f73cb5b5abb15f5187f203890f07", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}, "url": "/docs/compare/?release=17.7#17.7-9ade7eda82977791", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "1a27f92e7f186016d17a28e80fd6ba2a", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}, "url": "/docs/compare/?release=16.11#16.11-7de2c5088616a5bc", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}]}, {"id": "18.1-6ea24c894273b60d", "cves": [], "html": "<p>修复 64 位 Windows 调试构建中虚假的内存上下文检查警告（David Rowley）<a href=\"https://postgr.es/c/af3a79e08\">§</a></p>", "text": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告（David Rowley）§", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "commits": ["af3a79e08"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "331b95d0ec60c21a82adc672dd67221a36a5f899be5338cdfc4a478771cdb3d1", "section_path": ["变更"], "commit_groups": [["50eb4e118", "7b955c227", "86bd9497f", "af3a79e08", "bd6f986c9", "cdc04a6c3", "f3420e006"]], "identity_text": "Fix false memory-context-checking warnings in debug builds on 64-bit Windows (David Rowley)", "commit_aliases": ["50eb4e118", "7b955c227", "86bd9497f", "af3a79e08", "bd6f986c9", "cdc04a6c3", "f3420e006"], "source_commits": ["af3a79e08"], "source_entry_id": "18.1/changes/037", "db_id": "8df4cb56b5956e0bcfd2f6b1733b74cc", "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a", "relations": [{"rule": 2, "type": "equivalent", "target": "01aaa14579e082646793b4e27afbf21b", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}}, {"rule": 2, "type": "equivalent", "target": "0acaf19cbd02c251f9c72a3566ceafd2", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}}, {"rule": 2, "type": "equivalent", "target": "801cc326322f22aa573edf2c98d1162f", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}}, {"rule": 2, "type": "equivalent", "target": "84067ed8a3ba1028de01b8a46f2000b9", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}}, {"rule": 2, "type": "equivalent", "target": "fc378456b09d8aee7ced8ece43c87341", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "84067ed8a3ba1028de01b8a46f2000b9", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=17.7#17.7-a455f9dd0199fe9d", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "801cc326322f22aa573edf2c98d1162f", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=16.11#16.11-44cfa1596c4b914f", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "0acaf19cbd02c251f9c72a3566ceafd2", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=15.15#15.15-3fd801b6ac3f82a6", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "01aaa14579e082646793b4e27afbf21b", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=14.20#14.20-30a0eb01d03d06bf", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "fc378456b09d8aee7ced8ece43c87341", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=13.23#13.23-5134dab5d7fbe159", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-ea24cf69287cae1d", "cves": [], "html": "<p>正确处理 PL/pgSQL 赋值语句中的 <code>GROUP BY DISTINCT</code>（Tom Lane）<a href=\"https://postgr.es/c/78a284b0b\">§</a></p>\n<p>解析器在此上下文中未能记录 <code>DISTINCT</code> 选项，导致命令的行为就像是普通的 <code>GROUP BY</code>。</p>", "text": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT（Tom Lane）§ 解析器在此上下文中未能记录 DISTINCT 选项，导致命令的行为就像是普通的 GROUP BY。", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "commits": ["78a284b0b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "ccb6d64adcdbf2c6e068be824161cde849fbbbabffc0fb6b594d3ca7fa507330", "section_path": ["变更"], "commit_groups": [["0be39b4b1", "3fc9aa5b0", "7504d2be9", "78a284b0b", "9ca79896a", "b7f6798c0"]], "identity_text": "Correctly handle GROUP BY DISTINCT in PL/pgSQL assignment statements (Tom Lane) The parser failed to record the DISTINCT option in this context, so that the command would act as if it were plain GROUP BY.", "commit_aliases": ["0be39b4b1", "3fc9aa5b0", "7504d2be9", "78a284b0b", "9ca79896a", "b7f6798c0"], "source_commits": ["78a284b0b"], "source_entry_id": "18.1/changes/038", "db_id": "f25c1bf3d1b0bc45940ba06662dd7fac", "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a", "relations": [{"rule": 2, "type": "equivalent", "target": "5d72fc4fde390c5d9153f30aa3ce32f6", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}}, {"rule": 2, "type": "equivalent", "target": "bed9ac21d6b5104de301b89d80efe413", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}}, {"rule": 2, "type": "equivalent", "target": "c4e592f337961adba07d32ea163af2ef", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}}, {"rule": 2, "type": "equivalent", "target": "f4fe056566c9e56e900ccb3ae467d6d1", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5d72fc4fde390c5d9153f30aa3ce32f6", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}, "url": "/docs/compare/?release=17.7#17.7-da35b615699d0e38", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "bed9ac21d6b5104de301b89d80efe413", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}, "url": "/docs/compare/?release=16.11#16.11-3a01429c605940e7", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "c4e592f337961adba07d32ea163af2ef", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}, "url": "/docs/compare/?release=15.15#15.15-eeed0366b039f82d", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "f4fe056566c9e56e900ccb3ae467d6d1", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}, "url": "/docs/compare/?release=14.20#14.20-ad9f2a1d2560df12", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}]}, {"id": "18.1-da9fd9dc692db55b", "cves": [], "html": "<p>避免在 PL/Python 中处理 SQL 错误时泄漏内存（Tom Lane）<a href=\"https://postgr.es/c/447a794f6\">§</a></p>\n<p>这修复了在我们之前的小版本中引入的会话生命周期内存泄漏。</p>", "text": "避免在 PL/Python 中处理 SQL 错误时泄漏内存（Tom Lane）§ 这修复了在我们之前的小版本中引入的会话生命周期内存泄漏。", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "commits": ["447a794f6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "25faaa57d44fc2401c1508fc419ebddb55e64b28ada29d9926422d8ebd635ad6", "section_path": ["变更"], "commit_groups": [["447a794f6", "4cde73259", "798b19d27", "7fb8c9240", "cbfd4d0f8", "d90c92d1c", "fbc41a145"]], "identity_text": "Avoid leaking memory when handling a SQL error within PL/Python (Tom Lane) This fixes a session-lifespan memory leak introduced in our previous minor releases.", "commit_aliases": ["447a794f6", "4cde73259", "798b19d27", "7fb8c9240", "cbfd4d0f8", "d90c92d1c", "fbc41a145"], "source_commits": ["447a794f6"], "source_entry_id": "18.1/changes/039", "db_id": "8ed8073833432a5a8b59221fab2bfd05", "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0", "relations": [{"rule": 2, "type": "equivalent", "target": "1cc5187c2c4ae41cf3accaadaacb20c6", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}, {"rule": 2, "type": "equivalent", "target": "21e26aeb99c1f4efef5ee4d427588817", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}, {"rule": 2, "type": "equivalent", "target": "4567a5ad601fcfb6e367a0d5788654f3", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}, {"rule": 2, "type": "equivalent", "target": "6e6104594627174dfaa8204ac54cf50d", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}, {"rule": 2, "type": "equivalent", "target": "f72d5243e6c8215039615db964cfa0bc", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4567a5ad601fcfb6e367a0d5788654f3", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=17.7#17.7-518a9f7a9e8762ea", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "21e26aeb99c1f4efef5ee4d427588817", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=16.11#16.11-459f76577a275299", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "f72d5243e6c8215039615db964cfa0bc", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=15.15#15.15-221591e26f573b0b", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "1cc5187c2c4ae41cf3accaadaacb20c6", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=14.20#14.20-c5293fc1ca271610", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "6e6104594627174dfaa8204ac54cf50d", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=13.23#13.23-92a4c4e07d0dc6be", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-476a2e50c1064c29", "cves": [], "html": "<p>修复 <span>libpq</span> 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题（Ning Wu，Tom Lane）<a href=\"https://postgr.es/c/d83879a32\">§</a></p>\n<p>使用 GSSAPI 加密/解密传输数据的代码未能正确识别连接套接字上的错误条件，因为 Windows 报告这些错误的方式与其他平台不同。这导致在 Windows 上无法建立此类连接。</p>", "text": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题（Ning Wu，Tom Lane）§ 使用 GSSAPI 加密/解密传输数据的代码未能正确识别连接套接字上的错误条件，因为 Windows 报告这些错误的方式与其他平台不同。这导致在 Windows 上无法建立此类连接。", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "commits": ["d83879a32"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "4e01a398b7a3630fc13c41e6ed53709ed17ec704a2fa09b13e0ea903399baa0b", "section_path": ["变更"], "commit_groups": [["1c4671f7b", "46c4478db", "771b106d1", "d83879a32", "ea78bd6d5", "f46d77377", "fc287cf3c"]], "identity_text": "Fix libpq's handling of socket-related errors on Windows within its GSSAPI logic (Ning Wu, Tom Lane) The code for encrypting/decrypting transmitted data using GSSAPI did not correctly recognize error conditions on the connection socket, since Windows reports those differently than other platforms. This led to failure to make such connections on Windows.", "commit_aliases": ["1c4671f7b", "46c4478db", "771b106d1", "d83879a32", "ea78bd6d5", "f46d77377", "fc287cf3c"], "source_commits": ["d83879a32"], "source_entry_id": "18.1/changes/040", "db_id": "3832ee9d1af37cef22d9ed22d51db616", "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e", "relations": [{"rule": 2, "type": "equivalent", "target": "8a5e4771e1d3efc837da936303fe3e69", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}, {"rule": 2, "type": "equivalent", "target": "8c6a6507bd4112a04aa052cc681036ab", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}, {"rule": 2, "type": "equivalent", "target": "9d30ea675f07706c069fc213482c9a49", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}, {"rule": 2, "type": "equivalent", "target": "a676ca60cf7c395fb8962ab60a474d3e", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}, {"rule": 2, "type": "equivalent", "target": "f5be3f6b8947f88fed54b1476ce5d760", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a676ca60cf7c395fb8962ab60a474d3e", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=17.7#17.7-b2fb5b95a8bca3b8", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "f5be3f6b8947f88fed54b1476ce5d760", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=16.11#16.11-2e085f41052447e2", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "9d30ea675f07706c069fc213482c9a49", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=15.15#15.15-576782cfd326c037", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "8c6a6507bd4112a04aa052cc681036ab", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=14.20#14.20-a0d51aea48560c38", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "8a5e4771e1d3efc837da936303fe3e69", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=13.23#13.23-cf1d927f2b0b8cf3", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-3a4e23af29635f95", "cves": [], "html": "<p>修复继承表列上非继承而来的非空约束的转储问题（Dilip Kumar）<a href=\"https://postgr.es/c/0fe07fa11\">§</a></p>\n<p>从早于 v18 的服务器转储时，<span>pg_dump</span> 未能保留这类约束。</p>", "text": "修复继承表列上非继承而来的非空约束的转储问题（Dilip Kumar）§ 从早于 v18 的服务器转储时，pg_dump 未能保留这类约束。", "title": "修复继承表列上非继承而来的非空约束的转储问题", "commits": ["0fe07fa11"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "04f06ec63a25c2d1bf641d23a4aebcbc0991f4c4683b5a54880fd018960bbe46", "section_path": ["变更"], "commit_groups": [["0fe07fa11", "615ff828e", "c945b06d5"]], "identity_text": "Fix dumping of non-inherited not-null constraints on inherited table columns (Dilip Kumar) pg_dump failed to preserve such constraints when dumping from a pre-v18 server.", "commit_aliases": ["0fe07fa11", "615ff828e", "c945b06d5"], "source_commits": ["0fe07fa11"], "source_entry_id": "18.1/changes/041", "db_id": "85612db122ce32a9a8151af8dbfda6f6", "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90", "relations": [{"rule": 2, "type": "equivalent", "target": "093d5c7edafa8bd73b4b72cdfe2bb656", "evidence": {"same_day": true, "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "093d5c7edafa8bd73b4b72cdfe2bb656", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复继承表列上非继承而来的非空约束的转储问题", "evidence": {"same_day": true, "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90"}, "url": "/docs/compare/?release=17.7#17.7-ea1ba6103ffdb14f", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}]}, {"id": "18.1-596e4425a92cbba4", "cves": [], "html": "<p>修复 <span>pg_dump</span> 对外键约束的排序（Álvaro Herrera）<a href=\"https://postgr.es/c/162e70ea0\">§</a></p>\n<p>确保这些数据库对象的顺序一致，如对其他对象类型所做的那样。</p>", "text": "修复 pg_dump 对外键约束的排序（Álvaro Herrera）§ 确保这些数据库对象的顺序一致，如对其他对象类型所做的那样。", "title": "修复 pg_dump 对外键约束的排序", "commits": ["162e70ea0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "00384e1f4ea3ef405d77d3d12ab30dfec35e04c99d3980730024aa6c0aeda8f8", "section_path": ["变更"], "commit_groups": [["06c1ee6b7", "162e70ea0", "4921a5972", "4cc3b4445", "6062c3db3", "7419c99a2", "d20df9590"]], "identity_text": "Fix pg_dump's sorting of foreign key constraints (Álvaro Herrera) Ensure consistent ordering of these database objects, as was already done for other object types.", "commit_aliases": ["06c1ee6b7", "162e70ea0", "4921a5972", "4cc3b4445", "6062c3db3", "7419c99a2", "d20df9590"], "source_commits": ["162e70ea0"], "source_entry_id": "18.1/changes/042", "db_id": "0e30416d744287728e67dfa91ecd903e", "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"], "statement_hash": "cdf4d041c1de8192b2513985b95aa43b724c20b0cabb65a8b86c1a98ee9fa82c", "relations": [{"rule": 2, "type": "related", "target": "5d051ea674aeb3f3b326a89ded32901f", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}, {"rule": 2, "type": "related", "target": "5d200915f65582fc2484f8ef24cc008e", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}, {"rule": 2, "type": "related", "target": "9bedf67fa0860d232401ec8b1b5b9bf5", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}, {"rule": 2, "type": "related", "target": "9fe254aca98ebddd5297b74ffc1dfbb8", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}, {"rule": 2, "type": "related", "target": "c1d4d17be6dfafe4eaeda5f8c6d009ad", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9fe254aca98ebddd5297b74ffc1dfbb8", "kind": "related", "version": "17.7", "label": "17.7", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=17.7#17.7-6339fccd8bd64678", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "c1d4d17be6dfafe4eaeda5f8c6d009ad", "kind": "related", "version": "16.11", "label": "16.11", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=16.11#16.11-498c398eb10cb9bf", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "5d200915f65582fc2484f8ef24cc008e", "kind": "related", "version": "15.15", "label": "15.15", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=15.15#15.15-f62e7737dface522", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "9bedf67fa0860d232401ec8b1b5b9bf5", "kind": "related", "version": "14.20", "label": "14.20", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=14.20#14.20-cb50539fbd7938eb", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "5d051ea674aeb3f3b326a89ded32901f", "kind": "related", "version": "13.23", "label": "13.23", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=13.23#13.23-9e5d6f5c6fe46680", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-939176032400286d", "cves": [], "html": "<p>修复 <span>pg_dump</span> 和 <span>pg_restore</span> 中数据压缩逻辑的各种错误（Daniel Gustafsson，Tom Lane）<a href=\"https://postgr.es/c/8980c724b\">§</a> <a href=\"https://postgr.es/c/6a4009747\">§</a> <a href=\"https://postgr.es/c/aa1fcd087\">§</a></p>\n<p>多处缺少或不正确的错误检查，还存在会在大端硬件上出现的可移植性问题。这些问题一直未被发现，因为此代码仅用于读取目录格式导出中压缩的 TOC 文件。 <span>pg_dump</span> 不会生成这样的导出；该情况只有在事后手动压缩 TOC 文件时才会出现，这是一种受支持但非常罕见的操作。</p>", "text": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误（Daniel Gustafsson，Tom Lane）§ § § 多处缺少或不正确的错误检查，还存在会在大端硬件上出现的可移植性问题。这些问题一直未被发现，因为此代码仅用于读取目录格式导出中压缩的 TOC 文件。 pg_dump 不会生成这样的导出；该情况只有在事后手动压缩 TOC 文件时才会出现，这是一种受支持但非常罕见的操作。", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "commits": ["6a4009747", "8980c724b", "aa1fcd087"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "00493561410c0849a110c594a3ee4af2d87a29dcfdfa2c25d12df8526aad92c2", "section_path": ["变更"], "commit_groups": [["1518b7d76", "6a4009747", "a239c4a0c", "bf18e9bd7"], ["277dec651", "2efca1633", "33276cd02", "40dc710a6", "8b9924bce", "aa1fcd087", "c865f5b9f"], ["8980c724b", "92268b35d", "e686010c5", "ec017a305"]], "identity_text": "Fix assorted errors in the data compression logic in pg_dump and pg_restore (Daniel Gustafsson, Tom Lane) Error checking was missing or incorrect in several places, and there were also portability issues that would manifest on big-endian hardware. These problems had been missed because this code is only used to read compressed TOC files within directory-format dumps. pg_dump never produces such a dump; the case can be reached only by manually compressing the TOC file after the fact, which is a supported thing to do but very uncommon.", "commit_aliases": ["1518b7d76", "277dec651", "2efca1633", "33276cd02", "40dc710a6", "6a4009747", "8980c724b", "8b9924bce", "92268b35d", "a239c4a0c", "aa1fcd087", "bf18e9bd7", "c865f5b9f", "e686010c5", "ec017a305"], "source_commits": ["6a4009747", "8980c724b", "aa1fcd087"], "source_entry_id": "18.1/changes/043", "db_id": "db9de757f72a73bd069a8b786f5b8120", "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c", "relations": [{"rule": 2, "type": "equivalent", "target": "12b4dd9512e147889a0b739f2bbf5ade", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}, {"rule": 2, "type": "equivalent", "target": "2cc366c16ddf487970d4c1a069ddef4d", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}, {"rule": 2, "type": "equivalent", "target": "94448a696df6dbc1fc249f870067647a", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}, {"rule": 2, "type": "equivalent", "target": "d6f9f1f62ddef6d134088a2d74e99a56", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}, {"rule": 2, "type": "equivalent", "target": "f2020f100f9176ff2a2e8a154fa90714", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f2020f100f9176ff2a2e8a154fa90714", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=17.7#17.7-2c512121eb50a880", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "d6f9f1f62ddef6d134088a2d74e99a56", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=16.11#16.11-a90bb8c2778d1037", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "2cc366c16ddf487970d4c1a069ddef4d", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=15.15#15.15-1f4cb2ccb58f17bc", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "12b4dd9512e147889a0b739f2bbf5ade", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=14.20#14.20-a3723630038b7a05", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "94448a696df6dbc1fc249f870067647a", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=13.23#13.23-a2ad4ad5a1ae99e4", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-cccbae91c7612842", "cves": [], "html": "<p>修复 <span>pgbench</span> 以在启动 <code>COPY</code> 操作时妥善报告错误并退出（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/c00637b5f\">§</a></p>\n<p><span>pgbench</span> 不打算支持这种情况，但之前会进入无限循环。</p>", "text": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出（Anthonin Bonnefoy）§ pgbench 不打算支持这种情况，但之前会进入无限循环。", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "commits": ["c00637b5f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "aaf3614d26baed6713030ff063ec3b445c7c4ca96d13485a346fe73062aa4547", "section_path": ["变更"], "commit_groups": [["640590bb4", "902c08887", "9b3beb7c6", "b5cefc197", "c00637b5f", "de6de069d", "f1a2f3a0c"]], "identity_text": "Fix pgbench to error out cleanly if a COPY operation is started (Anthonin Bonnefoy) pgbench doesn't intend to support this case, but previously it went into an infinite loop.", "commit_aliases": ["640590bb4", "902c08887", "9b3beb7c6", "b5cefc197", "c00637b5f", "de6de069d", "f1a2f3a0c"], "source_commits": ["c00637b5f"], "source_entry_id": "18.1/changes/044", "db_id": "9a22121acd6baa6a9fb3c0a600e6f745", "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb", "relations": [{"rule": 2, "type": "equivalent", "target": "0ab8c685f0a9c83205700ee9f16ec69d", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}, {"rule": 2, "type": "equivalent", "target": "37f3a4ecb0a18fd8795547a2f62aa746", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}, {"rule": 2, "type": "equivalent", "target": "4fdb075299b2c8dbb29b9dd63ffefa18", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}, {"rule": 2, "type": "equivalent", "target": "5e3a31a811c1f52525f624d8ce076894", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}, {"rule": 2, "type": "equivalent", "target": "69889021274de78f6f31d01dd2b4ab62", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ab8c685f0a9c83205700ee9f16ec69d", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=17.7#17.7-be37552c2ac3a78e", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "37f3a4ecb0a18fd8795547a2f62aa746", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=16.11#16.11-f7261b248bcb61f8", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "5e3a31a811c1f52525f624d8ce076894", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=15.15#15.15-76b0085c675f6b37", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "69889021274de78f6f31d01dd2b4ab62", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=14.20#14.20-74d6b535346afc2b", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "4fdb075299b2c8dbb29b9dd63ffefa18", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=13.23#13.23-32d242ed4771d849", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-1b36133d506932f3", "cves": [], "html": "<p>修复 <span>pgbench</span> 的多错误报告（Yugo Nagata）<a href=\"https://postgr.es/c/29aabbc43\">§</a></p>\n<p>在连续两次 <code>PQgetResult</code> 调用都失败的情况下， <span>pgbench</span> 可能报告错误的错误消息。</p>", "text": "修复 pgbench 的多错误报告（Yugo Nagata）§ 在连续两次 PQgetResult 调用都失败的情况下， pgbench 可能报告错误的错误消息。", "title": "修复 pgbench 的多错误报告", "commits": ["29aabbc43"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "0a9a79db7f564ffb66c19c925af523af67d17b9ae6e9af66f58e3de70a75edce", "section_path": ["变更"], "commit_groups": [["19d4f9ffc", "29aabbc43", "36c4d30c8", "7d7e81d1e", "a912118c6", "bdccb6302", "cb21e1f92"]], "identity_text": "Fix pgbench's reporting of multiple errors (Yugo Nagata) In cases where two successive PQgetResult calls both fail, pgbench might report the wrong error message.", "commit_aliases": ["19d4f9ffc", "29aabbc43", "36c4d30c8", "7d7e81d1e", "a912118c6", "bdccb6302", "cb21e1f92"], "source_commits": ["29aabbc43"], "source_entry_id": "18.1/changes/045", "db_id": "1d96ae50e45c2122b3c99a80eb6187c3", "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604", "relations": [{"rule": 2, "type": "equivalent", "target": "66d73925f2523f78c99a3eab09ad1adf", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}, {"rule": 2, "type": "equivalent", "target": "89b980f6be2175b2b8c7c6d55f591881", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}, {"rule": 2, "type": "equivalent", "target": "a2a875aae536c9dfb223ec32572d4b63", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}, {"rule": 2, "type": "equivalent", "target": "ac7703f3c51d491b3572192678a5d998", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}, {"rule": 2, "type": "equivalent", "target": "e0ccdf500bb8f7ee5932c7d3db2e536e", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ac7703f3c51d491b3572192678a5d998", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=17.7#17.7-180d8349ffb479b3", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "66d73925f2523f78c99a3eab09ad1adf", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=16.11#16.11-3bb865abdd991c8c", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "e0ccdf500bb8f7ee5932c7d3db2e536e", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=15.15#15.15-0c7d8a673115c847", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "a2a875aae536c9dfb223ec32572d4b63", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=14.20#14.20-a5c54ee7ce6a4f00", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "89b980f6be2175b2b8c7c6d55f591881", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=13.23#13.23-7f805041aaf13b6f", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-b61a0464e2059730", "cves": [], "html": "<p>在 <span>pgbench</span> 中，修复流水线模式下关于错误的错误断言（Yugo Nagata）<a href=\"https://postgr.es/c/c736808e0\">§</a></p>", "text": "在 pgbench 中，修复流水线模式下关于错误的错误断言（Yugo Nagata）§", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "commits": ["c736808e0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "77b36d627e09dac6cd7488622db7fe44901325044109792211e10a5388426f46", "section_path": ["变更"], "commit_groups": [["704f51771", "8b2e290bd", "8bb174295", "c736808e0", "f39d9164b"]], "identity_text": "In pgbench, fix faulty assertion about errors in pipeline mode (Yugo Nagata)", "commit_aliases": ["704f51771", "8b2e290bd", "8bb174295", "c736808e0", "f39d9164b"], "source_commits": ["c736808e0"], "source_entry_id": "18.1/changes/046", "db_id": "43ed98fa322ca8711e3dbbd5e9dc0db8", "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9", "relations": [{"rule": 2, "type": "equivalent", "target": "8c4b9756ea8e54675c2636e769219add", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}}, {"rule": 2, "type": "equivalent", "target": "c29def4a30c507bcae5d3354625ab08e", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}}, {"rule": 2, "type": "equivalent", "target": "fd360afbc940d89de171ce1ab0838f25", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c29def4a30c507bcae5d3354625ab08e", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}, "url": "/docs/compare/?release=17.7#17.7-f15c7a567546a9d4", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "8c4b9756ea8e54675c2636e769219add", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}, "url": "/docs/compare/?release=16.11#16.11-d2c2780bf07f8053", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "fd360afbc940d89de171ce1ab0838f25", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}, "url": "/docs/compare/?release=15.15#15.15-1f69c654f8307395", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "18.1-e9df74682a19abe9", "cves": [], "html": "<p>修复 <span>pg_combinebackup</span> 中每个文件的内存泄漏（Tom Lane）<a href=\"https://postgr.es/c/e2072b47b\">§</a></p>", "text": "修复 pg_combinebackup 中每个文件的内存泄漏（Tom Lane）§", "title": "修复 pg_combinebackup 中每个文件的内存泄漏", "commits": ["e2072b47b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "4beb5cc1ed2c64b638cb70a8db3931edfbd458d919a6d4634c21202e7b74ec70", "section_path": ["变更"], "commit_groups": [["4eb6992af", "9224c3025", "e2072b47b"]], "identity_text": "Fix per-file memory leakage in pg_combinebackup (Tom Lane)", "commit_aliases": ["4eb6992af", "9224c3025", "e2072b47b"], "source_commits": ["e2072b47b"], "source_entry_id": "18.1/changes/047", "db_id": "7e8fa99b0b4955f6b3cb8bd43181225f", "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86", "relations": [{"rule": 2, "type": "equivalent", "target": "027928a265dc472699b9bfa81f7bcb4c", "evidence": {"same_day": true, "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "027928a265dc472699b9bfa81f7bcb4c", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 pg_combinebackup 中每个文件的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86"}, "url": "/docs/compare/?release=17.7#17.7-b1cf6e244790fd85", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}]}, {"id": "18.1-1f106ef831d50ecf", "cves": [], "html": "<p>确保 <code>contrib/pg_buffercache</code> 函数可以被取消（Satyanarayana Narlapuram，Yuhang Qiu）<a href=\"https://postgr.es/c/71aa2e114\">§</a> <a href=\"https://postgr.es/c/0beb7e933\">§</a></p>\n<p>某些代码路径能够长时间运行而不检查中断。</p>", "text": "确保 contrib/pg_buffercache 函数可以被取消（Satyanarayana Narlapuram，Yuhang Qiu）§ § 某些代码路径能够长时间运行而不检查中断。", "title": "确保 contrib/pg_buffercache 函数可以被取消", "commits": ["0beb7e933", "71aa2e114"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "c599c52708a4edefe8f956e7bf25970113653d3e96118a198d838931b6795ad9", "section_path": ["变更"], "commit_groups": [["0beb7e933", "79643105a", "7d8d36289", "815fcfb20", "b6090ed96", "eab9e4e27", "eb9ee4d18"], ["71aa2e114", "8ae0f6a0c"]], "identity_text": "Ensure that contrib/pg_buffercache functions can be canceled (Satyanarayana Narlapuram, Yuhang Qiu) Some code paths were capable of running for a long time without checking for interrupts.", "commit_aliases": ["0beb7e933", "71aa2e114", "79643105a", "7d8d36289", "815fcfb20", "8ae0f6a0c", "b6090ed96", "eab9e4e27", "eb9ee4d18"], "source_commits": ["0beb7e933", "71aa2e114"], "source_entry_id": "18.1/changes/048", "db_id": "23b0ca06794cbfef601b73e5a2401894", "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5", "relations": [{"rule": 2, "type": "equivalent", "target": "3caee2c365e58c61931cc0a6fb332c39", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}, {"rule": 2, "type": "equivalent", "target": "7400b4918533b966fb90032b2caf5c76", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}, {"rule": 2, "type": "equivalent", "target": "79d155685a49b3acf32f431174e9c679", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}, {"rule": 2, "type": "equivalent", "target": "b091d219fb5bea6297016707e7154f0e", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}, {"rule": 2, "type": "equivalent", "target": "ee81b22deb19121826702e15ee5489ea", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee81b22deb19121826702e15ee5489ea", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=17.7#17.7-f96cf4298c654962", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "3caee2c365e58c61931cc0a6fb332c39", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=16.11#16.11-0c0a61c7bcef9fe6", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "79d155685a49b3acf32f431174e9c679", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=15.15#15.15-b82ab8179ce6ffa2", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7400b4918533b966fb90032b2caf5c76", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=14.20#14.20-3713d982a4c25a06", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "b091d219fb5bea6297016707e7154f0e", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=13.23#13.23-2afa2a1778983a41", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-f8e1ff87a5a4083e", "cves": [], "html": "<p>修复 <code>contrib/pg_prewarm</code> 对索引的权限检查（Ayush Vatsa，Nathan Bossart）<a href=\"https://postgr.es/c/3ccf8e9ac\">§</a> <a href=\"https://postgr.es/c/c29d32d27\">§</a></p>\n<p><code>pg_prewarm()</code> 要求对要预热的关系具有 <code>SELECT</code> 权限。但由于索引没有自己的 SQL 权限，这导致非超级用户无法预热索引。改为检查索引所属表的 <code>SELECT</code> 权限。</p>", "text": "修复 contrib/pg_prewarm 对索引的权限检查（Ayush Vatsa，Nathan Bossart）§ § pg_prewarm() 要求对要预热的关系具有 SELECT 权限。但由于索引没有自己的 SQL 权限，这导致非超级用户无法预热索引。改为检查索引所属表的 SELECT 权限。", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "commits": ["3ccf8e9ac", "c29d32d27"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "186023c491be0cd6fbbca12661f6e4129cfda922dee5307de13c526e36051b90", "section_path": ["变更"], "commit_groups": [["19a64f567", "208927e65", "3ccf8e9ac", "6c03ae8d6", "a0551bc57", "f146eb45c", "fae0ce5e3"], ["c26a8eaf6", "c29d32d27", "d4e8c37cc", "da44d71e7"]], "identity_text": "Fix contrib/pg_prewarm's privilege checks for indexes (Ayush Vatsa, Nathan Bossart) pg_prewarm() requires SELECT privilege on relations to be prewarmed. However, since indexes have no SQL privileges of their own, this resulted in non-superusers being unable to prewarm indexes. Instead, check for SELECT privilege on the index's table.", "commit_aliases": ["19a64f567", "208927e65", "3ccf8e9ac", "6c03ae8d6", "a0551bc57", "c26a8eaf6", "c29d32d27", "d4e8c37cc", "da44d71e7", "f146eb45c", "fae0ce5e3"], "source_commits": ["3ccf8e9ac", "c29d32d27"], "source_entry_id": "18.1/changes/049", "db_id": "7129d623484df099235339952f193f4c", "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef", "relations": [{"rule": 2, "type": "equivalent", "target": "1d5915ef7928256380a928b89822c11e", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}}, {"rule": 2, "type": "equivalent", "target": "2c079e365c3426a6ab1ebdaac4390c79", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}}, {"rule": 2, "type": "equivalent", "target": "31eace56fdb35b76792ceb947abcef9f", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}}, {"rule": 2, "type": "equivalent", "target": "3560cbeb90a220549c8020a4c4e51a43", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}}, {"rule": 2, "type": "equivalent", "target": "a09e1c9f229a62cef60e445720a79b1c", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2c079e365c3426a6ab1ebdaac4390c79", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=17.7#17.7-56eb4d27523e9522", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "31eace56fdb35b76792ceb947abcef9f", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=16.11#16.11-83183d1755d62a81", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "1d5915ef7928256380a928b89822c11e", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=15.15#15.15-e8abdf46510773be", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "3560cbeb90a220549c8020a4c4e51a43", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=14.20#14.20-3c05d58cb93e93c6", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "a09e1c9f229a62cef60e445720a79b1c", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=13.23#13.23-bb299578f9dad51d", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-a7e88dbb0ea69eea", "cves": [], "html": "<p>在 <code>contrib/pg_stat_statements</code> 中，避免当 SQL 语句文本中的两个或多个常量被标记为同一位置时发生崩溃（Sami Imseih、Dmitry Dolgov）<a href=\"https://postgr.es/c/b1635c166\">§</a></p>", "text": "在 contrib/pg_stat_statements 中，避免当 SQL 语句文本中的两个或多个常量被标记为同一位置时发生崩溃（Sami Imseih、Dmitry Dolgov）§", "title": "在 contrib/pg_stat_statements 中，避免当 SQL 语句文本中的两个或多个常量被标记为同一位置时发生崩溃", "commits": ["b1635c166"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "e65713e607c506b7563eb27872a7beba8b3701ef14558d32ca8b3bac3df1388e", "section_path": ["变更"], "commit_groups": [["16edc1b94", "b1635c166"]], "identity_text": "In contrib/pg_stat_statements, avoid crash when two or more constants are marked as having the same location in the SQL statement text (Sami Imseih, Dmitry Dolgov)", "commit_aliases": ["16edc1b94", "b1635c166"], "source_commits": ["b1635c166"], "source_entry_id": "18.1/changes/050", "db_id": "a68f0a28f777789fc34dd952b7f61778", "patch_ids": ["c4d097e6702d0a18bda4d1a8bbc618cf"], "statement_hash": "1bddbef944aed8861f456de07c83405980becf4c45f4baebf912d6a5864ba3ca", "relations": [], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.1-e14a404bd57c041c", "cves": [], "html": "<p>使 <code>contrib/pgstattuple</code> 更健壮地处理空页面或无效索引页面（Nitin Motiani）<a href=\"https://postgr.es/c/fc295beb7\">§</a></p>\n<p>将全零页面计为空闲空间，并忽略根据页面特殊空间大小检查判定为无效的页面。B-树索引的代码已经将全零页面计为空闲空间，但 hash 和 gist 的代码会报告错误并退出，这被发现对用户不太友好。同样，使这三种情况在忽略损坏页面而非抛出错误方面保持一致。</p>", "text": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面（Nitin Motiani）§ 将全零页面计为空闲空间，并忽略根据页面特殊空间大小检查判定为无效的页面。B-树索引的代码已经将全零页面计为空闲空间，但 hash 和 gist 的代码会报告错误并退出，这被发现对用户不太友好。同样，使这三种情况在忽略损坏页面而非抛出错误方面保持一致。", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "commits": ["fc295beb7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "4a9c9202864842215eaa32a776e7fc7fc5d43dfb49b5a9dedc863dc9a43b240b", "section_path": ["变更"], "commit_groups": [["036decbba", "49b5f0b53", "684a745f5", "c0f9fe877", "c207bf473", "ee2dbcad0", "fc295beb7"]], "identity_text": "Make contrib/pgstattuple more robust about empty or invalid index pages (Nitin Motiani) Count all-zero pages as free space, and ignore pages that are invalid according to a check of the page's special-space size. The code for btree indexes already counted all-zero pages as free, but the hash and gist code would error out, which has been found to be much less user-friendly. Similarly, make all three cases agree on ignoring corrupted pages rather than throwing errors.", "commit_aliases": ["036decbba", "49b5f0b53", "684a745f5", "c0f9fe877", "c207bf473", "ee2dbcad0", "fc295beb7"], "source_commits": ["fc295beb7"], "source_entry_id": "18.1/changes/051", "db_id": "7cf5a3928b0125574395c382ed52c5b1", "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d", "relations": [{"rule": 2, "type": "equivalent", "target": "3be631a7028f49faa7a328c190d249c2", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}}, {"rule": 2, "type": "equivalent", "target": "a6ec20ccdb529fbc57070c204bf73a7c", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}}, {"rule": 2, "type": "equivalent", "target": "bd4e2931635023fef1578e6a6ef3185b", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}}, {"rule": 2, "type": "equivalent", "target": "dbdca19037730dda97abc3c0ca87e248", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}}, {"rule": 2, "type": "equivalent", "target": "e2d3ae73f7d42937b9fa7746740e86a5", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3be631a7028f49faa7a328c190d249c2", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=17.7#17.7-a0ddb7978278cea0", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "a6ec20ccdb529fbc57070c204bf73a7c", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=16.11#16.11-4975417d9448e20f", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "e2d3ae73f7d42937b9fa7746740e86a5", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=15.15#15.15-dc5d3ccafec57b41", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "dbdca19037730dda97abc3c0ca87e248", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=14.20#14.20-c4d40eb2b10eae53", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "bd4e2931635023fef1578e6a6ef3185b", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=13.23#13.23-12ea4dfe533f710f", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-01cf9fc9542209e8", "cves": [], "html": "<p>加固我们的读写屏障宏以满足 Clang 的要求（Thomas Munro）<a href=\"https://postgr.es/c/f8ccab0e9\">§</a></p>\n<p>我们假设 <code>__atomic_thread_fence()</code> 是防止 C 编译器在其周围重排内存访问的充分屏障，但似乎对于 Clang 来说并非如此，导致它至少为 RISC-V、MIPS 和 LoongArch 机器生成不正确的代码。添加显式编译器屏障来修复此问题。</p>", "text": "加固我们的读写屏障宏以满足 Clang 的要求（Thomas Munro）§ 我们假设 __atomic_thread_fence() 是防止 C 编译器在其周围重排内存访问的充分屏障，但似乎对于 Clang 来说并非如此，导致它至少为 RISC-V、MIPS 和 LoongArch 机器生成不正确的代码。添加显式编译器屏障来修复此问题。", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "commits": ["f8ccab0e9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "4858e02470ee3ab0e8252521f5fdbd4155778d06053de4dea4a59a9b54e4feee", "section_path": ["变更"], "commit_groups": [["03d9140cb", "1c7cba4c5", "2f76ffe5e", "77b5b2c6f", "c5d34f4a5", "d8ba910b0", "f8ccab0e9"]], "identity_text": "Harden our read and write barrier macros to satisfy Clang (Thomas Munro) We supposed that __atomic_thread_fence() is a sufficient barrier to prevent the C compiler from re-ordering memory accesses around it, but it appears that that's not true for Clang, allowing it to generate incorrect code for at least RISC-V, MIPS, and LoongArch machines. Add explicit compiler barriers to fix that.", "commit_aliases": ["03d9140cb", "1c7cba4c5", "2f76ffe5e", "77b5b2c6f", "c5d34f4a5", "d8ba910b0", "f8ccab0e9"], "source_commits": ["f8ccab0e9"], "source_entry_id": "18.1/changes/052", "db_id": "9973d17e573aa27107b7da92a46de435", "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f", "relations": [{"rule": 2, "type": "equivalent", "target": "0f40c60d2dbfd4f861d301a4bd773172", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}}, {"rule": 2, "type": "equivalent", "target": "1fe492cfff8c21a99fc7f4ba788cd84a", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}}, {"rule": 2, "type": "equivalent", "target": "b638f0acce8b684dfe425af564feddc5", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}}, {"rule": 2, "type": "equivalent", "target": "c4e42b13aa01ac375f66b2a5c94f5042", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}}, {"rule": 2, "type": "equivalent", "target": "e3b76d3ec7d1f519b67e8ae7478d0aaf", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}}], "version": "18.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e3b76d3ec7d1f519b67e8ae7478d0aaf", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=17.7#17.7-a358469faddcaf65", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "b638f0acce8b684dfe425af564feddc5", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=16.11#16.11-5eeead814be0846e", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "1fe492cfff8c21a99fc7f4ba788cd84a", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=15.15#15.15-82d836f7de563b25", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "0f40c60d2dbfd4f861d301a4bd773172", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=14.20#14.20-990f4af89a3a5329", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "c4e42b13aa01ac375f66b2a5c94f5042", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=13.23#13.23-389f6204c3092e7f", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "18.1-dd957d885d3cf6e3", "cves": [], "html": "<p>修复 PGXS 构建基础设施以支持为扩展构建 NLS <code>po</code> 文件（Ryo Matsumura）<a href=\"https://postgr.es/c/6aa04a60c\">§</a></p>", "text": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件（Ryo Matsumura）§", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "commits": ["6aa04a60c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES", "source_hash": "788d09ad30c1fc302c5b1c881bcefc6dce6b9624c52973e7f3b26f0de16d8600", "section_path": ["变更"], "commit_groups": [["33202cba8", "56cd332f8", "6aa04a60c", "6ad9378c9", "a506b0c0a", "a8933194e", "f768f5a7d"]], "identity_text": "Fix PGXS build infrastructure to support building NLS po files for extensions (Ryo Matsumura)", "commit_aliases": ["33202cba8", "56cd332f8", "6aa04a60c", "6ad9378c9", "a506b0c0a", "a8933194e", "f768f5a7d"], "source_commits": ["6aa04a60c"], "source_entry_id": "18.1/changes/053", "db_id": "d67ac864844bc85b56699c92c83fc1da", "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212", "relations": [{"rule": 2, "type": "equivalent", "target": "21f7ae374d258cb2db45f49e1739fb36", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}, {"rule": 2, "type": "equivalent", "target": "48d2bb2f625a9045a6c2a66786680255", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}, {"rule": 2, "type": "equivalent", "target": "711c7248f36605616eeeb824bcc65676", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}, {"rule": 2, "type": "equivalent", "target": "7316bd641f6446319509fd69461d044f", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}, {"rule": 2, "type": "equivalent", "target": "af5e130f17b3c07e10f7f34dc42b2531", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}], "version": "18.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "711c7248f36605616eeeb824bcc65676", "kind": "equivalent", "version": "17.7", "label": "17.7", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=17.7#17.7-5aeee6b10815f848", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES"}, {"db_id": "af5e130f17b3c07e10f7f34dc42b2531", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=16.11#16.11-d544a36b4bf61b26", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "48d2bb2f625a9045a6c2a66786680255", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=15.15#15.15-a6c2aa90b217412c", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "7316bd641f6446319509fd69461d044f", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=14.20#14.20-19fa9799ea217624", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "21f7ae374d258cb2db45f49e1739fb36", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=13.23#13.23-84d4f2ceac81de22", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}]}], "stats": [{"key": "all", "label": "全部变更", "count": 351}, {"key": "feature", "label": "新功能", "count": 0}, {"key": "bugfix", "label": "BUG 修复", "count": 170}, {"key": "security", "label": "安全相关", "count": 52}, {"key": "performance", "label": "性能改进", "count": 0}, {"key": "compatibility", "label": "兼容性变化", "count": 0}, {"key": "improvement", "label": "其他改进", "count": 129}], "total": 351, "cve_count": 46, "cves": [{"id": "CVE-2026-6637", "url": "https://www.postgresql.org/support/security/CVE-2026-6637/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 8.8, "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "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-2026-6637", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Stack buffer overflow in PostgreSQL module \"refint\" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a \"refint\" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6477", "url": "https://www.postgresql.org/support/security/CVE-2026-6477/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 8.8, "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6477", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \\lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6475", "url": "https://www.postgresql.org/support/security/CVE-2026-6475/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 8.8, "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6475", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries. Hence, the attack has practical implications only if one takes relevant action between these commands and server start, like moving the files to a different VM or snapshotting the VM. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6473", "url": "https://www.postgresql.org/support/security/CVE-2026-6473/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 8.8, "title": "修复内存分配计算中的多处整数溢出问题", "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-2026-6473", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-2006", "url": "https://www.postgresql.org/support/security/CVE-2026-2006/", "fixed": {"14": "14.21", "15": "15.16", "16": "16.12", "17": "17.8", "18": "18.2"}, "score": 8.8, "title": "修复多字节字符长度验证不充分的问题", "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-2026-2006", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-02-12", "15": "2026-02-12", "16": "2026-02-12", "17": "2026-02-12", "18": "2026-02-12"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.", "affected_ranges": [{"from": "0", "until": "14.21"}, {"from": "15", "until": "15.16"}, {"from": "16", "until": "16.12"}, {"from": "17", "until": "17.8"}, {"from": "18", "until": "18.2"}], "first_published": "2026-02-12", "fixed_version": "18.2", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-2005", "url": "https://www.postgresql.org/support/security/CVE-2026-2005/", "fixed": {"14": "14.21", "15": "15.16", "16": "16.12", "17": "17.8", "18": "18.2"}, "score": 8.8, "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "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-2026-2005", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-02-12", "15": "2026-02-12", "16": "2026-02-12", "17": "2026-02-12", "18": "2026-02-12"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.", "affected_ranges": [{"from": "0", "until": "14.21"}, {"from": "15", "until": "15.16"}, {"from": "16", "until": "16.12"}, {"from": "17", "until": "17.8"}, {"from": "18", "until": "18.2"}], "first_published": "2026-02-12", "fixed_version": "18.2", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-2004", "url": "https://www.postgresql.org/support/security/CVE-2026-2004/", "fixed": {"14": "14.21", "15": "15.16", "16": "16.12", "17": "17.8", "18": "18.2"}, "score": 8.8, "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "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-2026-2004", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-02-12", "15": "2026-02-12", "16": "2026-02-12", "17": "2026-02-12", "18": "2026-02-12"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.", "affected_ranges": [{"from": "0", "until": "14.21"}, {"from": "15", "until": "15.16"}, {"from": "16", "until": "16.12"}, {"from": "17", "until": "17.8"}, {"from": "18", "until": "18.2"}], "first_published": "2026-02-12", "fixed_version": "18.2", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-19385", "url": "https://www.postgresql.org/support/security/CVE-2026-19385/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "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-2026-19385", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL pg_dump of long function transform lists allows an object creator to execute arbitrary code as the operating system user running pg_dump, via a crafted transform list. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-18408", "url": "https://www.postgresql.org/support/security/CVE-2026-18408/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-18408", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql \\restrict meta-command input expansion. The fix for CVE-2025-8714 introduced \\restrict and \\unrestrict to block this attack, but \\unrestrict itself was sufficient for an attack. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. Non-core use of \\restrict would be affected, but we've not identified non-core use. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-16239", "url": "https://www.postgresql.org/support/security/CVE-2026-16239/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "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-2026-16239", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Type confusion in PostgreSQL \"portal\"/cursor lifecycle allows a user to execute arbitrary code as the operating system user running the database, via re-creation of a cursor or other portal with different types. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-16238", "url": "https://www.postgresql.org/support/security/CVE-2026-16238/", "fixed": {"18": "18.6"}, "score": 8.8, "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "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-2026-16238", "affected": {"18": "18"}, "component": "core server", "published": {"18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Type confusion in PostgreSQL pg_restore_attribute_stats() allows an object creator to execute arbitrary code as the operating system user running the database, via conflation of range and multirange values. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.", "affected_ranges": [{"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-15742", "url": "https://www.postgresql.org/support/security/CVE-2026-15742/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "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-2026-15742", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer wraparound in PostgreSQL fuzzystrmatch allows a user to direct writes to a huge range of addresses, executing arbitrary code as the operating system user running the database, via extreme inputs to SQL function levenshtein() or levenshtein_less_equal(). Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-15741", "url": "https://www.postgresql.org/support/security/CVE-2026-15741/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-15741", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "SQL injection in PostgreSQL EXTRACT() deparse allows an object owner to execute arbitrary SQL as a superuser via a hostile object definition. Attacks affect expression deparse consumers broadly, including pg_dump, psql commands like \\sf, and any similar usage in non-core tools. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14680", "url": "https://www.postgresql.org/support/security/CVE-2026-14680/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "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-2026-14680", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Type confusion with PostgreSQL \"internal\" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type \"internal\" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14677", "url": "https://www.postgresql.org/support/security/CVE-2026-14677/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "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-2026-14677", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer wraparound in PostgreSQL 32-bit builds of pltcl and plperl allows an object creator to cause the server to undersize an allocation and write out-of-bounds via crafted function bodies. This may execute arbitrary code as the operating system user running the database. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14676", "url": "https://www.postgresql.org/support/security/CVE-2026-14676/", "fixed": {"18": "18.6"}, "score": 8.8, "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "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-2026-14676", "affected": {"18": "18"}, "component": "contrib module", "published": {"18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.", "affected_ranges": [{"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14671", "url": "https://www.postgresql.org/support/security/CVE-2026-14671/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "移除 contrib/refint 中的计划缓存", "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-2026-14671", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Type confusion in PostgreSQL module \"refint\" allows an object creator to execute arbitrary code as the operating system user running the database. The fix for this emerged as a non-security bug report, and the fix appear in the git repository with subject \"refint: Remove plan cache.\", without a CVE number. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14670", "url": "https://www.postgresql.org/support/security/CVE-2026-14670/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护", "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-2026-14670", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL plperl return of a tied hash allows the function owner to execute arbitrary code as the operating system user running the database, via a crafted function body. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14669", "url": "https://www.postgresql.org/support/security/CVE-2026-14669/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "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-2026-14669", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL to_char(timestamptz) allows the party choosing the timezone to execute arbitrary code as the operating system user running the database, via a long POSIX timezone abbreviation. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14664", "url": "https://www.postgresql.org/support/security/CVE-2026-14664/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "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-2026-14664", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation. This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14662", "url": "https://www.postgresql.org/support/security/CVE-2026-14662/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.8, "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "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-2026-14662", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-2007", "url": "https://www.postgresql.org/support/security/CVE-2026-2007/", "fixed": {"18": "18.2"}, "score": 8.2, "title": "加固 contrib/pg_trgm，以应对字符串转小写行为的变化", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-2007", "affected": {"18": "18"}, "component": "contrib module", "published": {"18": "2026-02-12"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over the byte patterns to be written, but we have not ruled out the viability of attacks that lead to privilege escalation. PostgreSQL 18.1 and 18.0 are affected.", "affected_ranges": [{"from": "18", "until": "18.2"}], "first_published": "2026-02-12", "fixed_version": "18.2", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14679", "url": "https://www.postgresql.org/support/security/CVE-2026-14679/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.2, "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14679", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Stack buffer overflow in PostgreSQL argument name matching allows an object creator to achieve unknown impacts via OUT parameter count. The attack can write only 0x0 and 0x1 bytes. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6464", "url": "https://www.postgresql.org/support/security/CVE-2026-6464/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.1, "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "vector": "AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6464", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as psql commands, via error injection. If the \"COPY FROM STDIN\" or \"\\copy FROM STDIN\" command fails before the server indicates that it awaits input rows, psql processes the in-line data rows as psql commands. \"COPY FROM\" with a filename is unaffected. The server administrator has no inherent control over the data rows, so a complete attack requires the attacker to separately acquire control of both the server and the data rows. Alternatively, an attacker controlling data rows alone might complete an attack through a coincidental error that they don't control. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14668", "url": "https://www.postgresql.org/support/security/CVE-2026-14668/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 8.1, "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14668", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Type confusion regarding input of PostgreSQL ctid data type selectivity estimator allows an object creator to view a calculation derived from the value of an arbitrary 4-byte span of memory, via a chosen non-ctid input. While the calculation loses precision, substantial memory value recovery appears possible. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6479", "url": "https://www.postgresql.org/support/security/CVE-2026-6479/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 7.5, "title": "防止处理启动包时发生无界递归", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6479", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Uncontrolled recursion in PostgreSQL SSL and GSS negotiation allows an attacker able to connect to a PostgreSQL AF_UNIX socket to achieve sustained denial of service. If SSL and GSS are both disabled, an attacker can do the same via access to a PostgreSQL TCP socket. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6476", "url": "https://www.postgresql.org/support/security/CVE-2026-6476/", "fixed": {"17": "17.10", "18": "18.4"}, "score": 7.2, "title": "在 pg_createsubscriber 中正确为订阅名称加引号", "vector": "AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6476", "affected": {"17": "17", "18": "18"}, "component": "client", "published": {"17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pg_createsubscriber next runs. Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected. Versions before PostgreSQL 17 are unaffected.", "affected_ranges": [{"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6471", "url": "https://www.postgresql.org/support/security/CVE-2026-6471/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 7.2, "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "vector": "AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6471", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to dlopen any file visible to the operating system account running the server, via the choice of logical decoding plugin. This in turn runs arbitrary code as that account. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6478", "url": "https://www.postgresql.org/support/security/CVE-2026-6478/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 6.5, "title": "在认证代码中使用时序安全的字符串比较", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6478", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate. This does not affect scram-sha-256 passwords, the default in all supported releases. However, current databases may have MD5-hashed passwords originating in upgrades from PostgreSQL 13 or earlier. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14663", "url": "https://www.postgresql.org/support/security/CVE-2026-14663/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 6.5, "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14663", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Cleartext storage in PostgreSQL pgcrypto disabled ciphers allows a user to recover cleartext, via direct observation of the faulty ciphertext. The OpenSSL version and OpenSSL configuration determine the disabled ciphers. If the application accepts encrypted data as input, decryption will succeed even with the wrong key. This in turn loses the modest protection from the Modification Detection Code (MDC). Affected functions are pgp_sym_encrypt, pgp_sym_decrypt, pgp_pub_encrypt, pgp_pub_decrypt, pgp_sym_encrypt_bytea, pgp_sym_decrypt_bytea, pgp_pub_encrypt_bytea, and pgp_pub_decrypt_bytea. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-12818", "url": "https://www.postgresql.org/support/security/CVE-2025-12818/", "fixed": {"13": "13.23", "14": "14.20", "15": "15.15", "16": "16.11", "17": "17.7", "18": "18.1"}, "score": 5.9, "title": "避免 libpq 中分配大小计算的整数溢出", "vector": "AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2025-12818", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"13": "2025-11-13", "14": "2025-11-13", "15": "2025-11-13", "16": "2025-11-13", "17": "2025-11-13", "18": "2025-11-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.", "affected_ranges": [{"from": "0", "until": "13.23"}, {"from": "14", "until": "14.20"}, {"from": "15", "until": "15.15"}, {"from": "16", "until": "16.11"}, {"from": "17", "until": "17.7"}, {"from": "18", "until": "18.1"}], "first_published": "2025-11-13", "fixed_version": "18.1", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6472", "url": "https://www.postgresql.org/support/security/CVE-2026-6472/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 5.4, "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6472", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to find user-defined types, including extension-defined types. That is to say, the victim will execute arbitrary SQL functions of the attacker's choice. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14672", "url": "https://www.postgresql.org/support/security/CVE-2026-14672/", "fixed": {"16": "16.15", "17": "17.11", "18": "18.6"}, "score": 5.3, "title": "让模拟的 SCRAM secret 更可信", "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14672", "affected": {"16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Observable response discrepancy in PostgreSQL SCRAM authentication allows an unauthenticated user to test the existence of a user via observing the SCRAM iteration count. This requires the probed user to have a non-default scram_iterations count, because the authentication challenge for a nonexistent user reports the default scram_iterations. Within major versions 16-18, minor versions before PostgreSQL 18.6, 17.11, and 16.15 are affected. Versions before PostgreSQL 16 are unaffected.", "affected_ranges": [{"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6575", "url": "https://www.postgresql.org/support/security/CVE-2026-6575/", "fixed": {"18": "18.4"}, "score": 4.3, "title": "在恢复属性 MCV 统计信息时检测错误输入", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6575", "affected": {"18": "18"}, "component": "core server", "published": {"18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Buffer over-read in PostgreSQL function pg_restore_attribute_stats() accepts array values of unmatched length, which causes query planning to read past end of one array. This allows a table maintainer to infer memory values past that array end. Within major version 18, minor versions before PostgreSQL 18.4 are affected. Versions before PostgreSQL 18 are unaffected.", "affected_ranges": [{"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6474", "url": "https://www.postgresql.org/support/security/CVE-2026-6474/", "fixed": {"14": "14.23", "15": "15.18", "16": "16.14", "17": "17.10", "18": "18.4"}, "score": 4.3, "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6474", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-05-14", "15": "2026-05-14", "16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server memory, via crafted timezone zones. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.", "affected_ranges": [{"from": "0", "until": "14.23"}, {"from": "15", "until": "15.18"}, {"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6470", "url": "https://www.postgresql.org/support/security/CVE-2026-6470/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 4.3, "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6470", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against ALTER and DROP of the type, via creating a dependency on the type. Many DDL operations did check the privilege, but assigning a range subtype and referencing the type from an SQL expression did not. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-2003", "url": "https://www.postgresql.org/support/security/CVE-2026-2003/", "fixed": {"14": "14.21", "15": "15.16", "16": "16.12", "17": "17.8", "18": "18.2"}, "score": 4.3, "title": "防止 oidvector/int2vector 出现意外的维度", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-2003", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-02-12", "15": "2026-02-12", "16": "2026-02-12", "17": "2026-02-12", "18": "2026-02-12"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Improper validation of type \"oidvector\" in PostgreSQL allows a database user to disclose a few bytes of server memory. We have not ruled out viability of attacks that arrange for presence of confidential information in disclosed bytes, but they seem unlikely. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.", "affected_ranges": [{"from": "0", "until": "14.21"}, {"from": "15", "until": "15.16"}, {"from": "16", "until": "16.12"}, {"from": "17", "until": "17.8"}, {"from": "18", "until": "18.2"}], "first_published": "2026-02-12", "fixed_version": "18.2", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-18024", "url": "https://www.postgresql.org/support/security/CVE-2026-18024/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 4.3, "title": "增强 ascii() 函数对无效输入的防护", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-18024", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Buffer over-read in PostgreSQL ascii() SQL function allows a user to disclose up to 3 bytes after the end of a specific allocation, via a crafted text value. This is the same class of defect that CVE-2026-2006 fixed, though this instance has less impact. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14678", "url": "https://www.postgresql.org/support/security/CVE-2026-14678/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 4.3, "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14678", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "contrib module", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Buffer over-read in PostgreSQL pg_trgm index picksplit function reads past end of a heap buffer. This might allow a table maintainer to infer limited memory values, via the lossy signal of index split choices. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14681", "url": "https://www.postgresql.org/support/security/CVE-2026-14681/", "fixed": {"17": "17.11", "18": "18.6"}, "score": 4.2, "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "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-2026-14681", "affected": {"17": "17", "18": "18"}, "component": "core server", "published": {"17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Improper enforcement of message integrity in PostgreSQL GSSAPI support allows a user to negotiate GSSAPI contrary to pg_hba.conf rules, via initial direct TLS connection. Despite a pg_hba.conf that appears to require GSSAPI, the connection may exchange data over TLS encryption alone. If the TLS settings are more permissive than the GSS settings, the connection may continue with lesser protection. Within major versions 17-18, minor versions before PostgreSQL 18.6 and 17.11 are affected. Versions before PostgreSQL 17 are unaffected.", "affected_ranges": [{"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14666", "url": "https://www.postgresql.org/support/security/CVE-2026-14666/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 4.2, "title": "角色发生变更后使依赖角色的缓存计划失效", "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-2026-14666", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using cached row-level security policies after those changes require a different policy, via plan reuse. Stale policies continue until some other event invalidates the cache or connection termination ends the session. This permits a user to complete reads and modifications that were recently permitted but now forbidden. An attacker must tailor an attack to a particular application's pattern of privilege removal and role-specific row security policies. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6469", "url": "https://www.postgresql.org/support/security/CVE-2026-6469/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 3.8, "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "vector": "AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6469", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent statistics objects to the current user. This wrongly allows the table owner to run DROP STATISTICS and ALTER STATISTICS via this improper ownership. It wrongly denies those commands to the prior statistics object owner. DROP TABLE remains able to remove statistics objects, so this exploit achieves nothing in many ownership arrangements. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-16241", "url": "https://www.postgresql.org/support/security/CVE-2026-16241/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "17": "17.11", "18": "18.6"}, "score": 3.8, "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "vector": "AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-16241", "affected": {"14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "client", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "17": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Integer underflow in PostgreSQL ECPG allows a database server administrator to achieve temporary denial of service against the ECPG client via sending a bytea value lacking the mandatory prefix. The client overwrites a huge memory region with bytes outside attacker knowledge or control. This typically yields a simple SIGSEGV, but rare cases might achieve client-specific integrity impact via the write. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "17", "until": "17.11"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-14673", "url": "https://www.postgresql.org/support/security/CVE-2026-14673/", "fixed": {"14": "14.24", "15": "15.19", "16": "16.15", "18": "18.6"}, "score": 3.8, "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "vector": "AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-14673", "affected": {"14": "14", "15": "15", "16": "16", "18": "18"}, "component": "contrib module", "published": {"14": "2026-08-13", "15": "2026-08-13", "16": "2026-08-13", "18": "2026-08-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary functions as the owners of expression indexes that depend on the search path, via setting a hostile search path before calling the amcheck function. Within major versions 18, 16, 15, and 14, minor versions before PostgreSQL 18.6, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.", "affected_ranges": [{"from": "0", "until": "14.24"}, {"from": "15", "until": "15.19"}, {"from": "16", "until": "16.15"}, {"from": "18", "until": "18.6"}], "first_published": "2026-08-13", "fixed_version": "18.6", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2026-6638", "url": "https://www.postgresql.org/support/security/CVE-2026-6638/", "fixed": {"16": "16.14", "17": "17.10", "18": "18.4"}, "score": 3.7, "title": "在逻辑复制源检查中正确引用对象名称", "vector": "AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2026-6638", "affected": {"16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"16": "2026-05-14", "17": "2026-05-14", "18": "2026-05-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.", "affected_ranges": [{"from": "16", "until": "16.14"}, {"from": "17", "until": "17.10"}, {"from": "18", "until": "18.4"}], "first_published": "2026-05-14", "fixed_version": "18.4", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-12817", "url": "https://www.postgresql.org/support/security/CVE-2025-12817/", "fixed": {"13": "13.23", "14": "14.20", "15": "15.15", "16": "16.11", "17": "17.7", "18": "18.1"}, "score": 3.1, "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2025-12817", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17", "18": "18"}, "component": "core server", "published": {"13": "2025-11-13", "14": "2025-11-13", "15": "2025-11-13", "16": "2025-11-13", "17": "2025-11-13", "18": "2025-11-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against other CREATE STATISTICS users by creating in any schema. A later CREATE STATISTICS for the same name, from a user having the CREATE privilege, would then fail. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.", "affected_ranges": [{"from": "0", "until": "13.23"}, {"from": "14", "until": "14.20"}, {"from": "15", "until": "15.15"}, {"from": "16", "until": "16.11"}, {"from": "17", "until": "17.7"}, {"from": "18", "until": "18.1"}], "first_published": "2025-11-13", "fixed_version": "18.1", "severity": "低危", "status_label": "目标版本已修复"}], "cve_available": true, "security_regressions": [], "remaining_cves": [], "cross_major": false, "excluded_count": 0, "already_in_source_count": 0, "duplicate_count": 0, "candidate_count": 351, "exclusions": [], "history": {"source": ["9.0.0", "9.0.1", "9.0.2", "9.0.3", "9.0.4", "9.1.0", "9.1.1", "9.1.2", "9.1.3", "9.1.4", "9.1.5", "9.2.0", "9.2.1", "9.2.2", "9.2.3", "9.2.4", "9.3.0", "9.3.1", "9.3.2", "9.3.3", "9.3.4", "9.3.5", "9.4.0", "9.4.1", "9.4.2", "9.4.3", "9.4.4", "9.4.5", "9.5.0", "9.5.1", "9.5.2", "9.5.3", "9.5.4", "9.6.0", "9.6.1", "9.6.2", "9.6.3", "9.6.4", "9.6.5", "10.0", "10.1", "10.2", "10.3", "10.4", "10.5", "11.0", "11.1", "11.2", "11.3", "11.4", "11.5", "12.0", "12.1", "12.2", "12.3", "12.4", "13.0", "13.1", "13.2", "13.3", "13.4", "14.0", "14.1", "14.2", "14.3", "14.4", "14.5", "15.0", "15.1", "15.2", "15.3", "15.4", "16.0", "16.1", "16.2", "16.3", "16.4", "17.0", "17.1", "17.2", "17.3", "17.4", "17.5", "17.6", "18.0"], "target": ["9.0.0", "9.0.1", "9.0.2", "9.0.3", "9.0.4", "9.1.0", "9.1.1", "9.1.2", "9.1.3", "9.1.4", "9.1.5", "9.2.0", "9.2.1", "9.2.2", "9.2.3", "9.2.4", "9.3.0", "9.3.1", "9.3.2", "9.3.3", "9.3.4", "9.3.5", "9.4.0", "9.4.1", "9.4.2", "9.4.3", "9.4.4", "9.4.5", "9.5.0", "9.5.1", "9.5.2", "9.5.3", "9.5.4", "9.6.0", "9.6.1", "9.6.2", "9.6.3", "9.6.4", "9.6.5", "10.0", "10.1", "10.2", "10.3", "10.4", "10.5", "11.0", "11.1", "11.2", "11.3", "11.4", "11.5", "12.0", "12.1", "12.2", "12.3", "12.4", "13.0", "13.1", "13.2", "13.3", "13.4", "14.0", "14.1", "14.2", "14.3", "14.4", "14.5", "15.0", "15.1", "15.2", "15.3", "15.4", "16.0", "16.1", "16.2", "16.3", "16.4", "17.0", "17.1", "17.2", "17.3", "17.4", "17.5", "17.6", "18.0", "18.1", "18.2", "18.3", "18.4", "18.6"], "candidates": ["18.1", "18.2", "18.3", "18.4", "18.6"]}, "release_count": 5, "warnings": [], "source_as_of": "2026-09-26", "security_as_of": "2026-09-26"}