{"format": 1, "from_release": {"date": "2025-09-25", "build": "18.0", "major": "18", "minor": 0, "manual": "18", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "234b288e02de4cdd3a91187c5b2cb384221f0a5231c421a95b76bb9df9c1195f", "manual_build": "18.7", "source_as_of": "", "changes_count": 199, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "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": 415, "support_days": 1461}, "to_release": {"date": "2026-11-12", "build": "18.7", "major": "18", "minor": 7, "manual": "18", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "18.7", "eol_date": "2030-11-14", "date_text": "2026-11-12", "supported": true, "manual_url": "/docs/18/release-18-7.html", "source_url": "/docs/release/18.7/", "entry_count": 200, "placeholder": false, "content_hash": "0ae7d3b962bd4f58cc03cf3db09884136c695d0d0fd694cf4e5402724b0a1cc1", "manual_build": "18.7", "source_as_of": "", "changes_count": 200, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>\n    运行 18.X 的用户无需转储/恢复。\n   </p><p>\n    不过，已发现多个可能导致索引损坏的错误。请检查下面变更日志中提到 <code>REINDEX</code> 的条目，并重建任何可能受到影响的索引。\n   </p><p>\n    此外，由于发现了多种可能导致增量备份损坏的情况，不应再信任现有的增量备份文件。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。\n   </p><p>\n    另外，如果你是从早于 18.6 的版本升级，请参见<a href=\"/docs/18/release-18-6.html\" title=\"E.2. 发布版本 18.6\">第 E.2 节</a>。\n   </p>", "compatibility_count": 0, "label": "18.7", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 2, "support_days": 1461}, "groups": [{"date": "2026-11-12", "build": "18.7", "major": "18", "minor": 7, "manual": "18", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "18.7", "eol_date": "2030-11-14", "date_text": "2026-11-12", "supported": true, "manual_url": "/docs/18/release-18-7.html", "source_url": "/docs/release/18.7/", "entry_count": 200, "placeholder": false, "content_hash": "0ae7d3b962bd4f58cc03cf3db09884136c695d0d0fd694cf4e5402724b0a1cc1", "manual_build": "18.7", "source_as_of": "", "changes_count": 200, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>\n    运行 18.X 的用户无需转储/恢复。\n   </p><p>\n    不过，已发现多个可能导致索引损坏的错误。请检查下面变更日志中提到 <code>REINDEX</code> 的条目，并重建任何可能受到影响的索引。\n   </p><p>\n    此外，由于发现了多种可能导致增量备份损坏的情况，不应再信任现有的增量备份文件。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。\n   </p><p>\n    另外，如果你是从早于 18.6 的版本升级，请参见<a href=\"/docs/18/release-18-6.html\" title=\"E.2. 发布版本 18.6\">第 E.2 节</a>。\n   </p>", "compatibility_count": 0, "label": "18.7", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 2, "support_days": 1461, "entries": [{"id": "18.7-fd588a7dfb578fd6", "cves": ["CVE-2026-6460"], "html": "<p>\n      针对并发修改复合类型并操作该类型数据所引发的问题增加防护（Heikki Linnakangas，Andres Freund，Nathan Bossart，Nikhil Sontakke）<a href=\"https://postgr.es/c/afaff70f0\">§</a> <a href=\"https://postgr.es/c/692f4b3c4\">§</a> <a href=\"https://postgr.es/c/9ef1cd650\">§</a> <a href=\"https://postgr.es/c/9ddd897b3\">§</a> <a href=\"https://postgr.es/c/1bb9942e2\">§</a> <a href=\"https://postgr.es/c/bcc692493\">§</a> <a href=\"https://postgr.es/c/bb66a4e82\">§</a> <a href=\"https://postgr.es/c/05fc87f95\">§</a> <a href=\"https://postgr.es/c/d48d28c4b\">§</a> <a href=\"https://postgr.es/c/67d89bb22\">§</a> <a href=\"https://postgr.es/c/e72f4e91c\">§</a> <a href=\"https://postgr.es/c/5db4823d0\">§</a> <a href=\"https://postgr.es/c/26ff7cbd3\">§</a> <a href=\"https://postgr.es/c/fdbb7ffbb\">§</a> <a href=\"https://postgr.es/c/ff6d9deca\">§</a> <a href=\"https://postgr.es/c/7bc2d46d1\">§</a> <a href=\"https://postgr.es/c/dcb2ff56d\">§</a> <a href=\"https://postgr.es/c/7c32010ca\">§</a> <a href=\"https://postgr.es/c/da2cb6090\">§</a> <a href=\"https://postgr.es/c/8b1a2a8ac\">§</a> <a href=\"https://postgr.es/c/391884d5c\">§</a> <a href=\"https://postgr.es/c/edcd260d9\">§</a> <a href=\"https://postgr.es/c/d835dc88d\">§</a> <a href=\"https://postgr.es/c/cfdd09589\">§</a> <a href=\"https://postgr.es/c/5f0add5cf\">§</a> <a href=\"https://postgr.es/c/30d81a0ba\">§</a> <a href=\"https://postgr.es/c/edcc027ee\">§</a> <a href=\"https://postgr.es/c/412297476\">§</a>\n</p><p>\n<code>ALTER TABLE ... ALTER COLUMN TYPE</code> 等操作存在风险，因为系统中可能仍有采用旧行布局的元组。虽然我们早已加入一些检查来防范此类情况，但这些检查从未完全覆盖所有情况，而且完全无法检测在查询使用复合类型的同时修改该类型的情况。这一大批补丁旨在改善这些问题。\n     </p><p>\n      引入版本控制逻辑，以便检测复合 datum 与用于解释它们的元组描述符不匹配的情况。要获得完整保护，此项更改要求重新构建 C 语言扩展，有些扩展还需要修改源代码。必要时，可以使用新增的服务器参数 <code>composite_type_mismatch</code> 禁用这些检查，但这样做存在安全风险。\n     </p><p>\n      增加锁定，防止对尚未提交的 <code>CREATE TABLE</code> 所使用的复合类型执行 <code>ALTER TYPE</code> 等操作。\n     </p><p>\n      收紧复合类型存在依赖项时是否允许 <code>ALTER COLUMN TYPE</code> 的规则。例如，当函数的默认表达式或新式 SQL 函数体依赖该类型时，不再允许此操作。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Andrew Gierth, Alexander Lakhin, Francesco Verardi, Hcamael, Tomer Fichman, OpenAI Security Research Team, Peter Geoghegan, Mehmet Ince, Bryan Green, Sumedh Pathak, Sergey Shinderuk, Yuxiao Guo, Nikhil Sontakke, Daniel Bakker, the Anthropic OSS program, Claude and Ada Logics 报告此问题。（CVE-2026-6460）\n     </p>", "text": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护（Heikki Linnakangas，Andres Freund，Nathan Bossart，Nikhil Sontakke）§ § § § § § § § § § § § § § § § § § § § § § § § § § § § ALTER TABLE ... ALTER COLUMN TYPE 等操作存在风险，因为系统中可能仍有采用旧行布局的元组。虽然我们早已加入一些检查来防范此类情况，但这些检查从未完全覆盖所有情况，而且完全无法检测在查询使用复合类型的同时修改该类型的情况。这一大批补丁旨在改善这些问题。 引入版本控制逻辑，以便检测复合 datum 与用于解释它们的元组描述符不匹配的情况。要获得完整保护，此项更改要求重新构建 C 语言扩展，有些扩展还需要修改源代码。必要时，可以使用新增的服务器参数 composite_type_mismatch 禁用这些检查，但这样做存在安全风险。 增加锁定，防止对尚未提交的 CREATE TABLE 所使用的复合类型执行 ALTER TYPE 等操作。 收紧复合类型存在依赖项时是否允许 ALTER COLUMN TYPE 的规则。例如，当函数的默认表达式或新式 SQL 函数体依赖该类型时，不再允许此操作。 PostgreSQL 项目感谢 Andrew Gierth, Alexander Lakhin, Francesco Verardi, Hcamael, Tomer Fichman, OpenAI Security Research Team, Peter Geoghegan, Mehmet Ince, Bryan Green, Sumedh Pathak, Sergey Shinderuk, Yuxiao Guo, Nikhil Sontakke, Daniel Bakker, the Anthropic OSS program, Claude and Ada Logics 报告此问题。（CVE-2026-6460）", "title": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护", "commits": ["05fc87f95", "1bb9942e2", "26ff7cbd3", "30d81a0ba", "391884d5c", "412297476", "5db4823d0", "5f0add5cf", "67d89bb22", "692f4b3c4", "7bc2d46d1", "7c32010ca", "8b1a2a8ac", "9ddd897b3", "9ef1cd650", "afaff70f0", "bb66a4e82", "bcc692493", "cfdd09589", "d48d28c4b", "d835dc88d", "da2cb6090", "dcb2ff56d", "e72f4e91c", "edcc027ee", "edcd260d9", "fdbb7ffbb", "ff6d9deca"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "df7d53c5f85e6158c7c0fbd29229e88cc0fcb17acef74273e4f4b734c89f98e5", "section_path": ["变更"], "commit_groups": [["032544a39", "0b0f5c5af", "15cf82750", "1bb9942e2", "7d089b28c", "9d0efd64b", "e5c581cd4"], ["0453c5539", "17fc99f4e", "30d81a0ba", "3afe22bbc", "825e1bd41", "cb85ce77f", "d0b52be9b"], ["05283881a", "19db7bd09", "3b2286331", "7c32010ca", "8e5da6768", "dd0278aa3", "fe7810094"], ["05fc87f95", "3a98781ba", "62761302b", "6b093b461", "b65b69f2c", "dd097cae9", "e9e6af6ba"], ["0a10508be", "1e3b37da9", "882eb5025", "a407e940d", "b219eed24", "bcc692493", "e90dffb9e"], ["0c8ffa1ad", "1d74a4aaf", "245eb832f", "79ddf5bb8", "bcbcbd5a2", "c23382f0a", "cfdd09589"], ["0cba22849", "23a1d8825", "4a090c2a7", "61d0c57a6", "6e578eeb6", "8513bfaa2", "d48d28c4b"], ["0dcf804f2", "237847ddc", "510561c3f", "5b8f65da6", "d3d599625", "da2cb6090", "e874b2712"], ["0f86e57d6", "17a138be4", "7f8be5d19", "86e2e8fba", "97e0a9c4e", "db59ee006", "edcd260d9"], ["11658b4df", "163cb48ff", "1d1650e52", "2f5acf4fd", "3f2ff7ec7", "6c24b35e7", "9ef1cd650"], ["148fc8249", "4428c073a", "9ddd897b3", "b129f05ab", "e0765b6d5", "f02b46fef", "fbee8e90f"], ["1762f2e7c", "39e620324", "5024810ad", "ac460a144", "b019147c9", "e72f4e91c", "ece162bd7"], ["17a225d95", "3429a10d4", "37c733dd3", "83ec4accd", "b7b16664a", "ba6b37918", "fdbb7ffbb"], ["1c0c88109", "26ff7cbd3", "4993b83c5", "800e67351", "b4e703af0", "e00986934", "ea00db41c"], ["1fa8ddab4", "1ff5607e9", "4a4fffe35", "7e1aeaad3", "7fe0b6c8e", "b1ff3ce04", "bb66a4e82"], ["22762f03a", "31114b996", "6be4e665d", "afaff70f0", "bfcb6625e", "c67a4a24b", "d4f9b1c35"], ["2387f43ba", "2ce625266", "646a2ae1b", "7bc2d46d1", "bdef8fa63", "d5cf40e02", "dca6ff5dc"], ["3643ce425", "412297476", "7875e1ec6", "8d0db2258", "cc4434f15"], ["37218773e", "5968dfa67", "5f8d39154", "6d8d8438b", "9c5f9a41d", "edcc027ee"], ["391884d5c", "3b2c73d0e", "8b5f46bf0", "d9373e992", "e7f11a295", "eb64484eb", "ed121a1a4"], ["3964f037d", "4b7a4c2c9", "7209daf61", "813d92afc", "bcaef7edb", "d835dc88d", "deebcc772"], ["3d855ce1a", "5ce00ae09", "8b1a2a8ac", "c920299ce", "cfe611199", "e8f50a412", "f397e0ae3"], ["3dc90fdf6", "b6b14f642"], ["3e8bb75c8", "3ee30c1dc", "692f4b3c4", "7575d08c6", "8587d949f", "9528f2f31", "f70f28fec"], ["434594e74", "5f0add5cf", "6b48cb76d", "788915adf", "9f6302533", "a3caa6230", "a4ba2720b"], ["4744b0148", "67d89bb22", "74681445e", "d054d0f6e", "f234ae72b", "f3cef207b", "fbd9f77ec"], ["54568e4d8", "726ef27b8", "98e9001cf", "b600a62f2", "bd5d3e2df", "dcb2ff56d", "f7dcd99b9"], ["5da4d4b1b", "af5f25e7b", "b94b7254f", "ecdfe0307", "f36ac883c", "f5782736c", "ff6d9deca"], ["5db4823d0", "8490bd80e", "bed004f15", "cf3fcd765", "d4f8c3e15", "d98d99ba1", "f32e9d5b4"]], "identity_text": "Add defenses against problems caused by altering composite types concurrently with operations on data of those types (Heikki Linnakangas, Andres Freund, Nathan Bossart, Nikhil Sontakke) Operations such as ALTER TABLE ... ALTER COLUMN TYPE are hazardous because tuples of the older row layout may still exist in the system. While we have long had some checks to defend against that, they were never really complete, and they entirely failed to detect cases where composite types were changed concurrently with queries using them. This voluminous set of patches attempts to improve that. Introduce versioning logic to permit detection of composite datums that don't match the tuple descriptor we wish to interpret them with. For full protection, this change requires rebuilding C-language extensions, and there are some extensions that will require source-code changes. If necessary, the new composite_type_mismatch server parameter can be used to disable these checks, but doing so carries security risks. Add locking to prevent cases such as ALTER TYPE on a composite type used in a CREATE TABLE that hasn't committed yet. Tighten the rules about whether ALTER COLUMN TYPE is allowed when dependencies exist on the composite type. For example, it's no longer allowed when a function's default expression or new-style SQL function body depends on the type. The PostgreSQL Project thanks Andrew Gierth, Alexander Lakhin, Francesco Verardi, Hcamael, Tomer Fichman, OpenAI Security Research Team, Peter Geoghegan, Mehmet Ince, Bryan Green, Sumedh Pathak, Sergey Shinderuk, Yuxiao Guo, Nikhil Sontakke, Daniel Bakker, the Anthropic OSS program, Claude and Ada Logics for reporting this problem. (CVE-2026-6460)", "commit_aliases": ["032544a39", "0453c5539", "05283881a", "05fc87f95", "0a10508be", "0b0f5c5af", "0c8ffa1ad", "0cba22849", "0dcf804f2", "0f86e57d6", "11658b4df", "148fc8249", "15cf82750", "163cb48ff", "1762f2e7c", "17a138be4", "17a225d95", "17fc99f4e", "19db7bd09", "1bb9942e2", "1c0c88109", "1d1650e52", "1d74a4aaf", "1e3b37da9", "1fa8ddab4", "1ff5607e9", "22762f03a", "237847ddc", "2387f43ba", "23a1d8825", "245eb832f", "26ff7cbd3", "2ce625266", "2f5acf4fd", "30d81a0ba", "31114b996", "3429a10d4", "3643ce425", "37218773e", "37c733dd3", "391884d5c", "3964f037d", "39e620324", "3a98781ba", "3afe22bbc", "3b2286331", "3b2c73d0e", "3d855ce1a", "3dc90fdf6", "3e8bb75c8", "3ee30c1dc", "3f2ff7ec7", "412297476", "434594e74", "4428c073a", "4744b0148", "4993b83c5", "4a090c2a7", "4a4fffe35", "4b7a4c2c9", "5024810ad", "510561c3f", "54568e4d8", "5968dfa67", "5b8f65da6", "5ce00ae09", "5da4d4b1b", "5db4823d0", "5f0add5cf", "5f8d39154", "61d0c57a6", "62761302b", "646a2ae1b", "67d89bb22", "692f4b3c4", "6b093b461", "6b48cb76d", "6be4e665d", "6c24b35e7", "6d8d8438b", "6e578eeb6", "7209daf61", "726ef27b8", "74681445e", "7575d08c6", "7875e1ec6", "788915adf", "79ddf5bb8", "7bc2d46d1", "7c32010ca", "7d089b28c", "7e1aeaad3", "7f8be5d19", "7fe0b6c8e", "800e67351", "813d92afc", "825e1bd41", "83ec4accd", "8490bd80e", "8513bfaa2", "8587d949f", "86e2e8fba", "882eb5025", "8b1a2a8ac", "8b5f46bf0", "8d0db2258", "8e5da6768", "9528f2f31", "97e0a9c4e", "98e9001cf", "9c5f9a41d", "9d0efd64b", "9ddd897b3", "9ef1cd650", "9f6302533", "a3caa6230", "a407e940d", "a4ba2720b", "ac460a144", "af5f25e7b", "afaff70f0", "b019147c9", "b129f05ab", "b1ff3ce04", "b219eed24", "b4e703af0", "b600a62f2", "b65b69f2c", "b6b14f642", "b7b16664a", "b94b7254f", "ba6b37918", "bb66a4e82", "bcaef7edb", "bcbcbd5a2", "bcc692493", "bd5d3e2df", "bdef8fa63", "bed004f15", "bfcb6625e", "c23382f0a", "c67a4a24b", "c920299ce", "cb85ce77f", "cc4434f15", "cf3fcd765", "cfdd09589", "cfe611199", "d054d0f6e", "d0b52be9b", "d3d599625", "d48d28c4b", "d4f8c3e15", "d4f9b1c35", "d5cf40e02", "d835dc88d", "d9373e992", "d98d99ba1", "da2cb6090", "db59ee006", "dca6ff5dc", "dcb2ff56d", "dd0278aa3", "dd097cae9", "deebcc772", "e00986934", "e0765b6d5", "e5c581cd4", "e72f4e91c", "e7f11a295", "e874b2712", "e8f50a412", "e90dffb9e", "e9e6af6ba", "ea00db41c", "eb64484eb", "ecdfe0307", "ece162bd7", "ed121a1a4", "edcc027ee", "edcd260d9", "f02b46fef", "f234ae72b", "f32e9d5b4", "f36ac883c", "f397e0ae3", "f3cef207b", "f5782736c", "f70f28fec", "f7dcd99b9", "fbd9f77ec", "fbee8e90f", "fdbb7ffbb", "fe7810094", "ff6d9deca"], "source_commits": ["05fc87f95", "1bb9942e2", "26ff7cbd3", "30d81a0ba", "391884d5c", "412297476", "5db4823d0", "5f0add5cf", "67d89bb22", "692f4b3c4", "7bc2d46d1", "7c32010ca", "8b1a2a8ac", "9ddd897b3", "9ef1cd650", "afaff70f0", "b6b14f642", "bb66a4e82", "bcc692493", "cfdd09589", "d48d28c4b", "d835dc88d", "da2cb6090", "dcb2ff56d", "e72f4e91c", "edcc027ee", "edcd260d9", "fdbb7ffbb", "ff6d9deca"], "source_entry_id": "18.7/changes/001", "db_id": "f5b442bca78c719fdfca17a4ef32bf2b", "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248", "relations": [{"rule": 2, "type": "equivalent", "target": "2e9fb0cc45c8a924f8fc1c346f33e38b", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}}, {"rule": 2, "type": "equivalent", "target": "2f1162d53debed7c3e6a8a2f62196f09", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}}, {"rule": 2, "type": "equivalent", "target": "5d051dbff93fafcb99ccd4ac94df84bc", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}}, {"rule": 2, "type": "equivalent", "target": "f40fed7b4dad0183e1050714fe4fc24e", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e9fb0cc45c8a924f8fc1c346f33e38b", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}, "url": "/docs/compare/?release=17.12#17.12-347d6b1cc9fbbaed", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "5d051dbff93fafcb99ccd4ac94df84bc", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}, "url": "/docs/compare/?release=16.16#16.16-9572af839ffd75e3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "f40fed7b4dad0183e1050714fe4fc24e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}, "url": "/docs/compare/?release=15.20#15.20-f5258dc9ececf1b3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "2f1162d53debed7c3e6a8a2f62196f09", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "针对并发修改复合类型并操作该类型数据所引发的问题增加防护", "evidence": {"same_day": true, "patch_ids": ["00489a9021e0f242631c28c32d22213b", "0aa6d9fb5e3d38c6b57093a684540dbe", "1e6b81acab1bf7c29b4ab638e2f37d51", "206912e097af946de33793740b89c0df", "23abe0471f6a63d5b0169409decda553", "2e9eb12016bc2975a9488f4580235c25", "3005d7893d49a6953857902ebe828a45", "517b2a72232c1edffa2106b653290527", "5226d4393e4584b29d0450cf7693b94d", "5f6e13930caea64f75c8b6db7852c34c", "5fb0f50432fbf8491caed0cc3496f514", "7934930b10a6c5e6968fe51710a49543", "8a6bbf61eb3247698f3e7909f089d06e", "991812d82165e9fbd182c805f40e3350", "9c901b5555a8b62752d05c576e17681c", "af7390bd0fd87ca99dbd52d52ad0def9", "b02ae79bf468ee817f16a7572cc306a1", "b37f9c7b1f167b00a8d18d7d34c536a4", "b7851c6ad36d16a8b8e1f19c82948a91", "b7dde0bcc350b5e7db08548f523974a5", "baeb39eb3d266c6c30142e174b79385d", "bf9e49e0a2eda4c5ff829123a46b58f9", "c2d39145845eab927230af0f5c765267", "c6774616dea7e031ebbbbff8cb9d7327", "e7245fbd9bbdfabe890ff8d72e05d1ae", "e7f47374c6d52bb65633daa28461d3a7", "e97ed03617205b5ceaf353af02efe2c5", "f854db2de0c76bc6fb7f495658d46d38", "f8a1ad4d20614788a19658ccb5cc8822"], "statement_hash": "319a245df2a60c0308d1e88756c8ac0323930001e9f6a259698e08ed05e95248"}, "url": "/docs/compare/?release=14.25#14.25-b1030c22a1eaf6ea", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-2e1cd41b0a821b19", "cves": ["CVE-2026-116306"], "html": "<p>\n      在 <code>ExecEvalFieldStore[De]Form()</code> 中处理并发的行类型变更（Tomas Vondra，Heikki Linnakangas）<a href=\"https://postgr.es/c/4ccea70a1\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 OpenAI Codex Security, Bronson Yen, Mehmet Ince, Claude and Ada Logics 报告此问题。（CVE-2026-116306）\n     </p>", "text": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更（Tomas Vondra，Heikki Linnakangas）§ PostgreSQL 项目感谢 OpenAI Codex Security, Bronson Yen, Mehmet Ince, Claude and Ada Logics 报告此问题。（CVE-2026-116306）", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "commits": ["4ccea70a1"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a833bc1ee70c182cf711efc774e090c2132f42590159eb1685b5540a1603b684", "section_path": ["变更"], "commit_groups": [["02ca67429", "2ac7e6e8a", "357a99a4d", "3beee6e77", "4ccea70a1", "71c8a6ac4", "e8f249272"]], "identity_text": "Cope with concurrent rowtype changes in ExecEvalFieldStore[De]Form() (Tomas Vondra, Heikki Linnakangas) The PostgreSQL Project thanks OpenAI Codex Security, Bronson Yen, Mehmet Ince, Claude and Ada Logics for reporting this problem. (CVE-2026-116306)", "commit_aliases": ["02ca67429", "2ac7e6e8a", "357a99a4d", "3beee6e77", "4ccea70a1", "71c8a6ac4", "e8f249272"], "source_commits": ["4ccea70a1"], "source_entry_id": "18.7/changes/002", "db_id": "212f1b56a0826a6ab9d5e4302e237171", "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e", "relations": [{"rule": 2, "type": "equivalent", "target": "63a1cd2c9d484f1dd0668b3c537eb533", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}}, {"rule": 2, "type": "equivalent", "target": "a376ee5dccd093bcccd99616a1e6538b", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}}, {"rule": 2, "type": "equivalent", "target": "a83ed727e349aaed64e64c79276c9dec", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}}, {"rule": 2, "type": "equivalent", "target": "e451a924dc2d6264fcfb36c4614464d3", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "63a1cd2c9d484f1dd0668b3c537eb533", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}, "url": "/docs/compare/?release=17.12#17.12-b04cc63da38f1cd0", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a376ee5dccd093bcccd99616a1e6538b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}, "url": "/docs/compare/?release=16.16#16.16-1a4472c50f70021b", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e451a924dc2d6264fcfb36c4614464d3", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}, "url": "/docs/compare/?release=15.20#15.20-8b91f24b934f58f6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "a83ed727e349aaed64e64c79276c9dec", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}, "url": "/docs/compare/?release=14.25#14.25-51a4c0e43270c4ae", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-0ceb705f99f0a643", "cves": ["CVE-2026-116329"], "html": "<p>\n      防止统计信息导入函数运行期间表被恶意修改（Masahiko Sawada）<a href=\"https://postgr.es/c/780900dcf\">§</a>\n</p><p>\n      此前可能存入已与表不匹配的统计信息，导致后续崩溃或其他问题。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Mehmet Ince 报告此问题。（CVE-2026-116329）\n     </p>", "text": "防止统计信息导入函数运行期间表被恶意修改（Masahiko Sawada）§ 此前可能存入已与表不匹配的统计信息，导致后续崩溃或其他问题。 PostgreSQL 项目感谢 Mehmet Ince 报告此问题。（CVE-2026-116329）", "title": "防止统计信息导入函数运行期间表被恶意修改", "commits": ["780900dcf"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6aa56a80012b11427452d4f15c7544b8d5e9cddb31b6a34ecacf662a1a777edd", "section_path": ["变更"], "commit_groups": [["780900dcf", "d41c9fad0", "ee7c8f051"]], "identity_text": "Guard against malicious alteration of a table while a statistics import function is running on it (Masahiko Sawada) Previously it was possible to store statistics that no longer match the table, leading to crashes or other problems later. The PostgreSQL Project thanks Mehmet Ince for reporting this problem. (CVE-2026-116329)", "commit_aliases": ["780900dcf", "d41c9fad0", "ee7c8f051"], "source_commits": ["780900dcf"], "source_entry_id": "18.7/changes/003", "db_id": "06c6240cf214d855069ea20a7f22a906", "patch_ids": ["1191d898f4189c33af2a36887d443552"], "statement_hash": "51ba47323225b3b2a8fd770199364bf8cafbdc666265e8a49dce9c04d546912c", "relations": [], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-c70ee4ad57d9a5ba", "cves": ["CVE-2026-16237"], "html": "<p>\n      在 <code>INSERT ... ON CONFLICT</code> 中强制检查视图行的可见性（Peter Geoghegan，Zsolt Parragi）<a href=\"https://postgr.es/c/a244ef271\">§</a>\n</p><p>\n      对视图执行 <code>INSERT ... ON CONFLICT DO UPDATE</code> 时，可能更新本应被视图的 <code>WHERE</code> 子句隐藏的行。虽然文档说明了这一行为，但它显然出乎意料，而且会引发安全问题：用户可以更新其本不应有权访问的行。更新不正确，而插入也不可能（会因用于判定冲突的唯一索引而失败），因此现在遇到这种情况时改为报错。<code>INSERT ... ON CONFLICT DO SELECT</code> 此前也可能显示此类行，现在不再如此。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Qing Xu, Carl Andersen, Zsolt Parragi, the Anthropic OSS program, Shihao Zhong, and Josef Šimánek 报告此问题。（CVE-2026-16237）\n     </p>", "text": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性（Peter Geoghegan，Zsolt Parragi）§ 对视图执行 INSERT ... ON CONFLICT DO UPDATE 时，可能更新本应被视图的 WHERE 子句隐藏的行。虽然文档说明了这一行为，但它显然出乎意料，而且会引发安全问题：用户可以更新其本不应有权访问的行。更新不正确，而插入也不可能（会因用于判定冲突的唯一索引而失败），因此现在遇到这种情况时改为报错。INSERT ... ON CONFLICT DO SELECT 此前也可能显示此类行，现在不再如此。 PostgreSQL 项目感谢 Qing Xu, Carl Andersen, Zsolt Parragi, the Anthropic OSS program, Shihao Zhong, and Josef Šimánek 报告此问题。（CVE-2026-16237）", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "commits": ["a244ef271"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "14972af0f65efcf48535637df9961e228be64bffae24586fc2f65cd9f51cdd71", "section_path": ["变更"], "commit_groups": [["253252429", "315c4e4e8", "4167810cf", "629f54970", "8bbd75721", "a14aacebe", "a244ef271"]], "identity_text": "Enforce view row visibility in INSERT ... ON CONFLICT (Peter Geoghegan, Zsolt Parragi) When applied to a view, INSERT ... ON CONFLICT DO UPDATE could update rows that should be hidden by the view's WHERE clause. Although it was documented, this behavior is surely unexpected, and it gives rise to security problems: a user can update rows he should have no privilege to reach. Updating is incorrect, but inserting is impossible too (it would fail due to the unique arbiter index), so throw an error instead when the case arises. INSERT ... ON CONFLICT DO SELECT could show such rows as well, but no longer does. The PostgreSQL Project thanks Qing Xu, Carl Andersen, Zsolt Parragi, the Anthropic OSS program, Shihao Zhong, and Josef Šimánek for reporting this problem. (CVE-2026-16237)", "commit_aliases": ["253252429", "315c4e4e8", "4167810cf", "629f54970", "8bbd75721", "a14aacebe", "a244ef271"], "source_commits": ["a244ef271"], "source_entry_id": "18.7/changes/004", "db_id": "510f61965d3ebc5dc2cfac2ef0cf4c00", "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842", "relations": [{"rule": 2, "type": "equivalent", "target": "1d5e0c898709be281f25b1ec12d300da", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}}, {"rule": 2, "type": "equivalent", "target": "346dfe49ba2cb3d40d7cbbd3549701e9", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}}, {"rule": 2, "type": "equivalent", "target": "4452a7d9ecd4dc741e40dd0944d0d8a4", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}}, {"rule": 2, "type": "equivalent", "target": "cc17d01337c97d0a6e9de322da1b6e47", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "346dfe49ba2cb3d40d7cbbd3549701e9", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}, "url": "/docs/compare/?release=17.12#17.12-474f98a112cd2c8c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "cc17d01337c97d0a6e9de322da1b6e47", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}, "url": "/docs/compare/?release=16.16#16.16-47932ffae6588281", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "1d5e0c898709be281f25b1ec12d300da", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}, "url": "/docs/compare/?release=15.20#15.20-76c41f909339943e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "4452a7d9ecd4dc741e40dd0944d0d8a4", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}, "url": "/docs/compare/?release=14.25#14.25-374d9cef913b5d44", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-91e0ff2a1180965e", "cves": ["CVE-2026-120146"], "html": "<p>\n      使 <code>REASSIGN OWNED</code> 对调用者权限的检查与 <code>ALTER ... OWNER TO</code> 一致（Zsolt Parragi）<a href=\"https://postgr.es/c/ea228688e\">§</a>\n</p><p>\n      从 v16 起，将对象交给另一个角色要求能够 <code>SET ROLE</code> 到该角色。然而，被授予 <code>INHERIT TRUE, SET FALSE</code> 的角色可以通过 <code>REASSIGN OWNED</code> 绕过此要求。被授予 <code>INHERIT FALSE, SET TRUE</code> 的角色则遇到相反的问题：<code>REASSIGN OWNED</code> 失败，而 <code>ALTER OWNER</code> 成功。现在让 <code>REASSIGN</code> 遵循 <code>ALTER OWNER</code> 的规则。\n     </p><p>\n<code>REASSIGN OWNED</code> 还绕过了 <code>ALTER DATABASE OWNER</code> 中的 <code>CREATEDB</code> 权限检查。\n     </p><p>\n      在 v15 和 v14 中，<code>REASSIGN OWNED</code> 的权限检查比 <code>ALTER OWNER</code> 中的成员资格检查更严格。这一点保持不变，但仍修复缺失的 <code>CREATEDB</code> 检查。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Zsolt Parragi 报告此问题。（CVE-2026-120146）\n     </p>", "text": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致（Zsolt Parragi）§ 从 v16 起，将对象交给另一个角色要求能够 SET ROLE 到该角色。然而，被授予 INHERIT TRUE, SET FALSE 的角色可以通过 REASSIGN OWNED 绕过此要求。被授予 INHERIT FALSE, SET TRUE 的角色则遇到相反的问题：REASSIGN OWNED 失败，而 ALTER OWNER 成功。现在让 REASSIGN 遵循 ALTER OWNER 的规则。 REASSIGN OWNED 还绕过了 ALTER DATABASE OWNER 中的 CREATEDB 权限检查。 在 v15 和 v14 中，REASSIGN OWNED 的权限检查比 ALTER OWNER 中的成员资格检查更严格。这一点保持不变，但仍修复缺失的 CREATEDB 检查。 PostgreSQL 项目感谢 Zsolt Parragi 报告此问题。（CVE-2026-120146）", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "commits": ["ea228688e"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "137ec5072ff5f10571407d5db5121d5b5591344e4f5d4f212655bd1976e006d0", "section_path": ["变更"], "commit_groups": [["0b8d1768f", "5b6f8c974", "98ec97f67", "b2f1afd9f", "b83eab069", "dbc8a36d7", "ea228688e"]], "identity_text": "Align REASSIGN OWNED's caller-privilege checks with ALTER ... OWNER TO's checks (Zsolt Parragi) Since v16, giving an object to another role requires the ability to SET ROLE to that role. However, a role granted INHERIT TRUE, SET FALSE could bypass that via REASSIGN OWNED. A role granted INHERIT FALSE, SET TRUE saw the inverse problem: REASSIGN OWNED failed while ALTER OWNER succeeded. Make REASSIGN follow the ALTER OWNER rules. REASSIGN OWNED also bypassed the CREATEDB privilege check in ALTER DATABASE OWNER. In v15 and v14, REASSIGN OWNED's privilege check is stricter than the membership checks in ALTER OWNER. Leave that alone, but still fix the missing CREATEDB check. The PostgreSQL Project thanks Zsolt Parragi for reporting this problem. (CVE-2026-120146)", "commit_aliases": ["0b8d1768f", "5b6f8c974", "98ec97f67", "b2f1afd9f", "b83eab069", "dbc8a36d7", "ea228688e"], "source_commits": ["ea228688e"], "source_entry_id": "18.7/changes/005", "db_id": "c0e795b435c841197747b911ba816792", "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df", "relations": [{"rule": 2, "type": "equivalent", "target": "263cbf99c7a7cbfdbb23d8a70736d8ca", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}}, {"rule": 2, "type": "equivalent", "target": "32cadaa625f1d43a10e021ccaa583dbf", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}}, {"rule": 2, "type": "equivalent", "target": "897524c4481646640922f4f9176d1df0", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}}, {"rule": 2, "type": "equivalent", "target": "89c23915c4652284d594014f939046f0", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "263cbf99c7a7cbfdbb23d8a70736d8ca", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}, "url": "/docs/compare/?release=17.12#17.12-3063a12b17d8beab", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "89c23915c4652284d594014f939046f0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}, "url": "/docs/compare/?release=16.16#16.16-4766df41539bc105", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "897524c4481646640922f4f9176d1df0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}, "url": "/docs/compare/?release=15.20#15.20-77c1679bbae88949", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "32cadaa625f1d43a10e021ccaa583dbf", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}, "url": "/docs/compare/?release=14.25#14.25-b60c58a5eb9840d7", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-3c7dad2643445518", "cves": ["CVE-2026-116310"], "html": "<p>\n      修复 <code>COPY FROM ON_ERROR</code> 报告中释放后使用内存的问题（Masahiko Sawada）<a href=\"https://postgr.es/c/8d9f203b8\">§</a>\n</p><p>\n<code>COPY FROM</code> 中产生的错误报告可能泄露服务器内存。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Jiyong Ahn, Claude and Ada Logics 报告此问题。（CVE-2026-116310）\n     </p>", "text": "修复 COPY FROM ON_ERROR 报告中释放后使用内存的问题（Masahiko Sawada）§ COPY FROM 中产生的错误报告可能泄露服务器内存。 PostgreSQL 项目感谢 Jiyong Ahn, Claude and Ada Logics 报告此问题。（CVE-2026-116310）", "title": "修复 COPY FROM ON_ERROR 报告中释放后使用内存的问题", "commits": ["8d9f203b8"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "104b6907dc460a78740608b394dd026ab6066d40978953d6160368109d844170", "section_path": ["变更"], "commit_groups": [["3094cdb7d", "4d93c0384", "8b3babb6e", "8d9f203b8"]], "identity_text": "Fix use-after-free in COPY FROM ON_ERROR reporting (Masahiko Sawada) An error report raised in COPY FROM could disclose server memory. The PostgreSQL Project thanks Jiyong Ahn, Claude and Ada Logics for reporting this problem. (CVE-2026-116310)", "commit_aliases": ["3094cdb7d", "4d93c0384", "8b3babb6e", "8d9f203b8"], "source_commits": ["8d9f203b8"], "source_entry_id": "18.7/changes/006", "db_id": "8bd60fb3b3c88f5e4566f0ce3f3e4e33", "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58", "relations": [{"rule": 2, "type": "equivalent", "target": "67134b2dc5dd42e6a983054976789a15", "evidence": {"same_day": true, "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "67134b2dc5dd42e6a983054976789a15", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 COPY FROM ON_ERROR 报告中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58"}, "url": "/docs/compare/?release=17.12#17.12-167c7f83149dbfa3", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-6aa9b164fb64000f", "cves": ["CVE-2026-116332"], "html": "<p>\n      禁止关闭仍在初始化的 portal（Michael Paquier）<a href=\"https://postgr.es/c/8a2982de9\">§</a>\n</p><p>\n      此项更改可防止多种释放后使用内存的问题。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Tomas Vondra 报告此问题。（CVE-2026-116332）\n     </p>", "text": "禁止关闭仍在初始化的 portal（Michael Paquier）§ 此项更改可防止多种释放后使用内存的问题。 PostgreSQL 项目感谢 Tomas Vondra 报告此问题。（CVE-2026-116332）", "title": "禁止关闭仍在初始化的 portal", "commits": ["8a2982de9"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "741250a2bd9674a384d367b625917af3c9674e456a091a034b7ba49bee8a45f6", "section_path": ["变更"], "commit_groups": [["36f42216e", "38783780f", "5b23669ea", "69b973c65", "8a2982de9", "b63c8123e", "c65fee830"]], "identity_text": "Disallow closing a portal that is still being set up (Michael Paquier) This change forestalls various use-after-free issues. The PostgreSQL Project thanks Tomas Vondra for reporting this problem. (CVE-2026-116332)", "commit_aliases": ["36f42216e", "38783780f", "5b23669ea", "69b973c65", "8a2982de9", "b63c8123e", "c65fee830"], "source_commits": ["8a2982de9"], "source_entry_id": "18.7/changes/007", "db_id": "bd9ccaf093d946077f9e7b628a27f765", "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249", "relations": [{"rule": 2, "type": "equivalent", "target": "282ad57f3c20c17a493d291486a18e67", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}, {"rule": 2, "type": "equivalent", "target": "3367091179d23a215314a7070b32565a", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}, {"rule": 2, "type": "equivalent", "target": "58b1b7918517cbe5a37b2e046c00e763", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}, {"rule": 2, "type": "equivalent", "target": "5ece4a75e098d13983a4599562533676", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "58b1b7918517cbe5a37b2e046c00e763", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "禁止关闭仍在初始化的 portal", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}, "url": "/docs/compare/?release=17.12#17.12-c63d44fa2da170d4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "282ad57f3c20c17a493d291486a18e67", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "禁止关闭仍在初始化的 portal", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}, "url": "/docs/compare/?release=16.16#16.16-4fd4e348b0780881", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "3367091179d23a215314a7070b32565a", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "禁止关闭仍在初始化的 portal", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}, "url": "/docs/compare/?release=15.20#15.20-9bc3547d148d2a12", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5ece4a75e098d13983a4599562533676", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "禁止关闭仍在初始化的 portal", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}, "url": "/docs/compare/?release=14.25#14.25-4ae0101b6a1247f9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-ceecc0b2d4e0fa1a", "cves": ["CVE-2026-120143"], "html": "<p>\n      在触发器函数结束时强制关闭与过渡表关联的 portal（Jeff Davis）<a href=\"https://postgr.es/c/983bcb768\">§</a>\n</p><p>\n      此项更改可避免释放后使用内存的风险。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120143）\n     </p>", "text": "在触发器函数结束时强制关闭与过渡表关联的 portal（Jeff Davis）§ 此项更改可避免释放后使用内存的风险。 PostgreSQL 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120143）", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "commits": ["983bcb768"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "46fb66c80f512bbb6336ba0c892fc2451a3548d861efdf7c04272aceb9924382", "section_path": ["变更"], "commit_groups": [["5b2bd1dc1", "695d72c57", "7a910b4e1", "84a4e2c18", "983bcb768", "9ee5586a2", "bccc9f389"]], "identity_text": "Forcibly close portals associated with transition tables at the end of the trigger function (Jeff Davis) This change avoids use-after-free hazards. The PostgreSQL Project thanks Peter Geoghegan for reporting this problem. (CVE-2026-120143)", "commit_aliases": ["5b2bd1dc1", "695d72c57", "7a910b4e1", "84a4e2c18", "983bcb768", "9ee5586a2", "bccc9f389"], "source_commits": ["983bcb768"], "source_entry_id": "18.7/changes/008", "db_id": "b5878be702eb49753c83d568f488dd07", "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b", "relations": [{"rule": 2, "type": "equivalent", "target": "20d1b6c5f414d8e341e471e4692c9630", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}}, {"rule": 2, "type": "equivalent", "target": "2f3a54eff5800048db21a64f9976e8ec", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}}, {"rule": 2, "type": "equivalent", "target": "9cedf871dd994320893f3775c8b7b37f", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}}, {"rule": 2, "type": "equivalent", "target": "d0d0a3c6e571345a00633198c1614659", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2f3a54eff5800048db21a64f9976e8ec", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}, "url": "/docs/compare/?release=17.12#17.12-949dbaf70b880cca", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "20d1b6c5f414d8e341e471e4692c9630", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}, "url": "/docs/compare/?release=16.16#16.16-184be602ca890ae3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "d0d0a3c6e571345a00633198c1614659", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}, "url": "/docs/compare/?release=15.20#15.20-e056a149bd86d37a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "9cedf871dd994320893f3775c8b7b37f", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}, "url": "/docs/compare/?release=14.25#14.25-1ecfdf17fd637cb1", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b7c28faf17c21c93", "cves": ["CVE-2026-116304"], "html": "<p>\n      修复共享元组描述符管理中导致释放后使用内存的竞态条件（Robert Haas）<a href=\"https://postgr.es/c/861b5a869\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-116304）\n     </p>", "text": "修复共享元组描述符管理中导致释放后使用内存的竞态条件（Robert Haas）§ PostgreSQL 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-116304）", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "commits": ["861b5a869"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "49332f2fa1cfb5bfba72b60d5cc35143f8e8158757dfbb11768e4bfae7f05d4d", "section_path": ["变更"], "commit_groups": [["3bb99318e", "4285796c2", "49521f66d", "792356244", "861b5a869", "a4d40a6ae", "ba00c3576"]], "identity_text": "Fix race condition leading to use-after-free in shared tupledesc management (Robert Haas) The PostgreSQL Project thanks Peter Geoghegan for reporting this problem. (CVE-2026-116304)", "commit_aliases": ["3bb99318e", "4285796c2", "49521f66d", "792356244", "861b5a869", "a4d40a6ae", "ba00c3576"], "source_commits": ["861b5a869"], "source_entry_id": "18.7/changes/009", "db_id": "43bf35f4eda0851ad20daa5375f2dfaa", "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297", "relations": [{"rule": 2, "type": "equivalent", "target": "1dc825fc060121e236e051da9f5afd99", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}}, {"rule": 2, "type": "equivalent", "target": "30857ad7a0fcdd462a1c350177847b74", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}}, {"rule": 2, "type": "equivalent", "target": "b63473ad3233b82fb41a8abf2759b17f", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}}, {"rule": 2, "type": "equivalent", "target": "ee275ead96cc28af70ffb5d894a0cc3e", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "b63473ad3233b82fb41a8abf2759b17f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}, "url": "/docs/compare/?release=17.12#17.12-5c060e3003e159ae", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "30857ad7a0fcdd462a1c350177847b74", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}, "url": "/docs/compare/?release=16.16#16.16-a7a369cf45d9476e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "1dc825fc060121e236e051da9f5afd99", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}, "url": "/docs/compare/?release=15.20#15.20-967768d81c16d95f", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "ee275ead96cc28af70ffb5d894a0cc3e", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}, "url": "/docs/compare/?release=14.25#14.25-82ed1b83ef21e910", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-bd6ee36bc1983f01", "cves": ["CVE-2026-120152"], "html": "<p>\n      修复 <code>pg_show_all_settings()</code> 中释放后使用内存的问题（Masahiko Sawada）<a href=\"https://postgr.es/c/921b93f25\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120152）\n     </p>", "text": "修复 pg_show_all_settings() 中释放后使用内存的问题（Masahiko Sawada）§ PostgreSQL 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120152）", "title": "修复 pg_show_all_settings() 中释放后使用内存的问题", "commits": ["921b93f25"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f362b20d9def6a59fd31d26a78e06796d84c9c5945135fad5d70c9897b92f47b", "section_path": ["变更"], "commit_groups": [["146771107", "15b78dc39", "369fe93c0", "46c7529fa", "921b93f25"]], "identity_text": "Fix use-after-free in pg_show_all_settings() (Masahiko Sawada) The PostgreSQL Project thanks Claude and Ada Logics for reporting this problem. (CVE-2026-120152)", "commit_aliases": ["146771107", "15b78dc39", "369fe93c0", "46c7529fa", "921b93f25"], "source_commits": ["921b93f25"], "source_entry_id": "18.7/changes/010", "db_id": "8212568a827c1d283872e4958aeff415", "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675", "relations": [{"rule": 2, "type": "equivalent", "target": "2e1de5ac05f9dcaf2de3b2359ac1421f", "evidence": {"same_day": true, "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675"}}, {"rule": 2, "type": "equivalent", "target": "8e6202210033d8e0908803af5428f557", "evidence": {"same_day": true, "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e1de5ac05f9dcaf2de3b2359ac1421f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pg_show_all_settings() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675"}, "url": "/docs/compare/?release=17.12#17.12-742dc6928aa592a3", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "8e6202210033d8e0908803af5428f557", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pg_show_all_settings() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675"}, "url": "/docs/compare/?release=16.16#16.16-5ca3a786053c0e65", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-1e2da22faefcae54", "cves": ["CVE-2026-120150"], "html": "<p>\n      修复展开记录的域约束检查中释放后使用内存的问题（Tom Lane）<a href=\"https://postgr.es/c/2d91c1c78\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120150）\n     </p>", "text": "修复展开记录的域约束检查中释放后使用内存的问题（Tom Lane）§ PostgreSQL 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120150）", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "commits": ["2d91c1c78"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "5f49e72c663fefd9660ee25cc8b78937e836cdec22cf1933b89a43f36fa9da91", "section_path": ["变更"], "commit_groups": [["05740dd40", "2d91c1c78", "4614c78a8", "7c822f343", "b93d8a554", "f4ca5327a", "f4d200615"]], "identity_text": "Fix use-after-free in expanded-record domain constraint checking (Tom Lane) The PostgreSQL Project thanks Claude and Ada Logics for reporting this problem. (CVE-2026-120150)", "commit_aliases": ["05740dd40", "2d91c1c78", "4614c78a8", "7c822f343", "b93d8a554", "f4ca5327a", "f4d200615"], "source_commits": ["2d91c1c78"], "source_entry_id": "18.7/changes/011", "db_id": "1a4759e842e5af7ee01de4782ec7e5ee", "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333", "relations": [{"rule": 2, "type": "equivalent", "target": "43b2603ba4142c1d94019aedefe7688b", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}, {"rule": 2, "type": "equivalent", "target": "71811e643fb2bfb08d056e0f357e46ab", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}, {"rule": 2, "type": "equivalent", "target": "7ddd20145289982af63d7c82121ee074", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}, {"rule": 2, "type": "equivalent", "target": "e10992669c25da71e58c05edd8d81761", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "7ddd20145289982af63d7c82121ee074", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}, "url": "/docs/compare/?release=17.12#17.12-467719f1327c5109", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "43b2603ba4142c1d94019aedefe7688b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}, "url": "/docs/compare/?release=16.16#16.16-2302d4262b8786c2", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e10992669c25da71e58c05edd8d81761", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}, "url": "/docs/compare/?release=15.20#15.20-6c4f0c5fab0b539a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "71811e643fb2bfb08d056e0f357e46ab", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}, "url": "/docs/compare/?release=14.25#14.25-005ed222fcdbbfdf", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a40253a8f730fada", "cves": ["CVE-2026-116328"], "html": "<p>\n      防止在<span>“<span>generation</span>”</span>内存上下文中释放大块内存后发生内存损坏（Heikki Linnakangas）<a href=\"https://postgr.es/c/53a34a4de\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Jayden Sarveshkumar 报告此问题。（CVE-2026-116328）\n     </p>", "text": "防止在“generation”内存上下文中释放大块内存后发生内存损坏（Heikki Linnakangas）§ PostgreSQL 项目感谢 Jayden Sarveshkumar 报告此问题。（CVE-2026-116328）", "title": "防止在“generation”内存上下文中释放大块内存后发生内存损坏", "commits": ["53a34a4de"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "fbde50ea80f6adfdd78a356b5a0f34b40dc73e4e67d0a686a95a1b85cabdff5a", "section_path": ["变更"], "commit_groups": [["53a34a4de", "735b0dc1a", "9d322a971", "dfb3505b9", "e27929e3b", "f34ccffdd"]], "identity_text": "Prevent memory corruption after a large allocation in a generation memory context is freed (Heikki Linnakangas) The PostgreSQL Project thanks Jayden Sarveshkumar for reporting this problem. (CVE-2026-116328)", "commit_aliases": ["53a34a4de", "735b0dc1a", "9d322a971", "dfb3505b9", "e27929e3b", "f34ccffdd"], "source_commits": ["53a34a4de"], "source_entry_id": "18.7/changes/012", "db_id": "e4db26ddc84be13fbd8249b65b61ca24", "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e", "relations": [{"rule": 2, "type": "equivalent", "target": "5d05200439217fce21f0d20e202f2a92", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}}, {"rule": 2, "type": "equivalent", "target": "9422ed034577ed42ddc061b152efd726", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}}, {"rule": 2, "type": "equivalent", "target": "c4bb26a67e234a6b3ced94bc065761a2", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "5d05200439217fce21f0d20e202f2a92", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止在“generation”内存上下文中释放大块内存后发生内存损坏", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}, "url": "/docs/compare/?release=17.12#17.12-06d5b5633d2a8aec", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c4bb26a67e234a6b3ced94bc065761a2", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止在“generation”内存上下文中释放大块内存后发生内存损坏", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}, "url": "/docs/compare/?release=16.16#16.16-b11c1152b6df1eba", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9422ed034577ed42ddc061b152efd726", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止在“generation”内存上下文中释放大块内存后发生内存损坏", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}, "url": "/docs/compare/?release=15.20#15.20-a2f18ac130428616", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-e5c37b38dc5c2cd6", "cves": ["CVE-2026-116315"], "html": "<p>\n      修复 <code>tsvector_delete()</code> 中的缓冲区越界写入（Anthropic OSS program）<a href=\"https://postgr.es/c/9c2cadacd\">§</a>\n</p><p>\n      精心构造的输入可能诱使 <code>tsvector_delete()</code> 写入超出为其结果分配的空间的字节。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116315）\n     </p>", "text": "修复 tsvector_delete() 中的缓冲区越界写入（Anthropic OSS program）§ 精心构造的输入可能诱使 tsvector_delete() 写入超出为其结果分配的空间的字节。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116315）", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "commits": ["9c2cadacd"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "96068b327a61902f085a7a6ba51a5f5ecd23e73867fa090066ac9762038d80d0", "section_path": ["变更"], "commit_groups": [["27dfe0e34", "3efcadec9", "418f055bf", "834255ca8", "9c2cadacd", "cacc71935", "d681b9f6a"]], "identity_text": "Fix buffer overrun in tsvector_delete() (Anthropic OSS program) With crafted input, tsvector_delete() could be induced to write more bytes than it had allocated for its result. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116315)", "commit_aliases": ["27dfe0e34", "3efcadec9", "418f055bf", "834255ca8", "9c2cadacd", "cacc71935", "d681b9f6a"], "source_commits": ["9c2cadacd"], "source_entry_id": "18.7/changes/013", "db_id": "cc3090eaac89593013e74e9db87da678", "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e", "relations": [{"rule": 2, "type": "equivalent", "target": "1ce73a60aab45ae0a45b1dcc76405447", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}}, {"rule": 2, "type": "equivalent", "target": "36c9178c00fef1a2624c150ce5ed8b96", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}}, {"rule": 2, "type": "equivalent", "target": "6fc892a042c8a6471790114f40fb2412", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}}, {"rule": 2, "type": "equivalent", "target": "851fcf2bfc7b1182c950c8236b0e2e82", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "851fcf2bfc7b1182c950c8236b0e2e82", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}, "url": "/docs/compare/?release=17.12#17.12-ac4eb8f1c19dd9c0", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "1ce73a60aab45ae0a45b1dcc76405447", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}, "url": "/docs/compare/?release=16.16#16.16-216a22ff05c77dc3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "36c9178c00fef1a2624c150ce5ed8b96", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}, "url": "/docs/compare/?release=15.20#15.20-d513beb6fd7131d6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6fc892a042c8a6471790114f40fb2412", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}, "url": "/docs/compare/?release=14.25#14.25-7c37de354874a718", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-def2e0359c3c3a52", "cves": ["CVE-2026-116317"], "html": "<p>\n      修复 <code>ts_rank_cd()</code> 中的缓冲区越界写入（Anthropic OSS program）<a href=\"https://postgr.es/c/3e97c9a1f\">§</a>\n</p><p>\n      精心构造的输入可能诱使 <code>ts_rank_cd()</code> 写入超出为其结果分配的空间的字节。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116317）\n     </p>", "text": "修复 ts_rank_cd() 中的缓冲区越界写入（Anthropic OSS program）§ 精心构造的输入可能诱使 ts_rank_cd() 写入超出为其结果分配的空间的字节。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116317）", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "commits": ["3e97c9a1f"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "1b928bb070242de351e81a6b6206c188348d3c127baaa80646e958e795f78eba", "section_path": ["变更"], "commit_groups": [["2d7573b00", "3e97c9a1f", "44a414c99", "530a034aa", "7f8424ece", "c8d128858", "f920b3c30"]], "identity_text": "Fix buffer overrun in ts_rank_cd() (Anthropic OSS program) With crafted input, ts_rank_cd() could be induced to write more bytes than it had allocated for its result. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116317)", "commit_aliases": ["2d7573b00", "3e97c9a1f", "44a414c99", "530a034aa", "7f8424ece", "c8d128858", "f920b3c30"], "source_commits": ["3e97c9a1f"], "source_entry_id": "18.7/changes/014", "db_id": "df55946e2a87bfddd1130e544920f40b", "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01", "relations": [{"rule": 2, "type": "equivalent", "target": "941bff8a15f71eb3c8f3dca943886bab", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}}, {"rule": 2, "type": "equivalent", "target": "e1197a9b6cc47e05674b6e4d5c91b121", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}}, {"rule": 2, "type": "equivalent", "target": "f3e2a56d8c1a493d42137a3d2a539152", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}}, {"rule": 2, "type": "equivalent", "target": "f619cb28db2be6667aab46a8df08f760", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f3e2a56d8c1a493d42137a3d2a539152", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}, "url": "/docs/compare/?release=17.12#17.12-0e7f1c17695b702c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "941bff8a15f71eb3c8f3dca943886bab", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}, "url": "/docs/compare/?release=16.16#16.16-97d0f36fefce4099", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e1197a9b6cc47e05674b6e4d5c91b121", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}, "url": "/docs/compare/?release=15.20#15.20-352a24a4ce056789", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f619cb28db2be6667aab46a8df08f760", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}, "url": "/docs/compare/?release=14.25#14.25-5297542271e23c5d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-0ef589765e961da8", "cves": ["CVE-2026-116321"], "html": "<p>\n      防止通过元素赋值构造无效的 <code>name</code> 值（Tom Lane）<a href=\"https://postgr.es/c/b3ef92518\">§</a>\n</p><p>\n<code>array_set_element()</code> 可能被滥用，使 <code>name</code> 类型值的最后一个字节变为非零。随后使用该值时就会发生越界读取，导致崩溃或泄露服务器内存。同时也禁止通过此机制构造编码无效的字符串。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116321）\n     </p>", "text": "防止通过元素赋值构造无效的 name 值（Tom Lane）§ array_set_element() 可能被滥用，使 name 类型值的最后一个字节变为非零。随后使用该值时就会发生越界读取，导致崩溃或泄露服务器内存。同时也禁止通过此机制构造编码无效的字符串。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116321）", "title": "防止通过元素赋值构造无效的 name 值", "commits": ["b3ef92518"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0d71dbcf5ccc0ef8ce1c1d6dbb425d86284c0750b757b4973e6bab9a93bdd2c6", "section_path": ["变更"], "commit_groups": [["4d2710136", "5788eaee3", "6ca1c604c", "82ffa9d00", "b3ef92518", "c673c0a61", "f22d6aba9"]], "identity_text": "Prevent construction of invalid name values via element assignment (Tom Lane) array_set_element() could be abused to make the last byte of a name-type value nonzero. Subsequent uses of the value would then read past the end, resulting in crashes or disclosure of server memory. While at it, disallow construction of invalidly-encoded strings through this mechanism. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116321)", "commit_aliases": ["4d2710136", "5788eaee3", "6ca1c604c", "82ffa9d00", "b3ef92518", "c673c0a61", "f22d6aba9"], "source_commits": ["b3ef92518"], "source_entry_id": "18.7/changes/015", "db_id": "532fd7a2f07132884696a06256bb0f22", "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1", "relations": [{"rule": 2, "type": "equivalent", "target": "71671c8fa43dbc66b6996af06728ff3b", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}}, {"rule": 2, "type": "equivalent", "target": "bb778ae0c5e448d2016cdb9a94909b7f", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}}, {"rule": 2, "type": "equivalent", "target": "c5c254228046e26d6ce8f37fb7fa28b9", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}}, {"rule": 2, "type": "equivalent", "target": "dd54438adc1c851f4858c53f6357e8d5", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "dd54438adc1c851f4858c53f6357e8d5", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止通过元素赋值构造无效的 name 值", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}, "url": "/docs/compare/?release=17.12#17.12-3cf32bd5d203661a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "bb778ae0c5e448d2016cdb9a94909b7f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止通过元素赋值构造无效的 name 值", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}, "url": "/docs/compare/?release=16.16#16.16-a23ab7faa27cb8c4", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c5c254228046e26d6ce8f37fb7fa28b9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止通过元素赋值构造无效的 name 值", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}, "url": "/docs/compare/?release=15.20#15.20-a067276ef67730aa", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "71671c8fa43dbc66b6996af06728ff3b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "防止通过元素赋值构造无效的 name 值", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}, "url": "/docs/compare/?release=14.25#14.25-633559a6fd9ff6c3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-17479df7f481c5ba", "cves": ["CVE-2026-116327"], "html": "<p>\n      将应用于 <code>CaseTestExpr</code> 或内部 <code>Param</code> 节点的可泄露函数视为会泄露信息（Tom Lane）<a href=\"https://postgr.es/c/9a96032e1\">§</a>\n</p><p>\n<code>CaseTestExpr</code> 或内部 <code>Param</code> 表示查询中其他位置的表达式的值。如果该表达式包含 <code>Var</code>，就存在信息泄露的可能。因此，在判断表达式是否不泄露信息时，应拒绝此类情况。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Only see myself 报告此问题。（CVE-2026-116327）\n     </p>", "text": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息（Tom Lane）§ CaseTestExpr 或内部 Param 表示查询中其他位置的表达式的值。如果该表达式包含 Var，就存在信息泄露的可能。因此，在判断表达式是否不泄露信息时，应拒绝此类情况。 PostgreSQL 项目感谢 Only see myself 报告此问题。（CVE-2026-116327）", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "commits": ["9a96032e1"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "35427b62a3a581953ca435bfe9eb43b59fb31bc2640c3272b680eea5c0128c2d", "section_path": ["变更"], "commit_groups": [["36a8cb70a", "4581711f3", "606c23540", "9a96032e1", "b33b48031", "eca4935d2", "fad845598"]], "identity_text": "Treat application of a leaky function to a CaseTestExpr or internal Param node as leaky (Tom Lane) A CaseTestExpr or internal Param represents the value of an expression somewhere else in the query. If that expression contains a Var then there is potential for information leakage. Therefore, reject such cases when deciding whether an expression is leak-proof. The PostgreSQL Project thanks Only see myself for reporting this problem. (CVE-2026-116327)", "commit_aliases": ["36a8cb70a", "4581711f3", "606c23540", "9a96032e1", "b33b48031", "eca4935d2", "fad845598"], "source_commits": ["9a96032e1"], "source_entry_id": "18.7/changes/016", "db_id": "a14fa0abeec8fb5fcc217797114ad262", "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c", "relations": [{"rule": 2, "type": "equivalent", "target": "37920507ab74b95f891540c1b819f336", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}}, {"rule": 2, "type": "equivalent", "target": "50f76d55d43e626f043a7465d35273bc", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}}, {"rule": 2, "type": "equivalent", "target": "89514f6f46310de2446e0c656253bb98", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}}, {"rule": 2, "type": "equivalent", "target": "a6a1b95ee685f386fa43699571263996", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a6a1b95ee685f386fa43699571263996", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}, "url": "/docs/compare/?release=17.12#17.12-0744da5d99e35f12", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "50f76d55d43e626f043a7465d35273bc", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}, "url": "/docs/compare/?release=16.16#16.16-251fa0e721c64ca4", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "89514f6f46310de2446e0c656253bb98", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}, "url": "/docs/compare/?release=15.20#15.20-57cc906f4133f791", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "37920507ab74b95f891540c1b819f336", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}, "url": "/docs/compare/?release=14.25#14.25-1e3e9d3d1af12d30", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-42186575612fecef", "cves": ["CVE-2026-116331"], "html": "<p>\n      不再为输入类型与输出类型不匹配的聚合生成基于索引的计划（Tom Lane）<a href=\"https://postgr.es/c/2c03c7c48\">§</a>\n</p><p>\n      此前，只要聚合附有 <code>SORTOP</code> 选项，就会不加检查地生成此类计划。基于索引的计划会返回聚合的输入列，如果其声明的输出类型不同，就会造成类型违规，甚至可能执行任意代码。在 master 分支中，禁止此类聚合声明。在已发布的分支中，增加规划时检查，在类型不匹配时不生成此类计划。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Zheng Yu, Claude and Ada Logics 报告此问题。（CVE-2026-116331）\n     </p>", "text": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划（Tom Lane）§ 此前，只要聚合附有 SORTOP 选项，就会不加检查地生成此类计划。基于索引的计划会返回聚合的输入列，如果其声明的输出类型不同，就会造成类型违规，甚至可能执行任意代码。在 master 分支中，禁止此类聚合声明。在已发布的分支中，增加规划时检查，在类型不匹配时不生成此类计划。 PostgreSQL 项目感谢 Zheng Yu, Claude and Ada Logics 报告此问题。（CVE-2026-116331）", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "commits": ["2c03c7c48"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0b0e7ffc095739e23ba6fb587662412c0d77dd42f20f218255f09103a749fd05", "section_path": ["变更"], "commit_groups": [["0eba29495", "2c03c7c48", "63b204d9f", "75c0441ba", "d35f66916", "dd2cd3803", "fffd8a41f"]], "identity_text": "Don't generate an index-based plan for an aggregate whose input and output types don't match (Tom Lane) Previously, we'd blindly do this if the aggregate has a SORTOP option attached. The index-based plan will return the aggregate's input column, leading to type violations and potentially to arbitrary code execution if its declared output type is different. In the master branch, disallow such aggregate declarations. In released branches, add a plan-time check to not generate such plans if the types don't match. The PostgreSQL Project thanks Zheng Yu, Claude and Ada Logics for reporting this problem. (CVE-2026-116331)", "commit_aliases": ["0eba29495", "2c03c7c48", "63b204d9f", "75c0441ba", "d35f66916", "dd2cd3803", "fffd8a41f"], "source_commits": ["2c03c7c48"], "source_entry_id": "18.7/changes/017", "db_id": "f149f330b48421f9553908789a8e4961", "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a", "relations": [{"rule": 2, "type": "equivalent", "target": "0ae6ae4c43e531ec8d6c0d118ad30e2f", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}}, {"rule": 2, "type": "equivalent", "target": "93ad02b464a1c0b09cc6111c7a5e6a11", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}}, {"rule": 2, "type": "equivalent", "target": "d2bb23f1789b15b7673bf6a0d21dc3fb", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}}, {"rule": 2, "type": "equivalent", "target": "f9e4503e1594ad03f7377b951a87381a", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ae6ae4c43e531ec8d6c0d118ad30e2f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}, "url": "/docs/compare/?release=17.12#17.12-443bacb2d1c6bc86", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f9e4503e1594ad03f7377b951a87381a", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}, "url": "/docs/compare/?release=16.16#16.16-eb37da526d519ccf", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "93ad02b464a1c0b09cc6111c7a5e6a11", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}, "url": "/docs/compare/?release=15.20#15.20-f2707e8d02a48a40", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "d2bb23f1789b15b7673bf6a0d21dc3fb", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}, "url": "/docs/compare/?release=14.25#14.25-1b7f1b0d69df595e", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-09706e59081e43ea", "cves": ["CVE-2026-116322"], "html": "<p>\n      将取消请求包的处理推迟到能够安全处理时（Michael Paquier）<a href=\"https://postgr.es/c/e1cc4a893\">§</a>\n</p><p>\n      如果运气好且时机合适，攻击者可能诱使接收取消请求包的进程在持有自旋锁时退出，从而导致数据库崩溃并重启。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116322）\n     </p>", "text": "将取消请求包的处理推迟到能够安全处理时（Michael Paquier）§ 如果运气好且时机合适，攻击者可能诱使接收取消请求包的进程在持有自旋锁时退出，从而导致数据库崩溃并重启。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116322）", "title": "将取消请求包的处理推迟到能够安全处理时", "commits": ["e1cc4a893"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "294955e6790127ba558e1658bbd3a1d2872139fbb16087dcb16d73c571c67f22", "section_path": ["变更"], "commit_groups": [["208ea05a5", "e1cc4a893", "f63b47aa1"]], "identity_text": "Delay processing of cancel request packets until it's safe to handle them (Michael Paquier) With luck and good timing, an attacker could induce the process receiving a cancel request packet to exit while holding a spinlock, thereby causing a database crash and restart. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116322)", "commit_aliases": ["208ea05a5", "e1cc4a893", "f63b47aa1"], "source_commits": ["e1cc4a893"], "source_entry_id": "18.7/changes/018", "db_id": "12c943d47d4114079f5a6436d955a9c0", "patch_ids": ["6290ed907971a6bd8e0fa9c0d10bcfb9"], "statement_hash": "223ea3fa48b212009e3b18cc0712e4fe6fcf2438b39f51698732243457ab4db0", "relations": [], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-9c2f9d5b08027544", "cves": ["CVE-2026-116312"], "html": "<p>\n      避免在先执行 <code>INSERT</code> 再执行 <code>UPDATE</code> 的 <code>MERGE</code> 中向触发器过渡表插入错误的元组（Heikki Linnakangas，Jacek Bylina，Jacob Robertson，Nigel Gott）<a href=\"https://postgr.es/c/f64f71188\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Jacek Bylina, Timothy Ball, Claude and Ada Logics 报告此问题。（CVE-2026-116312）\n     </p>", "text": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组（Heikki Linnakangas，Jacek Bylina，Jacob Robertson，Nigel Gott）§ PostgreSQL 项目感谢 Jacek Bylina, Timothy Ball, Claude and Ada Logics 报告此问题。（CVE-2026-116312）", "title": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组", "commits": ["f64f71188"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "52665f5cdc46fe6a0100b366862ad86048e0e7c707a41ab4de5420e60cc53265", "section_path": ["变更"], "commit_groups": [["398eb35f0", "6ccaa399e", "851876b48", "a5a82b4d2", "e48446c3e", "f64f71188"]], "identity_text": "Avoid inserting the wrong tuple into a trigger transition table in a MERGE that does an INSERT followed by an UPDATE (Heikki Linnakangas, Jacek Bylina, Jacob Robertson, Nigel Gott) The PostgreSQL Project thanks Jacek Bylina, Timothy Ball, Claude and Ada Logics for reporting this problem. (CVE-2026-116312)", "commit_aliases": ["398eb35f0", "6ccaa399e", "851876b48", "a5a82b4d2", "e48446c3e", "f64f71188"], "source_commits": ["f64f71188"], "source_entry_id": "18.7/changes/019", "db_id": "5a3b775cf2000f6d603e5c34d6394f16", "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22", "relations": [{"rule": 2, "type": "equivalent", "target": "1d3bc085672319b70a7496b2e63d2659", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}}, {"rule": 2, "type": "equivalent", "target": "9ac772ffe3a0fbc02b1514c29311494e", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}}, {"rule": 2, "type": "equivalent", "target": "b22f74b737c3d61f9df10530585418db", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1d3bc085672319b70a7496b2e63d2659", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}, "url": "/docs/compare/?release=17.12#17.12-5082a5b5d64b4283", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9ac772ffe3a0fbc02b1514c29311494e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}, "url": "/docs/compare/?release=16.16#16.16-5a525785eb102931", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b22f74b737c3d61f9df10530585418db", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}, "url": "/docs/compare/?release=15.20#15.20-ee7e8aaeaa990b13", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-d6c6d8446b4a7fd7", "cves": ["CVE-2026-116335"], "html": "<p>\n      检查互为交换子或求反器的操作符对是否返回相同的数据类型（Tom Lane）<a href=\"https://postgr.es/c/165bbc265\">§</a>\n</p><p>\n      此前，替换为交换子或求反器操作符可能导致类型违规。此补丁还修正了一些情况：一个操作符通过交换子/求反器链接指向另一个操作符，但后者没有反向链接到前者。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-116335）\n     </p>", "text": "检查互为交换子或求反器的操作符对是否返回相同的数据类型（Tom Lane）§ 此前，替换为交换子或求反器操作符可能导致类型违规。此补丁还修正了一些情况：一个操作符通过交换子/求反器链接指向另一个操作符，但后者没有反向链接到前者。 PostgreSQL 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-116335）", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "commits": ["165bbc265"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a0150236e86920e806267385922d2c471c855cfc2ae847fabd1ec019f39c8713", "section_path": ["变更"], "commit_groups": [["165bbc265", "22f838a6d", "28e164e1d", "332a81692", "420586131", "7282f7dfe", "85420b358"]], "identity_text": "Check that commutator and negator operator pairs return the same data type (Tom Lane) Previously, substitution of a commutator or negator operator could lead to a type violation. This patch also cleans up some cases where one operator had a commutator/negator link to another, but the second operator didn't link back to the first. The PostgreSQL Project thanks Claude and Ada Logics for reporting this problem. (CVE-2026-116335)", "commit_aliases": ["165bbc265", "22f838a6d", "28e164e1d", "332a81692", "420586131", "7282f7dfe", "85420b358"], "source_commits": ["165bbc265"], "source_entry_id": "18.7/changes/020", "db_id": "acb4d02120dc8a1d3d47746899e01600", "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0", "relations": [{"rule": 2, "type": "equivalent", "target": "15ececb625d9f88cfea8384749d9e472", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}}, {"rule": 2, "type": "equivalent", "target": "c48d983efb2035545de8c9e77c05a9e7", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}}, {"rule": 2, "type": "equivalent", "target": "dcc184fd8579e89b72dee013c4a433e9", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}}, {"rule": 2, "type": "equivalent", "target": "de1641ab1e4572389b088c4039618f16", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "15ececb625d9f88cfea8384749d9e472", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}, "url": "/docs/compare/?release=17.12#17.12-28d9ab64cb50454a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "de1641ab1e4572389b088c4039618f16", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}, "url": "/docs/compare/?release=16.16#16.16-c802e0e4504b9aa2", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c48d983efb2035545de8c9e77c05a9e7", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}, "url": "/docs/compare/?release=15.20#15.20-598709026fa1b410", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "dcc184fd8579e89b72dee013c4a433e9", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}, "url": "/docs/compare/?release=14.25#14.25-8d7f12814af4cea5", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-fdc884b7764c5718", "cves": ["CVE-2026-116336"], "html": "<p>\n      防止索引谓词和表达式中的函数通过操纵索引破坏 <code>REINDEX CONCURRENTLY</code>（Michael Paquier）<a href=\"https://postgr.es/c/061cc0ee6\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Florent Saudel 报告此问题。（CVE-2026-116336）\n     </p>", "text": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY（Michael Paquier）§ PostgreSQL 项目感谢 Florent Saudel 报告此问题。（CVE-2026-116336）", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "commits": ["061cc0ee6"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f10dd71a15234566b4038f3b0af4127a81503b3a1b76d52b8f2c829ec3faf933", "section_path": ["变更"], "commit_groups": [["061cc0ee6", "122d1f8be", "2362bc619", "23e7e2bde", "3a70ff73c", "f24a08ec1", "f3eba6492"]], "identity_text": "Prevent functions in index predicates and expressions from breaking REINDEX CONCURRENTLY by manipulating the indexes (Michael Paquier) The PostgreSQL Project thanks Florent Saudel for reporting this problem. (CVE-2026-116336)", "commit_aliases": ["061cc0ee6", "122d1f8be", "2362bc619", "23e7e2bde", "3a70ff73c", "f24a08ec1", "f3eba6492"], "source_commits": ["061cc0ee6"], "source_entry_id": "18.7/changes/021", "db_id": "e1c70dfbd191e51f15df69e601328f27", "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0", "relations": [{"rule": 2, "type": "equivalent", "target": "00f87ff44c424208be3dc031f0bc1995", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}}, {"rule": 2, "type": "equivalent", "target": "2804b133c7a9d154241b4888631df747", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}}, {"rule": 2, "type": "equivalent", "target": "2fff30500c3f0100d0f4ec008d00afef", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}}, {"rule": 2, "type": "equivalent", "target": "ca6ee4513b8b86dc73103f15e437e2d7", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ca6ee4513b8b86dc73103f15e437e2d7", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}, "url": "/docs/compare/?release=17.12#17.12-266846a5ab22f88d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "2fff30500c3f0100d0f4ec008d00afef", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}, "url": "/docs/compare/?release=16.16#16.16-77a4d305e990d095", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "2804b133c7a9d154241b4888631df747", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}, "url": "/docs/compare/?release=15.20#15.20-59c3f52f02e2ba78", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "00f87ff44c424208be3dc031f0bc1995", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}, "url": "/docs/compare/?release=14.25#14.25-03ae5cba2baedad8", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-c760505173180644", "cves": ["CVE-2026-6467"], "html": "<p>\n      防止在 <code>CREATE EXTENSION</code> 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展（Noah Misch）<a href=\"https://postgr.es/c/68ee5a816\">§</a> <a href=\"https://postgr.es/c/b552d6efb\">§</a>\n</p><p>\n      攻击者经过巧妙设计，可能用自己创建的对象替换扩展中的对象。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Noah Misch 报告此问题。（CVE-2026-6467）\n     </p>", "text": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展（Noah Misch）§ § 攻击者经过巧妙设计，可能用自己创建的对象替换扩展中的对象。 PostgreSQL 项目感谢 Noah Misch 报告此问题。（CVE-2026-6467）", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "commits": ["68ee5a816", "b552d6efb"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "387787005db4294595edc68862178dc568f3e352566fd273a7d715a9dde16c1b", "section_path": ["变更"], "commit_groups": [["1dc59af89", "2c8b00bbf", "68ee5a816", "73c657797", "79f9793fc", "7f854a31f", "fae85aa19"], ["4fea981a3", "5c7515337", "60341198b", "7fad20ce3", "b04910651", "b2f9e083f", "b552d6efb"]], "identity_text": "Prevent corrupting a newly-installed extension by renaming its target schema during CREATE EXTENSION or by installing it into a temporary schema (Noah Misch) With some ingenuity, an attacker could substitute objects of his creation for objects in the extension. The PostgreSQL Project thanks Noah Misch for reporting this problem. (CVE-2026-6467)", "commit_aliases": ["1dc59af89", "2c8b00bbf", "4fea981a3", "5c7515337", "60341198b", "68ee5a816", "73c657797", "79f9793fc", "7f854a31f", "7fad20ce3", "b04910651", "b2f9e083f", "b552d6efb", "fae85aa19"], "source_commits": ["68ee5a816", "b552d6efb"], "source_entry_id": "18.7/changes/022", "db_id": "830b0c3c248e4e1e39f9ed807554e44f", "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c", "relations": [{"rule": 2, "type": "equivalent", "target": "3199bec0aa412e54fe8adef4c6c21969", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}}, {"rule": 2, "type": "equivalent", "target": "84f87e259d86e3db3e8e6183bdc58246", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}}, {"rule": 2, "type": "equivalent", "target": "d6686d39e488ce212a53534b57b635b4", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}}, {"rule": 2, "type": "equivalent", "target": "f912dd0340e5801739b80c69dd212839", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "3199bec0aa412e54fe8adef4c6c21969", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}, "url": "/docs/compare/?release=17.12#17.12-22a1391a2ec95e29", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f912dd0340e5801739b80c69dd212839", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}, "url": "/docs/compare/?release=16.16#16.16-0893709c175a47f2", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "d6686d39e488ce212a53534b57b635b4", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}, "url": "/docs/compare/?release=15.20#15.20-ce3bb54309acb7a8", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "84f87e259d86e3db3e8e6183bdc58246", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}, "url": "/docs/compare/?release=14.25#14.25-06eddf21918bebb5", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-c6d2a1293b2964bc", "cves": ["CVE-2026-120153"], "html": "<p>\n      在扩展脚本替换中拒绝更多不安全的名称（Nathan Bossart）<a href=\"https://postgr.es/c/d3c9f8c61\">§</a>\n</p><p>\n      此前已拒绝包含引号、反斜杠和美元符号的模式名称与所有者名称，但包含换行符、回车符、注释分隔符或替换词元本身的名称仍可实现 SQL 注入。现在也拒绝所有这些情况。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program, Sven Klemm, and Aaron Chen 报告此问题。（CVE-2026-120153）\n     </p>", "text": "在扩展脚本替换中拒绝更多不安全的名称（Nathan Bossart）§ 此前已拒绝包含引号、反斜杠和美元符号的模式名称与所有者名称，但包含换行符、回车符、注释分隔符或替换词元本身的名称仍可实现 SQL 注入。现在也拒绝所有这些情况。 PostgreSQL 项目感谢 the Anthropic OSS program, Sven Klemm, and Aaron Chen 报告此问题。（CVE-2026-120153）", "title": "在扩展脚本替换中拒绝更多不安全的名称", "commits": ["d3c9f8c61"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2d7258b0e339d7e567ccab9f4a2b1f490f766e4f1d955240cd1c547225609995", "section_path": ["变更"], "commit_groups": [["438b435f0", "b0e85b99b", "bc146a3d5", "d094e92be", "d3c9f8c61", "f233bee1e", "f47571018"]], "identity_text": "Reject more unsafe names in extension script substitutions (Nathan Bossart) We already rejected schema and owner names containing quotes, backslashes, and dollar signs, but names containing newlines, carriage returns, comment delimiters, or the substitution tokens themselves can still achieve SQL injection. Reject all those cases too. The PostgreSQL Project thanks the Anthropic OSS program, Sven Klemm, and Aaron Chen for reporting this problem. (CVE-2026-120153)", "commit_aliases": ["438b435f0", "b0e85b99b", "bc146a3d5", "d094e92be", "d3c9f8c61", "f233bee1e", "f47571018"], "source_commits": ["d3c9f8c61"], "source_entry_id": "18.7/changes/023", "db_id": "cfa6db6b627ae61a75cb2b66f88db87d", "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6", "relations": [{"rule": 2, "type": "equivalent", "target": "454098b0817ef6547ea8b2c948bf265c", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}}, {"rule": 2, "type": "equivalent", "target": "6a5d491b4bd010a189bab8548a6fba4e", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}}, {"rule": 2, "type": "equivalent", "target": "8adc0ffc3498420906d7abbcb11dd4ec", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}}, {"rule": 2, "type": "equivalent", "target": "f9e0a4fafe2c0e4381d224d388607ec9", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "8adc0ffc3498420906d7abbcb11dd4ec", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在扩展脚本替换中拒绝更多不安全的名称", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}, "url": "/docs/compare/?release=17.12#17.12-ef630192d1e6a90d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "454098b0817ef6547ea8b2c948bf265c", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在扩展脚本替换中拒绝更多不安全的名称", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}, "url": "/docs/compare/?release=16.16#16.16-bbdb298f8eaef009", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "f9e0a4fafe2c0e4381d224d388607ec9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在扩展脚本替换中拒绝更多不安全的名称", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}, "url": "/docs/compare/?release=15.20#15.20-de956411cb1f1849", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6a5d491b4bd010a189bab8548a6fba4e", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在扩展脚本替换中拒绝更多不安全的名称", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}, "url": "/docs/compare/?release=14.25#14.25-783f9ee998f94bf0", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-3cf8269d9b9e8a2f", "cves": ["CVE-2026-116303"], "html": "<p>\n      在 <code>to_json()</code> 和其他转换为 <code>JSON</code> 的代码中调用类型转换函数前检查 <code>EXECUTE</code> 权限（Nathan Bossart，Anthropic OSS program）<a href=\"https://postgr.es/c/3531f4b34\">§</a>\n</p><p>\n      通常此类函数本就向公众授予了 <code>EXECUTE</code> 权限，但这能使其行为与正常执行类型转换时一致。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Filip Janus and the Anthropic OSS program 报告此问题。（CVE-2026-116303）\n     </p>", "text": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限（Nathan Bossart，Anthropic OSS program）§ 通常此类函数本就向公众授予了 EXECUTE 权限，但这能使其行为与正常执行类型转换时一致。 PostgreSQL 项目感谢 Filip Janus and the Anthropic OSS program 报告此问题。（CVE-2026-116303）", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "commits": ["3531f4b34"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "80205942285e6a770a809edc068841eee9e9dfe1e8c5b8f6b05bff59f85e966f", "section_path": ["变更"], "commit_groups": [["296d035f4", "3531f4b34", "879c760d8", "9520dbea7", "ab7594cd1", "af852c3a3", "d275f6acc"]], "identity_text": "Check EXECUTE privilege before calling cast functions within to_json() and other conversion-to-JSON code (Nathan Bossart, Anthropic OSS program) Typically such functions would have public EXECUTE privilege anyway, but this puts the behavior on par with normal execution of casts. The PostgreSQL Project thanks Filip Janus and the Anthropic OSS program for reporting this problem. (CVE-2026-116303)", "commit_aliases": ["296d035f4", "3531f4b34", "879c760d8", "9520dbea7", "ab7594cd1", "af852c3a3", "d275f6acc"], "source_commits": ["3531f4b34"], "source_entry_id": "18.7/changes/024", "db_id": "689eff0a38fd628c4e0cea8a8f7d1a44", "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0", "relations": [{"rule": 2, "type": "equivalent", "target": "563c254cdb1d869a52a6100c5f00d825", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}}, {"rule": 2, "type": "equivalent", "target": "68f7872221e09b48a3f8290f6c02d99f", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}}, {"rule": 2, "type": "equivalent", "target": "bc18bddf059eefea1dfd85bbdae23be0", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}}, {"rule": 2, "type": "equivalent", "target": "bef7a9a8e64c592fb63269859ffbfa34", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bc18bddf059eefea1dfd85bbdae23be0", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}, "url": "/docs/compare/?release=17.12#17.12-9b25ca03b3c5b645", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "68f7872221e09b48a3f8290f6c02d99f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}, "url": "/docs/compare/?release=16.16#16.16-f6e9c1dde44baeb8", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "563c254cdb1d869a52a6100c5f00d825", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}, "url": "/docs/compare/?release=15.20#15.20-bda3a11abf1e4cfb", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "bef7a9a8e64c592fb63269859ffbfa34", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}, "url": "/docs/compare/?release=14.25#14.25-f952eba00f6fefd3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-68c6085ff33e04ac", "cves": ["CVE-2026-116303"], "html": "<p>\n      在外键约束检查中调用类型转换函数前检查 <code>EXECUTE</code> 权限（Nathan Bossart）<a href=\"https://postgr.es/c/d9b15fda5\">§</a>\n</p><p>\n      通常此类函数本就向公众授予了 <code>EXECUTE</code> 权限，但这能使其行为与正常执行类型转换时一致。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Noah Misch 报告此问题。（CVE-2026-116303）\n     </p>", "text": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限（Nathan Bossart）§ 通常此类函数本就向公众授予了 EXECUTE 权限，但这能使其行为与正常执行类型转换时一致。 PostgreSQL 项目感谢 Noah Misch 报告此问题。（CVE-2026-116303）", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "commits": ["d9b15fda5"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "83f67ac3f754844665e12ccc19868019486a727080d0c3afd667af87ffb9f8f9", "section_path": ["变更"], "commit_groups": [["0fdf86e95", "3409adfbe", "445e10c50", "98090a0ff", "d3c033944", "d9b15fda5", "e6695e2a7"]], "identity_text": "Check EXECUTE privilege before calling cast functions within foreign key enforcement checks (Nathan Bossart) Typically such functions would have public EXECUTE privilege anyway, but this puts the behavior on par with normal execution of casts. The PostgreSQL Project thanks Noah Misch for reporting this problem. (CVE-2026-116303)", "commit_aliases": ["0fdf86e95", "3409adfbe", "445e10c50", "98090a0ff", "d3c033944", "d9b15fda5", "e6695e2a7"], "source_commits": ["d9b15fda5"], "source_entry_id": "18.7/changes/025", "db_id": "c76d5632843612505670b0f35c745cb3", "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9", "relations": [{"rule": 2, "type": "equivalent", "target": "05990d503946e0e7e07e7d3ae052170a", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}}, {"rule": 2, "type": "equivalent", "target": "2120c023557470694994fbad903dee7c", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}}, {"rule": 2, "type": "equivalent", "target": "dbc7543d422be3cd0431055864d2d8a9", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}}, {"rule": 2, "type": "equivalent", "target": "fdca0e19c746a033316842b287238483", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "05990d503946e0e7e07e7d3ae052170a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}, "url": "/docs/compare/?release=17.12#17.12-2483e9d75f0dba9a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "fdca0e19c746a033316842b287238483", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}, "url": "/docs/compare/?release=16.16#16.16-09034704da8da673", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "dbc7543d422be3cd0431055864d2d8a9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}, "url": "/docs/compare/?release=15.20#15.20-06149a14a55cdf8f", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "2120c023557470694994fbad903dee7c", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}, "url": "/docs/compare/?release=14.25#14.25-a92b7ef4712f87cf", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-89a7430820458b56", "cves": ["CVE-2026-116311"], "html": "<p>\n      防止 <code>DROP OWNED BY</code> 修改不属于当前用户的表上的行级安全策略（Zsolt Parragi，Anthropic OSS program）<a href=\"https://postgr.es/c/7f30f607a\">§</a>\n</p><p>\n      此前，无特权角色可以将自身从不属于自己的表上的限制性策略中移除。现在改为发出警告，与当前用户无法撤销权限时的既有处理一致。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Zsolt Parragi and the Anthropic OSS program 报告此问题。（CVE-2026-116311）\n     </p>", "text": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略（Zsolt Parragi，Anthropic OSS program）§ 此前，无特权角色可以将自身从不属于自己的表上的限制性策略中移除。现在改为发出警告，与当前用户无法撤销权限时的既有处理一致。 PostgreSQL 项目感谢 Zsolt Parragi and the Anthropic OSS program 报告此问题。（CVE-2026-116311）", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "commits": ["7f30f607a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "bd66cc0ea864653cdfcbd9ad07c4e3ab4e03ab35f6443d085844700d01c35138", "section_path": ["变更"], "commit_groups": [["05680d41c", "1f2dd21c1", "21c732aad", "368f52460", "7f30f607a", "c98434b85", "d90159929"]], "identity_text": "Prevent DROP OWNED BY from changing row-level security policies on tables that the current user does not own (Zsolt Parragi, Anthropic OSS program) Previously, an unprivileged role could remove itself from restrictive policies on tables it does not own. Instead issue a warning, as is already done for privileges that the current user cannot revoke. The PostgreSQL Project thanks Zsolt Parragi and the Anthropic OSS program for reporting this problem. (CVE-2026-116311)", "commit_aliases": ["05680d41c", "1f2dd21c1", "21c732aad", "368f52460", "7f30f607a", "c98434b85", "d90159929"], "source_commits": ["7f30f607a"], "source_entry_id": "18.7/changes/026", "db_id": "ebfc3af5fda940635ea4914f1c21d46f", "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28", "relations": [{"rule": 2, "type": "equivalent", "target": "81f943c52123ebd0958cdf937b6845c7", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}, {"rule": 2, "type": "equivalent", "target": "9c1aab4700041583816af4ef0c92e84d", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}, {"rule": 2, "type": "equivalent", "target": "a2af87052f08047a19e2ecd16a58820c", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}, {"rule": 2, "type": "equivalent", "target": "e26a4712745be7f2721933d9881e0e33", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a2af87052f08047a19e2ecd16a58820c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}, "url": "/docs/compare/?release=17.12#17.12-46a326cc5fd119dd", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "e26a4712745be7f2721933d9881e0e33", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}, "url": "/docs/compare/?release=16.16#16.16-ad8619cb619ca09c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9c1aab4700041583816af4ef0c92e84d", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}, "url": "/docs/compare/?release=15.20#15.20-d8dd77371799f323", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "81f943c52123ebd0958cdf937b6845c7", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}, "url": "/docs/compare/?release=14.25#14.25-aca236c932809615", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-68414f2aa717f4fb", "cves": ["CVE-2026-116316"], "html": "<p>\n      禁止受安全限制的操作在临时模式中创建类型（Anthropic OSS program，Nathan Bossart）<a href=\"https://postgr.es/c/448db1451\">§</a>\n</p><p>\n      此前已禁止在此上下文中创建临时表，但类型也可能遮蔽永久对象，从而导致权限提升。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116316）\n     </p>", "text": "禁止受安全限制的操作在临时模式中创建类型（Anthropic OSS program，Nathan Bossart）§ 此前已禁止在此上下文中创建临时表，但类型也可能遮蔽永久对象，从而导致权限提升。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116316）", "title": "禁止受安全限制的操作在临时模式中创建类型", "commits": ["448db1451"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a0a84e755763c4a3819eb80e382fb2d74a899f898bc5704feeaa531976866232", "section_path": ["变更"], "commit_groups": [["0ed462c1f", "3f082dcc7", "448db1451", "44ebef3b5", "91ede1768", "9c4d55de4", "ac809c8b1"]], "identity_text": "Disallow security-restricted operations from creating types in temporary schemas (Anthropic OSS program, Nathan Bossart) We already disallowed creating temporary tables in this context, but a type also presents a hazard of shadowing permanent objects and thus allowing privilege escalation. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116316)", "commit_aliases": ["0ed462c1f", "3f082dcc7", "448db1451", "44ebef3b5", "91ede1768", "9c4d55de4", "ac809c8b1"], "source_commits": ["448db1451"], "source_entry_id": "18.7/changes/027", "db_id": "557be862faf79e567b47adffd411b228", "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230", "relations": [{"rule": 2, "type": "equivalent", "target": "15b8fb6fa78c0267bff29ea643b5e3d1", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}}, {"rule": 2, "type": "equivalent", "target": "1d7d32d14bd730cdfa8175fdca7a619b", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}}, {"rule": 2, "type": "equivalent", "target": "b44c7e90121ee5be4266772e4b3e286e", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}}, {"rule": 2, "type": "equivalent", "target": "bffd928c92f8c4f507dd8026aa881633", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bffd928c92f8c4f507dd8026aa881633", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "禁止受安全限制的操作在临时模式中创建类型", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}, "url": "/docs/compare/?release=17.12#17.12-3f79a4eb3641dda7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "1d7d32d14bd730cdfa8175fdca7a619b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "禁止受安全限制的操作在临时模式中创建类型", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}, "url": "/docs/compare/?release=16.16#16.16-2abb747399ee5e56", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b44c7e90121ee5be4266772e4b3e286e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "禁止受安全限制的操作在临时模式中创建类型", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}, "url": "/docs/compare/?release=15.20#15.20-7dd147e622174cc6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "15b8fb6fa78c0267bff29ea643b5e3d1", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "禁止受安全限制的操作在临时模式中创建类型", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}, "url": "/docs/compare/?release=14.25#14.25-d06f08708b80a5d2", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-1eb450db631b93f6", "cves": ["CVE-2026-120149"], "html": "<p>\n      避免 FDW 批量插入中的越界访问（Nathan Bossart）<a href=\"https://postgr.es/c/1e0a55a0f\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Sumedh Pathak and Sven Klemm 报告此问题。（CVE-2026-120149）\n     </p>", "text": "避免 FDW 批量插入中的越界访问（Nathan Bossart）§ PostgreSQL 项目感谢 Sumedh Pathak and Sven Klemm 报告此问题。（CVE-2026-120149）", "title": "避免 FDW 批量插入中的越界访问", "commits": ["1e0a55a0f"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "dbefb92390478c7af4fb87e1fbbb70702294357ac19ff0dbac666c3388e41e2f", "section_path": ["变更"], "commit_groups": [["1e0a55a0f", "56c7f155f", "60d3e3f1f", "b7c0062c1", "be83a07a5", "e0bd77667", "ecb163f69"]], "identity_text": "Avoid out-of-bounds accesses in FDW batch inserts (Nathan Bossart) The PostgreSQL Project thanks Sumedh Pathak and Sven Klemm for reporting this problem. (CVE-2026-120149)", "commit_aliases": ["1e0a55a0f", "56c7f155f", "60d3e3f1f", "b7c0062c1", "be83a07a5", "e0bd77667", "ecb163f69"], "source_commits": ["1e0a55a0f"], "source_entry_id": "18.7/changes/028", "db_id": "13f2de584b1408a3aee525421cf41fe0", "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0", "relations": [{"rule": 2, "type": "equivalent", "target": "228f319dc8e83237060d9e488cd0f3cb", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}, {"rule": 2, "type": "equivalent", "target": "2729cbe2d80e2aebce4e3e26dacfd53b", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}, {"rule": 2, "type": "equivalent", "target": "6d3900e49eedeb472625e7dd514a0428", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}, {"rule": 2, "type": "equivalent", "target": "a340baad84fad24d96d1c2d6ab9e0dea", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "6d3900e49eedeb472625e7dd514a0428", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免 FDW 批量插入中的越界访问", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}, "url": "/docs/compare/?release=17.12#17.12-7b80f11f8ca1eb4f", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "2729cbe2d80e2aebce4e3e26dacfd53b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免 FDW 批量插入中的越界访问", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}, "url": "/docs/compare/?release=16.16#16.16-3628f00e5030ced8", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "a340baad84fad24d96d1c2d6ab9e0dea", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免 FDW 批量插入中的越界访问", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}, "url": "/docs/compare/?release=15.20#15.20-3c65c4d0352b8644", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "228f319dc8e83237060d9e488cd0f3cb", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免 FDW 批量插入中的越界访问", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}, "url": "/docs/compare/?release=14.25#14.25-9758cb127290f3b2", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e767c59e129a8665", "cves": ["CVE-2026-116333"], "html": "<p>\n      避免带有数组键的并行 B-树扫描中的越界读取（Nathan Bossart）<a href=\"https://postgr.es/c/1dfde5b37\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-116333）\n     </p>", "text": "避免带有数组键的并行 B-树扫描中的越界读取（Nathan Bossart）§ PostgreSQL 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-116333）", "title": "避免带有数组键的并行 B-树扫描中的越界读取", "commits": ["1dfde5b37"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "41fc10da9c8d46efa5ad290e1659a6b9d22ed8b4f7a6662e22f4ec50865c5893", "section_path": ["变更"], "commit_groups": [["1dfde5b37", "2d4995f79", "4cd18df09", "c6445784e"]], "identity_text": "Avoid out-of-bounds reads in parallel btree scans with array keys (Nathan Bossart) The PostgreSQL Project thanks Claude and Ada Logics for reporting this problem. (CVE-2026-116333)", "commit_aliases": ["1dfde5b37", "2d4995f79", "4cd18df09", "c6445784e"], "source_commits": ["1dfde5b37"], "source_entry_id": "18.7/changes/029", "db_id": "c3d72b59b691d63ee3331dbcb846d3cd", "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0", "relations": [{"rule": 2, "type": "equivalent", "target": "bf646fdadd9fda160866366d3baf862d", "evidence": {"same_day": true, "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bf646fdadd9fda160866366d3baf862d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免带有数组键的并行 B-树扫描中的越界读取", "evidence": {"same_day": true, "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0"}, "url": "/docs/compare/?release=17.12#17.12-a1535b9f167f37f2", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-00b0b59f55940b7f", "cves": ["CVE-2026-120144"], "html": "<p>\n      用更简单、更安全的机制替换类型缓存的 <code>in_progress_list</code> 机制（Robert Haas）<a href=\"https://postgr.es/c/2950cc789\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120144）\n     </p>", "text": "用更简单、更安全的机制替换类型缓存的 in_progress_list 机制（Robert Haas）§ PostgreSQL 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120144）", "title": "用更简单、更安全的机制替换类型缓存的 in_progress_list 机制", "commits": ["2950cc789"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "faf4b71430f87bbbd08416ba9c122d485bbf92745d13c85fe060aeaca89552a3", "section_path": ["变更"], "commit_groups": [["016b63271", "130cf749e", "2950cc789"]], "identity_text": "Replace the type cache's in_progress_list mechanism with something simpler and safer (Robert Haas) The PostgreSQL Project thanks Peter Geoghegan for reporting this problem. (CVE-2026-120144)", "commit_aliases": ["016b63271", "130cf749e", "2950cc789"], "source_commits": ["2950cc789"], "source_entry_id": "18.7/changes/030", "db_id": "353359985b5b2ff72abd004c4c0c3271", "patch_ids": ["e882cf837c5dedfa7b7f40b5dc68c69a"], "statement_hash": "52ccca78d140fecd263d1c0451887c2aa1348bdbd95f5e9c653a9dab8a1799bf", "relations": [], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-06fccc77d5d25bd6", "cves": ["CVE-2026-120148"], "html": "<p>\n      拒绝为瞬态类型的表达式创建扩展统计信息（Masahiko Sawada）<a href=\"https://postgr.es/c/74a999de1\">§</a>\n</p><p>\n      禁止对类型不能用作表列类型的表达式执行 <code>CREATE STATISTICS</code>，其中最典型的是匿名记录类型。这可以防止其他会话误解存储的值。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Mehmet Ince 报告此问题。（CVE-2026-120148）\n     </p>", "text": "拒绝为瞬态类型的表达式创建扩展统计信息（Masahiko Sawada）§ 禁止对类型不能用作表列类型的表达式执行 CREATE STATISTICS，其中最典型的是匿名记录类型。这可以防止其他会话误解存储的值。 PostgreSQL 项目感谢 Mehmet Ince 报告此问题。（CVE-2026-120148）", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "commits": ["74a999de1"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ce400c568eaed7332ae8f9f26955b82aff4ae04add9245280af604ff56c14df3", "section_path": ["变更"], "commit_groups": [["033886653", "30f67bdac", "74a999de1", "7c0735bd3", "7f51d62e1", "a98f50aec", "f2b6da9a6"]], "identity_text": "Refuse to create extended statistics on expressions of transient types (Masahiko Sawada) Disallow CREATE STATISTICS on expressions whose types would not be allowed as table column types, most notably anonymous record types. This prevents other sessions from misinterpreting the stored values. The PostgreSQL Project thanks Mehmet Ince for reporting this problem. (CVE-2026-120148)", "commit_aliases": ["033886653", "30f67bdac", "74a999de1", "7c0735bd3", "7f51d62e1", "a98f50aec", "f2b6da9a6"], "source_commits": ["74a999de1"], "source_entry_id": "18.7/changes/031", "db_id": "c941c66bf1bbdec44b694c13fb67c05f", "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a", "relations": [{"rule": 2, "type": "equivalent", "target": "0e3a1abcbefa14b252f2f231b6b71be6", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}}, {"rule": 2, "type": "equivalent", "target": "367a3a6a6b53ddc9cd452bc5e24e1123", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}}, {"rule": 2, "type": "equivalent", "target": "5120ffff8d7d425b28607230299a0e9a", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}}, {"rule": 2, "type": "equivalent", "target": "9ea8906fd0d2c84f2adeeb25a8ac8522", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9ea8906fd0d2c84f2adeeb25a8ac8522", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}, "url": "/docs/compare/?release=17.12#17.12-e2b08070f092b32d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0e3a1abcbefa14b252f2f231b6b71be6", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}, "url": "/docs/compare/?release=16.16#16.16-cf4d2fe782713f6e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "367a3a6a6b53ddc9cd452bc5e24e1123", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}, "url": "/docs/compare/?release=15.20#15.20-913e8be17cab4005", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5120ffff8d7d425b28607230299a0e9a", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}, "url": "/docs/compare/?release=14.25#14.25-1640c96bc64ad505", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f305e454aa39e982", "cves": ["CVE-2026-120145"], "html": "<p>\n      拒绝将系统目录用作逻辑复制目标（Masahiko Sawada）<a href=\"https://postgr.es/c/cc2d1a4c9\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Qian Zhang 报告此问题。（CVE-2026-120145）\n     </p>", "text": "拒绝将系统目录用作逻辑复制目标（Masahiko Sawada）§ PostgreSQL 项目感谢 Qian Zhang 报告此问题。（CVE-2026-120145）", "title": "拒绝将系统目录用作逻辑复制目标", "commits": ["cc2d1a4c9"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "95f11e08c6f2899b3eeac610b759f289c8f92fdc2a7bc4ba8dc536b64b1b7cf0", "section_path": ["变更"], "commit_groups": [["23c616158", "60c7b4d04", "71bb0b587", "7becf1984", "9532d4c94", "cc2d1a4c9", "d2ea7772e"]], "identity_text": "Reject system catalogs as logical replication targets (Masahiko Sawada) The PostgreSQL Project thanks Qian Zhang for reporting this problem. (CVE-2026-120145)", "commit_aliases": ["23c616158", "60c7b4d04", "71bb0b587", "7becf1984", "9532d4c94", "cc2d1a4c9", "d2ea7772e"], "source_commits": ["cc2d1a4c9"], "source_entry_id": "18.7/changes/032", "db_id": "691eb3234e859567c3c5c9f1667dd811", "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8", "relations": [{"rule": 2, "type": "equivalent", "target": "1459abc96ed3b7bff322e95b8e46d053", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}}, {"rule": 2, "type": "equivalent", "target": "b118851383aa9a184857ff986bdd6330", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}}, {"rule": 2, "type": "equivalent", "target": "b62f309aea1272cf6ed20daea86e42d0", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}}, {"rule": 2, "type": "equivalent", "target": "cabd1f529f2c9364cece3540633016f2", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1459abc96ed3b7bff322e95b8e46d053", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "拒绝将系统目录用作逻辑复制目标", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}, "url": "/docs/compare/?release=17.12#17.12-303b1e37c4a8969e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "cabd1f529f2c9364cece3540633016f2", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "拒绝将系统目录用作逻辑复制目标", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}, "url": "/docs/compare/?release=16.16#16.16-bb1fec008831b80a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b62f309aea1272cf6ed20daea86e42d0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "拒绝将系统目录用作逻辑复制目标", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}, "url": "/docs/compare/?release=15.20#15.20-75d6cdf8011d6e4a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "b118851383aa9a184857ff986bdd6330", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "拒绝将系统目录用作逻辑复制目标", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}, "url": "/docs/compare/?release=14.25#14.25-ce3cc2cc0fdfc0d6", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-442fa950913a47a1", "cves": ["CVE-2026-120154"], "html": "<p>\n      在应用用户限定条件之前，根据 RLS 策略检查 <code>ON CONFLICT</code> 的目标行（Peter Geoghegan，Zsolt Parragi）<a href=\"https://postgr.es/c/a748ed909\">§</a>\n</p><p>\n      此前，可泄露信息的限定表达式能够看到 RLS 策略本应禁止其看到的行。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan, Zsolt Parragi, Only see myself, the Anthropic OSS program, Joao Detomini, Josef Šimánek, and Qing Xu 报告此问题。（CVE-2026-120154）\n     </p>", "text": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行（Peter Geoghegan，Zsolt Parragi）§ 此前，可泄露信息的限定表达式能够看到 RLS 策略本应禁止其看到的行。 PostgreSQL 项目感谢 Peter Geoghegan, Zsolt Parragi, Only see myself, the Anthropic OSS program, Joao Detomini, Josef Šimánek, and Qing Xu 报告此问题。（CVE-2026-120154）", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "commits": ["a748ed909"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7646dfdbc0b9d0c6cd37f3eb8c5ea653845a2eb445dc748c03113b5df8879ea1", "section_path": ["变更"], "commit_groups": [["2f32e08ad", "48be6f9e8", "661a0951b", "9c677791d", "9ee0723c0", "a748ed909", "aac16b69f"]], "identity_text": "Check ON CONFLICT target row against RLS policies before applying user quals (Peter Geoghegan, Zsolt Parragi) Previously, leaky qual expressions could see rows that RLS policies should forbid them from seeing. The PostgreSQL Project thanks Peter Geoghegan, Zsolt Parragi, Only see myself, the Anthropic OSS program, Joao Detomini, Josef Šimánek, and Qing Xu for reporting this problem. (CVE-2026-120154)", "commit_aliases": ["2f32e08ad", "48be6f9e8", "661a0951b", "9c677791d", "9ee0723c0", "a748ed909", "aac16b69f"], "source_commits": ["a748ed909"], "source_entry_id": "18.7/changes/033", "db_id": "50cf9584b2f3869c8202a4f23ad9fb96", "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb", "relations": [{"rule": 2, "type": "equivalent", "target": "14348fc8327d3de9e2584c4727766e2b", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}}, {"rule": 2, "type": "equivalent", "target": "1be3e99def2ab140d021e838fe6a29b1", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}}, {"rule": 2, "type": "equivalent", "target": "412bfff0274560661f330db383356daa", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}}, {"rule": 2, "type": "equivalent", "target": "92a88c6b95a7058976a8b879c118d11c", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "14348fc8327d3de9e2584c4727766e2b", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}, "url": "/docs/compare/?release=17.12#17.12-f957a30c329ac59c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "92a88c6b95a7058976a8b879c118d11c", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}, "url": "/docs/compare/?release=16.16#16.16-149cbfae5d725e95", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "1be3e99def2ab140d021e838fe6a29b1", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}, "url": "/docs/compare/?release=15.20#15.20-e75939ff9dfdc583", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "412bfff0274560661f330db383356daa", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}, "url": "/docs/compare/?release=14.25#14.25-74dd171d43b5d90a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-fdd38a90c8229fab", "cves": ["CVE-2026-14661"], "html": "<p>\n      验证复制订阅和 <code>contrib/dblink</code> 中的所有连接选项（Jacob Champion）<a href=\"https://postgr.es/c/780809ba6\">§</a>\n</p><p>\n      此前，这些检查的应用不一致。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Andrey Krasichkov, Bashir Altawil, and Zsolt Parragi 报告此问题。（CVE-2026-14661）\n     </p>", "text": "验证复制订阅和 contrib/dblink 中的所有连接选项（Jacob Champion）§ 此前，这些检查的应用不一致。 PostgreSQL 项目感谢 Andrey Krasichkov, Bashir Altawil, and Zsolt Parragi 报告此问题。（CVE-2026-14661）", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "commits": ["780809ba6"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2f730615d639701c38996412cd338e80e0dfdee4bb7fd2bf4c051f6420c1904a", "section_path": ["变更"], "commit_groups": [["08010fa4f", "0adbf6bb1", "6925c6816", "780809ba6", "8bead7abd", "ea9b427fa", "f7b12b9f7"]], "identity_text": "Validate all connection options in replication subscriptions and contrib/dblink (Jacob Champion) Previously, these checks were applied inconsistently. The PostgreSQL Project thanks Andrey Krasichkov, Bashir Altawil, and Zsolt Parragi for reporting this problem. (CVE-2026-14661)", "commit_aliases": ["08010fa4f", "0adbf6bb1", "6925c6816", "780809ba6", "8bead7abd", "ea9b427fa", "f7b12b9f7"], "source_commits": ["780809ba6"], "source_entry_id": "18.7/changes/034", "db_id": "ce745749b4b887d695e3e090c75bddbc", "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e", "relations": [{"rule": 2, "type": "equivalent", "target": "0db9ed4ccdac0287ea08061595317c6c", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}}, {"rule": 2, "type": "equivalent", "target": "8af11367162355c6e9fb73a77635e98e", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}}, {"rule": 2, "type": "equivalent", "target": "c34223b135fff1f3d9f7f220fe3180b6", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}}, {"rule": 2, "type": "equivalent", "target": "c8abeee3b9b5d557cb47cd647d49cf82", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c8abeee3b9b5d557cb47cd647d49cf82", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}, "url": "/docs/compare/?release=17.12#17.12-fe2d2327fb44128d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0db9ed4ccdac0287ea08061595317c6c", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}, "url": "/docs/compare/?release=16.16#16.16-8380ce71f5c5cfa0", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "8af11367162355c6e9fb73a77635e98e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}, "url": "/docs/compare/?release=15.20#15.20-bf8eee334020853f", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "c34223b135fff1f3d9f7f220fe3180b6", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}, "url": "/docs/compare/?release=14.25#14.25-5eeb2336622fb3c3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e46ddd8ffe409a86", "cves": ["CVE-2026-120142"], "html": "<p>\n      在比较行类型时安全地处理已删除的列（Peter Geoghegan）<a href=\"https://postgr.es/c/35d851811\">§</a>\n</p><p>\n      此前，如果两个行类型在同一位置都有已删除的列，即使这些列的物理宽度不同，也可能被视为相同。这会在尝试拆解这些类型的元组时导致问题。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan and Mehmet Ince 报告此问题。（CVE-2026-120142）\n     </p>", "text": "在比较行类型时安全地处理已删除的列（Peter Geoghegan）§ 此前，如果两个行类型在同一位置都有已删除的列，即使这些列的物理宽度不同，也可能被视为相同。这会在尝试拆解这些类型的元组时导致问题。 PostgreSQL 项目感谢 Peter Geoghegan and Mehmet Ince 报告此问题。（CVE-2026-120142）", "title": "在比较行类型时安全地处理已删除的列", "commits": ["35d851811"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0e6b3a97d15899ec09194968563efd1f04ab6aee7ff04acb50e7b5dffda7dda3", "section_path": ["变更"], "commit_groups": [["354d5c71b", "35d851811", "c2439a043", "c9f334488"]], "identity_text": "Handle dropped columns safely while comparing row types (Peter Geoghegan) Previously, two row types that had dropped columns at the same position could be considered equal even if those columns were of different physical widths. That leads to problems when trying to deconstruct tuples of those types. The PostgreSQL Project thanks Peter Geoghegan and Mehmet Ince for reporting this problem. (CVE-2026-120142)", "commit_aliases": ["354d5c71b", "35d851811", "c2439a043", "c9f334488"], "source_commits": ["35d851811"], "source_entry_id": "18.7/changes/035", "db_id": "da2c01bc364c850ddae8f49c6b88ba4d", "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219", "relations": [{"rule": 2, "type": "equivalent", "target": "47c8b1a99b6a3489d0f1b0949a40bdce", "evidence": {"same_day": true, "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "47c8b1a99b6a3489d0f1b0949a40bdce", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在比较行类型时安全地处理已删除的列", "evidence": {"same_day": true, "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219"}, "url": "/docs/compare/?release=17.12#17.12-dd4f11d18f61df5d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-fd9ba2a5a9a48974", "cves": ["CVE-2026-18447"], "html": "<p>\n      禁止将 SQL 函数声明为返回 <code>\"any\"</code> 类型（Peter Geoghegan）<a href=\"https://postgr.es/c/ff961cbbf\">§</a>\n</p><p>\n      这会导致类型违规。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan, Claude and Ada Logics 报告此问题。（CVE-2026-18447）\n     </p>", "text": "禁止将 SQL 函数声明为返回 \"any\" 类型（Peter Geoghegan）§ 这会导致类型违规。 PostgreSQL 项目感谢 Peter Geoghegan, Claude and Ada Logics 报告此问题。（CVE-2026-18447）", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "commits": ["ff961cbbf"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ee9f6d596dc9c9c3a8fcbfd5ed43c12995870d36745e75d28b8e55f92ad469bc", "section_path": ["变更"], "commit_groups": [["046a36e03", "4ac399b6e", "5e99fab61", "c2f70845c", "ded6c00d3", "eb423d598", "ff961cbbf"]], "identity_text": "Disallow declaring SQL functions as returning type \"any\" (Peter Geoghegan) This allowed type violations. The PostgreSQL Project thanks Peter Geoghegan, Claude and Ada Logics for reporting this problem. (CVE-2026-18447)", "commit_aliases": ["046a36e03", "4ac399b6e", "5e99fab61", "c2f70845c", "ded6c00d3", "eb423d598", "ff961cbbf"], "source_commits": ["ff961cbbf"], "source_entry_id": "18.7/changes/036", "db_id": "bd0aa31d589decc95c90e16be4672c69", "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29", "relations": [{"rule": 2, "type": "equivalent", "target": "5b3006fe5c2b9cd5598edc04505e4707", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}}, {"rule": 2, "type": "equivalent", "target": "6a05b1f4ef4c1e533040a13083a8b4d8", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}}, {"rule": 2, "type": "equivalent", "target": "7d779116da0be61dce5d13ba4eedb823", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}}, {"rule": 2, "type": "equivalent", "target": "ccd32e298ab1369379b20f1e3b6b0731", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "7d779116da0be61dce5d13ba4eedb823", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}, "url": "/docs/compare/?release=17.12#17.12-ec828e4e02c0a2ce", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "6a05b1f4ef4c1e533040a13083a8b4d8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}, "url": "/docs/compare/?release=16.16#16.16-66eb157ec8c696c8", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "ccd32e298ab1369379b20f1e3b6b0731", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}, "url": "/docs/compare/?release=15.20#15.20-74f5836cd2110233", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5b3006fe5c2b9cd5598edc04505e4707", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}, "url": "/docs/compare/?release=14.25#14.25-53a67c39fc2a5b3d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-cb25ada02d4a7fb3", "cves": ["CVE-2026-120139"], "html": "<p>\n      加固更多内存大小计算，防止整数溢出（Álvaro Herrera）<a href=\"https://postgr.es/c/317b7bcab\">§</a> <a href=\"https://postgr.es/c/f1b226dee\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Hillai Ben Sasson, Jayden Sarveshkumar, and Mehmet Ince 报告此问题。（CVE-2026-120139）\n     </p>", "text": "加固更多内存大小计算，防止整数溢出（Álvaro Herrera）§ § PostgreSQL 项目感谢 Hillai Ben Sasson, Jayden Sarveshkumar, and Mehmet Ince 报告此问题。（CVE-2026-120139）", "title": "加固更多内存大小计算，防止整数溢出", "commits": ["317b7bcab", "f1b226dee"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "55523bfa46002593d2793f805f9e8e9c8d512471a540a301cac474f327f805fc", "section_path": ["变更"], "commit_groups": [["01cdd163c", "249fa011f", "317b7bcab", "7bb89dbfd", "9fe1c7813", "aa2d0aefe", "bef80ad61"], ["16aa33802", "376324afd", "4a95f56c0", "839b1a04e", "a17bc8b3c", "c152f62ac", "f1b226dee"]], "identity_text": "Harden more memory-size calculations against integer overflow (Álvaro Herrera) The PostgreSQL Project thanks Hillai Ben Sasson, Jayden Sarveshkumar, and Mehmet Ince for reporting this problem. (CVE-2026-120139)", "commit_aliases": ["01cdd163c", "16aa33802", "249fa011f", "317b7bcab", "376324afd", "4a95f56c0", "7bb89dbfd", "839b1a04e", "9fe1c7813", "a17bc8b3c", "aa2d0aefe", "bef80ad61", "c152f62ac", "f1b226dee"], "source_commits": ["317b7bcab", "f1b226dee"], "source_entry_id": "18.7/changes/037", "db_id": "0f413e19c8f7640f612e6944652e76f1", "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f", "relations": [{"rule": 2, "type": "equivalent", "target": "7e48acdab98bc85f013f2b49dcba9726", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}}, {"rule": 2, "type": "equivalent", "target": "9cbb0b4afbf283d36b2f9ba880485ac9", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}}, {"rule": 2, "type": "equivalent", "target": "af806d7638a8141c140ff96a0bdd69ce", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}}, {"rule": 2, "type": "equivalent", "target": "ee3cf66218dcc42d9ac950dcbc462288", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee3cf66218dcc42d9ac950dcbc462288", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "加固更多内存大小计算，防止整数溢出", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}, "url": "/docs/compare/?release=17.12#17.12-cebba0d1d48cc816", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "af806d7638a8141c140ff96a0bdd69ce", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "加固更多内存大小计算，防止整数溢出", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}, "url": "/docs/compare/?release=16.16#16.16-d2f4bce7fc33f5c5", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9cbb0b4afbf283d36b2f9ba880485ac9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "加固更多内存大小计算，防止整数溢出", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}, "url": "/docs/compare/?release=15.20#15.20-68f0dd46f1245bc2", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "7e48acdab98bc85f013f2b49dcba9726", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "加固更多内存大小计算，防止整数溢出", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}, "url": "/docs/compare/?release=14.25#14.25-d1d1e2e91ca87710", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-7987622d602ff5a2", "cves": ["CVE-2026-120141"], "html": "<p>\n      修复返回 <code>RECORD</code> 的集合返回函数在查询目标列表中物化时的类型混淆（Melanie Plageman，Robert Haas）<a href=\"https://postgr.es/c/4fb349500\">§</a>\n</p><p>\n      多次调用共用同一个元组描述符，这并不安全，因为实际记录类型可能发生变化。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120141）\n     </p>", "text": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆（Melanie Plageman，Robert Haas）§ 多次调用共用同一个元组描述符，这并不安全，因为实际记录类型可能发生变化。 PostgreSQL 项目感谢 Peter Geoghegan 报告此问题。（CVE-2026-120141）", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "commits": ["4fb349500"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "39c38839e5e9195b58d656c80bb7562f12a046092f59c9049be44b91487b6b26", "section_path": ["变更"], "commit_groups": [["19cff5432", "4fb349500", "55c00bffe", "6f6e4a955", "74bb8aa8c", "9bb8b360f", "c5dc8b0a0"]], "identity_text": "Fix type confusion in set-returning functions that return RECORD, when materialized in a query's target list (Melanie Plageman, Robert Haas) The same tuple descriptor was used across multiple calls, which is unsafe since the actual record type could vary. The PostgreSQL Project thanks Peter Geoghegan for reporting this problem. (CVE-2026-120141)", "commit_aliases": ["19cff5432", "4fb349500", "55c00bffe", "6f6e4a955", "74bb8aa8c", "9bb8b360f", "c5dc8b0a0"], "source_commits": ["4fb349500"], "source_entry_id": "18.7/changes/038", "db_id": "b751c2132d15f23de1a82ebc15b7c378", "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c", "relations": [{"rule": 2, "type": "equivalent", "target": "1d1354d78b6485461cccb0662892ae7d", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}}, {"rule": 2, "type": "equivalent", "target": "4f97c4074902c264368fabd3d0b634a6", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}}, {"rule": 2, "type": "equivalent", "target": "7ccbb0557e688a442a90a04e1ae80fa6", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}}, {"rule": 2, "type": "equivalent", "target": "96a8d07f08bd0bff5e6d272836b0b25d", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "96a8d07f08bd0bff5e6d272836b0b25d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}, "url": "/docs/compare/?release=17.12#17.12-16c1f2b5d80d4ea9", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "7ccbb0557e688a442a90a04e1ae80fa6", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}, "url": "/docs/compare/?release=16.16#16.16-125587377c7bf49d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "1d1354d78b6485461cccb0662892ae7d", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}, "url": "/docs/compare/?release=15.20#15.20-e58b9e1e19d16c63", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "4f97c4074902c264368fabd3d0b634a6", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}, "url": "/docs/compare/?release=14.25#14.25-75d05f649b0ba7b0", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-44dcd5d42636127f", "cves": ["CVE-2026-120151"], "html": "<p>\n      在 PL/pgSQL 记录字段赋值中处理并发的行类型变更（Tom Lane）<a href=\"https://postgr.es/c/6b1ca1333\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120151）\n     </p>", "text": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更（Tom Lane）§ PostgreSQL 项目感谢 Claude and Ada Logics 报告此问题。（CVE-2026-120151）", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "commits": ["6b1ca1333"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6a5eb9d5e4b413f108739cc8abab8aa8c7c302400949801e691fa5fb9ae4df4a", "section_path": ["变更"], "commit_groups": [["3754d3689", "3a3eb7616", "6b1ca1333", "c4a0b7919", "cac94a040", "fd4e840b6", "ff2e66f49"]], "identity_text": "Cope with concurrent rowtype changes in PL/pgSQL record field assignment (Tom Lane) The PostgreSQL Project thanks Claude and Ada Logics for reporting this problem. (CVE-2026-120151)", "commit_aliases": ["3754d3689", "3a3eb7616", "6b1ca1333", "c4a0b7919", "cac94a040", "fd4e840b6", "ff2e66f49"], "source_commits": ["6b1ca1333"], "source_entry_id": "18.7/changes/039", "db_id": "f6f7f233a3fb74f97c499fd7614b121d", "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9", "relations": [{"rule": 2, "type": "equivalent", "target": "409a4040f8df443274f5d69f5c09032d", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}}, {"rule": 2, "type": "equivalent", "target": "8cd4adf3354d025ecf591f43d88178ad", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}}, {"rule": 2, "type": "equivalent", "target": "ac22f1ce617793438a0222fa9bb95fb7", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}}, {"rule": 2, "type": "equivalent", "target": "e732e3d0297ccd738239ce37be56cece", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "409a4040f8df443274f5d69f5c09032d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}, "url": "/docs/compare/?release=17.12#17.12-98e2d49abdb6f3ab", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "e732e3d0297ccd738239ce37be56cece", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}, "url": "/docs/compare/?release=16.16#16.16-7e917295046e0934", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "8cd4adf3354d025ecf591f43d88178ad", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}, "url": "/docs/compare/?release=15.20#15.20-78aef332f42a8988", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "ac22f1ce617793438a0222fa9bb95fb7", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}, "url": "/docs/compare/?release=14.25#14.25-0dca43a79e5950a2", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-2c409bd6f61052a1", "cves": ["CVE-2026-116326"], "html": "<p>\n      在 PL/Perl 和相关 contrib 模块中支持<span>“<span>绑定</span>”</span>的 Perl 对象（Andrey Rachitskiy）<a href=\"https://postgr.es/c/bbe476c74\">§</a>\n</p><p>\n      此前，如果将绑定对象传给 PL/Perl 操作，它很可能会被当作 <code>undef</code>，因为我们没有对传入值执行 Perl 的 get magic。绑定哈希只能部分工作：可以读出键，但其值总是读作 <code>undef</code>。\n     </p><p>\n      此项更改最初计划只用于 master 分支，因为它看起来像是在增加功能。但随后发现，即使没有此补丁，绑定对象也可能触发各种达到安全漏洞级别的异常行为。因此，先将此项更改回补到旧分支，比尝试分别保障两套行为的安全更为合适。（CVE-2026-116326）\n     </p>", "text": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象（Andrey Rachitskiy）§ 此前，如果将绑定对象传给 PL/Perl 操作，它很可能会被当作 undef，因为我们没有对传入值执行 Perl 的 get magic。绑定哈希只能部分工作：可以读出键，但其值总是读作 undef。 此项更改最初计划只用于 master 分支，因为它看起来像是在增加功能。但随后发现，即使没有此补丁，绑定对象也可能触发各种达到安全漏洞级别的异常行为。因此，先将此项更改回补到旧分支，比尝试分别保障两套行为的安全更为合适。（CVE-2026-116326）", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "commits": ["bbe476c74"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0972323174c5700af193b86f1706c30202c7b048933154f6f96aa83ab75798c7", "section_path": ["变更"], "commit_groups": [["217eb08b4", "26a89a81a", "68abacaca", "8b3a668b1", "a1a43897e", "bbe476c74", "ccab6d36d"]], "identity_text": "Support tied Perl objects in PL/Perl and associated contrib modules (Andrey Rachitskiy) Up to now, if you passed a tied object to a PL/Perl operation, it would most likely get treated as undef, since we failed to perform Perl get magic on values we're passed. Tied hashes worked partially, in that you could read out their keys, but the values always read as undef. Originally this was intended as a master-only change, since it looks like a feature addition. But afterwards we discovered that assorted security-grade misbehaviors could be triggered by tied objects even without this patch. Rather than trying to secure two sets of behaviors, it seems best to back-patch this change first. (CVE-2026-116326)", "commit_aliases": ["217eb08b4", "26a89a81a", "68abacaca", "8b3a668b1", "a1a43897e", "bbe476c74", "ccab6d36d"], "source_commits": ["bbe476c74"], "source_entry_id": "18.7/changes/040", "db_id": "c7a62d588cfe8cbdf02239efb8e683bb", "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4", "relations": [{"rule": 2, "type": "equivalent", "target": "1ea7962108f6f6a60c8f1c9636fd68c9", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}}, {"rule": 2, "type": "equivalent", "target": "280310d26a42f4bc69a2a85bc4ce7d42", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}}, {"rule": 2, "type": "equivalent", "target": "68bb91cfe59fd57cce1a43e6953e641a", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}}, {"rule": 2, "type": "equivalent", "target": "f614d272d6893ce97faaf68ede8560d1", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "280310d26a42f4bc69a2a85bc4ce7d42", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}, "url": "/docs/compare/?release=17.12#17.12-0868c4ffea5d98dc", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f614d272d6893ce97faaf68ede8560d1", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}, "url": "/docs/compare/?release=16.16#16.16-ba8e802921b4e1dc", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "68bb91cfe59fd57cce1a43e6953e641a", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}, "url": "/docs/compare/?release=15.20#15.20-72e4a7b24c1bb3d3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "1ea7962108f6f6a60c8f1c9636fd68c9", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}, "url": "/docs/compare/?release=14.25#14.25-e9e2f6aa20ce34f9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-2b1d55876b170c1d", "cves": ["CVE-2026-116326"], "html": "<p>\n      修复 PL/Perl 对绑定对象抛出错误的处理（Tom Lane，Andrew Dunstan）<a href=\"https://postgr.es/c/8d308caee\">§</a> <a href=\"https://postgr.es/c/3ce3d94c0\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Ngoc Tran, the Anthropic OSS program, and Dwij Mehta 报告此问题。（CVE-2026-116326）\n     </p>", "text": "修复 PL/Perl 对绑定对象抛出错误的处理（Tom Lane，Andrew Dunstan）§ § PostgreSQL 项目感谢 Ngoc Tran, the Anthropic OSS program, and Dwij Mehta 报告此问题。（CVE-2026-116326）", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "commits": ["3ce3d94c0", "8d308caee"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "35bc408deee705888f8e1f933ebf0f42fde6efc8be63b48e4d284db4f586ef23", "section_path": ["变更"], "commit_groups": [["3ce3d94c0", "41a3a980e", "6e5524cda", "80e73b3ce", "8d6ca4358", "a38943996", "e9f179372"], ["62a19e158", "7db7244ee", "8ab0f897d", "8d308caee", "ab70d013e", "c6d81df55", "daafcbd11"]], "identity_text": "Fix PL/Perl to cope with errors thrown from tied objects (Tom Lane, Andrew Dunstan) The PostgreSQL Project thanks Ngoc Tran, the Anthropic OSS program, and Dwij Mehta for reporting this problem. (CVE-2026-116326)", "commit_aliases": ["3ce3d94c0", "41a3a980e", "62a19e158", "6e5524cda", "7db7244ee", "80e73b3ce", "8ab0f897d", "8d308caee", "8d6ca4358", "a38943996", "ab70d013e", "c6d81df55", "daafcbd11", "e9f179372"], "source_commits": ["3ce3d94c0", "8d308caee"], "source_entry_id": "18.7/changes/041", "db_id": "9f65c6af2d0c170a6493fa55aadc5541", "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf", "relations": [{"rule": 2, "type": "equivalent", "target": "29fb5888ddb84e217d331f39605e9ecf", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}}, {"rule": 2, "type": "equivalent", "target": "546bc2db9aa9d617727799944a4be6e0", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}}, {"rule": 2, "type": "equivalent", "target": "97318e2a35f37014a61cd87d44b1b4ed", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}}, {"rule": 2, "type": "equivalent", "target": "c12b3443ddbcb5862f4d604b25917b59", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "97318e2a35f37014a61cd87d44b1b4ed", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}, "url": "/docs/compare/?release=17.12#17.12-740cd9073b7303d2", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c12b3443ddbcb5862f4d604b25917b59", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}, "url": "/docs/compare/?release=16.16#16.16-4100c91acb6e09d4", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "546bc2db9aa9d617727799944a4be6e0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}, "url": "/docs/compare/?release=15.20#15.20-a0d9d49fc579c32a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "29fb5888ddb84e217d331f39605e9ecf", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}, "url": "/docs/compare/?release=14.25#14.25-645b1e25f871adc1", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-6213224f3f3a5351", "cves": ["CVE-2026-116309"], "html": "<p>\n      修复 PL/Perl 的 <code>get_perl_array_ref()</code> 中的类型混淆（Andrew Dunstan）<a href=\"https://postgr.es/c/030b28a8d\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Zheng Yu 报告此问题。（CVE-2026-116309）\n     </p>", "text": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆（Andrew Dunstan）§ PostgreSQL 项目感谢 Zheng Yu 报告此问题。（CVE-2026-116309）", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "commits": ["030b28a8d"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3d5e2d3445cf4376e760a0c27fb54db14ab77193fe832590d8affcb84335bdc7", "section_path": ["变更"], "commit_groups": [["030b28a8d", "0bf1ac6be", "25baebeb2", "7138dcbef", "832857532", "c032c0fbd", "dcc32e7d9"]], "identity_text": "Fix type confusion in PL/Perl's get_perl_array_ref() (Andrew Dunstan) The PostgreSQL Project thanks Zheng Yu for reporting this problem. (CVE-2026-116309)", "commit_aliases": ["030b28a8d", "0bf1ac6be", "25baebeb2", "7138dcbef", "832857532", "c032c0fbd", "dcc32e7d9"], "source_commits": ["030b28a8d"], "source_entry_id": "18.7/changes/042", "db_id": "33d917dda561f6105d53f127e9738f10", "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29", "relations": [{"rule": 2, "type": "equivalent", "target": "07edb680d57ea436c04512232234b456", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}}, {"rule": 2, "type": "equivalent", "target": "4ad221c7ff5ab7a4a7c835ac4072032b", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}}, {"rule": 2, "type": "equivalent", "target": "9a071fc8fd6633930c12174b97300cfc", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}}, {"rule": 2, "type": "equivalent", "target": "a2761868652a35a95a68e884893d4d3e", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9a071fc8fd6633930c12174b97300cfc", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}, "url": "/docs/compare/?release=17.12#17.12-65fb53ffec9ead75", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a2761868652a35a95a68e884893d4d3e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}, "url": "/docs/compare/?release=16.16#16.16-2bd8346461dafc44", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "07edb680d57ea436c04512232234b456", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}, "url": "/docs/compare/?release=15.20#15.20-780853de96a9a57b", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "4ad221c7ff5ab7a4a7c835ac4072032b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}, "url": "/docs/compare/?release=14.25#14.25-4b189c6fb8ae6e1f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b8b4a40b2132ec78", "cves": ["CVE-2026-116320"], "html": "<p>\n      修复扫描 Perl 数组和哈希时释放后使用内存的问题（Tom Lane，Anthropic OSS program）<a href=\"https://postgr.es/c/5215e9d6a\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116320）\n     </p>", "text": "修复扫描 Perl 数组和哈希时释放后使用内存的问题（Tom Lane，Anthropic OSS program）§ PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116320）", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "commits": ["5215e9d6a"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "14488dbc6556ac0ff06876ebd2fa750d2bbb50921061d2725cf7c609aa4ba04e", "section_path": ["变更"], "commit_groups": [["5215e9d6a", "adbbabe18", "b9ad25564", "bcb007a72", "bd76c497e", "d1883981a", "f3e7fe9c6"]], "identity_text": "Fix use-after-free in scans of Perl arrays and hashes (Tom Lane, Anthropic OSS program) The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116320)", "commit_aliases": ["5215e9d6a", "adbbabe18", "b9ad25564", "bcb007a72", "bd76c497e", "d1883981a", "f3e7fe9c6"], "source_commits": ["5215e9d6a"], "source_entry_id": "18.7/changes/043", "db_id": "e00d4cb0494c3249e054cdaf4892bf1b", "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de", "relations": [{"rule": 2, "type": "equivalent", "target": "015d56a997c503af361dc471cb3644d4", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}}, {"rule": 2, "type": "equivalent", "target": "70d4167b7ea705d6fb797ec552285cc5", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}}, {"rule": 2, "type": "equivalent", "target": "7e2aefd759c63911ec8691865d356c46", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}}, {"rule": 2, "type": "equivalent", "target": "b479400618868a82c06a15155b9195e9", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "b479400618868a82c06a15155b9195e9", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}, "url": "/docs/compare/?release=17.12#17.12-5bfda92c2d86cd4d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "015d56a997c503af361dc471cb3644d4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}, "url": "/docs/compare/?release=16.16#16.16-7db70148c2859572", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "70d4167b7ea705d6fb797ec552285cc5", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}, "url": "/docs/compare/?release=15.20#15.20-f2ef7c06f196ce34", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "7e2aefd759c63911ec8691865d356c46", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}, "url": "/docs/compare/?release=14.25#14.25-ba4d72d2da545f05", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-68196d4ff4175d9d", "cves": ["CVE-2026-116319"], "html": "<p>\n      修复 <code>plperl_return_next_internal()</code> 中释放后使用内存的问题（Anthropic OSS program）<a href=\"https://postgr.es/c/343663966\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program and Ngoc Tran 报告此问题。（CVE-2026-116319）\n     </p>", "text": "修复 plperl_return_next_internal() 中释放后使用内存的问题（Anthropic OSS program）§ PostgreSQL 项目感谢 the Anthropic OSS program and Ngoc Tran 报告此问题。（CVE-2026-116319）", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "commits": ["343663966"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "833fcc711830388b43b087088546f41bac8b37a89dfc208d1ee5dc9838f1de4d", "section_path": ["变更"], "commit_groups": [["1388b0fbd", "343663966", "556614e04", "a78974d34", "e51917d91", "eab800134", "f2f1fd38f"]], "identity_text": "Fix use-after-free in plperl_return_next_internal() (Anthropic OSS program) The PostgreSQL Project thanks the Anthropic OSS program and Ngoc Tran for reporting this problem. (CVE-2026-116319)", "commit_aliases": ["1388b0fbd", "343663966", "556614e04", "a78974d34", "e51917d91", "eab800134", "f2f1fd38f"], "source_commits": ["343663966"], "source_entry_id": "18.7/changes/044", "db_id": "87e29a2eec5b9f5a0ea3e35d7f63d4f7", "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc", "relations": [{"rule": 2, "type": "equivalent", "target": "419b6220b6e206ca53a58f9123e377e0", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}}, {"rule": 2, "type": "equivalent", "target": "4331b3929e1d1f2f8bae8bcece4d62f9", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}}, {"rule": 2, "type": "equivalent", "target": "97b167414a2c96cd650c170c17bc0e83", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}}, {"rule": 2, "type": "equivalent", "target": "a55d6d5428458fd34edf5218814619fc", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a55d6d5428458fd34edf5218814619fc", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}, "url": "/docs/compare/?release=17.12#17.12-50e47a45a6126d0d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "419b6220b6e206ca53a58f9123e377e0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}, "url": "/docs/compare/?release=16.16#16.16-793025b1396fd19a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "4331b3929e1d1f2f8bae8bcece4d62f9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}, "url": "/docs/compare/?release=15.20#15.20-c0e352f2df63d8a9", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "97b167414a2c96cd650c170c17bc0e83", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}, "url": "/docs/compare/?release=14.25#14.25-c1e6d4f6b469b321", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f50f8b74703d2674", "cves": ["CVE-2026-116307"], "html": "<p>\n      修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题（Masahiko Sawada）<a href=\"https://postgr.es/c/250405afb\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Zheng Yu and the Anthropic OSS program 报告此问题。（CVE-2026-116307）\n     </p>", "text": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题（Masahiko Sawada）§ PostgreSQL 项目感谢 Zheng Yu and the Anthropic OSS program 报告此问题。（CVE-2026-116307）", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "commits": ["250405afb"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "bd567f26f6f9ed2bb6a5a954e2a2fb53c473a261c4101296ea7b14c4f53d7a16", "section_path": ["变更"], "commit_groups": [["11ed90979", "2009539be", "250405afb", "31d908432", "99c7967a7", "b4ebd7240", "c148f9509"]], "identity_text": "In PL/Perl, fix use-after-free triggered by releasing a prepared query that is being executed (Masahiko Sawada) The PostgreSQL Project thanks Zheng Yu and the Anthropic OSS program for reporting this problem. (CVE-2026-116307)", "commit_aliases": ["11ed90979", "2009539be", "250405afb", "31d908432", "99c7967a7", "b4ebd7240", "c148f9509"], "source_commits": ["250405afb"], "source_entry_id": "18.7/changes/045", "db_id": "85d744eb6be16569c8d370abc70d381a", "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0", "relations": [{"rule": 2, "type": "equivalent", "target": "4b2a13bea97926407f06bc4387896c1a", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}}, {"rule": 2, "type": "equivalent", "target": "92d1d1232d090ea1fc8c481ffb901f0d", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}}, {"rule": 2, "type": "equivalent", "target": "9ec953f07b1a0699d6672039a7fde6dc", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}}, {"rule": 2, "type": "equivalent", "target": "a256d0430a284ae558bd8f03bcef46de", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "92d1d1232d090ea1fc8c481ffb901f0d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}, "url": "/docs/compare/?release=17.12#17.12-ef1888120d175219", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a256d0430a284ae558bd8f03bcef46de", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}, "url": "/docs/compare/?release=16.16#16.16-2ff3299d717fceb3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "4b2a13bea97926407f06bc4387896c1a", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}, "url": "/docs/compare/?release=15.20#15.20-0dfffeded2ad76e3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "9ec953f07b1a0699d6672039a7fde6dc", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}, "url": "/docs/compare/?release=14.25#14.25-b118f4ec59040dcf", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e8455c8d89345621", "cves": ["CVE-2026-116323"], "html": "<p>\n      修复重入使用 PL/Tcl 时释放后使用内存的风险（Tom Lane）<a href=\"https://postgr.es/c/f01727316\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116323）\n     </p>", "text": "修复重入使用 PL/Tcl 时释放后使用内存的风险（Tom Lane）§ PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116323）", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "commits": ["f01727316"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "78c62a547e363e3bc8af2e3fd4c864c98f8485be6f7e6d01e80fd05a032fc3db", "section_path": ["变更"], "commit_groups": [["05114072c", "5eaab71a7", "9d15ca063", "b2b0f9507", "bc1fa1003", "c0ac961ce", "f01727316"]], "identity_text": "Fix use-after-free hazards in re-entrant use of PL/Tcl (Tom Lane) The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116323)", "commit_aliases": ["05114072c", "5eaab71a7", "9d15ca063", "b2b0f9507", "bc1fa1003", "c0ac961ce", "f01727316"], "source_commits": ["f01727316"], "source_entry_id": "18.7/changes/046", "db_id": "66c171df6c4a73c534994cc848365dbe", "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae", "relations": [{"rule": 2, "type": "equivalent", "target": "12415df2d5af615d1b9a0c4b4b6f47a8", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}}, {"rule": 2, "type": "equivalent", "target": "1b92f22ee938165201faafe27975fd37", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}}, {"rule": 2, "type": "equivalent", "target": "31563dbe84b1540c8016f5a7a3dca40b", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}}, {"rule": 2, "type": "equivalent", "target": "d8dac1442fa85c02b7bf92560df27f45", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "31563dbe84b1540c8016f5a7a3dca40b", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}, "url": "/docs/compare/?release=17.12#17.12-3b2832389bb7e6df", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "12415df2d5af615d1b9a0c4b4b6f47a8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}, "url": "/docs/compare/?release=16.16#16.16-24dbed6cf915db28", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "d8dac1442fa85c02b7bf92560df27f45", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}, "url": "/docs/compare/?release=15.20#15.20-b0f5f39371cbeb30", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "1b92f22ee938165201faafe27975fd37", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}, "url": "/docs/compare/?release=14.25#14.25-08695b726fe6405f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-cc5ab0ad14e1452e", "cves": ["CVE-2026-120147"], "html": "<p>\n      拒绝重入使用 <code>contrib/dblink</code>（Masahiko Sawada）<a href=\"https://postgr.es/c/b8fbeeb76\">§</a>\n</p><p>\n<span>PostgreSQL</span> 项目感谢 Jiyong Ahn 报告此问题。（CVE-2026-120147）\n     </p>", "text": "拒绝重入使用 contrib/dblink（Masahiko Sawada）§ PostgreSQL 项目感谢 Jiyong Ahn 报告此问题。（CVE-2026-120147）", "title": "拒绝重入使用 contrib/dblink", "commits": ["b8fbeeb76"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "79e48819c41b4b3f254003f0eeb0a75b3331ce1ad6d1bbad1b4cb75eeef884f8", "section_path": ["变更"], "commit_groups": [["2fe5aa626", "33f4232cb", "887f6fee5", "abe3b910a", "b8fbeeb76", "b90297426", "f0aa15186"]], "identity_text": "Reject re-entrant use of contrib/dblink (Masahiko Sawada) The PostgreSQL Project thanks Jiyong Ahn for reporting this problem. (CVE-2026-120147)", "commit_aliases": ["2fe5aa626", "33f4232cb", "887f6fee5", "abe3b910a", "b8fbeeb76", "b90297426", "f0aa15186"], "source_commits": ["b8fbeeb76"], "source_entry_id": "18.7/changes/047", "db_id": "8ef2c34c592068847b16582815445770", "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724", "relations": [{"rule": 2, "type": "equivalent", "target": "800d50b4c27cfa1fd9dabf25f8dd4b85", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}}, {"rule": 2, "type": "equivalent", "target": "9c2e4f3f8746458069e74c22a53bc825", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}}, {"rule": 2, "type": "equivalent", "target": "ad96831820c46419cb7ee07c5b93f233", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}}, {"rule": 2, "type": "equivalent", "target": "b2f317cfdabea0af82d42712dad38962", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "800d50b4c27cfa1fd9dabf25f8dd4b85", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "拒绝重入使用 contrib/dblink", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}, "url": "/docs/compare/?release=17.12#17.12-06c0d6713b9febc4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ad96831820c46419cb7ee07c5b93f233", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "拒绝重入使用 contrib/dblink", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}, "url": "/docs/compare/?release=16.16#16.16-f51cd30c55dc040c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9c2e4f3f8746458069e74c22a53bc825", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "拒绝重入使用 contrib/dblink", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}, "url": "/docs/compare/?release=15.20#15.20-0f8ab83e3b5c168c", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "b2f317cfdabea0af82d42712dad38962", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "拒绝重入使用 contrib/dblink", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}, "url": "/docs/compare/?release=14.25#14.25-534e3ac6f6d2ff36", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f093a9d8f774b53f", "cves": ["CVE-2026-116308"], "html": "<p>\n      在 <code>contrib/dict_int</code> 中为零长度词元返回 NULL（Nathan Bossart，Anthropic OSS program）<a href=\"https://postgr.es/c/8373a4215\">§</a>\n</p><p>\n      此行为与其他全文检索词典类型一致，并避免了此前可能发生的服务器内存泄露。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Nathan Bossart and the Anthropic OSS program 报告此问题。（CVE-2026-116308）\n     </p>", "text": "在 contrib/dict_int 中为零长度词元返回 NULL（Nathan Bossart，Anthropic OSS program）§ 此行为与其他全文检索词典类型一致，并避免了此前可能发生的服务器内存泄露。 PostgreSQL 项目感谢 Nathan Bossart and the Anthropic OSS program 报告此问题。（CVE-2026-116308）", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "commits": ["8373a4215"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6c73c09525597094eef73669b31f9df3374d2fb285cd1ee432cbc9416e615b24", "section_path": ["变更"], "commit_groups": [["053e39d93", "19b565088", "4fb06bd93", "8373a4215", "b24a45486", "dec3a342d", "fd0864aa0"]], "identity_text": "In contrib/dict_int, return NULL for zero-length tokens (Nathan Bossart, Anthropic OSS program) This behavior is consistent with other text-search dictionary types, and it avoids disclosure of server memory as was possible previously. The PostgreSQL Project thanks Nathan Bossart and the Anthropic OSS program for reporting this problem. (CVE-2026-116308)", "commit_aliases": ["053e39d93", "19b565088", "4fb06bd93", "8373a4215", "b24a45486", "dec3a342d", "fd0864aa0"], "source_commits": ["8373a4215"], "source_entry_id": "18.7/changes/048", "db_id": "eb27cb2ced5da2f3911d16ca359de468", "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466", "relations": [{"rule": 2, "type": "equivalent", "target": "0144e1cc7b7b3d440cf77679c2b87060", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}}, {"rule": 2, "type": "equivalent", "target": "2b5f80b079501c45cc08caf63369078f", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}}, {"rule": 2, "type": "equivalent", "target": "2da1a83f63d7c6c710dc537fa5175a02", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}}, {"rule": 2, "type": "equivalent", "target": "6d901c2ba0464254d53d2860d5e7422b", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b5f80b079501c45cc08caf63369078f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}, "url": "/docs/compare/?release=17.12#17.12-19cdf7f6bc031231", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0144e1cc7b7b3d440cf77679c2b87060", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}, "url": "/docs/compare/?release=16.16#16.16-2db80bdf8ef37d42", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "2da1a83f63d7c6c710dc537fa5175a02", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}, "url": "/docs/compare/?release=15.20#15.20-c7ce93a98c5d7469", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6d901c2ba0464254d53d2860d5e7422b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}, "url": "/docs/compare/?release=14.25#14.25-fac88f604ae2a1e3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-cedcc552c31064b3", "cves": ["CVE-2026-116325"], "html": "<p>\n      确保 <span>reindexdb</span> 为所处理的索引名称正确加引号（Anthropic OSS program）<a href=\"https://postgr.es/c/aac5e6f50\">§</a>\n</p><p>\n      精心构造的索引名称可能对运行 <span>reindexdb</span> 的用户造成 SQL 注入攻击。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116325）\n     </p>", "text": "确保 reindexdb 为所处理的索引名称正确加引号（Anthropic OSS program）§ 精心构造的索引名称可能对运行 reindexdb 的用户造成 SQL 注入攻击。 PostgreSQL 项目感谢 the Anthropic OSS program 报告此问题。（CVE-2026-116325）", "title": "确保 reindexdb 为所处理的索引名称正确加引号", "commits": ["aac5e6f50"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3cf78ec1164e58a20d0ac7901a5223fb44040a19b303b5ea69ab3f10cbcada0d", "section_path": ["变更"], "commit_groups": [["0ae4e866a", "2680b0781", "7820c8c39", "aac5e6f50"]], "identity_text": "Ensure that reindexdb correctly quotes index names it is dealing with (Anthropic OSS program) Crafted index names could yield a SQL-injection attack against the user running reindexdb. The PostgreSQL Project thanks the Anthropic OSS program for reporting this problem. (CVE-2026-116325)", "commit_aliases": ["0ae4e866a", "2680b0781", "7820c8c39", "aac5e6f50"], "source_commits": ["aac5e6f50"], "source_entry_id": "18.7/changes/049", "db_id": "a833ebb4cea3b1cf070cc862de0d4a1b", "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74", "relations": [{"rule": 2, "type": "equivalent", "target": "d5c8ec48c8c4ca51ceb3f0e54f854c21", "evidence": {"same_day": true, "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d5c8ec48c8c4ca51ceb3f0e54f854c21", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保 reindexdb 为所处理的索引名称正确加引号", "evidence": {"same_day": true, "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74"}, "url": "/docs/compare/?release=17.12#17.12-472e60f3e8da2c20", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-36850327d1a63c2f", "cves": ["CVE-2026-116313"], "html": "<p>\n      在 <span>vacuumdb</span> 中使用完全限定的操作符名称（Nathan Bossart，Anthropic OSS program）<a href=\"https://postgr.es/c/e10d38d47\">§</a>\n</p><p>\n      这可以防止对运行 <span>vacuumdb</span> 的用户发起攻击。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Noah Misch and the Anthropic OSS program 报告此问题。（CVE-2026-116313）\n     </p>", "text": "在 vacuumdb 中使用完全限定的操作符名称（Nathan Bossart，Anthropic OSS program）§ 这可以防止对运行 vacuumdb 的用户发起攻击。 PostgreSQL 项目感谢 Noah Misch and the Anthropic OSS program 报告此问题。（CVE-2026-116313）", "title": "在 vacuumdb 中使用完全限定的操作符名称", "commits": ["e10d38d47"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "67fd8a119d2ac4a181b449502dd36fdef3ab513d1568a2aadcb38395108a2b4d", "section_path": ["变更"], "commit_groups": [["1ce3bce60", "623cda5ef", "e10d38d47"]], "identity_text": "Use fully-qualified operator names in vacuumdb (Nathan Bossart, Anthropic OSS program) This prevents attacks on the user running vacuumdb. The PostgreSQL Project thanks Noah Misch and the Anthropic OSS program for reporting this problem. (CVE-2026-116313)", "commit_aliases": ["1ce3bce60", "623cda5ef", "e10d38d47"], "source_commits": ["e10d38d47"], "source_entry_id": "18.7/changes/050", "db_id": "22e59bc34626fda65b7429e51a32d32d", "patch_ids": ["4ea58d228f7802c9d03f07e45329c230"], "statement_hash": "f89860afc34707dfe232c103d34d0cb1a649e0742fdd181eab138095b4536060", "relations": [], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-963a63f9090fec35", "cves": ["CVE-2026-116318"], "html": "<p>\n      确保 <span>pg_dump</span> 为 <code>NOT NULL</code> 约束的名称加引号（Anthropic OSS program）<a href=\"https://postgr.es/c/9e4cde792\">§</a>\n</p><p>\n      此前在某些情况下未这样做，存在 SQL 注入风险，也可能只是以错误名称恢复约束。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 the Anthropic OSS program, Sarath Kumar, and Nikolay Samokhvalov 报告此问题。（CVE-2026-116318）\n     </p>", "text": "确保 pg_dump 为 NOT NULL 约束的名称加引号（Anthropic OSS program）§ 此前在某些情况下未这样做，存在 SQL 注入风险，也可能只是以错误名称恢复约束。 PostgreSQL 项目感谢 the Anthropic OSS program, Sarath Kumar, and Nikolay Samokhvalov 报告此问题。（CVE-2026-116318）", "title": "确保 pg_dump 为 NOT NULL 约束的名称加引号", "commits": ["9e4cde792"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2c82cfc596f794fc1cd8e908e92066c57f611380ac722d144c06e9b034106654", "section_path": ["变更"], "commit_groups": [["9e4cde792", "d73442645", "de7a4a3ba"]], "identity_text": "Ensure that pg_dump quotes the names of NOT NULL constraints (Anthropic OSS program) Its failure to do so in some cases risked SQL injection, or even just restoring the constraint with the wrong name. The PostgreSQL Project thanks the Anthropic OSS program, Sarath Kumar, and Nikolay Samokhvalov for reporting this problem. (CVE-2026-116318)", "commit_aliases": ["9e4cde792", "d73442645", "de7a4a3ba"], "source_commits": ["9e4cde792"], "source_entry_id": "18.7/changes/051", "db_id": "ff6819813c0e292912e714f8a4c1a12a", "patch_ids": ["2f50fe342e735d5039b1105ae3970c21"], "statement_hash": "68fd3f49720ef7be1a5e8fd2468b48736dc9e418d4869e9819472391d0968c26", "relations": [], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-2a333be40f50c7f5", "cves": ["CVE-2026-116330"], "html": "<p>\n      使 <code>\\[un]restrict</code> 命令在 <span>pg_dump</span> 的 tar 格式输出中生效（Noah Misch）<a href=\"https://postgr.es/c/17e57d06c\">§</a>\n</p><p>\n      这为使用未记入文档的 <code>restore.sql</code> tar 成员的用户提供了预期的保护。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Pavel Kopylov 报告此问题。（CVE-2026-116330）\n     </p>", "text": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效（Noah Misch）§ 这为使用未记入文档的 restore.sql tar 成员的用户提供了预期的保护。 PostgreSQL 项目感谢 Pavel Kopylov 报告此问题。（CVE-2026-116330）", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "commits": ["17e57d06c"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "dfbff40de27ab8976661c19682fa8ddb9bc12a34e029fac78c1cf39beb944e4b", "section_path": ["变更"], "commit_groups": [["146e03e79", "17e57d06c", "211e736a1", "40a81579e", "4d3c13724", "7d1f31c73", "9d2cda9f3"]], "identity_text": "Make the \\[un]restrict commands functional in pg_dump's tar-format output (Noah Misch) This provides the intended level of protection to users who make use of the undocumented restore.sql tar member. The PostgreSQL Project thanks Pavel Kopylov for reporting this problem. (CVE-2026-116330)", "commit_aliases": ["146e03e79", "17e57d06c", "211e736a1", "40a81579e", "4d3c13724", "7d1f31c73", "9d2cda9f3"], "source_commits": ["17e57d06c"], "source_entry_id": "18.7/changes/052", "db_id": "46f08d4fc5612c36b2a98f2718c42b04", "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767", "relations": [{"rule": 2, "type": "equivalent", "target": "2e3920e37b25fcd5b9e7f5e319abb146", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}}, {"rule": 2, "type": "equivalent", "target": "ddda29874e17b36ccf6574f9e6524b28", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}}, {"rule": 2, "type": "equivalent", "target": "e90e7a318da2081da0d139491e94b725", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}}, {"rule": 2, "type": "equivalent", "target": "febc8420f1188117515f51b4851547c8", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e3920e37b25fcd5b9e7f5e319abb146", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}, "url": "/docs/compare/?release=17.12#17.12-46114cf0ca4cfd82", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "febc8420f1188117515f51b4851547c8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}, "url": "/docs/compare/?release=16.16#16.16-c50487b094666c7e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e90e7a318da2081da0d139491e94b725", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}, "url": "/docs/compare/?release=15.20#15.20-a780384e5f1e2a8f", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "ddda29874e17b36ccf6574f9e6524b28", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}, "url": "/docs/compare/?release=14.25#14.25-1fb593b28f5ffd9a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-134f48f32f274adb", "cves": ["CVE-2026-116314"], "html": "<p>\n      增强 <span>pg_restore</span> 对损坏归档文件的防护（Dilip Kumar，Yonghwa Lee，Nathan Bossart）<a href=\"https://postgr.es/c/673ef2341\">§</a>\n</p><p>\n      此补丁修复了越界访问和文件路径遍历风险。仍有其他问题尚未解决，但它们似乎不构成安全漏洞。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Dilip Kumar, Yonghwa Lee, OpenSec, and Ben Dixon 报告此问题。（CVE-2026-116314）\n     </p>", "text": "增强 pg_restore 对损坏归档文件的防护（Dilip Kumar，Yonghwa Lee，Nathan Bossart）§ 此补丁修复了越界访问和文件路径遍历风险。仍有其他问题尚未解决，但它们似乎不构成安全漏洞。 PostgreSQL 项目感谢 Dilip Kumar, Yonghwa Lee, OpenSec, and Ben Dixon 报告此问题。（CVE-2026-116314）", "title": "增强 pg_restore 对损坏归档文件的防护", "commits": ["673ef2341"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7aee031a27427aff7f2661c59939b5dca5f21500b50dd37d2d9bfc84082687af", "section_path": ["变更"], "commit_groups": [["179c2c37e", "1f0ccd2f8", "265d71b28", "405649322", "673ef2341", "a6dc99b28", "cc13d5e0c"]], "identity_text": "Harden pg_restore against corrupt archive files (Dilip Kumar, Yonghwa Lee, Nathan Bossart) This patch fixes out-of-bounds accesses and file path traversal hazards. There remain other issues that don't seem to amount to security bugs. The PostgreSQL Project thanks Dilip Kumar, Yonghwa Lee, OpenSec, and Ben Dixon for reporting this problem. (CVE-2026-116314)", "commit_aliases": ["179c2c37e", "1f0ccd2f8", "265d71b28", "405649322", "673ef2341", "a6dc99b28", "cc13d5e0c"], "source_commits": ["673ef2341"], "source_entry_id": "18.7/changes/053", "db_id": "e4de4978a25050f97d0cae5a43666ce5", "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975", "relations": [{"rule": 2, "type": "equivalent", "target": "0fb349feac3600d8d035c2003bc10912", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}}, {"rule": 2, "type": "equivalent", "target": "6578c1a5b12780a24ec8e59afb6f2848", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}}, {"rule": 2, "type": "equivalent", "target": "c077a41e86c3a9273a974bed7d815445", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}}, {"rule": 2, "type": "equivalent", "target": "cc3fef185d4d6b44426fed3679d477a4", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0fb349feac3600d8d035c2003bc10912", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "增强 pg_restore 对损坏归档文件的防护", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}, "url": "/docs/compare/?release=17.12#17.12-4d6163e00e8f916e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "cc3fef185d4d6b44426fed3679d477a4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "增强 pg_restore 对损坏归档文件的防护", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}, "url": "/docs/compare/?release=16.16#16.16-c6711462ca2f0255", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c077a41e86c3a9273a974bed7d815445", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "增强 pg_restore 对损坏归档文件的防护", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}, "url": "/docs/compare/?release=15.20#15.20-0eb0e67f675b18c7", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6578c1a5b12780a24ec8e59afb6f2848", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "增强 pg_restore 对损坏归档文件的防护", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}, "url": "/docs/compare/?release=14.25#14.25-2b6956a275472217", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-458a1a2d211c1f23", "cves": ["CVE-2026-16240"], "html": "<p>\n      修复 <span>pg_basebackup</span> 使用受外部控制的格式字符串的问题（Peter Eisentraut）<a href=\"https://postgr.es/c/af250ef26\">§</a>\n</p><p>\n      只有服务器数据目录中存在名称异常的文件时，才可能触发此问题。\n     </p><p>\n<span>PostgreSQL</span> 项目感谢 Peter Eisentraut 报告此问题。（CVE-2026-16240）\n     </p>", "text": "修复 pg_basebackup 使用受外部控制的格式字符串的问题（Peter Eisentraut）§ 只有服务器数据目录中存在名称异常的文件时，才可能触发此问题。 PostgreSQL 项目感谢 Peter Eisentraut 报告此问题。（CVE-2026-16240）", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "commits": ["af250ef26"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "c7ea58b423ab0c647515b6422310363943032fbd5f69bb897fa6ef8e167523f8", "section_path": ["变更"], "commit_groups": [["04986ad59", "0f9f20c36", "410b7056e", "4a18e9b5f", "50f650b91", "885dfee08", "af250ef26"]], "identity_text": "Fix use of externally-controlled format string in pg_basebackup (Peter Eisentraut) This problem could only be reached if files with unusual names exist in the server's data directory. The PostgreSQL Project thanks Peter Eisentraut for reporting this problem. (CVE-2026-16240)", "commit_aliases": ["04986ad59", "0f9f20c36", "410b7056e", "4a18e9b5f", "50f650b91", "885dfee08", "af250ef26"], "source_commits": ["af250ef26"], "source_entry_id": "18.7/changes/054", "db_id": "0877dd9e7c4455e17ce55012d04e44c4", "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6", "relations": [{"rule": 2, "type": "equivalent", "target": "0ddb64503190689f214348caf13bc70b", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}}, {"rule": 2, "type": "equivalent", "target": "62188173e307887c29210c028382ad43", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}}, {"rule": 2, "type": "equivalent", "target": "926aee33da8fbd477e30c2cd2590e9a5", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}}, {"rule": 2, "type": "equivalent", "target": "dc950dac464ae7acae7383519939fc52", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ddb64503190689f214348caf13bc70b", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}, "url": "/docs/compare/?release=17.12#17.12-a0134a9151533718", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "dc950dac464ae7acae7383519939fc52", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}, "url": "/docs/compare/?release=16.16#16.16-39a1394b872a30f0", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "926aee33da8fbd477e30c2cd2590e9a5", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}, "url": "/docs/compare/?release=15.20#15.20-9c428ae84fe48169", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "62188173e307887c29210c028382ad43", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}, "url": "/docs/compare/?release=14.25#14.25-25c4f976b6e9d650", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-bc2b2940829c6b1b", "cves": [], "html": "<p>\n      禁用 <code>bpchar</code> 数据类型的 B-树索引去重支持（Shihao Zhong，Peter Geoghegan）<a href=\"https://postgr.es/c/882fd416d\">§</a>\n</p><p>\n      索引去重对 <code>bpchar</code> 并不安全，因为其相等判定比逐位相等更宽松。具体而言，<code>bpchar</code> 的相等比较会忽略尾随空格，因此长度不同的值可能被判定为相等。去重随后会使仅索引扫描返回细微错误的结果。\n     </p><p>\n      此补丁对新索引项禁用去重，但不会修复现有索引项中可能存在的损坏。因此，在 <code>bpchar</code> 列上建有 B-树索引的用户，应在安装此更新后对这些索引执行 <code>REINDEX</code>。\n     </p><p>\n      请注意，此问题只影响声明为 <code>bpchar</code>、即不带任何长度约束的列。更常见的 <code>CHAR(<em><code>n</code></em>)</code> 用法没有风险，虽然它使用相同的底层代码，但长度约束会使其他方面相等的字符串具有相同的长度，从而逐位相等。\n     </p>", "text": "禁用 bpchar 数据类型的 B-树索引去重支持（Shihao Zhong，Peter Geoghegan）§ 索引去重对 bpchar 并不安全，因为其相等判定比逐位相等更宽松。具体而言，bpchar 的相等比较会忽略尾随空格，因此长度不同的值可能被判定为相等。去重随后会使仅索引扫描返回细微错误的结果。 此补丁对新索引项禁用去重，但不会修复现有索引项中可能存在的损坏。因此，在 bpchar 列上建有 B-树索引的用户，应在安装此更新后对这些索引执行 REINDEX。 请注意，此问题只影响声明为 bpchar、即不带任何长度约束的列。更常见的 CHAR(n) 用法没有风险，虽然它使用相同的底层代码，但长度约束会使其他方面相等的字符串具有相同的长度，从而逐位相等。", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "commits": ["882fd416d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "dc5cb8d07565eb83fb8c330198c19914cc30f46c7e2c786885736d2ae6ae7fb4", "section_path": ["变更"], "commit_groups": [["18740523a", "469713804", "74f26a193", "80c32ab93", "882fd416d", "a32b8dc98", "de0d4f0b1"]], "identity_text": "Disable btree index de-duplication support for the bpchar data type (Shihao Zhong, Peter Geoghegan) Index de-duplication is unsafe for bpchar because its notion of equality is weaker than bitwise equality. In particular, because bpchar equality ignores trailing spaces, values of different lengths can compare equal. De-duplication then allows index-only scans to return subtly wrong results. This patch disables de-duplication for new index entries, but does nothing about possible corruption of existing entries. Therefore, users who have btree indexes on bpchar columns should REINDEX them after installing this update. Note that this problem only applies to columns declared as bpchar, that is, lacking any length constraint. The more common usage of CHAR(n) is not at risk, even though it shares the same underlying code, because the length constraint forces otherwise-equal strings to have the same length and thus to be bitwise equal.", "commit_aliases": ["18740523a", "469713804", "74f26a193", "80c32ab93", "882fd416d", "a32b8dc98", "de0d4f0b1"], "source_commits": ["882fd416d"], "source_entry_id": "18.7/changes/055", "db_id": "678d6af89254d07ac1dd7485696b943f", "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb", "relations": [{"rule": 2, "type": "equivalent", "target": "2b1468c89a24ee6cc5e9f947518be96c", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}}, {"rule": 2, "type": "equivalent", "target": "8e3b547a65f3f805a1ced738de8560ae", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}}, {"rule": 2, "type": "equivalent", "target": "aa85f4c7b3c5c22736d1283f551b25fa", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}}, {"rule": 2, "type": "equivalent", "target": "b869027b80d63a93ee6e426612dad188", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b1468c89a24ee6cc5e9f947518be96c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}, "url": "/docs/compare/?release=17.12#17.12-483251120ed7ed90", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b869027b80d63a93ee6e426612dad188", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}, "url": "/docs/compare/?release=16.16#16.16-d71696328a4084f5", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "aa85f4c7b3c5c22736d1283f551b25fa", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}, "url": "/docs/compare/?release=15.20#15.20-d9378805c4c480d6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "8e3b547a65f3f805a1ced738de8560ae", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}, "url": "/docs/compare/?release=14.25#14.25-27656c78d15e910f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-fb71de8b0452806b", "cves": [], "html": "<p>\n      确保 <code>VACUUM</code> 清理 GIN 索引中的所有死元组（Peter Geoghegan）<a href=\"https://postgr.es/c/b0a36462b\">§</a> <a href=\"https://postgr.es/c/9900966c7\">§</a>\n</p><p>\n      当一次 <code>VACUUM</code> 操作需要多次扫描索引时（因为要移除的元组数量超过一次能放入内存的数量），可能漏掉一些应当移除的索引项。另一个涉及与叶子页分裂发生竞态的错误也有相同影响。这些错误最终会导致索引损坏，使索引项指向不相关的表行。如果怀疑已发生这种情况，建议执行 <code>REINDEX</code>。\n     </p>", "text": "确保 VACUUM 清理 GIN 索引中的所有死元组（Peter Geoghegan）§ § 当一次 VACUUM 操作需要多次扫描索引时（因为要移除的元组数量超过一次能放入内存的数量），可能漏掉一些应当移除的索引项。另一个涉及与叶子页分裂发生竞态的错误也有相同影响。这些错误最终会导致索引损坏，使索引项指向不相关的表行。如果怀疑已发生这种情况，建议执行 REINDEX。", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "commits": ["9900966c7", "b0a36462b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0a391b5c51f3d332f58d94f8072f8551365e4b0a313d8cd999dd703be52ac452", "section_path": ["变更"], "commit_groups": [["076151080", "6ee9a8b39", "9900966c7", "a13cdbd3d", "af7cbf4e2", "dd1634ddb", "fbf889de9"], ["0bace7af3", "76c05f508", "8637383f5", "adf440cbe", "b0a36462b", "d778f00c1", "fb7c2a514"]], "identity_text": "Ensure that VACUUM cleans up all dead tuples in a GIN index (Peter Geoghegan) When a single VACUUM operation requires multiple index scans (because it is removing more tuples than it can hold in memory at once), it was possible to miss removing some index entries that should be removed. An additional bug involving a race with leaf page splits had the same effect. These bugs would eventually lead to a corrupt index with entries pointing at unrelated table rows. REINDEX is recommended if you suspect this has happened.", "commit_aliases": ["076151080", "0bace7af3", "6ee9a8b39", "76c05f508", "8637383f5", "9900966c7", "a13cdbd3d", "adf440cbe", "af7cbf4e2", "b0a36462b", "d778f00c1", "dd1634ddb", "fb7c2a514", "fbf889de9"], "source_commits": ["9900966c7", "b0a36462b"], "source_entry_id": "18.7/changes/056", "db_id": "77b3fa28cdf0fda52493e39bcc0b8ad6", "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc", "relations": [{"rule": 2, "type": "equivalent", "target": "0882c2529b80e9f945588c6773697f1a", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}}, {"rule": 2, "type": "equivalent", "target": "43a9037a04e2fad13d5bdb0b276e3cc4", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}}, {"rule": 2, "type": "equivalent", "target": "c4db64eb2f7ef5e28a877c1f58f80cb7", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}}, {"rule": 2, "type": "equivalent", "target": "eff053e0848863d308e1db7ffd98d0b6", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c4db64eb2f7ef5e28a877c1f58f80cb7", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}, "url": "/docs/compare/?release=17.12#17.12-753672e6c779aa4e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "43a9037a04e2fad13d5bdb0b276e3cc4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}, "url": "/docs/compare/?release=16.16#16.16-f39bd1380fc6594d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0882c2529b80e9f945588c6773697f1a", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}, "url": "/docs/compare/?release=15.20#15.20-df93ca8b2cd5aa6d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "eff053e0848863d308e1db7ffd98d0b6", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}, "url": "/docs/compare/?release=14.25#14.25-99a99018eb79ec97", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-984b19856e7045e3", "cves": [], "html": "<p>\n      修复未完成页分裂之后的 GIN 倒排树页面删除（Peter Geoghegan）<a href=\"https://postgr.es/c/9448c3e7b\">§</a>\n</p><p>\n      删除步骤可能错误地断开兄弟页面，导致后续索引搜索漏掉行。如果怀疑已发生这种情况，建议执行 <code>REINDEX</code>。\n     </p>", "text": "修复未完成页分裂之后的 GIN 倒排树页面删除（Peter Geoghegan）§ 删除步骤可能错误地断开兄弟页面，导致后续索引搜索漏掉行。如果怀疑已发生这种情况，建议执行 REINDEX。", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "commits": ["9448c3e7b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3869a9dd4bd58d88f65fa26d7a1d8deafdf8c4d99500f444b76815bb54e6117b", "section_path": ["变更"], "commit_groups": [["4dd227f51", "9448c3e7b", "aa14281fd", "aef6198af", "b13fd2899", "bbe7aca31", "f20c42783"]], "identity_text": "Fix GIN posting tree page deletion after an incomplete page split (Peter Geoghegan) The deletion step could incorrectly disconnect sibling pages, causing subsequent index searches to miss rows. REINDEX is recommended if you suspect this has happened.", "commit_aliases": ["4dd227f51", "9448c3e7b", "aa14281fd", "aef6198af", "b13fd2899", "bbe7aca31", "f20c42783"], "source_commits": ["9448c3e7b"], "source_entry_id": "18.7/changes/057", "db_id": "0ab8b532519c0a9b16fa8a57d959c811", "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd", "relations": [{"rule": 2, "type": "equivalent", "target": "5aa91069dc174e5dfb51d6caf15017da", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}, {"rule": 2, "type": "equivalent", "target": "9840bc468ee0e6074097ab72a431bc1a", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}, {"rule": 2, "type": "equivalent", "target": "9fe98dbc57630bcb38522a3c91f0f9d7", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}, {"rule": 2, "type": "equivalent", "target": "f7fdd891c77635a644c02af5e9100cb0", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9fe98dbc57630bcb38522a3c91f0f9d7", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}, "url": "/docs/compare/?release=17.12#17.12-1c35b75b19f8454a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9840bc468ee0e6074097ab72a431bc1a", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}, "url": "/docs/compare/?release=16.16#16.16-2aab3fa4a392e0f2", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "f7fdd891c77635a644c02af5e9100cb0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}, "url": "/docs/compare/?release=15.20#15.20-5bf5c7ba427dc2af", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5aa91069dc174e5dfb51d6caf15017da", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}, "url": "/docs/compare/?release=14.25#14.25-216a3b5d726bab7a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-78cd2019d3623afc", "cves": [], "html": "<p>\n      修复未能更新 TOAST 表索引的可变 <code>pg_index</code> 字段的问题（Bharath Rupireddy）<a href=\"https://postgr.es/c/e4807a0f3\">§</a>\n</p><p>\n<code>REINDEX CONCURRENTLY</code> 可以更改这些字段，但关系缓存没有预料到这一点，导致索引更新可能被遗漏。最终可能因缺少索引项而出现<span>“<span>missing chunk number</span>”</span>错误。幸运的是，这些错误仅表示索引损坏；TOAST 表本身正常，因此执行 <code>REINDEX</code> 就足以恢复。\n     </p>", "text": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题（Bharath Rupireddy）§ REINDEX CONCURRENTLY 可以更改这些字段，但关系缓存没有预料到这一点，导致索引更新可能被遗漏。最终可能因缺少索引项而出现“missing chunk number”错误。幸运的是，这些错误仅表示索引损坏；TOAST 表本身正常，因此执行 REINDEX 就足以恢复。", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "commits": ["e4807a0f3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0821f98e6980c0e26441432429f2099cdbc7365369c0747cfd0a9a33dd67002f", "section_path": ["变更"], "commit_groups": [["17c5a0659", "27417270a", "9a56e080f", "b3852eec6", "c4b2f037d", "cb51daa27", "e4807a0f3"]], "identity_text": "Fix failure to update mutable pg_index fields for TOAST-table indexes (Bharath Rupireddy) REINDEX CONCURRENTLY can change these fields, but the relation cache was not expecting that, allowing index updates to be missed. The end result could be errors about missing chunk number due to missing index entries. Fortunately, these only represent index corruption; the TOAST table itself is fine, so a REINDEX will suffice to recover.", "commit_aliases": ["17c5a0659", "27417270a", "9a56e080f", "b3852eec6", "c4b2f037d", "cb51daa27", "e4807a0f3"], "source_commits": ["e4807a0f3"], "source_entry_id": "18.7/changes/058", "db_id": "45f81d01e829446f5a7831b6b62e94e3", "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58", "relations": [{"rule": 2, "type": "equivalent", "target": "0790ddb848bf036ce852ce9207d0886e", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}}, {"rule": 2, "type": "equivalent", "target": "bceed67c188612daf5e0b8ee0d20e11d", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}}, {"rule": 2, "type": "equivalent", "target": "c1e561af392cc2ac7b33b6ae5754d3d0", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}}, {"rule": 2, "type": "equivalent", "target": "dba0d7aa419a8322f2b9ee0dc0742a28", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bceed67c188612daf5e0b8ee0d20e11d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}, "url": "/docs/compare/?release=17.12#17.12-efea27b7b83b5f33", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c1e561af392cc2ac7b33b6ae5754d3d0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}, "url": "/docs/compare/?release=16.16#16.16-1ecca80d1cb7aaac", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0790ddb848bf036ce852ce9207d0886e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}, "url": "/docs/compare/?release=15.20#15.20-a317103cb4439c83", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "dba0d7aa419a8322f2b9ee0dc0742a28", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}, "url": "/docs/compare/?release=14.25#14.25-22e2ca618f4ff6d4", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-9e1ce1eb695d1cf6", "cves": [], "html": "<p>\n      通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构（Tom Lane，Richard Guo，Shihao Zhong，Ayush Tiwari）<a href=\"https://postgr.es/c/9f25197bf\">§</a> <a href=\"https://postgr.es/c/37c2bc950\">§</a> <a href=\"https://postgr.es/c/476b9eb3c\">§</a> <a href=\"https://postgr.es/c/18aca7257\">§</a> <a href=\"https://postgr.es/c/e509be9ce\">§</a> <a href=\"https://postgr.es/c/37b6e2657\">§</a> <a href=\"https://postgr.es/c/83bd1c1ba\">§</a> <a href=\"https://postgr.es/c/051db7737\">§</a> <a href=\"https://postgr.es/c/3bfc7c849\">§</a>\n</p><p>\n      规划器中原有的连接移除实现在多年间出现过许多错误，其中一些从未得到修复。它本身很脆弱，因为规划器衍生数据结构的变化常常要求同步调整连接移除逻辑，却没有简单的方法保持这些代码同步。现在改为修改简单得多的语法解析树表示，再循环重新生成所有衍生数据。这是一项重大更改，通常我们绝不会考虑将其回补到旧分支，但旧实现可能持续产生错误，促使我们承担这一风险。\n     </p>", "text": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构（Tom Lane，Richard Guo，Shihao Zhong，Ayush Tiwari）§ § § § § § § § § 规划器中原有的连接移除实现在多年间出现过许多错误，其中一些从未得到修复。它本身很脆弱，因为规划器衍生数据结构的变化常常要求同步调整连接移除逻辑，却没有简单的方法保持这些代码同步。现在改为修改简单得多的语法解析树表示，再循环重新生成所有衍生数据。这是一项重大更改，通常我们绝不会考虑将其回补到旧分支，但旧实现可能持续产生错误，促使我们承担这一风险。", "title": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构", "commits": ["051db7737", "18aca7257", "37b6e2657", "37c2bc950", "3bfc7c849", "476b9eb3c", "83bd1c1ba", "9f25197bf", "e509be9ce"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3af76bea6179fc6619c44e9e305d8e0bae8ca46f35f246774e8d21bcc3401a37", "section_path": ["变更"], "commit_groups": [["00d1b4598", "3bfc7c849", "533915857", "6b858a36d", "8bcb6f901"], ["051db7737", "9df23331f", "a8bb1a777", "bd003dca0", "c04649d1d"], ["0ab90a5c9", "13466d1f7", "2ebf25e7d", "986870baa", "9f25197bf"], ["0c45929db", "12f10c25c", "18aca7257", "91b1872ff", "d15ab66f5"], ["1000f7b14", "38fe5a936", "4264a1748", "476b9eb3c", "6b3f8857a"], ["197a41aa6", "763d563ea", "ad4b80b6f", "e509be9ce", "fc8ed6362"], ["22a8f5339", "51f9e30f3", "83bd1c1ba", "8ea97ee34", "bee81f786"], ["2d48d0f15", "37b6e2657", "54ac06f31", "ccb7d9dba", "e28cf96e9"], ["37c2bc950", "78d07020b", "dca6a9e32"]], "identity_text": "Perform join removal by editing the query's parse tree, rather than trying to fix up the planner's derived data structures (Tom Lane, Richard Guo, Shihao Zhong, Ayush Tiwari) The original implementation of join removal in the planner has had numerous bugs over the years, including some that were never fixed. It was inherently fragile because changes in the planner's derived data structures often required adjustments in join removal, yet there was no easy way to keep that code in sync. Replace it with code that modifies the far-simpler parse tree representation and then loops around to re-generate all of the derived data. This is a significant change that normally we'd never consider back-patching, but the prospect of continuing bugs from the old implementation has driven us to take the risk of doing so.", "commit_aliases": ["00d1b4598", "051db7737", "0ab90a5c9", "0c45929db", "1000f7b14", "12f10c25c", "13466d1f7", "18aca7257", "197a41aa6", "22a8f5339", "2d48d0f15", "2ebf25e7d", "37b6e2657", "37c2bc950", "38fe5a936", "3bfc7c849", "4264a1748", "476b9eb3c", "51f9e30f3", "533915857", "54ac06f31", "6b3f8857a", "6b858a36d", "763d563ea", "78d07020b", "83bd1c1ba", "8bcb6f901", "8ea97ee34", "91b1872ff", "986870baa", "9df23331f", "9f25197bf", "a8bb1a777", "ad4b80b6f", "bd003dca0", "bee81f786", "c04649d1d", "ccb7d9dba", "d15ab66f5", "dca6a9e32", "e28cf96e9", "e509be9ce", "fc8ed6362"], "source_commits": ["051db7737", "18aca7257", "37b6e2657", "37c2bc950", "3bfc7c849", "476b9eb3c", "83bd1c1ba", "9f25197bf", "e509be9ce"], "source_entry_id": "18.7/changes/059", "db_id": "cb1594eaa56ee96a95bdf14bcf9d91ef", "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed", "relations": [{"rule": 2, "type": "equivalent", "target": "b5b80d3c819492e1c08b8f51828aa882", "evidence": {"same_day": true, "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed"}}, {"rule": 2, "type": "equivalent", "target": "dd1790e4961d9a6fa4d5b25bc71f63d1", "evidence": {"same_day": true, "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b5b80d3c819492e1c08b8f51828aa882", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构", "evidence": {"same_day": true, "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed"}, "url": "/docs/compare/?release=17.12#17.12-635d492797b92a3f", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "dd1790e4961d9a6fa4d5b25bc71f63d1", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构", "evidence": {"same_day": true, "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed"}, "url": "/docs/compare/?release=16.16#16.16-fedc0a5d339eab64", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-2d5d88355c9786ec", "cves": [], "html": "<p>\n      修复横向引用触发的多种规划器错误（Richard Guo）<a href=\"https://postgr.es/c/cbec57291\">§</a> <a href=\"https://postgr.es/c/30baaacdd\">§</a> <a href=\"https://postgr.es/c/b7866c934\">§</a> <a href=\"https://postgr.es/c/d8a311e8d\">§</a> <a href=\"https://postgr.es/c/96c869df7\">§</a> <a href=\"https://postgr.es/c/7432ecba1\">§</a> <a href=\"https://postgr.es/c/707b3738d\">§</a> <a href=\"https://postgr.es/c/01a9e573f\">§</a> <a href=\"https://postgr.es/c/d7938ff30\">§</a> <a href=\"https://postgr.es/c/77c4a9037\">§</a> <a href=\"https://postgr.es/c/17b45abef\">§</a>\n</p><p>\n      这些错误可能生成不正确的查询计划并返回错误结果，也可能导致<span>“<span>failed to build any N-way joins</span>”</span>等规划器内部错误。\n     </p>", "text": "修复横向引用触发的多种规划器错误（Richard Guo）§ § § § § § § § § § § 这些错误可能生成不正确的查询计划并返回错误结果，也可能导致“failed to build any N-way joins”等规划器内部错误。", "title": "修复横向引用触发的多种规划器错误", "commits": ["01a9e573f", "17b45abef", "30baaacdd", "707b3738d", "7432ecba1", "77c4a9037", "96c869df7", "b7866c934", "cbec57291", "d7938ff30", "d8a311e8d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "546543078fcff62934ffe9e06b0133d2b701b33bb2fdc9335e9c534f26f52a73", "section_path": ["变更"], "commit_groups": [["011dd5095", "30baaacdd", "651893c22", "70cf32506", "852fd5b86", "df1196369", "e2a7f784c"], ["01a9e573f", "23e7ca78a", "55b9f54dc", "58d16be8a", "cdc21ba1b"], ["02aa28583", "333d566c4", "60b2a2f52", "6161b2c3d", "7432ecba1", "9e8f4ce28", "b84ad0cd9"], ["0b534f9b3", "17b45abef", "3138f248c", "34147f884", "94035972a", "d87257b2c", "dedb20d5f"], ["10a84539b", "55fa1b067", "cbec57291"], ["11b56ee27", "5978e4c63", "707b3738d", "a66ab9a9d", "a91883995", "cf24f8e61", "e89049cba"], ["221423812", "65e944d92", "7787aec8a", "8e9288030", "d7938ff30"], ["2bdcd6cf0", "3b65ff900", "7fb765945", "c37a2bb54", "d236e2241", "d4c15309e", "d8a311e8d"], ["3e914438a", "77c4a9037", "a8b9a7fe4", "c47a86f73", "f9bc96514"], ["46875a4c7", "a464d31ff", "aad7571d0", "b7866c934", "b83b7ddf7"], ["5f49c6db1", "738d19d4e", "96c869df7", "b03eb54b1", "d9595e7e6"]], "identity_text": "Fix assorted planner bugs triggered by lateral references (Richard Guo) These mistakes could lead to incorrect query plans causing wrong answers, or to internal planner errors such as failed to build any N-way joins.", "commit_aliases": ["011dd5095", "01a9e573f", "02aa28583", "0b534f9b3", "10a84539b", "11b56ee27", "17b45abef", "221423812", "23e7ca78a", "2bdcd6cf0", "30baaacdd", "3138f248c", "333d566c4", "34147f884", "3b65ff900", "3e914438a", "46875a4c7", "55b9f54dc", "55fa1b067", "58d16be8a", "5978e4c63", "5f49c6db1", "60b2a2f52", "6161b2c3d", "651893c22", "65e944d92", "707b3738d", "70cf32506", "738d19d4e", "7432ecba1", "7787aec8a", "77c4a9037", "7fb765945", "852fd5b86", "8e9288030", "94035972a", "96c869df7", "9e8f4ce28", "a464d31ff", "a66ab9a9d", "a8b9a7fe4", "a91883995", "aad7571d0", "b03eb54b1", "b7866c934", "b83b7ddf7", "b84ad0cd9", "c37a2bb54", "c47a86f73", "cbec57291", "cdc21ba1b", "cf24f8e61", "d236e2241", "d4c15309e", "d7938ff30", "d87257b2c", "d8a311e8d", "d9595e7e6", "dedb20d5f", "df1196369", "e2a7f784c", "e89049cba", "f9bc96514"], "source_commits": ["01a9e573f", "17b45abef", "30baaacdd", "707b3738d", "7432ecba1", "77c4a9037", "96c869df7", "b7866c934", "cbec57291", "d7938ff30", "d8a311e8d"], "source_entry_id": "18.7/changes/060", "db_id": "b56115877a3230e5de8ae181d826c198", "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0", "relations": [{"rule": 2, "type": "equivalent", "target": "76f055eb2f2db2dd7898476cd2105597", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}}, {"rule": 2, "type": "equivalent", "target": "cc766d57d31d0f4b81ea2f8b40048d18", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}}, {"rule": 2, "type": "equivalent", "target": "e366d98e672a814bf2459fa011269056", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}}, {"rule": 2, "type": "equivalent", "target": "fbe2311d8143bcd7080964365d38c5b6", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cc766d57d31d0f4b81ea2f8b40048d18", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复横向引用触发的多种规划器错误", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}, "url": "/docs/compare/?release=17.12#17.12-7bb9d1a4b6385bf8", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "e366d98e672a814bf2459fa011269056", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复横向引用触发的多种规划器错误", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}, "url": "/docs/compare/?release=16.16#16.16-189f46e47aafab02", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "fbe2311d8143bcd7080964365d38c5b6", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复横向引用触发的多种规划器错误", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}, "url": "/docs/compare/?release=15.20#15.20-2c4a634ff4ec7f22", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "76f055eb2f2db2dd7898476cd2105597", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复横向引用触发的多种规划器错误", "evidence": {"same_day": true, "patch_ids": ["056c73ddaf35e5c52a4baa19c62e522c", "0657bd38996ee92051450f04c679c584", "0aaebf3909cf966c6f191ae60ea3ef88", "1be99d7c77028b5f15f348183f2d4524", "2fb15ffbd73cbe03899a4fdc8ef82103", "40d89cdae93c425af0c8f91a994a968d", "45b7df018df260c29718f338fd0d559c", "78aaea4fb5d88bea8a3f5812b218955f", "cf2924dcfe93e576442b3a98acd6abf7", "de4845d9c2bed9f66e3ea1f2ea126a67", "f26b1c2d71ccb44e2e1001f55f6ae42e"], "statement_hash": "f9edb0dafa14493bd979f7628776614ce5cf40da5e7128d09127ded2bfbe28a0"}, "url": "/docs/compare/?release=14.25#14.25-379b41f4e6cd577b", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-8f18911c02194e42", "cves": [], "html": "<p>\n      为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句（Richard Guo）<a href=\"https://postgr.es/c/64fb20a52\">§</a>\n</p><p>\n      这可以避免某些边界情况：此类限定条件被下推到反连接右侧，导致其语义与预期相反。\n     </p>", "text": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句（Richard Guo）§ 这可以避免某些边界情况：此类限定条件被下推到反连接右侧，导致其语义与预期相反。", "title": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句", "commits": ["64fb20a52"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ac5116e76e30d0ec2583ba19a03e5a20074c2b7089b4f67ac87b63e11de96146", "section_path": ["变更"], "commit_groups": [["0d6103e53", "64fb20a52", "854f81f07", "9d7d4424c", "ca4273866"]], "identity_text": "Ensure proper placement of qual clauses containing PlaceHolderVars by assigning a relation ID to antijoins made from SubLinks (Richard Guo) This avoids edge cases where such a qual could be pushed into the right-hand side of the antijoin, giving it the opposite of the desired semantics.", "commit_aliases": ["0d6103e53", "64fb20a52", "854f81f07", "9d7d4424c", "ca4273866"], "source_commits": ["64fb20a52"], "source_entry_id": "18.7/changes/061", "db_id": "aed1eb907442919ed92cb73b69689691", "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744", "relations": [{"rule": 2, "type": "equivalent", "target": "b5fe8118f67f4285960c05a1e256d37d", "evidence": {"same_day": true, "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744"}}, {"rule": 2, "type": "equivalent", "target": "d5275f09f608b5c7d1eedcef5444c02e", "evidence": {"same_day": true, "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b5fe8118f67f4285960c05a1e256d37d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句", "evidence": {"same_day": true, "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744"}, "url": "/docs/compare/?release=17.12#17.12-86cbe96ddf19b8c5", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "d5275f09f608b5c7d1eedcef5444c02e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句", "evidence": {"same_day": true, "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744"}, "url": "/docs/compare/?release=16.16#16.16-cadf2515d3c086b4", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-144134a609730889", "cves": [], "html": "<p>\n      修复作为嵌套循环参数的 PlaceHolderVar 的放置位置（Richard Guo）<a href=\"https://postgr.es/c/e84fb3f1c\">§</a> <a href=\"https://postgr.es/c/e0f5f79d2\">§</a>\n</p><p>\n      在极少数情况下，规划可能失败并报出<span>“<span>failed to assign all NestLoopParams to plan nodes</span>”</span>、<span>“<span>plan should not reference subplan's variable</span>”</span>或<span>“<span>variable not found in subplan target list</span>”</span>错误。\n     </p>", "text": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置（Richard Guo）§ § 在极少数情况下，规划可能失败并报出“failed to assign all NestLoopParams to plan nodes”、“plan should not reference subplan's variable”或“variable not found in subplan target list”错误。", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "commits": ["e0f5f79d2", "e84fb3f1c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "68678b4755693eb09227ac5a4db18a1ce583424791ff5df539012d56e932dcc8", "section_path": ["变更"], "commit_groups": [["071fb9af2", "35d3f2069", "627081c73", "729e4a322", "a9875e35e", "e0f5f79d2", "f2e9e3aa1"], ["c1c930376", "d1e045baf", "e84fb3f1c"]], "identity_text": "Fix placement of PlaceHolderVars as nestloop parameters (Richard Guo) In rare cases, planning could fail with failed to assign all NestLoopParams to plan nodes, plan should not reference subplan's variable, or variable not found in subplan target list errors.", "commit_aliases": ["071fb9af2", "35d3f2069", "627081c73", "729e4a322", "a9875e35e", "c1c930376", "d1e045baf", "e0f5f79d2", "e84fb3f1c", "f2e9e3aa1"], "source_commits": ["e0f5f79d2", "e84fb3f1c"], "source_entry_id": "18.7/changes/062", "db_id": "420be7c16d7d51af5168ca50be6b89b4", "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f", "relations": [{"rule": 2, "type": "equivalent", "target": "120a75fffa8357e49b8d763878575055", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}}, {"rule": 2, "type": "equivalent", "target": "a91de57d21e23872a9fcfb6ccb96691e", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}}, {"rule": 2, "type": "equivalent", "target": "b4b1002843c668a1241ae0d660e4cc4a", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}}, {"rule": 2, "type": "equivalent", "target": "d2540d7feeb0d3403f8dd034ad0f5ccd", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b4b1002843c668a1241ae0d660e4cc4a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}, "url": "/docs/compare/?release=17.12#17.12-c1e7d3c6eca44566", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "120a75fffa8357e49b8d763878575055", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}, "url": "/docs/compare/?release=16.16#16.16-cfdfec27a48a0f0b", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "a91de57d21e23872a9fcfb6ccb96691e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}, "url": "/docs/compare/?release=15.20#15.20-3f58979bbdeb5185", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "d2540d7feeb0d3403f8dd034ad0f5ccd", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}, "url": "/docs/compare/?release=14.25#14.25-ebd083f5f8551eac", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-4a69e8a08391d1cb", "cves": [], "html": "<p>\n      避免排序键为 PlaceHolderVar 时规划器失败（Richard Guo）<a href=\"https://postgr.es/c/5fb5bef3e\">§</a> <a href=\"https://postgr.es/c/f6642a97f\">§</a>\n</p><p>\n      根据所选计划的形状，此类情况可能产生错误结果，也可能报出<span>“<span>variable not found in subplan target lists</span>”</span>错误。\n     </p>", "text": "避免排序键为 PlaceHolderVar 时规划器失败（Richard Guo）§ § 根据所选计划的形状，此类情况可能产生错误结果，也可能报出“variable not found in subplan target lists”错误。", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "commits": ["5fb5bef3e", "f6642a97f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "99570f970417303518bf869ba8f5bc5cd153880e49761c3ded95848bd11677d9", "section_path": ["变更"], "commit_groups": [["05d073e2c", "2f975e2e4", "456ee1804", "5fb5bef3e", "cd48b4a70", "d9452ecf5", "f366c2ce1"], ["0b5f59d54", "1fcd7dd80", "2b66c9c8a", "5092f544e", "617555d74", "6b9f40d49", "f6642a97f"]], "identity_text": "Avoid planner failure for sort keys that are PlaceHolderVars (Richard Guo) Depending on the plan shape selected, such cases could produce wrong results, or could fail with variable not found in subplan target lists.", "commit_aliases": ["05d073e2c", "0b5f59d54", "1fcd7dd80", "2b66c9c8a", "2f975e2e4", "456ee1804", "5092f544e", "5fb5bef3e", "617555d74", "6b9f40d49", "cd48b4a70", "d9452ecf5", "f366c2ce1", "f6642a97f"], "source_commits": ["5fb5bef3e", "f6642a97f"], "source_entry_id": "18.7/changes/063", "db_id": "8d01f6dc44658e1e62a9ee00b690a2c4", "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25", "relations": [{"rule": 2, "type": "equivalent", "target": "3a67e6894d7261ba75a04a4d73982642", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}}, {"rule": 2, "type": "equivalent", "target": "5f5d1c191a053e1a58b6277dd915ba45", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}}, {"rule": 2, "type": "equivalent", "target": "a379f12f75c3540d3607f1279b91c95b", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}}, {"rule": 2, "type": "equivalent", "target": "b51c002d48241ddc5042a094264d6675", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a67e6894d7261ba75a04a4d73982642", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}, "url": "/docs/compare/?release=17.12#17.12-1e475a108750d500", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b51c002d48241ddc5042a094264d6675", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}, "url": "/docs/compare/?release=16.16#16.16-5d5a579cee724a0e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "5f5d1c191a053e1a58b6277dd915ba45", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}, "url": "/docs/compare/?release=15.20#15.20-868f6c515bdfbed3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "a379f12f75c3540d3607f1279b91c95b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}, "url": "/docs/compare/?release=14.25#14.25-98500b72561e837c", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-4f3ebd6f3013a30e", "cves": [], "html": "<p>\n      修复重新结合外连接后错误丢弃外连接子句的问题（Richard Guo，Nitin Motiani）<a href=\"https://postgr.es/c/27a53c857\">§</a>\n</p>", "text": "修复重新结合外连接后错误丢弃外连接子句的问题（Richard Guo，Nitin Motiani）§", "title": "修复重新结合外连接后错误丢弃外连接子句的问题", "commits": ["27a53c857"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "fa48ee13315c28b13f46fec42a489d6bba539e1a92e924adacadc7f88e67970b", "section_path": ["变更"], "commit_groups": [["27a53c857", "4567d170f", "78bc3b96c", "ba7127f24", "f40028994"]], "identity_text": "Fix incorrect dropping of outer join clauses after re-associating outer joins (Richard Guo, Nitin Motiani)", "commit_aliases": ["27a53c857", "4567d170f", "78bc3b96c", "ba7127f24", "f40028994"], "source_commits": ["27a53c857"], "source_entry_id": "18.7/changes/064", "db_id": "3f81ab437d7b2760b7446e9744f739b0", "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b", "relations": [{"rule": 2, "type": "equivalent", "target": "4f2e0114228ff6eb580843c3e34a8015", "evidence": {"same_day": true, "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b"}}, {"rule": 2, "type": "equivalent", "target": "ae1eacc25562d6ada5f8fdacdfbc81ba", "evidence": {"same_day": true, "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4f2e0114228ff6eb580843c3e34a8015", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复重新结合外连接后错误丢弃外连接子句的问题", "evidence": {"same_day": true, "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b"}, "url": "/docs/compare/?release=17.12#17.12-42172f88deb5d24d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ae1eacc25562d6ada5f8fdacdfbc81ba", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复重新结合外连接后错误丢弃外连接子句的问题", "evidence": {"same_day": true, "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b"}, "url": "/docs/compare/?release=16.16#16.16-3d2aee943def3fe1", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-3b3dd8277e356330", "cves": [], "html": "<p>\n      避免整行 Var 引用一个连接并出现在外连接下方时发生<span>“<span>unsupported join alias expression</span>”</span>错误（Richard Guo）<a href=\"https://postgr.es/c/53b058d3b\">§</a>\n</p>", "text": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误（Richard Guo）§", "title": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误", "commits": ["53b058d3b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "9b9593b3bed85463fb2c6ab8dc5616e666f511a85956f8f58f614fc3d44f9488", "section_path": ["变更"], "commit_groups": [["0c4235013", "372761e05", "53b058d3b", "618130028", "f73794bc1"]], "identity_text": "Avoid unsupported join alias expression failures when a whole-row Var references a join and appears below an outer join (Richard Guo)", "commit_aliases": ["0c4235013", "372761e05", "53b058d3b", "618130028", "f73794bc1"], "source_commits": ["53b058d3b"], "source_entry_id": "18.7/changes/065", "db_id": "4808f64fd2f18669aaf126f4077e6582", "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd", "relations": [{"rule": 2, "type": "equivalent", "target": "963f3cbc6988be8ef25e124535b104d5", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}}, {"rule": 2, "type": "equivalent", "target": "a5c9711d5b48fce9695eb5391abf84d4", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a5c9711d5b48fce9695eb5391abf84d4", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}, "url": "/docs/compare/?release=17.12#17.12-ed753794638ef2ff", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "963f3cbc6988be8ef25e124535b104d5", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}, "url": "/docs/compare/?release=16.16#16.16-eb9b811c665f923f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-75cbe4fa949fa7f1", "cves": [], "html": "<p>\n      在展开整行连接别名引用时正确处理 SubLink（Richard Guo）<a href=\"https://postgr.es/c/7a776fc9d\">§</a>\n</p><p>\n      这一遗漏导致<span>“<span>cannot handle unplanned sub-select</span>”</span>或<span>“<span>unrecognized node type</span>”</span>等错误。\n     </p>", "text": "在展开整行连接别名引用时正确处理 SubLink（Richard Guo）§ 这一遗漏导致“cannot handle unplanned sub-select”或“unrecognized node type”等错误。", "title": "在展开整行连接别名引用时正确处理 SubLink", "commits": ["7a776fc9d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "57ef153f7d25c30e0bc631cfaf1b21f9bcd93f9df89fb15b434ba5e8d92675c4", "section_path": ["变更"], "commit_groups": [["10717fe15", "3ad05dea1", "5a7312587", "6bd71489d", "6c0698339", "7a776fc9d", "bfa1a69ed"]], "identity_text": "Handle SubLinks correctly when expanding a whole-row join alias reference (Richard Guo) This oversight led to errors like cannot handle unplanned sub-select or unrecognized node type.", "commit_aliases": ["10717fe15", "3ad05dea1", "5a7312587", "6bd71489d", "6c0698339", "7a776fc9d", "bfa1a69ed"], "source_commits": ["7a776fc9d"], "source_entry_id": "18.7/changes/066", "db_id": "4a874e863374e3fbe40c40942394e0ea", "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56", "relations": [{"rule": 2, "type": "equivalent", "target": "0b92584eb24ec33c8a0140c351b175a9", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}}, {"rule": 2, "type": "equivalent", "target": "34907af06b65cf53628132dab0bccbc2", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}}, {"rule": 2, "type": "equivalent", "target": "e166687ad72c5bca169bf20ed3e79298", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}}, {"rule": 2, "type": "equivalent", "target": "f014677d26d9a7cbed0205c943297b01", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e166687ad72c5bca169bf20ed3e79298", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在展开整行连接别名引用时正确处理 SubLink", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}, "url": "/docs/compare/?release=17.12#17.12-25e4213571d2d710", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "34907af06b65cf53628132dab0bccbc2", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在展开整行连接别名引用时正确处理 SubLink", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}, "url": "/docs/compare/?release=16.16#16.16-c3033eb164cebf90", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0b92584eb24ec33c8a0140c351b175a9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在展开整行连接别名引用时正确处理 SubLink", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}, "url": "/docs/compare/?release=15.20#15.20-46d998442947c5c7", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f014677d26d9a7cbed0205c943297b01", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在展开整行连接别名引用时正确处理 SubLink", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}, "url": "/docs/compare/?release=14.25#14.25-7a4fab9388d84ae9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-0182225aaea96923", "cves": [], "html": "<p>\n      不再对继承树执行自连接消除（Tender Wang）<a href=\"https://postgr.es/c/ebf82fae6\">§</a>\n</p><p>\n      在传统表继承中，父表上的唯一索引不足以证明其所有子表中的唯一性，因此无法完成自连接消除（SJE）所需的证明。此外，该代码还会合并 <code>parent_table</code> 和 <code>parent_table ONLY</code>，而二者甚至不表示同一组行。\n     </p>", "text": "不再对继承树执行自连接消除（Tender Wang）§ 在传统表继承中，父表上的唯一索引不足以证明其所有子表中的唯一性，因此无法完成自连接消除（SJE）所需的证明。此外，该代码还会合并 parent_table 和 parent_table ONLY，而二者甚至不表示同一组行。", "title": "不再对继承树执行自连接消除", "commits": ["ebf82fae6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ce5fa34f7b72147b0e38e251cd649026547bc2951188544b9bad544d1f9ac70b", "section_path": ["变更"], "commit_groups": [["89e06d782", "cbcccca71", "ebf82fae6"]], "identity_text": "Do not perform self-join elimination with inheritance trees (Tender Wang) In traditional table inheritance, a unique index on the parent table isn't sufficient to prove uniqueness across its children too, so that the proof required for SJE isn't possible. Moreover, the code was willing to merge parent_table with parent_table ONLY, which doesn't even represent the same set of rows.", "commit_aliases": ["89e06d782", "cbcccca71", "ebf82fae6"], "source_commits": ["ebf82fae6"], "source_entry_id": "18.7/changes/067", "db_id": "d91135968019b2d7e5cf01912698fb0a", "patch_ids": ["e60be14e1793d930fd6929bd4793b46b"], "statement_hash": "d1be5adfe14732e56debdeb0b650249cc45ce74efc4d61e6b7953d873562d3f4", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-d9dff85eb91ca723", "cves": [], "html": "<p>\n      在自连接消除中，检查用于证明唯一性的子句是否确实匹配（Tender Wang）<a href=\"https://postgr.es/c/10b2d9986\">§</a>\n</p><p>\n      此前，此代码假定操作数相同的相等子句彼此等价，但它们实际上可能使用不同的相等操作符，更常见的是使用不同的排序规则。\n     </p>", "text": "在自连接消除中，检查用于证明唯一性的子句是否确实匹配（Tender Wang）§ 此前，此代码假定操作数相同的相等子句彼此等价，但它们实际上可能使用不同的相等操作符，更常见的是使用不同的排序规则。", "title": "在自连接消除中，检查用于证明唯一性的子句是否确实匹配", "commits": ["10b2d9986"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a543e78e3d43fa5fae8f92b7a6c2eeec49728a31f65ff8ebaffc384700d05a6b", "section_path": ["变更"], "commit_groups": [["10b2d9986", "86ce68d9e", "8f2b598b4"]], "identity_text": "In self-join elimination, check that clauses used to prove uniqueness actually match (Tender Wang) Previously, this code assumed that equality clauses with the same operands were equivalent; but in fact they could use different equality operators, or more likely different collations.", "commit_aliases": ["10b2d9986", "86ce68d9e", "8f2b598b4"], "source_commits": ["10b2d9986"], "source_entry_id": "18.7/changes/068", "db_id": "4d8cbb019eac0ad6b578e3db1b4b683f", "patch_ids": ["e8b89d3f6d8226d2565a6e358a9798ce"], "statement_hash": "26a4c833727f327f6d581ca6703c29c6222d4de6910c058f43611fab4257f7d5", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-390efc3bd71283d2", "cves": [], "html": "<p>\n      当子查询的目标列表含有任何集合返回函数时，不再假定 <code>DISTINCT ON</code> 能确保子查询输出行的唯一性（Richard Guo）<a href=\"https://postgr.es/c/4c66f172a\">§</a>\n</p><p>\n      这一假定不成立，因为集合返回函数可能在去重步骤之后求值。\n     </p>", "text": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性（Richard Guo）§ 这一假定不成立，因为集合返回函数可能在去重步骤之后求值。", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "commits": ["4c66f172a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0fc9e0840fa7d4502abc5ec989fea8db5f2508352f5ddcb30a47ffa3d745dc8c", "section_path": ["变更"], "commit_groups": [["1bf74c806", "201f7192e", "4c66f172a", "7e29fcd1a", "8fc5b57ae", "a4eb938b3", "d446ca2c4"]], "identity_text": "Don't assume that DISTINCT ON ensures uniqueness of a subquery's output rows when the subquery's targetlist contains any set-returning functions (Richard Guo) This doesn't follow, because the set-returning functions may be evaluated after the de-duplication step.", "commit_aliases": ["1bf74c806", "201f7192e", "4c66f172a", "7e29fcd1a", "8fc5b57ae", "a4eb938b3", "d446ca2c4"], "source_commits": ["4c66f172a"], "source_entry_id": "18.7/changes/069", "db_id": "f61e732235401a548c5fcb19abed42e1", "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8", "relations": [{"rule": 2, "type": "equivalent", "target": "49d9002ddf1d612ce9c1073b387370c7", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}}, {"rule": 2, "type": "equivalent", "target": "4ed90ebe13b4b4a4075bb28c42e0acdc", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}}, {"rule": 2, "type": "equivalent", "target": "905d2332f6fc468705d7d1667ddd51ec", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}}, {"rule": 2, "type": "equivalent", "target": "9b6ca8006605cebed191360203e11cce", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4ed90ebe13b4b4a4075bb28c42e0acdc", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}, "url": "/docs/compare/?release=17.12#17.12-6836d87a0dc3ac3d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9b6ca8006605cebed191360203e11cce", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}, "url": "/docs/compare/?release=16.16#16.16-92f9c8c3f0952dd9", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "905d2332f6fc468705d7d1667ddd51ec", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}, "url": "/docs/compare/?release=15.20#15.20-c36cef40dafb8dcd", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "49d9002ddf1d612ce9c1073b387370c7", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}, "url": "/docs/compare/?release=14.25#14.25-94d66f7aa62a9926", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-ce33c0e62a8d7de4", "cves": [], "html": "<p>\n      修复带有常量测试表达式的简单形式 <code>CASE</code> 内部、带 <code>RETURNING</code> 子句的 <code>JSON</code> 构造器被错误地进行常量折叠的问题（Richard Guo）<a href=\"https://postgr.es/c/29aef0f68\">§</a>\n</p>", "text": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题（Richard Guo）§", "title": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题", "commits": ["29aef0f68"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7dfce3ec8c9d2cd89b458c88727f9bb0bd424496942f712bdd7c36d389521e87", "section_path": ["变更"], "commit_groups": [["23088673d", "27ef9097b", "29aef0f68", "acd8d3e0f", "e17df18a8"]], "identity_text": "Fix incorrect constant-folding of a JSON constructor with a RETURNING clause inside a simple-form CASE with a constant test expression (Richard Guo)", "commit_aliases": ["23088673d", "27ef9097b", "29aef0f68", "acd8d3e0f", "e17df18a8"], "source_commits": ["29aef0f68"], "source_entry_id": "18.7/changes/070", "db_id": "bede02573b67ba4264ded1e4ec0becda", "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b", "relations": [{"rule": 2, "type": "equivalent", "target": "16ae57512e480e0c15644272108f4da0", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}}, {"rule": 2, "type": "equivalent", "target": "8ffb766f2e392292c5dae23c770603ba", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8ffb766f2e392292c5dae23c770603ba", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}, "url": "/docs/compare/?release=17.12#17.12-d5cb25cbe998c687", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "16ae57512e480e0c15644272108f4da0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}, "url": "/docs/compare/?release=16.16#16.16-fd77e8999165d964", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-75d528b7ad2e8052", "cves": [], "html": "<p>\n      修复将 <code>WHERE</code> 子句下推到采用不同等价规则的分组步骤之前时的检查（Richard Guo）<a href=\"https://postgr.es/c/dd7c135bb\">§</a>\n</p><p>\n      上一轮版本发布对此情况的修复，在某些涉及 <code>CASE</code> 表达式的子句上行为不正确。\n     </p>", "text": "修复将 WHERE 子句下推到采用不同等价规则的分组步骤之前时的检查（Richard Guo）§ 上一轮版本发布对此情况的修复，在某些涉及 CASE 表达式的子句上行为不正确。", "title": "修复将 WHERE 子句下推到采用不同等价规则的分组步骤之前时的检查", "commits": ["dd7c135bb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "13ba419d1b6fa7516d7b154dc4661e60904607df24926108cb0f086a61a91eb6", "section_path": ["变更"], "commit_groups": [["264ddc9a6", "a3bc7f2c0", "dd7c135bb"]], "identity_text": "Fix test for pushing WHERE clauses down past a grouping step that has a different equivalence rule (Richard Guo) The previous release cycle's fix for this situation misbehaved for some clauses involving CASE expressions.", "commit_aliases": ["264ddc9a6", "a3bc7f2c0", "dd7c135bb"], "source_commits": ["dd7c135bb"], "source_entry_id": "18.7/changes/071", "db_id": "2acebecec31e3a9e618850b735901f88", "patch_ids": ["eb3926e5dbb96ea4093de2ded0e920e2"], "statement_hash": "e1e19a692a144d00c4b27426dcb91102bfd88b76cc0da5e78648d3d8e3c618e9", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-3f49159c68bb29a9", "cves": [], "html": "<p>\n      修复查询指定 <code>FETCH ... WITH TIES</code> 时 <code>MIN()</code>/<code>MAX()</code> 索引扫描的错误行为（Chaitanya Choudhary）<a href=\"https://postgr.es/c/720d3df25\">§</a>\n</p><p>\n<code>WITH TIES</code> 选项被意外复制到为执行索引扫描而生成的子 SELECT 中，可能触发<span>“<span>more than one row returned by a subquery used as an expression</span>”</span>错误。\n     </p>", "text": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为（Chaitanya Choudhary）§ WITH TIES 选项被意外复制到为执行索引扫描而生成的子 SELECT 中，可能触发“more than one row returned by a subquery used as an expression”错误。", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "commits": ["720d3df25"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "395c53b27c4bd16a7a1a3034d1ea75822b91b628706464ff495f124fd95eaa66", "section_path": ["变更"], "commit_groups": [["0d5505a22", "32872d0c9", "47c43ffda", "70d0ac3c9", "720d3df25", "a91d664d5", "d98b99b2a"]], "identity_text": "Fix incorrect behavior of MIN()/MAX() index scans when query specifies FETCH ... WITH TIES (Chaitanya Choudhary) The WITH TIES option was accidentally copied into the sub-SELECT generated to perform the index scan, possibly triggering more than one row returned by a subquery used as an expression errors.", "commit_aliases": ["0d5505a22", "32872d0c9", "47c43ffda", "70d0ac3c9", "720d3df25", "a91d664d5", "d98b99b2a"], "source_commits": ["720d3df25"], "source_entry_id": "18.7/changes/072", "db_id": "4c991d7d0e0db9bc75298d1bb6d51e13", "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16", "relations": [{"rule": 2, "type": "equivalent", "target": "4150f0253ebcafd0c17da545b6c48461", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}}, {"rule": 2, "type": "equivalent", "target": "46d9eb3a9031d5ac0c77452a1360a8a8", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}}, {"rule": 2, "type": "equivalent", "target": "85f7e7205797eaf59f27added31a790d", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}}, {"rule": 2, "type": "equivalent", "target": "ed404014c61c0af20b0f814f3e356a63", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4150f0253ebcafd0c17da545b6c48461", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}, "url": "/docs/compare/?release=17.12#17.12-62a5e81339945c17", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "85f7e7205797eaf59f27added31a790d", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}, "url": "/docs/compare/?release=16.16#16.16-feda6f6d41deea8b", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "ed404014c61c0af20b0f814f3e356a63", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}, "url": "/docs/compare/?release=15.20#15.20-a4d5285df6953470", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "46d9eb3a9031d5ac0c77452a1360a8a8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}, "url": "/docs/compare/?release=14.25#14.25-3ffa9cd915f13f55", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f6f8694c45f42c06", "cves": [], "html": "<p>\n      对半连接右侧去重时使用正确的排序规则（Andrey Rachitskiy）<a href=\"https://postgr.es/c/1ac292cb1\">§</a>\n</p><p>\n      此问题只在连接比较子句使用非确定性排序规则时发生，因为所有确定性排序规则对字符串相等性的判断都一致。但在此情况下，可能产生包含过多行的错误结果。\n     </p>", "text": "对半连接右侧去重时使用正确的排序规则（Andrey Rachitskiy）§ 此问题只在连接比较子句使用非确定性排序规则时发生，因为所有确定性排序规则对字符串相等性的判断都一致。但在此情况下，可能产生包含过多行的错误结果。", "title": "对半连接右侧去重时使用正确的排序规则", "commits": ["1ac292cb1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "19dbde60d8c7322091894067bd6d5e528cb559fdb5a988baa322e0c550b0d66c", "section_path": ["变更"], "commit_groups": [["0d5621890", "1ac292cb1", "a10d14afc", "a9c9c4f76", "b8e0b45ab", "d237a7a83", "db0208bfc"]], "identity_text": "Use the correct collation when unique-ifying a semijoin's righthand side (Andrey Rachitskiy) This is an issue only if the join's comparison clause uses a non-deterministic collation, since all deterministic collations agree on string equality. But if it does, it was possible to produce incorrect results with too many rows.", "commit_aliases": ["0d5621890", "1ac292cb1", "a10d14afc", "a9c9c4f76", "b8e0b45ab", "d237a7a83", "db0208bfc"], "source_commits": ["1ac292cb1"], "source_entry_id": "18.7/changes/073", "db_id": "6650c8fb08fdf5d2075609c2591650fa", "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a", "relations": [{"rule": 2, "type": "equivalent", "target": "493d89263038794e5bb70dc91acb9ff0", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}}, {"rule": 2, "type": "equivalent", "target": "4f75fe21bf850347f0cf9f1977ca132a", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}}, {"rule": 2, "type": "equivalent", "target": "890c5a22bcaca0db7f4a3c411d1c9640", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}}, {"rule": 2, "type": "equivalent", "target": "f3df08c5faca4979fa4a8e6b042e39b4", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "890c5a22bcaca0db7f4a3c411d1c9640", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "对半连接右侧去重时使用正确的排序规则", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}, "url": "/docs/compare/?release=17.12#17.12-2fad1494e92c6dfe", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "4f75fe21bf850347f0cf9f1977ca132a", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "对半连接右侧去重时使用正确的排序规则", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}, "url": "/docs/compare/?release=16.16#16.16-c1cde338cae02c9b", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "f3df08c5faca4979fa4a8e6b042e39b4", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "对半连接右侧去重时使用正确的排序规则", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}, "url": "/docs/compare/?release=15.20#15.20-31535a9804f0072d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "493d89263038794e5bb70dc91acb9ff0", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "对半连接右侧去重时使用正确的排序规则", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}, "url": "/docs/compare/?release=14.25#14.25-34b2dc9161b89cba", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-fd9fc01014208d93", "cves": [], "html": "<p>\n      修复单子节点 Append 节点下方被禁用的计划节点类型的处理（Tender Wang）<a href=\"https://postgr.es/c/718f28167\">§</a>\n</p><p>\n      Append 节点未复制其子节点的 disabled_nodes 计数，因而可能优先于其他不包含被禁用节点的候选计划被选中。\n     </p>", "text": "修复单子节点 Append 节点下方被禁用的计划节点类型的处理（Tender Wang）§ Append 节点未复制其子节点的 disabled_nodes 计数，因而可能优先于其他不包含被禁用节点的候选计划被选中。", "title": "修复单子节点 Append 节点下方被禁用的计划节点类型的处理", "commits": ["718f28167"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "599a1447c6194b904242854c82af24c7ce0138d909db0916d2fcd837920687a7", "section_path": ["变更"], "commit_groups": [["15ccc2041", "718f28167", "de5659440"]], "identity_text": "Fix handling of disabled plan node types below single-child Append nodes (Tender Wang) The Append node failed to copy its child's disabled_nodes count, allowing it to possibly be chosen over other alternatives that contain no disabled nodes.", "commit_aliases": ["15ccc2041", "718f28167", "de5659440"], "source_commits": ["718f28167"], "source_entry_id": "18.7/changes/074", "db_id": "fc07ebb297047f38f1cc5e841513d8cd", "patch_ids": ["6b6113322652ad8cbadf8406a6dfd642"], "statement_hash": "c3d05d5025e9c67f782017068ee34916befaa9a339456ea453bf16bd8c18c07a", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-817c7714b345fa9d", "cves": [], "html": "<p>\n      在 <code>INSERT ... ON CONFLICT</code> 期间对冲突行获取谓词锁（Zsolt Parragi，Andrey Borodin）<a href=\"https://postgr.es/c/6567f3f1f\">§</a> <a href=\"https://postgr.es/c/558c00f96\">§</a>\n</p><p>\n      此前未这样做，导致可串行化模式下行为不正确，允许本应以串行化错误失败的并发更新。\n     </p>", "text": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁（Zsolt Parragi，Andrey Borodin）§ § 此前未这样做，导致可串行化模式下行为不正确，允许本应以串行化错误失败的并发更新。", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "commits": ["558c00f96", "6567f3f1f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2e199c31b321bf66e333a68c9f65cb4da0d4aa55ab614b408b966249b72d77d2", "section_path": ["变更"], "commit_groups": [["0d83f9e0e", "2980e5e4d", "2c4871093", "558c00f96", "76e9e44b0", "83efe9602", "b76127a88"], ["5b4ebfbfa", "5b6b83cb7", "6567f3f1f", "80c9a58b4", "cbd2406d0", "e7006ecae", "fb60892f4"]], "identity_text": "Acquire a predicate lock on conflicting rows during INSERT ... ON CONFLICT (Zsolt Parragi, Andrey Borodin) Failure to do this resulted in incorrect behavior in serializable mode, allowing concurrent updates that should have failed with a serialization error.", "commit_aliases": ["0d83f9e0e", "2980e5e4d", "2c4871093", "558c00f96", "5b4ebfbfa", "5b6b83cb7", "6567f3f1f", "76e9e44b0", "80c9a58b4", "83efe9602", "b76127a88", "cbd2406d0", "e7006ecae", "fb60892f4"], "source_commits": ["558c00f96", "6567f3f1f"], "source_entry_id": "18.7/changes/075", "db_id": "7e45918518cc025c003f4dd86b0014bc", "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b", "relations": [{"rule": 2, "type": "equivalent", "target": "0de7dd61b79d36c93ea55652cc801879", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}}, {"rule": 2, "type": "equivalent", "target": "2242d4598e1d102bac31be61b01a3058", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}}, {"rule": 2, "type": "equivalent", "target": "85d4136177b0bbfa7d91a1fc0c054421", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}}, {"rule": 2, "type": "equivalent", "target": "f45cfc3f7452b0b438a2d4641bbda34b", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0de7dd61b79d36c93ea55652cc801879", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}, "url": "/docs/compare/?release=17.12#17.12-7e30a2c6df98a494", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "2242d4598e1d102bac31be61b01a3058", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}, "url": "/docs/compare/?release=16.16#16.16-08ab778370bf20c3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "85d4136177b0bbfa7d91a1fc0c054421", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}, "url": "/docs/compare/?release=15.20#15.20-81deccf4abbe0d1b", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f45cfc3f7452b0b438a2d4641bbda34b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}, "url": "/docs/compare/?release=14.25#14.25-1c330091e398158d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a45cb7979d3856ce", "cves": [], "html": "<p>\n      修复并行构建 GIN 索引时的整数溢出（Ewan Young）<a href=\"https://postgr.es/c/937a0e68c\">§</a>\n</p><p>\n      索引键存储在一个大小字段仅为 16 位的中间数据结构中，因此大于 65535 字节的键会被截断，导致崩溃或索引项损坏。\n     </p>", "text": "修复并行构建 GIN 索引时的整数溢出（Ewan Young）§ 索引键存储在一个大小字段仅为 16 位的中间数据结构中，因此大于 65535 字节的键会被截断，导致崩溃或索引项损坏。", "title": "修复并行构建 GIN 索引时的整数溢出", "commits": ["937a0e68c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "11d3279f2931d4829e4f58d7a6e139bc567fcbede0f7810a00d70b9b11e987d3", "section_path": ["变更"], "commit_groups": [["05c4b10fc", "937a0e68c", "bad882987"]], "identity_text": "Fix integer overflow during parallel GIN index build (Ewan Young) Index keys were stored in an interim data structure whose size field was only 16 bits, so that keys larger than 65535 bytes were truncated, resulting in crashes or corrupted index entries.", "commit_aliases": ["05c4b10fc", "937a0e68c", "bad882987"], "source_commits": ["937a0e68c"], "source_entry_id": "18.7/changes/076", "db_id": "6f8e33083e07d4369152905e5cfad288", "patch_ids": ["b492a1bfff3daf94ec360d8043e59d6b"], "statement_hash": "142d072cb1c44c2e6dffea1c287e04c50b4cc6b03d996c85d83549c833839bc8", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-de4b6247a6ed43ac", "cves": [], "html": "<p>\n      修复不正确的多列 <code>RANGE</code> 分区剪枝（David Rowley）<a href=\"https://postgr.es/c/7c503d683\">§</a>\n</p><p>\n      对 <code>RANGE</code> 分区表执行分区剪枝时，如果裁剪限定条件仅涉及分区键的一个前导前缀，分区剪枝可能移除一些不应被裁剪的分区（导致漏掉本应找到的行），也可能包含一些不需要的分区。\n     </p>", "text": "修复不正确的多列 RANGE 分区剪枝（David Rowley）§ 对 RANGE 分区表执行分区剪枝时，如果裁剪限定条件仅涉及分区键的一个前导前缀，分区剪枝可能移除一些不应被裁剪的分区（导致漏掉本应找到的行），也可能包含一些不需要的分区。", "title": "修复不正确的多列 RANGE 分区剪枝", "commits": ["7c503d683"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "878abf24b38deec5a42e065141c57787aa5b24985371b97dc4b7d22101f6ac2f", "section_path": ["变更"], "commit_groups": [["1a501b6e2", "2d8494e24", "6e5d5680b", "7a74e5ed9", "7c503d683", "978caef19", "a0396c8e3"]], "identity_text": "Fix incorrect multi-column RANGE partition pruning (David Rowley) When performing partition pruning with a RANGE partitioned table where pruning quals are only present for a leading prefix of the partition key, it was possible for partition pruning to prune away some partitions that shouldn't be pruned (leading to missing some rows that should be found) and/or include some partitions that were not needed.", "commit_aliases": ["1a501b6e2", "2d8494e24", "6e5d5680b", "7a74e5ed9", "7c503d683", "978caef19", "a0396c8e3"], "source_commits": ["7c503d683"], "source_entry_id": "18.7/changes/077", "db_id": "bee5d2c4b9f4136a58f939828bce8dc5", "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80", "relations": [{"rule": 2, "type": "equivalent", "target": "43be4e99e5bfe57da3d9495585fa91de", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}}, {"rule": 2, "type": "equivalent", "target": "a2f8b45ee40140214e34e2f9ac36183a", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}}, {"rule": 2, "type": "equivalent", "target": "adf2a219e98efe19243dc72d36938ddc", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}}, {"rule": 2, "type": "equivalent", "target": "c4c83d39601bfe59e2ab1d290ae85efc", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "43be4e99e5bfe57da3d9495585fa91de", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复不正确的多列 RANGE 分区剪枝", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}, "url": "/docs/compare/?release=17.12#17.12-4ac3f9f9deb42138", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a2f8b45ee40140214e34e2f9ac36183a", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复不正确的多列 RANGE 分区剪枝", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}, "url": "/docs/compare/?release=16.16#16.16-558defd63855df99", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c4c83d39601bfe59e2ab1d290ae85efc", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复不正确的多列 RANGE 分区剪枝", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}, "url": "/docs/compare/?release=15.20#15.20-50902758116ebf65", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "adf2a219e98efe19243dc72d36938ddc", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复不正确的多列 RANGE 分区剪枝", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}, "url": "/docs/compare/?release=14.25#14.25-4a8b5dbb1b4d03b9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-cd53c044d6b8cf0c", "cves": [], "html": "<p>\n      修复使用 <code>MINVALUE</code> 或 <code>MAXVALUE</code> 边界的范围分区表中错误剪枝 <code>DEFAULT</code> 分区的问题（Ewan Young）<a href=\"https://postgr.es/c/63d9e26c2\">§</a>\n</p><p>\n      在某些情况下，代码会错误地认定无需扫描 <code>DEFAULT</code> 分区，从而漏掉一些本应匹配查询的行。\n     </p>", "text": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题（Ewan Young）§ 在某些情况下，代码会错误地认定无需扫描 DEFAULT 分区，从而漏掉一些本应匹配查询的行。", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "commits": ["63d9e26c2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3450600c4769d61fcf8c54e5ef7b4c2696d74e7343f9cc5d11248eba36185f2e", "section_path": ["变更"], "commit_groups": [["1d8a93336", "3d734a059", "63d9e26c2", "73b0b18f1", "9b8c0f238", "b9d9e9bcc", "d21d4f1ca"]], "identity_text": "Fix incorrect pruning of DEFAULT partitions in range-partitioned tables that use MINVALUE or MAXVALUE bounds (Ewan Young) In some cases the code would incorrectly conclude that the DEFAULT partition needn't be scanned, causing failure to find some rows that should match the query.", "commit_aliases": ["1d8a93336", "3d734a059", "63d9e26c2", "73b0b18f1", "9b8c0f238", "b9d9e9bcc", "d21d4f1ca"], "source_commits": ["63d9e26c2"], "source_entry_id": "18.7/changes/078", "db_id": "ee0e2ce3c90803f94ba06afed8c3c280", "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409", "relations": [{"rule": 2, "type": "equivalent", "target": "9dde729f7201cbdbab43483c02055e7a", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}}, {"rule": 2, "type": "equivalent", "target": "b7fa9cedbc2f3f8750fe5e24aec9cd68", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}}, {"rule": 2, "type": "equivalent", "target": "e100bb84698c175426ab9750c1eb7223", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}}, {"rule": 2, "type": "equivalent", "target": "f26ebc255b8292a5236229092e3101d3", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f26ebc255b8292a5236229092e3101d3", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}, "url": "/docs/compare/?release=17.12#17.12-259f8b2317922d8c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b7fa9cedbc2f3f8750fe5e24aec9cd68", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}, "url": "/docs/compare/?release=16.16#16.16-daed69f576200c4f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e100bb84698c175426ab9750c1eb7223", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}, "url": "/docs/compare/?release=15.20#15.20-0bb8c06e6c76bbc2", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "9dde729f7201cbdbab43483c02055e7a", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}, "url": "/docs/compare/?release=14.25#14.25-a73cb01eab8a074f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-c5cf0bdd35e3ee7f", "cves": [], "html": "<p>\n      修复 EPQ 重新检查期间对运行时分区剪枝的不当处理（David Rowley，Zsolt Parragi）<a href=\"https://postgr.es/c/c7328770b\">§</a> <a href=\"https://postgr.es/c/57193b3a0\">§</a>\n</p><p>\n      此错误可能悄然跳过本应更新的行，也可能导致释放后使用内存的访问。\n     </p>", "text": "修复 EPQ 重新检查期间对运行时分区剪枝的不当处理（David Rowley，Zsolt Parragi）§ § 此错误可能悄然跳过本应更新的行，也可能导致释放后使用内存的访问。", "title": "修复 EPQ 重新检查期间对运行时分区剪枝的不当处理", "commits": ["57193b3a0", "c7328770b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ebbfbe58f05381006ad5b90d12f9913b9c98b66c2a505560c1aae40f9a32d396", "section_path": ["变更"], "commit_groups": [["1b5dd3a24", "2359968b4", "c7328770b"], ["57193b3a0", "73e69062c", "9b505ef6c"]], "identity_text": "Fix mishandling of run-time partition pruning during EPQ rechecks (David Rowley, Zsolt Parragi) This error could result in silently skipping rows that should be updated, as well as possible use-after-free accesses.", "commit_aliases": ["1b5dd3a24", "2359968b4", "57193b3a0", "73e69062c", "9b505ef6c", "c7328770b"], "source_commits": ["57193b3a0", "c7328770b"], "source_entry_id": "18.7/changes/079", "db_id": "9644c2ad537132f9c1945a6e1f5d5990", "patch_ids": ["5311432b11e69d1c99cac837a60a00d9", "e42a2b38dc83b5b1153e536996adc17a"], "statement_hash": "864e63136f9fe04abb1b9c0a66c519e4f3e2c132438bdfd65d8587822f437ed1", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-f369c8e296b2a3f6", "cves": [], "html": "<p>\n      不在计划启动时的分区剪枝中使用包含 SubPlan 的表达式（Richard Guo）<a href=\"https://postgr.es/c/70ffc30e1\">§</a>\n</p><p>\n      这可以避免边界情况下的<span>“<span>SubPlan found with no parent plan</span>”</span>错误。\n     </p>", "text": "不在计划启动时的分区剪枝中使用包含 SubPlan 的表达式（Richard Guo）§ 这可以避免边界情况下的“SubPlan found with no parent plan”错误。", "title": "不在计划启动时的分区剪枝中使用包含 SubPlan 的表达式", "commits": ["70ffc30e1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "31e53907fb646fb35de1d8c249d33e28bd0414874ce93ca93b9b47d21edd3df0", "section_path": ["变更"], "commit_groups": [["3f807d6e9", "70ffc30e1", "eacee6b61"]], "identity_text": "Don't use SubPlan-containing expressions in plan-startup-time partition pruning (Richard Guo) This avoids SubPlan found with no parent plan errors in edge cases.", "commit_aliases": ["3f807d6e9", "70ffc30e1", "eacee6b61"], "source_commits": ["70ffc30e1"], "source_entry_id": "18.7/changes/080", "db_id": "31fe61e8690e22b3e97024b73bb56a3a", "patch_ids": ["32671367c1cb582a5103d68fc4518359"], "statement_hash": "0932d0f9b9e8c172fc0e24836359aaf33655c54f5d866dcb7d01f0dba7673997", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-f4df7f91543e21ce", "cves": [], "html": "<p>\n      修复查询对同一列应用多个排序键时的问题（David Rowley，Ayush Tiwari）<a href=\"https://postgr.es/c/bfbb3d842\">§</a> <a href=\"https://postgr.es/c/744ca40cb\">§</a>\n</p><p>\n      某些查询可能使后端进程崩溃，其他情况下则会忽略附加的排序指定。通常这些附加指定确实是冗余的，因为第一个指定就能完全确定结果顺序。但使用非确定性排序规则，或查询使用不同的 <code>ORDER BY</code> 操作符时，并不一定如此。\n     </p>", "text": "修复查询对同一列应用多个排序键时的问题（David Rowley，Ayush Tiwari）§ § 某些查询可能使后端进程崩溃，其他情况下则会忽略附加的排序指定。通常这些附加指定确实是冗余的，因为第一个指定就能完全确定结果顺序。但使用非确定性排序规则，或查询使用不同的 ORDER BY 操作符时，并不一定如此。", "title": "修复查询对同一列应用多个排序键时的问题", "commits": ["744ca40cb", "bfbb3d842"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2ac0920a27a3ba270ca51377d21a5e4093e828276675fa3be4d5b6e21d76005a", "section_path": ["变更"], "commit_groups": [["0500fb3ab", "1c2ba4df3", "6e8605116", "9171fca99", "b715192e5", "bfbb3d842"], ["1c087e616", "1d57f6ef7", "21a53865f", "2a3ac1554", "744ca40cb", "edbe7ffdc", "f72e4686e"]], "identity_text": "Fix problems with queries applying multiple sort keys to a single column (David Rowley, Ayush Tiwari) Some queries could crash the backend, while in other cases the additional sort specifications were ignored. Ordinarily such additional sort specifications are redundant anyway, since the first one would fully determine the result ordering. However, this is not necessarily so with non-deterministic collations, or with queries using different ORDER BY operators.", "commit_aliases": ["0500fb3ab", "1c087e616", "1c2ba4df3", "1d57f6ef7", "21a53865f", "2a3ac1554", "6e8605116", "744ca40cb", "9171fca99", "b715192e5", "bfbb3d842", "edbe7ffdc", "f72e4686e"], "source_commits": ["744ca40cb", "bfbb3d842"], "source_entry_id": "18.7/changes/081", "db_id": "0bf3b89de83476655d3333b99f75b43e", "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f", "relations": [{"rule": 2, "type": "equivalent", "target": "8793e33d7a2c0d9c3ac4b18c0ef5ff8e", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}}, {"rule": 2, "type": "equivalent", "target": "a1b05e16212d61eb07d95fb568573e61", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}}, {"rule": 2, "type": "equivalent", "target": "abf30bf2066354a553a8437903f48c5e", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}}, {"rule": 2, "type": "equivalent", "target": "ac97c08f3b04f7d965c7d56aa503b9d8", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8793e33d7a2c0d9c3ac4b18c0ef5ff8e", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复查询对同一列应用多个排序键时的问题", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}, "url": "/docs/compare/?release=17.12#17.12-44f4b5845d234bc4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ac97c08f3b04f7d965c7d56aa503b9d8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复查询对同一列应用多个排序键时的问题", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}, "url": "/docs/compare/?release=16.16#16.16-21c3138c9b51b38e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "a1b05e16212d61eb07d95fb568573e61", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复查询对同一列应用多个排序键时的问题", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}, "url": "/docs/compare/?release=15.20#15.20-74bf40aefc855d2d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "abf30bf2066354a553a8437903f48c5e", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复查询对同一列应用多个排序键时的问题", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}, "url": "/docs/compare/?release=14.25#14.25-44f98c9b5b2986d6", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-770ee53555ca7c26", "cves": [], "html": "<p>\n      避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题（Rahul Yadav）<a href=\"https://postgr.es/c/5b730e81f\">§</a> <a href=\"https://postgr.es/c/9d0081c01\">§</a>\n</p>", "text": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题（Rahul Yadav）§ §", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "commits": ["5b730e81f", "9d0081c01"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e5994d9b679b09e908088e82b36b36d9890ba2c0827499d65d990cf613bdc378", "section_path": ["变更"], "commit_groups": [["064281150", "1e9c734c2", "25b55788d", "56fb8ee6e", "9d0081c01"], ["06e46b651", "24796e334", "303c9b362", "40a5aa4a7", "5b730e81f", "f5b8f05ee", "fcb44c5e5"]], "identity_text": "Avoid possible re-use of stale hash tables when a hashed SubPlan is referenced in multiple places (Rahul Yadav)", "commit_aliases": ["064281150", "06e46b651", "1e9c734c2", "24796e334", "25b55788d", "303c9b362", "40a5aa4a7", "56fb8ee6e", "5b730e81f", "9d0081c01", "f5b8f05ee", "fcb44c5e5"], "source_commits": ["5b730e81f", "9d0081c01"], "source_entry_id": "18.7/changes/082", "db_id": "9ae1fb5b349837af02babe8e90653cf6", "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6", "relations": [{"rule": 2, "type": "equivalent", "target": "3427e920c8ca5eac2108287d9f8280a1", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}}, {"rule": 2, "type": "equivalent", "target": "c50d82bae136b00ea8ee9d284ca39658", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}}, {"rule": 2, "type": "equivalent", "target": "e9767454014fcff754c3aceb900c0f27", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}}, {"rule": 2, "type": "equivalent", "target": "e98841ef38d9d29383a2dc801c1e2d8d", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c50d82bae136b00ea8ee9d284ca39658", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}, "url": "/docs/compare/?release=17.12#17.12-ef89632278b10c1d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "3427e920c8ca5eac2108287d9f8280a1", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}, "url": "/docs/compare/?release=16.16#16.16-0e860d598111155b", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e9767454014fcff754c3aceb900c0f27", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}, "url": "/docs/compare/?release=15.20#15.20-03eefe30ee91931c", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "e98841ef38d9d29383a2dc801c1e2d8d", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}, "url": "/docs/compare/?release=14.25#14.25-74852e5dbca57001", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f1a2dbf889cf914a", "cves": [], "html": "<p>\n      确保 Memoize 计划节点使用正确的输入排序规则（Shihao Zhong）<a href=\"https://postgr.es/c/9dd027535\">§</a>\n</p><p>\n      这只在使用非确定性排序规则时有影响。\n     </p>", "text": "确保 Memoize 计划节点使用正确的输入排序规则（Shihao Zhong）§ 这只在使用非确定性排序规则时有影响。", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "commits": ["9dd027535"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f2dad3a749e037e909a3123c36b0c34ebd349f14a75cd5e6141672373b6d4cbb", "section_path": ["变更"], "commit_groups": [["083d60e34", "0e58f6d73", "2da9b7f9b", "352734540", "9dd027535", "e22cec1bd", "f79bf8d8f"]], "identity_text": "Ensure that Memoize plan nodes use the correct input collation (Shihao Zhong) This matters only when using non-deterministic collations.", "commit_aliases": ["083d60e34", "0e58f6d73", "2da9b7f9b", "352734540", "9dd027535", "e22cec1bd", "f79bf8d8f"], "source_commits": ["9dd027535"], "source_entry_id": "18.7/changes/083", "db_id": "622b75e0458f8197b37ee3bdb3047d92", "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231", "relations": [{"rule": 2, "type": "equivalent", "target": "15a82bf9a0a22269fde33f2bde38696a", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}}, {"rule": 2, "type": "equivalent", "target": "4712f9c93786bf0c168de37abdbdbb03", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}}, {"rule": 2, "type": "equivalent", "target": "7324c6b974aa26c07ee32920b3d4795b", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}}, {"rule": 2, "type": "equivalent", "target": "97c3f6423fa5047c5f6d4300ec0e94fb", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "97c3f6423fa5047c5f6d4300ec0e94fb", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}, "url": "/docs/compare/?release=17.12#17.12-5d90df02b226d4d7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "4712f9c93786bf0c168de37abdbdbb03", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}, "url": "/docs/compare/?release=16.16#16.16-074aab8cae5d767c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7324c6b974aa26c07ee32920b3d4795b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}, "url": "/docs/compare/?release=15.20#15.20-f477b8209ba68116", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "15a82bf9a0a22269fde33f2bde38696a", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}, "url": "/docs/compare/?release=14.25#14.25-d7709459bfabee73", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-3c5fe6034e2d8e5b", "cves": [], "html": "<p>\n      修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题（Richard Guo）<a href=\"https://postgr.es/c/dbe6cf558\">§</a> <a href=\"https://postgr.es/c/2bcf2fa49\">§</a>\n</p>", "text": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题（Richard Guo）§ §", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "commits": ["2bcf2fa49", "dbe6cf558"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "576bd7d53d5901ae8735fcf15a34f4f8a582587616263d2d6f8132fba49ce24c", "section_path": ["变更"], "commit_groups": [["025dac1c9", "0fd0e501a", "2bcf2fa49", "45ff0b4a3", "63e261b0b", "db7e885d0", "f1d27a922"], ["708eb5158", "a7a2cab57", "b5ad785be", "d6f60a031", "dbe6cf558", "de7d7d4df", "f39f3f971"]], "identity_text": "Fix wrong results from Memoize plans when a Param is a subexpression of a cache key (Richard Guo)", "commit_aliases": ["025dac1c9", "0fd0e501a", "2bcf2fa49", "45ff0b4a3", "63e261b0b", "708eb5158", "a7a2cab57", "b5ad785be", "d6f60a031", "db7e885d0", "dbe6cf558", "de7d7d4df", "f1d27a922", "f39f3f971"], "source_commits": ["2bcf2fa49", "dbe6cf558"], "source_entry_id": "18.7/changes/084", "db_id": "8a78b93c37e4efee2dc67b6a0ae7ffcf", "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425", "relations": [{"rule": 2, "type": "equivalent", "target": "026d9013c5425523e16b26202b5a9c5c", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}}, {"rule": 2, "type": "equivalent", "target": "127f963c0ff495ca87704cee49eb5f48", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}}, {"rule": 2, "type": "equivalent", "target": "559b68018574ec12b0f4e0999b31cd60", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}}, {"rule": 2, "type": "equivalent", "target": "bc625b684f38573e0473461c38cd1ecc", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "127f963c0ff495ca87704cee49eb5f48", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}, "url": "/docs/compare/?release=17.12#17.12-9cbdfac7027cf6ea", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "bc625b684f38573e0473461c38cd1ecc", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}, "url": "/docs/compare/?release=16.16#16.16-84db0c344500bacc", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "026d9013c5425523e16b26202b5a9c5c", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}, "url": "/docs/compare/?release=15.20#15.20-86c2d1f3ae7b7189", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "559b68018574ec12b0f4e0999b31cd60", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}, "url": "/docs/compare/?release=14.25#14.25-9ccb21e6954f72a0", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-4521796048afd7a4", "cves": [], "html": "<p>\n      修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题（Tatsuya Kawata）<a href=\"https://postgr.es/c/0aba37abf\">§</a>\n</p><p>\n<code>EXPLAIN ANALYZE</code> 只报告了自上次重新扫描 Gather 以来的统计信息。\n     </p>", "text": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题（Tatsuya Kawata）§ EXPLAIN ANALYZE 只报告了自上次重新扫描 Gather 以来的统计信息。", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "commits": ["0aba37abf"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "52e493ab88cb11a0d84fb3a6939a97667a3c2f261c88f4ba39beb207443f642b", "section_path": ["变更"], "commit_groups": [["04609efb3", "0896fb027", "0aba37abf", "3d6e24626", "8b9ffcb11", "a345db783", "bd811277c"]], "identity_text": "Fix loss of parallel worker statistics for Memoize plan nodes underneath a Gather (Tatsuya Kawata) Only the statistics since the last rescan of the Gather were reported by EXPLAIN ANALYZE.", "commit_aliases": ["04609efb3", "0896fb027", "0aba37abf", "3d6e24626", "8b9ffcb11", "a345db783", "bd811277c"], "source_commits": ["0aba37abf"], "source_entry_id": "18.7/changes/085", "db_id": "4969b2650dfcf2b517a7661f0f80b5e3", "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e", "relations": [{"rule": 2, "type": "equivalent", "target": "3a709370871d7a3e6c1cee41a33e203a", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}}, {"rule": 2, "type": "equivalent", "target": "4650824a6b7d00da2c717401af902752", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}}, {"rule": 2, "type": "equivalent", "target": "bc0d88c4418e8bc372550a3aed73ed75", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}}, {"rule": 2, "type": "equivalent", "target": "ec3233e0c071435be07ef730c60f2af4", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bc0d88c4418e8bc372550a3aed73ed75", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}, "url": "/docs/compare/?release=17.12#17.12-713bc4b06cfe3278", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "4650824a6b7d00da2c717401af902752", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}, "url": "/docs/compare/?release=16.16#16.16-4ad4c8f8f0afec77", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "ec3233e0c071435be07ef730c60f2af4", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}, "url": "/docs/compare/?release=15.20#15.20-d9630230b6b51db0", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "3a709370871d7a3e6c1cee41a33e203a", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}, "url": "/docs/compare/?release=14.25#14.25-130e72ce762cf2e3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b698ac22ddad23e4", "cves": [], "html": "<p>\n      如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型（Heikki Linnakangas）<a href=\"https://postgr.es/c/b90eeb29e\">§</a>\n</p><p>\n      此类情况显然是错误，因为在对类型进行任何高级操作之前，应先创建该类型。\n     </p>", "text": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型（Heikki Linnakangas）§ 此类情况显然是错误，因为在对类型进行任何高级操作之前，应先创建该类型。", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "commits": ["b90eeb29e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "30770773f7435c82da28e76ca975170998dd27266addf47520aa8b9f172e706e", "section_path": ["变更"], "commit_groups": [["2866d8c7d", "b62206043", "b76b966c2", "b90eeb29e", "ba12a202c", "ba2ea49b3", "e5e841cc5"]], "identity_text": "Don't create a shell type if a function definition specifies an unknown return type name with array or type modifier syntax (Heikki Linnakangas) Such cases are surely errors, since you should create the type before doing anything advanced with it.", "commit_aliases": ["2866d8c7d", "b62206043", "b76b966c2", "b90eeb29e", "ba12a202c", "ba2ea49b3", "e5e841cc5"], "source_commits": ["b90eeb29e"], "source_entry_id": "18.7/changes/086", "db_id": "12ed784257a288aabfc0f1ad24c23692", "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d", "relations": [{"rule": 2, "type": "equivalent", "target": "44865961648b3b3f00430b83929c0ef4", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}}, {"rule": 2, "type": "equivalent", "target": "5a2bcd1139053027039c7eaf8f9ee0fb", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}}, {"rule": 2, "type": "equivalent", "target": "9e2dba83f4036f62816f4d78d2440f33", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}}, {"rule": 2, "type": "equivalent", "target": "bf6cf64f34950097b483508728b11d7f", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "44865961648b3b3f00430b83929c0ef4", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}, "url": "/docs/compare/?release=17.12#17.12-2677407d9aa9ea97", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9e2dba83f4036f62816f4d78d2440f33", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}, "url": "/docs/compare/?release=16.16#16.16-1be0f7bb5dac07bc", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "bf6cf64f34950097b483508728b11d7f", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}, "url": "/docs/compare/?release=15.20#15.20-1a04052c1d7a1e3e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5a2bcd1139053027039c7eaf8f9ee0fb", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}, "url": "/docs/compare/?release=14.25#14.25-3f39838f54e70a8d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f175db1c886eeb02", "cves": [], "html": "<p>\n      修复快照导出和导入，使其能够正确处理恢复期间取得的快照（Peter Geoghegan，Bertrand Drouvot）<a href=\"https://postgr.es/c/74c9832ca\">§</a>\n</p><p>\n      此类快照的数据布局不同，但导出/导入逻辑并不知道这一点，导致导入的快照行为不正确。这不仅会使导入事务返回错误结果，还可能因错误设置提示位而造成持久的数据损坏。\n     </p><p>\n      已知在备库上运行并行 <span>pg_dump</span> 会触发此错误。在这种情况下，它可能同时损坏转储输出和备库的数据。\n     </p>", "text": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照（Peter Geoghegan，Bertrand Drouvot）§ 此类快照的数据布局不同，但导出/导入逻辑并不知道这一点，导致导入的快照行为不正确。这不仅会使导入事务返回错误结果，还可能因错误设置提示位而造成持久的数据损坏。 已知在备库上运行并行 pg_dump 会触发此错误。在这种情况下，它可能同时损坏转储输出和备库的数据。", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "commits": ["74c9832ca"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3ea90c01e7871ea2183fee57c89f6878249412fdccfa49eb58972c3df0768268", "section_path": ["变更"], "commit_groups": [["2ae67ada7", "74c9832ca", "79b101486", "9a1fa1f36", "d03ff3b75", "ea3227bf2", "ef89c839c"]], "identity_text": "Fix snapshot export and import to work properly on a snapshot taken during recovery (Peter Geoghegan, Bertrand Drouvot) The data layout is different in such a snapshot, but the export/import logic didn't know that, so that the imported snapshot behaved incorrectly. This led not only to wrong answers within the importing transaction, but possibly to persistent data corruption due to it setting hint bits incorrectly. This bug is known to be triggered by parallel pg_dump, when run on a standby server. In that context it could corrupt both the dump output and the standby server's data.", "commit_aliases": ["2ae67ada7", "74c9832ca", "79b101486", "9a1fa1f36", "d03ff3b75", "ea3227bf2", "ef89c839c"], "source_commits": ["74c9832ca"], "source_entry_id": "18.7/changes/087", "db_id": "a2f338293a64ae6202a962076ae6f3c5", "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e", "relations": [{"rule": 2, "type": "equivalent", "target": "3b0d5335529258fcaa02db313b4f3116", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}}, {"rule": 2, "type": "equivalent", "target": "44f62edb6b94317b78ea0e5b5d8a9358", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}}, {"rule": 2, "type": "equivalent", "target": "559bdc674fdbb2f0e20cd0fb105d7d0b", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}}, {"rule": 2, "type": "equivalent", "target": "fa6ea2d5786e337eda677d0a5aff3887", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3b0d5335529258fcaa02db313b4f3116", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}, "url": "/docs/compare/?release=17.12#17.12-df0d510a260d04a2", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "559bdc674fdbb2f0e20cd0fb105d7d0b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}, "url": "/docs/compare/?release=16.16#16.16-3c89b27e620df047", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "fa6ea2d5786e337eda677d0a5aff3887", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}, "url": "/docs/compare/?release=15.20#15.20-3882264293941e96", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "44f62edb6b94317b78ea0e5b5d8a9358", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}, "url": "/docs/compare/?release=14.25#14.25-733526d1ec973ee5", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a60576669925ec24", "cves": [], "html": "<p>\n      修复事务快照导入中的原子性问题（Chee Wooson）<a href=\"https://postgr.es/c/3977cde27\">§</a>\n</p><p>\n      曾存在一个时间窗口，使其他观察者可能无法看到源事务仍在运行，这可能导致 <code>VACUUM</code> 等作出错误判断。\n     </p>", "text": "修复事务快照导入中的原子性问题（Chee Wooson）§ 曾存在一个时间窗口，使其他观察者可能无法看到源事务仍在运行，这可能导致 VACUUM 等作出错误判断。", "title": "修复事务快照导入中的原子性问题", "commits": ["3977cde27"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d1de5cf224ab2645a9585b1252d0d43210137b4d2c547ec7bef417a8464ddd4b", "section_path": ["变更"], "commit_groups": [["0ebeec35f", "24bf23fe6", "3977cde27", "4afe4b564", "7a392b0f6", "ca99016f9", "e94ba903b"]], "identity_text": "Fix atomicity problem in transaction snapshot import (Chee Wooson) There was a window in which onlookers might not see the source transaction as still running, possibly allowing wrong decisions by VACUUM for example.", "commit_aliases": ["0ebeec35f", "24bf23fe6", "3977cde27", "4afe4b564", "7a392b0f6", "ca99016f9", "e94ba903b"], "source_commits": ["3977cde27"], "source_entry_id": "18.7/changes/088", "db_id": "8faf68281cd3a1b4ffeb8d2e072ffc94", "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe", "relations": [{"rule": 2, "type": "equivalent", "target": "50e0b3eb6471f2a2fc5ac559061b8e26", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}}, {"rule": 2, "type": "equivalent", "target": "858b2b823b222670073c2343add6bf30", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}}, {"rule": 2, "type": "equivalent", "target": "b66ecbfcf2a45634bad34b069f1eb8a2", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}}, {"rule": 2, "type": "equivalent", "target": "cff4e15d838a59e1f231e76f9fbc1d75", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "50e0b3eb6471f2a2fc5ac559061b8e26", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复事务快照导入中的原子性问题", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}, "url": "/docs/compare/?release=17.12#17.12-6edf6b7bfb9b0476", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "cff4e15d838a59e1f231e76f9fbc1d75", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复事务快照导入中的原子性问题", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}, "url": "/docs/compare/?release=16.16#16.16-6d88c54d905a67e7", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b66ecbfcf2a45634bad34b069f1eb8a2", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复事务快照导入中的原子性问题", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}, "url": "/docs/compare/?release=15.20#15.20-53b59da6c948088d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "858b2b823b222670073c2343add6bf30", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复事务快照导入中的原子性问题", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}, "url": "/docs/compare/?release=14.25#14.25-bc3111e249dd007a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f9d0320156b75d47", "cves": [], "html": "<p>\n      修复导入范围类型、多范围类型或 <code>tsvector</code> 上的域类型列的统计信息时的问题（Michael Paquier）<a href=\"https://postgr.es/c/753057e34\">§</a>\n</p><p>\n      恢复逻辑在检查这些数据类型专用统计信息类型的适用性时，未能透过域检查底层类型。\n     </p>", "text": "修复导入范围类型、多范围类型或 tsvector 上的域类型列的统计信息时的问题（Michael Paquier）§ 恢复逻辑在检查这些数据类型专用统计信息类型的适用性时，未能透过域检查底层类型。", "title": "修复导入范围类型、多范围类型或 tsvector 上的域类型列的统计信息时的问题", "commits": ["753057e34"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f0b9f06e9e7441a3933e59e2431122a26434856b61802fac543c015fee9ae352", "section_path": ["变更"], "commit_groups": [["142fd8ff1", "753057e34", "aa60617b6"]], "identity_text": "Fix import of statistics for columns that are domains over range types, multirange types, or tsvector (Michael Paquier) The restore logic failed to look through the domain while checking applicability of statistics types that are for these data types.", "commit_aliases": ["142fd8ff1", "753057e34", "aa60617b6"], "source_commits": ["753057e34"], "source_entry_id": "18.7/changes/089", "db_id": "7c05faf1a8e1403d283d42dc038bb060", "patch_ids": ["d7aaf527b9700d314b0172d8b554ea4e"], "statement_hash": "43509e57658d5201cc2e9cae66db8171a50349caeaaa2213bf453b95066607cb", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-511f8f470026f401", "cves": [], "html": "<p>\n      修复对 <code>JSON_TABLE</code> 中 <code>PASSING</code> 参数重复进行解析转换的问题（Ayush Tiwari，Amit Langote）<a href=\"https://postgr.es/c/6cb715e2d\">§</a>\n</p><p>\n      这一错误导致<span>“<span>unexpected non-SELECT command in SubLink</span>”</span>等意外失败。\n     </p>", "text": "修复对 JSON_TABLE 中 PASSING 参数重复进行解析转换的问题（Ayush Tiwari，Amit Langote）§ 这一错误导致“unexpected non-SELECT command in SubLink”等意外失败。", "title": "修复对 JSON_TABLE 中 PASSING 参数重复进行解析转换的问题", "commits": ["6cb715e2d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "954234f12224242a2f93eb7879b90169740489840aa53164a65391a3622b326e", "section_path": ["变更"], "commit_groups": [["1ecc3cee7", "35b349a53", "6cb715e2d", "8793978e3"]], "identity_text": "Fix double parse transformation of PASSING arguments in JSON_TABLE (Ayush Tiwari, Amit Langote) This mistake caused unexpected failures such as unexpected non-SELECT command in SubLink.", "commit_aliases": ["1ecc3cee7", "35b349a53", "6cb715e2d", "8793978e3"], "source_commits": ["6cb715e2d"], "source_entry_id": "18.7/changes/090", "db_id": "8534a661791a7f4796e702e512c26a43", "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65", "relations": [{"rule": 2, "type": "equivalent", "target": "a0bbdb848a717e01cb322bd1c514db81", "evidence": {"same_day": true, "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a0bbdb848a717e01cb322bd1c514db81", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复对 JSON_TABLE 中 PASSING 参数重复进行解析转换的问题", "evidence": {"same_day": true, "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65"}, "url": "/docs/compare/?release=17.12#17.12-1b548964cad1b554", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-c0950279463f4841", "cves": [], "html": "<p>\n      修复未给 <code>JSON_TABLE</code> 的 <code>PASSING</code> 表达式分配排序规则的问题（Venu Kummari）<a href=\"https://postgr.es/c/c7656ac9e\">§</a>\n</p><p>\n      这一遗漏可能导致错误结果，或出现<span>“<span>could not determine which collation to use for string comparison</span>”</span>错误。\n     </p>", "text": "修复未给 JSON_TABLE 的 PASSING 表达式分配排序规则的问题（Venu Kummari）§ 这一遗漏可能导致错误结果，或出现“could not determine which collation to use for string comparison”错误。", "title": "修复未给 JSON_TABLE 的 PASSING 表达式分配排序规则的问题", "commits": ["c7656ac9e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3cb5de186251b0d7e31a8bd815e6153f9f03f56108f3f5518ca0306e86df4a24", "section_path": ["变更"], "commit_groups": [["03550d3cf", "3d72e63b8", "c7656ac9e", "e405a46c4"]], "identity_text": "Fix failure to assign collations to PASSING expressions in JSON_TABLE (Venu Kummari) This oversight could result in wrong answers or could not determine which collation to use for string comparison errors.", "commit_aliases": ["03550d3cf", "3d72e63b8", "c7656ac9e", "e405a46c4"], "source_commits": ["c7656ac9e"], "source_entry_id": "18.7/changes/091", "db_id": "387e1e6303271e0e986c2cd8fba98f2e", "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6", "relations": [{"rule": 2, "type": "equivalent", "target": "00c8c1a2917027736be8fa048618198d", "evidence": {"same_day": true, "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "00c8c1a2917027736be8fa048618198d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复未给 JSON_TABLE 的 PASSING 表达式分配排序规则的问题", "evidence": {"same_day": true, "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6"}, "url": "/docs/compare/?release=17.12#17.12-788122e04abfaace", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-336b45b5793ce88f", "cves": [], "html": "<p>\n      修复在 <code>JSON_TABLE</code> 及相关函数的 <code>PASSING</code> 参数中使用经过 TOAST 处理的文本值时的问题（Chaitanya Choudhary，Shihao Zhong）<a href=\"https://postgr.es/c/b8736db6e\">§</a>\n</p><p>\n      代码未执行 detoast，导致输出不正确。\n     </p>", "text": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题（Chaitanya Choudhary，Shihao Zhong）§ 代码未执行 detoast，导致输出不正确。", "title": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题", "commits": ["b8736db6e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "c76a631163c8ac40e972bde56128397dd42379e67fb58d86ff7779e8894c8255", "section_path": ["变更"], "commit_groups": [["8bccf0159", "ab713cdcd", "b8736db6e", "fdb88a51c"]], "identity_text": "Fix usage of toasted text values in the PASSING arguments of JSON_TABLE and related functions (Chaitanya Choudhary, Shihao Zhong) The code failed to apply detoasting, resulting in incorrect output.", "commit_aliases": ["8bccf0159", "ab713cdcd", "b8736db6e", "fdb88a51c"], "source_commits": ["b8736db6e"], "source_entry_id": "18.7/changes/092", "db_id": "65f0f515b112bfbe3fe5999f2db4a20a", "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a", "relations": [{"rule": 2, "type": "equivalent", "target": "7191bb03d0af29432496383bfe20a98c", "evidence": {"same_day": true, "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7191bb03d0af29432496383bfe20a98c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题", "evidence": {"same_day": true, "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a"}, "url": "/docs/compare/?release=17.12#17.12-41a514a4d99e7e5e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-a0d001a8272c2956", "cves": [], "html": "<p>\n      修复 <code>JSON_VALUE() RETURNING</code> <code>json</code>/<code>jsonb</code> 中 NULL 结果持续保留的问题（Srinath Reddy Sadipiralla）<a href=\"https://postgr.es/c/7150d0fd4\">§</a>\n</p><p>\n      返回 <code>json</code> 或 <code>jsonb</code> 值的 <code>JSON_VALUE(... RETURNING ...)</code> 一旦返回 NULL，同一语句中后续对同一表达式的每次求值也都会返回 NULL，无论是否应当如此。\n     </p>", "text": "修复 JSON_VALUE() RETURNING json/jsonb 中 NULL 结果持续保留的问题（Srinath Reddy Sadipiralla）§ 返回 json 或 jsonb 值的 JSON_VALUE(... RETURNING ...) 一旦返回 NULL，同一语句中后续对同一表达式的每次求值也都会返回 NULL，无论是否应当如此。", "title": "修复 JSON_VALUE() RETURNING json/jsonb 中 NULL 结果持续保留的问题", "commits": ["7150d0fd4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e545765d9b40b5d08a323d1397c237a005c42eda6a29a943794e46cc3404acbc", "section_path": ["变更"], "commit_groups": [["2f2c923c3", "31af62f38", "627c4df3b", "7150d0fd4"]], "identity_text": "Fix NULL result persistence in JSON_VALUE() RETURNING json/jsonb (Srinath Reddy Sadipiralla) Once JSON_VALUE(... RETURNING ...) with a json or jsonb result value returned NULL, every later evaluation of the same expression in the same statement also returned NULL, whether it should or not.", "commit_aliases": ["2f2c923c3", "31af62f38", "627c4df3b", "7150d0fd4"], "source_commits": ["7150d0fd4"], "source_entry_id": "18.7/changes/093", "db_id": "f8e57298b754268829a616c3dfe8deb6", "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3", "relations": [{"rule": 2, "type": "equivalent", "target": "6ac578dd90538439208714cb00db7d3c", "evidence": {"same_day": true, "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6ac578dd90538439208714cb00db7d3c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 JSON_VALUE() RETURNING json/jsonb 中 NULL 结果持续保留的问题", "evidence": {"same_day": true, "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3"}, "url": "/docs/compare/?release=17.12#17.12-621a65d65063130c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-9ea8ec90c7e51711", "cves": [], "html": "<p>\n      修复 <code>JSON_VALUE</code> 和相关结构中 <code>ON EMPTY/ERROR</code> 结果持续保留的问题（Jian He，Andrey Rachitskiy）<a href=\"https://postgr.es/c/52033b887\">§</a>\n</p><p>\n      NULL 输入可能导致返回前一行的 <code>ON EMPTY / ON ERROR</code> 表达式的值。\n     </p>", "text": "修复 JSON_VALUE 和相关结构中 ON EMPTY/ERROR 结果持续保留的问题（Jian He，Andrey Rachitskiy）§ NULL 输入可能导致返回前一行的 ON EMPTY / ON ERROR 表达式的值。", "title": "修复 JSON_VALUE 和相关结构中 ON EMPTY/ERROR 结果持续保留的问题", "commits": ["52033b887"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "8327e172e55b42b56c4caafbecc08cfdc5a2cecd641df05d145f5d7d230a3117", "section_path": ["变更"], "commit_groups": [["52033b887", "775e03191", "8e5c3d3db", "ee7cfb99a"]], "identity_text": "Fix ON EMPTY/ERROR result persistence in JSON_VALUE and related constructs (Jian He, Andrey Rachitskiy) A NULL input could result in returning the value of the previous row's ON EMPTY / ON ERROR expression.", "commit_aliases": ["52033b887", "775e03191", "8e5c3d3db", "ee7cfb99a"], "source_commits": ["52033b887"], "source_entry_id": "18.7/changes/094", "db_id": "8b92118a9177d6d274e6e56407231627", "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf", "relations": [{"rule": 2, "type": "equivalent", "target": "0b173e0af49e2c28518c9fcd7c1d25a5", "evidence": {"same_day": true, "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b173e0af49e2c28518c9fcd7c1d25a5", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 JSON_VALUE 和相关结构中 ON EMPTY/ERROR 结果持续保留的问题", "evidence": {"same_day": true, "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf"}, "url": "/docs/compare/?release=17.12#17.12-025a565fffef52a9", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-934925093ffd4bb4", "cves": [], "html": "<p>\n      修复 <code>SQL/JSON</code> 操作中 <code>DEFAULT</code> 表达式失败的处理（Jian He）<a href=\"https://postgr.es/c/5209a736a\">§</a>\n</p><p>\n      执行 <code>DEFAULT</code> 表达式时发生的错误可能被忽略，转而产生 NULL 结果。\n     </p>", "text": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理（Jian He）§ 执行 DEFAULT 表达式时发生的错误可能被忽略，转而产生 NULL 结果。", "title": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理", "commits": ["5209a736a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d1e6b3d73bf03cd39999ba7157e4706bcb8044aba6e4afb441e9a3e23fbddfe2", "section_path": ["变更"], "commit_groups": [["17b4e9963", "5209a736a", "6839997e3", "6dfe31d48"]], "identity_text": "Fix handling of failures in DEFAULT expressions in SQL/JSON operations (Jian He) An error arising while executing a DEFAULT expression could be ignored, instead producing a NULL result.", "commit_aliases": ["17b4e9963", "5209a736a", "6839997e3", "6dfe31d48"], "source_commits": ["5209a736a"], "source_entry_id": "18.7/changes/095", "db_id": "70097fce7cf7ce266d600697f28ade3a", "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df", "relations": [{"rule": 2, "type": "equivalent", "target": "b3a7d49bef82d25395cbd87244f3e784", "evidence": {"same_day": true, "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3a7d49bef82d25395cbd87244f3e784", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理", "evidence": {"same_day": true, "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df"}, "url": "/docs/compare/?release=17.12#17.12-a399566abf52cb89", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-e631753dbdd74ea8", "cves": [], "html": "<p>\n      修复 <code>SQL/JSON</code> 操作中域强制转换失败的处理（Jian He）<a href=\"https://postgr.es/c/b9a415360\">§</a>\n</p><p>\n      在 <code>ON ERROR</code> 或 <code>ON EMPTY</code> 子句指定了某种非报错行为的情况下，<code>SQL/JSON</code> 查询函数可能仍抛出错误，或报告了不正确的错误。\n     </p>", "text": "修复 SQL/JSON 操作中域强制转换失败的处理（Jian He）§ 在 ON ERROR 或 ON EMPTY 子句指定了某种非报错行为的情况下，SQL/JSON 查询函数可能仍抛出错误，或报告了不正确的错误。", "title": "修复 SQL/JSON 操作中域强制转换失败的处理", "commits": ["b9a415360"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "1dd429d4f5bbb7ef4f9069feb413db9ef9d6ca73f3a57d25fb0ab895f730881d", "section_path": ["变更"], "commit_groups": [["46798ab1a", "67f375edb", "b6e41c16f", "b9a415360"]], "identity_text": "Fix handling of domain coercion failures in SQL/JSON operations (Jian He) SQL/JSON query functions could throw an error, or report the wrong one, in cases where an ON ERROR or ON EMPTY clause specified some non-error behavior.", "commit_aliases": ["46798ab1a", "67f375edb", "b6e41c16f", "b9a415360"], "source_commits": ["b9a415360"], "source_entry_id": "18.7/changes/096", "db_id": "568638e1f3fa00ad92f1701574e867d0", "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa", "relations": [{"rule": 2, "type": "equivalent", "target": "26b47a38cf15ecbab43174e628ae7e90", "evidence": {"same_day": true, "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "26b47a38cf15ecbab43174e628ae7e90", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 SQL/JSON 操作中域强制转换失败的处理", "evidence": {"same_day": true, "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa"}, "url": "/docs/compare/?release=17.12#17.12-0d3cf45da678f4c7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-a61ee55d1966532a", "cves": [], "html": "<p>\n      修复严格 <code>jsonpath</code> 查询中对普通标量字符串的 GIN 索引搜索（Rui Zhao）<a href=\"https://postgr.es/c/65f3b7096\">§</a>\n</p><p>\n      对 <code>strict $ == \"scalar\"</code> 之类的 <code>jsonpath</code> 执行 <code>jsonb_ops</code> 索引扫描时，未能找到值仅为 <code>\"scalar\"</code> 的表项。\n     </p>", "text": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索（Rui Zhao）§ 对 strict $ == \"scalar\" 之类的 jsonpath 执行 jsonb_ops 索引扫描时，未能找到值仅为 \"scalar\" 的表项。", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "commits": ["65f3b7096"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "1a5ba41590362067d048ba9ee717635b2ff8ca4e5da5eccc884c8ad1e9da716c", "section_path": ["变更"], "commit_groups": [["0cf2c7e38", "19656b77d", "1b0b45c5a", "327c5f0e6", "3b2a60481", "65f3b7096", "d44852026"]], "identity_text": "Fix GIN index searches for plain scalar strings in strict jsonpath queries (Rui Zhao) A jsonb_ops index scan for a jsonpath such as strict $ == \"scalar\" failed to find table entries that were simply \"scalar\".", "commit_aliases": ["0cf2c7e38", "19656b77d", "1b0b45c5a", "327c5f0e6", "3b2a60481", "65f3b7096", "d44852026"], "source_commits": ["65f3b7096"], "source_entry_id": "18.7/changes/097", "db_id": "04d71956b37b12ca7e350f4ee015b711", "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112", "relations": [{"rule": 2, "type": "equivalent", "target": "062d38c39c4ed1b2e183fd2cb1eaf3da", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}}, {"rule": 2, "type": "equivalent", "target": "6ce4b2cfc629550dcba75b0247307998", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}}, {"rule": 2, "type": "equivalent", "target": "77a60feb3e79d4fed42ad585b910acfb", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}}, {"rule": 2, "type": "equivalent", "target": "dd96117814c903b4bb01fcd91acc5088", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "062d38c39c4ed1b2e183fd2cb1eaf3da", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}, "url": "/docs/compare/?release=17.12#17.12-31d36e5524f45464", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "dd96117814c903b4bb01fcd91acc5088", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}, "url": "/docs/compare/?release=16.16#16.16-e71923567de48b1e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "77a60feb3e79d4fed42ad585b910acfb", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}, "url": "/docs/compare/?release=15.20#15.20-ea98875964bde6e8", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6ce4b2cfc629550dcba75b0247307998", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}, "url": "/docs/compare/?release=14.25#14.25-e02d5b3b80fe0817", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-489382a002a700a7", "cves": [], "html": "<p>\n      修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误（Tom Lane）<a href=\"https://postgr.es/c/154e2f101\">§</a>\n</p><p>\n<code>NOT</code> 操作符下方的 <code>AND</code> 操作符可能被错误实现。此外，对字面常量应用方法（例如 <code>\"42\".double()</code>）也未得到正确处理。这些错误不会产生可见的报错，但 GIN 索引搜索会漏掉部分或全部本应匹配的行。\n     </p>", "text": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误（Tom Lane）§ NOT 操作符下方的 AND 操作符可能被错误实现。此外，对字面常量应用方法（例如 \"42\".double()）也未得到正确处理。这些错误不会产生可见的报错，但 GIN 索引搜索会漏掉部分或全部本应匹配的行。", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "commits": ["154e2f101"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ac2195babd742717859a654eff8a07ead25db4976db23dc4a26137335e9feeef", "section_path": ["变更"], "commit_groups": [["04a8915fa", "154e2f101", "5146b3f75", "65f1b71c3", "b28a2b2bf", "c138ab8a9", "d987ad61d"]], "identity_text": "Fix errors in extraction of GIN index scan conditions from jsonpath queries (Tom Lane) An AND operator underneath a NOT operator could be misimplemented. Also a method applied to a literal constant, for example \"42\".double(), was not handled correctly. These mistakes did not cause visible errors, but the GIN index search would miss some or all of the rows that should match.", "commit_aliases": ["04a8915fa", "154e2f101", "5146b3f75", "65f1b71c3", "b28a2b2bf", "c138ab8a9", "d987ad61d"], "source_commits": ["154e2f101"], "source_entry_id": "18.7/changes/098", "db_id": "adf7f01529f827e84f1af29728a36e20", "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861", "relations": [{"rule": 2, "type": "equivalent", "target": "1d5f32eea3a670b75a2111e6ce01aadb", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}}, {"rule": 2, "type": "equivalent", "target": "a05b17afa4a9663d869d6a25dd11b3c8", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}}, {"rule": 2, "type": "equivalent", "target": "bae677a37f9a6f813385f4171ee6e597", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}}, {"rule": 2, "type": "equivalent", "target": "bba4d3a6eb1fbada92b1a16994c36d24", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1d5f32eea3a670b75a2111e6ce01aadb", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}, "url": "/docs/compare/?release=17.12#17.12-78432f9d2477597c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "bae677a37f9a6f813385f4171ee6e597", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}, "url": "/docs/compare/?release=16.16#16.16-4746e703fe3b58aa", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "bba4d3a6eb1fbada92b1a16994c36d24", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}, "url": "/docs/compare/?release=15.20#15.20-882adc77073016de", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "a05b17afa4a9663d869d6a25dd11b3c8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}, "url": "/docs/compare/?release=14.25#14.25-5b49b01d08b00ba5", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-cface331168039c4", "cves": [], "html": "<p>\n      修复 SP-GiST 四叉树 <code>&lt;@</code> 搜索中的边界情况错误（John Naylor）<a href=\"https://postgr.es/c/03ba8e591\">§</a>\n</p><p>\n      由于舍入误差，搜索有时可能不会进入需要搜索的象限，导致查询结果不完整。\n     </p>", "text": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误（John Naylor）§ 由于舍入误差，搜索有时可能不会进入需要搜索的象限，导致查询结果不完整。", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "commits": ["03ba8e591"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f8c494d5024d77db1ad3e239315287707f870da34cbfff3c982cf72a6e476e89", "section_path": ["变更"], "commit_groups": [["03ba8e591", "0496d85f9", "328a9a173", "9ad421a9b", "9cba87fe9", "9e3077ff4", "b0d482b33"]], "identity_text": "Fix edge-case error in SP-GiST quad-tree <@ searches (John Naylor) Due to roundoff error, the search might sometimes not descend into a quadrant that it needs to search, leading to incomplete query results.", "commit_aliases": ["03ba8e591", "0496d85f9", "328a9a173", "9ad421a9b", "9cba87fe9", "9e3077ff4", "b0d482b33"], "source_commits": ["03ba8e591"], "source_entry_id": "18.7/changes/099", "db_id": "82b4d998191c941c1f2d18835a5c6c19", "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01", "relations": [{"rule": 2, "type": "equivalent", "target": "0bd2b97ff5d7d1bb87ab779407966ac2", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}}, {"rule": 2, "type": "equivalent", "target": "272b1707abe26916e551e9aee95c2c06", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}}, {"rule": 2, "type": "equivalent", "target": "94f831544895f7265ca4f6da93498b0a", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}}, {"rule": 2, "type": "equivalent", "target": "fffea25e8257a3e42e047f0ba7af8218", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "94f831544895f7265ca4f6da93498b0a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}, "url": "/docs/compare/?release=17.12#17.12-e21196356eaa976a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "fffea25e8257a3e42e047f0ba7af8218", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}, "url": "/docs/compare/?release=16.16#16.16-5c33013bdd09d431", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0bd2b97ff5d7d1bb87ab779407966ac2", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}, "url": "/docs/compare/?release=15.20#15.20-05f5dae4154c64f8", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "272b1707abe26916e551e9aee95c2c06", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}, "url": "/docs/compare/?release=14.25#14.25-f7a7076523082df8", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-1355d68570b28e8b", "cves": [], "html": "<p>\n      修复 SP-GiST 四叉树索引在边界情况下的失败（Ayush Tiwari）<a href=\"https://postgr.es/c/fc834ccab\">§</a>\n</p><p>\n      舍入误差可能使搜索和插入报出<span>“<span>getQuadrant: impossible case</span>”</span>错误。\n     </p>", "text": "修复 SP-GiST 四叉树索引在边界情况下的失败（Ayush Tiwari）§ 舍入误差可能使搜索和插入报出“getQuadrant: impossible case”错误。", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "commits": ["fc834ccab"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6f58a19fac5509af3934efb4af93b2c8e2e3a6c44d22acaec539a70a46ce31ed", "section_path": ["变更"], "commit_groups": [["0e9544439", "235e15ec7", "37ecbb438", "3d8c50317", "845725890", "eab68b1be", "fc834ccab"]], "identity_text": "Fix edge-case failures in SP-GiST quad-tree indexes (Ayush Tiwari) Roundoff errors could allow searches and insertions to fail with getQuadrant: impossible case errors.", "commit_aliases": ["0e9544439", "235e15ec7", "37ecbb438", "3d8c50317", "845725890", "eab68b1be", "fc834ccab"], "source_commits": ["fc834ccab"], "source_entry_id": "18.7/changes/100", "db_id": "0d2d3ff9ac405357d3b6076b088235ee", "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff", "relations": [{"rule": 2, "type": "equivalent", "target": "36312cd509ed3954c0682250e8ef7249", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}, {"rule": 2, "type": "equivalent", "target": "60e852568d223562acece538f876a74b", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}, {"rule": 2, "type": "equivalent", "target": "797d73f1ee825fe4a6eceba1e05e17b8", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}, {"rule": 2, "type": "equivalent", "target": "f590100568b22f0a4ba9bdbbb63007c6", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "797d73f1ee825fe4a6eceba1e05e17b8", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}, "url": "/docs/compare/?release=17.12#17.12-0e2e8e9c5beac36a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "36312cd509ed3954c0682250e8ef7249", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}, "url": "/docs/compare/?release=16.16#16.16-a7a6b2cccf5d96be", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "60e852568d223562acece538f876a74b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}, "url": "/docs/compare/?release=15.20#15.20-45f90d2ff71112bb", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f590100568b22f0a4ba9bdbbb63007c6", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}, "url": "/docs/compare/?release=14.25#14.25-93dcedaf98a9fda4", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f5c41c4bf6f5fd2e", "cves": [], "html": "<p>\n      在二进制输入中接受空 <code>tsquery</code> 值（Ayush Tiwari）<a href=\"https://postgr.es/c/6c4172b34\">§</a>\n</p><p>\n      其他位置允许空 <code>tsquery</code> 值，但 <code>tsqueryrecv()</code> 此前会失败。\n     </p>", "text": "在二进制输入中接受空 tsquery 值（Ayush Tiwari）§ 其他位置允许空 tsquery 值，但 tsqueryrecv() 此前会失败。", "title": "在二进制输入中接受空 tsquery 值", "commits": ["6c4172b34"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "cad4167374799c5df8f97aa7ef0805c8e4dc56a2faa01fde3aa6ac00044f1bff", "section_path": ["变更"], "commit_groups": [["0d0d2a13e", "187051f85", "264c441c4", "3c5a4a867", "6c4172b34", "774c47de1", "e05b7e2a4"]], "identity_text": "Accept empty tsquery values in binary input (Ayush Tiwari) An empty tsquery value is allowed elsewhere, but tsqueryrecv() failed.", "commit_aliases": ["0d0d2a13e", "187051f85", "264c441c4", "3c5a4a867", "6c4172b34", "774c47de1", "e05b7e2a4"], "source_commits": ["6c4172b34"], "source_entry_id": "18.7/changes/101", "db_id": "910448dcc778844fc409ce1bfe9f1a94", "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950", "relations": [{"rule": 2, "type": "equivalent", "target": "04913525561db754304ff31ee8ad0b45", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}}, {"rule": 2, "type": "equivalent", "target": "2f8b40fb0a302dd148b0d30ddef367e4", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}}, {"rule": 2, "type": "equivalent", "target": "70c2d57df197f1f8f1db82d46a9f7ea3", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}}, {"rule": 2, "type": "equivalent", "target": "7d3822e7a0e1aa65037505b3aaad2b25", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "04913525561db754304ff31ee8ad0b45", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在二进制输入中接受空 tsquery 值", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}, "url": "/docs/compare/?release=17.12#17.12-7010438c1cf0c438", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "2f8b40fb0a302dd148b0d30ddef367e4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在二进制输入中接受空 tsquery 值", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}, "url": "/docs/compare/?release=16.16#16.16-aab0e69cf5565afd", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7d3822e7a0e1aa65037505b3aaad2b25", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在二进制输入中接受空 tsquery 值", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}, "url": "/docs/compare/?release=15.20#15.20-5a775ad8682b6cd1", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "70c2d57df197f1f8f1db82d46a9f7ea3", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在二进制输入中接受空 tsquery 值", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}, "url": "/docs/compare/?release=14.25#14.25-386b7ad46ba3acff", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-7efae97e1a190afd", "cves": [], "html": "<p>\n      在 <code>tsquery</code> 值的二进制输入中禁止零长度词位和超出范围的短语距离值（Tom Lane）<a href=\"https://postgr.es/c/69915dac4\">§</a>\n</p><p>\n      文本输入中已拒绝这些情况，但 <code>tsqueryrecv()</code> 遗漏了等效检查，因而接受了后续无法转储/重新载入的值。\n     </p>", "text": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值（Tom Lane）§ 文本输入中已拒绝这些情况，但 tsqueryrecv() 遗漏了等效检查，因而接受了后续无法转储/重新载入的值。", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "commits": ["69915dac4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "c57787af1473a06c0a2d3ba5c3e795e11eaec1b65a9db16a4911134f337ddecd", "section_path": ["变更"], "commit_groups": [["05556bdf9", "1c732c851", "69915dac4", "91989795d", "cdffe3375", "df8b91463", "e6cac7fab"]], "identity_text": "Disallow zero-length lexemes and out-of-range phrase distance values in binary input of tsquery values (Tom Lane) These cases were already rejected during text input, but tsqueryrecv() omitted making equivalent checks. That allowed accepting values that would fail subsequent dump/reload.", "commit_aliases": ["05556bdf9", "1c732c851", "69915dac4", "91989795d", "cdffe3375", "df8b91463", "e6cac7fab"], "source_commits": ["69915dac4"], "source_entry_id": "18.7/changes/102", "db_id": "e3b27a212dd1c69e14aec35806f8aa90", "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b", "relations": [{"rule": 2, "type": "equivalent", "target": "3e95d6e1175d2c84937ac2ea893ff0e1", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}}, {"rule": 2, "type": "equivalent", "target": "434c4393f576c3c7277f224835054058", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}}, {"rule": 2, "type": "equivalent", "target": "69f5bcf424efd079ca588ddace3e372d", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}}, {"rule": 2, "type": "equivalent", "target": "e973905ba25b1a6accd11948c60edc07", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "69f5bcf424efd079ca588ddace3e372d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}, "url": "/docs/compare/?release=17.12#17.12-7afe8dec9f886f27", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "e973905ba25b1a6accd11948c60edc07", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}, "url": "/docs/compare/?release=16.16#16.16-8b82149353fc3d3d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "434c4393f576c3c7277f224835054058", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}, "url": "/docs/compare/?release=15.20#15.20-fc92e963f1327acd", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "3e95d6e1175d2c84937ac2ea893ff0e1", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}, "url": "/docs/compare/?release=14.25#14.25-c12cacca2d164135", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-ecb3c67bccad7901", "cves": [], "html": "<p>\n      在 <code>tsquery</code> 和 <code>ltxtquery</code> 输入中，将操作符嵌套过深的错误视为软错误（Tom Lane）<a href=\"https://postgr.es/c/90cc09f57\">§</a>\n</p>", "text": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误（Tom Lane）§", "title": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误", "commits": ["90cc09f57"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e504f10fcbf1b80178a759e75f0f9e30c001f8a2e6572856b0f5b4eb9ae384d8", "section_path": ["变更"], "commit_groups": [["90cc09f57", "cb600aae3", "d4fae2993", "fe5a01097", "ffbe37115"]], "identity_text": "Treat operators-nested-too-deeply errors as soft errors in tsquery input and ltxtquery input (Tom Lane)", "commit_aliases": ["90cc09f57", "cb600aae3", "d4fae2993", "fe5a01097", "ffbe37115"], "source_commits": ["90cc09f57"], "source_entry_id": "18.7/changes/103", "db_id": "073fc29c42de5ce8a2a4a41663aaf603", "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8", "relations": [{"rule": 2, "type": "equivalent", "target": "0038ed4ff3d490e7b69ea3fea9ba0807", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}}, {"rule": 2, "type": "equivalent", "target": "b2b3fa245a7ae7dd1c38141d1885c04a", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b2b3fa245a7ae7dd1c38141d1885c04a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}, "url": "/docs/compare/?release=17.12#17.12-341756f89071d259", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0038ed4ff3d490e7b69ea3fea9ba0807", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}, "url": "/docs/compare/?release=16.16#16.16-8b0b2b7ddde7bcc3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-293a2ca180df0831", "cves": [], "html": "<p>\n      在 <code>tsvector</code> 和 <code>tsquery</code> 中一致地执行最大长度限制（Tom Lane）<a href=\"https://postgr.es/c/a68beda42\">§</a>\n</p><p>\n      有些位置认为词位最大长度是 <code>MAXSTRLEN</code>（2047），另一些位置则认为是 <code>MAXSTRLEN-1</code>。幸运的是，较宽松的边界才是正确的，因此现在统一使用 <code>MAXSTRLEN</code>。同样，对于数据总长度上限 <code>MAXSTRPOS</code>，有些位置的限制比其他位置更严格。这些修复避免了合法构造的值无法转储/重新载入的情况。\n     </p>", "text": "在 tsvector 和 tsquery 中一致地执行最大长度限制（Tom Lane）§ 有些位置认为词位最大长度是 MAXSTRLEN（2047），另一些位置则认为是 MAXSTRLEN-1。幸运的是，较宽松的边界才是正确的，因此现在统一使用 MAXSTRLEN。同样，对于数据总长度上限 MAXSTRPOS，有些位置的限制比其他位置更严格。这些修复避免了合法构造的值无法转储/重新载入的情况。", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "commits": ["a68beda42"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "c74e38f4e725b20c6e7bc4e661c6eb45358b199d7ed6bbecb0545b7ad00690d7", "section_path": ["变更"], "commit_groups": [["1fc1b82b2", "39cad0de4", "5185e64ae", "957d4eae5", "a68beda42", "b42d0c310", "ef9063a88"]], "identity_text": "Consistently enforce maximum lengths in tsvector and tsquery (Tom Lane) Some places thought the maximum lexeme length was MAXSTRLEN (2047), while others thought it was MAXSTRLEN-1. Fortunately, the looser bound is correct, so make them all use MAXSTRLEN. Likewise, some places were stricter than others about the total data length limit, MAXSTRPOS. These fixes avoid situations where a validly-constructed value would fail dump/reload.", "commit_aliases": ["1fc1b82b2", "39cad0de4", "5185e64ae", "957d4eae5", "a68beda42", "b42d0c310", "ef9063a88"], "source_commits": ["a68beda42"], "source_entry_id": "18.7/changes/104", "db_id": "739c5c9f1ddd21285995c205a303019e", "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17", "relations": [{"rule": 2, "type": "equivalent", "target": "08986ad8cf39a840dababf7a6e030fa1", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}}, {"rule": 2, "type": "equivalent", "target": "42c893c69f42e4b48376464dd90695ce", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}}, {"rule": 2, "type": "equivalent", "target": "9d1170dbc9396a7a918f12d7fe506e41", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}}, {"rule": 2, "type": "equivalent", "target": "db2975d452156fdc81e847a32a2005c3", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "08986ad8cf39a840dababf7a6e030fa1", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}, "url": "/docs/compare/?release=17.12#17.12-c04f6eb49a51c556", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9d1170dbc9396a7a918f12d7fe506e41", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}, "url": "/docs/compare/?release=16.16#16.16-02d8f97aa2f40107", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "42c893c69f42e4b48376464dd90695ce", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}, "url": "/docs/compare/?release=15.20#15.20-311b98f319d19345", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "db2975d452156fdc81e847a32a2005c3", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}, "url": "/docs/compare/?release=14.25#14.25-cc6d9cf76cc97cfc", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f092623e809b9a14", "cves": [], "html": "<p>\n      修复长度参数为 <code>INT_MIN</code>（-2147483648）时的 <code>right()</code>（Ewan Young）<a href=\"https://postgr.es/c/bfb08d094\">§</a>\n</p><p>\n      由于整数溢出，该函数在本应返回空字符串时返回了整个字符串。\n     </p>", "text": "修复长度参数为 INT_MIN（-2147483648）时的 right()（Ewan Young）§ 由于整数溢出，该函数在本应返回空字符串时返回了整个字符串。", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "commits": ["bfb08d094"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "b8c7076e8b12baba7c75762c4cbe84d6e99a30a6db362cdc3a2fe9061f4f81ef", "section_path": ["变更"], "commit_groups": [["2291b6ffb", "3103bdafd", "48af47dcd", "729bac9eb", "858fb27b6", "a63df2664", "bfb08d094"]], "identity_text": "Fix right() with a length argument of INT_MIN (-2147483648) (Ewan Young) Due to integer overflow, the function returned the whole string when it should return an empty string.", "commit_aliases": ["2291b6ffb", "3103bdafd", "48af47dcd", "729bac9eb", "858fb27b6", "a63df2664", "bfb08d094"], "source_commits": ["bfb08d094"], "source_entry_id": "18.7/changes/105", "db_id": "20d6eae094125108c4f6d8317121f038", "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e", "relations": [{"rule": 2, "type": "equivalent", "target": "0c21b80fe6500291a067a0f6580b1baa", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}}, {"rule": 2, "type": "equivalent", "target": "16e613661b18f4a0c174a7672d55b577", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}}, {"rule": 2, "type": "equivalent", "target": "8cb4e6c602e4837f276edaf6566c5747", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}}, {"rule": 2, "type": "equivalent", "target": "f40a9fffb8dadeae19a26edc6667be32", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0c21b80fe6500291a067a0f6580b1baa", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}, "url": "/docs/compare/?release=17.12#17.12-7d2472af7d6a913f", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f40a9fffb8dadeae19a26edc6667be32", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}, "url": "/docs/compare/?release=16.16#16.16-ded20b5451a8d9d3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "8cb4e6c602e4837f276edaf6566c5747", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}, "url": "/docs/compare/?release=15.20#15.20-09ed3e6be93c88a0", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "16e613661b18f4a0c174a7672d55b577", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}, "url": "/docs/compare/?release=14.25#14.25-ff1a16d0a0ffa041", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-18d75c387ade1980", "cves": [], "html": "<p>\n      修复 <code>pg_blocking_pids()</code>，使其正确计入关系扩展锁（Bertrand Drouvot）<a href=\"https://postgr.es/c/dc60d6aa1\">§</a>\n</p>", "text": "修复 pg_blocking_pids()，使其正确计入关系扩展锁（Bertrand Drouvot）§", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "commits": ["dc60d6aa1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e05b05bf3466cb7c653cc4e591265cba5ea95b48b21c682fa15003f0033b8d9f", "section_path": ["变更"], "commit_groups": [["36e021cb1", "8851e44ed", "a7539c76b", "af42a7a82", "c0df269c5", "dc60d6aa1", "e7ef2cf25"]], "identity_text": "Fix pg_blocking_pids() to account correctly for relation extension locks (Bertrand Drouvot)", "commit_aliases": ["36e021cb1", "8851e44ed", "a7539c76b", "af42a7a82", "c0df269c5", "dc60d6aa1", "e7ef2cf25"], "source_commits": ["dc60d6aa1"], "source_entry_id": "18.7/changes/106", "db_id": "d873c345645a6c11676d151db3a99927", "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257", "relations": [{"rule": 2, "type": "equivalent", "target": "29275265109dfbec2668d692f64a70a1", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}}, {"rule": 2, "type": "equivalent", "target": "b97d81a08e315271ecb4d5e720316bae", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}}, {"rule": 2, "type": "equivalent", "target": "bdf55e0d1dd54332ee8c031ab01c1ca3", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}}, {"rule": 2, "type": "equivalent", "target": "dcfcce6aa386f11109944a9475c8e21f", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "29275265109dfbec2668d692f64a70a1", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}, "url": "/docs/compare/?release=17.12#17.12-08d7095977b58bc3", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "dcfcce6aa386f11109944a9475c8e21f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}, "url": "/docs/compare/?release=16.16#16.16-88b67d83b8d50eed", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "bdf55e0d1dd54332ee8c031ab01c1ca3", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}, "url": "/docs/compare/?release=15.20#15.20-836e235f43995703", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "b97d81a08e315271ecb4d5e720316bae", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}, "url": "/docs/compare/?release=14.25#14.25-e8f557eb9a528b2e", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-5f964b79c9924f27", "cves": [], "html": "<p>\n      修复 <code>pg_indexam_progress_phasename()</code> 中混淆 32 位与 64 位的问题（Markos Fountoulakis）<a href=\"https://postgr.es/c/58998c33d\">§</a>\n</p><p>\n      此函数碰巧能在常见硬件上正常工作，但在 32 位或大端平台上可能行为异常。\n     </p>", "text": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题（Markos Fountoulakis）§ 此函数碰巧能在常见硬件上正常工作，但在 32 位或大端平台上可能行为异常。", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "commits": ["58998c33d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a0eeb22709dad993c7f1e02065b0af3718f2f6595efd96fc184d29c9ebfea189", "section_path": ["变更"], "commit_groups": [["2dc899f78", "5259332a6", "58998c33d", "66042bd3e", "6f126b328", "8af1a12c9", "e4ac00514"]], "identity_text": "Fix 32-vs-64-bit confusion in pg_indexam_progress_phasename() (Markos Fountoulakis) This function accidentally worked on common hardware, but could misbehave on 32-bit or big-endian platforms.", "commit_aliases": ["2dc899f78", "5259332a6", "58998c33d", "66042bd3e", "6f126b328", "8af1a12c9", "e4ac00514"], "source_commits": ["58998c33d"], "source_entry_id": "18.7/changes/107", "db_id": "73c4a689fd04a47e6b72b04a802a3b65", "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb", "relations": [{"rule": 2, "type": "equivalent", "target": "94927862c8f57b8f948be72aa9c98b64", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}}, {"rule": 2, "type": "equivalent", "target": "a7c83ddea3f6343cfb7b2c64055c0897", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}}, {"rule": 2, "type": "equivalent", "target": "c446d2ca29346f2f6e3ac5dd54e86e6c", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}}, {"rule": 2, "type": "equivalent", "target": "da37abdd96054e1d1b3dc4d77ccea7c2", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a7c83ddea3f6343cfb7b2c64055c0897", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}, "url": "/docs/compare/?release=17.12#17.12-315bff5617865040", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "da37abdd96054e1d1b3dc4d77ccea7c2", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}, "url": "/docs/compare/?release=16.16#16.16-92666d94b2188be2", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c446d2ca29346f2f6e3ac5dd54e86e6c", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}, "url": "/docs/compare/?release=15.20#15.20-3fc71152dbb0b956", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "94927862c8f57b8f948be72aa9c98b64", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}, "url": "/docs/compare/?release=14.25#14.25-8d0224623250c7bc", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-32bc843db706ed3c", "cves": [], "html": "<p>\n      检测 <code>to_char()</code> 使用 <code>V</code> 格式时的整数溢出（Andrey Rachitskiy）<a href=\"https://postgr.es/c/ec434db1f\">§</a>\n</p><p>\n      如果数据值为整数，且将其乘以 <code>V</code> 格式所隐含的 10 的幂会导致整数溢出，<code>to_char()</code> 此前会悄然输出错误数字。现在改为抛出整数溢出错误。\n     </p>", "text": "检测 to_char() 使用 V 格式时的整数溢出（Andrey Rachitskiy）§ 如果数据值为整数，且将其乘以 V 格式所隐含的 10 的幂会导致整数溢出，to_char() 此前会悄然输出错误数字。现在改为抛出整数溢出错误。", "title": "检测 to_char() 使用 V 格式时的整数溢出", "commits": ["ec434db1f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7a57b430b51fc12739e9f220b2326fc8f99e375860e839421e03b87bd8c50f60", "section_path": ["变更"], "commit_groups": [["04c25af21", "3b120b1e9", "55af98a45", "772251744", "9efc2f9d8", "ec434db1f", "f1c6f7ec9"]], "identity_text": "Detect integer overflow in to_char() with V format (Andrey Rachitskiy) If the data value is an integer, and multiplying it by the power of ten implied by the V format causes integer overflow, to_char() silently emitted incorrect digits. Throw an integer overflow error instead.", "commit_aliases": ["04c25af21", "3b120b1e9", "55af98a45", "772251744", "9efc2f9d8", "ec434db1f", "f1c6f7ec9"], "source_commits": ["ec434db1f"], "source_entry_id": "18.7/changes/108", "db_id": "3ba352d04447d2aed63e135150143b5a", "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea", "relations": [{"rule": 2, "type": "equivalent", "target": "885609e77c8c5b1e6b3767f3508477d5", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}, {"rule": 2, "type": "equivalent", "target": "9300f90da0ec3484c52acfe45b3d8bc0", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}, {"rule": 2, "type": "equivalent", "target": "d50c9b74415a1ea79a956c1c5bf9e8c5", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}, {"rule": 2, "type": "equivalent", "target": "d518e81171edd3af226006d8620a2955", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d50c9b74415a1ea79a956c1c5bf9e8c5", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "检测 to_char() 使用 V 格式时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}, "url": "/docs/compare/?release=17.12#17.12-0e94035135b9113c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "885609e77c8c5b1e6b3767f3508477d5", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "检测 to_char() 使用 V 格式时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}, "url": "/docs/compare/?release=16.16#16.16-9668c715296f6c7a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9300f90da0ec3484c52acfe45b3d8bc0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "检测 to_char() 使用 V 格式时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}, "url": "/docs/compare/?release=15.20#15.20-d148327a12ad579e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "d518e81171edd3af226006d8620a2955", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "检测 to_char() 使用 V 格式时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}, "url": "/docs/compare/?release=14.25#14.25-0e5147964e326510", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-dcadb9933b5bfd39", "cves": [], "html": "<p>\n      避免计算 <code>tid</code> 值的 BRIN minmax_multi 距离时发生整数溢出（Tomas Vondra）<a href=\"https://postgr.es/c/1be7010d1\">§</a>\n</p><p>\n      很大的 <code>tid</code> 值可能产生负距离，最终使索引效率低下，但并不会实际损坏索引。\n     </p>", "text": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出（Tomas Vondra）§ 很大的 tid 值可能产生负距离，最终使索引效率低下，但并不会实际损坏索引。", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "commits": ["1be7010d1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "5a9fed69671054d32cd2b52a76f8ea410fbbd9a4f172ef3bf16d1ba8ddfc9b30", "section_path": ["变更"], "commit_groups": [["1be7010d1", "252432c4c", "6a770f537", "7e0d03a91", "9a1d7f3a6", "c48577385", "c83ddfcfe"]], "identity_text": "Avoid integer overflow while calculating BRIN minmax_multi distances for tid values (Tomas Vondra) Very large tid values could result in negative distances, which would end in making the index inefficient, though not actually corrupt.", "commit_aliases": ["1be7010d1", "252432c4c", "6a770f537", "7e0d03a91", "9a1d7f3a6", "c48577385", "c83ddfcfe"], "source_commits": ["1be7010d1"], "source_entry_id": "18.7/changes/109", "db_id": "3427923bb52b1abef8e7d46cfb51005f", "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0", "relations": [{"rule": 2, "type": "equivalent", "target": "3c017001c3f3a76e1aeb250f9ef51a8f", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}, {"rule": 2, "type": "equivalent", "target": "44d2a459e26f125bb5993e0247a05e5b", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}, {"rule": 2, "type": "equivalent", "target": "4c9b432b0c3491916049e2bea8d3eece", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}, {"rule": 2, "type": "equivalent", "target": "8a6d1e986fd80d9b046244d42c5a28b4", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4c9b432b0c3491916049e2bea8d3eece", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}, "url": "/docs/compare/?release=17.12#17.12-5568b07a52f9631e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "8a6d1e986fd80d9b046244d42c5a28b4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}, "url": "/docs/compare/?release=16.16#16.16-6f44273e7f33e364", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "44d2a459e26f125bb5993e0247a05e5b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}, "url": "/docs/compare/?release=15.20#15.20-272c37acddbcf1af", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "3c017001c3f3a76e1aeb250f9ef51a8f", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}, "url": "/docs/compare/?release=14.25#14.25-9c425b43ff1d46a4", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a8ce3bf793bc6d4e", "cves": [], "html": "<p>\n      避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN（Kirill Reshke，Tomas Vondra）<a href=\"https://postgr.es/c/5c8629bb5\">§</a>\n</p><p>\n      这些遗漏可能导致报错（阻止索引汇总），或使索引效率低下。\n     </p>", "text": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN（Kirill Reshke，Tomas Vondra）§ 这些遗漏可能导致报错（阻止索引汇总），或使索引效率低下。", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "commits": ["5c8629bb5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3d9da94ca663edde811c97f60a75df439065192cae904d60f91a59806d5c3e12", "section_path": ["变更"], "commit_groups": [["174b605f0", "444b85032", "5c8629bb5", "78721a206", "9ab2a624e", "b8d5b9a01", "c230e14b4"]], "identity_text": "Avoid overflow while calculating BRIN minmax_multi distances for numeric values, and handle NaNs properly (Kirill Reshke, Tomas Vondra) These oversights could result in errors being thrown (preventing index summarization), or in inefficient indexes.", "commit_aliases": ["174b605f0", "444b85032", "5c8629bb5", "78721a206", "9ab2a624e", "b8d5b9a01", "c230e14b4"], "source_commits": ["5c8629bb5"], "source_entry_id": "18.7/changes/110", "db_id": "2ca5e83f78bed61876cc501290144064", "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4", "relations": [{"rule": 2, "type": "equivalent", "target": "05c725bf662fd19f58f3824b41589a13", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}}, {"rule": 2, "type": "equivalent", "target": "37b98cbddbccdda99d1b7822ba064197", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}}, {"rule": 2, "type": "equivalent", "target": "7bc07895e84d37248250c5ac397be951", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}}, {"rule": 2, "type": "equivalent", "target": "a053631d70187e56cddaf6c2e6efb2ec", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "37b98cbddbccdda99d1b7822ba064197", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}, "url": "/docs/compare/?release=17.12#17.12-4591d72edafc15e8", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a053631d70187e56cddaf6c2e6efb2ec", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}, "url": "/docs/compare/?release=16.16#16.16-0f3a6941aff46368", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7bc07895e84d37248250c5ac397be951", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}, "url": "/docs/compare/?release=15.20#15.20-aea3c57e3e3398a3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "05c725bf662fd19f58f3824b41589a13", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}, "url": "/docs/compare/?release=14.25#14.25-b361371a222e479f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-3d2039812569860a", "cves": [], "html": "<p>\n      避免计算 numeric 范围的差值时溢出（Kirill Reshke）<a href=\"https://postgr.es/c/8a043da94\">§</a>\n</p><p>\n      在此上下文中，我们希望返回正无穷或负无穷，而不是抛出溢出错误。\n     </p>", "text": "避免计算 numeric 范围的差值时溢出（Kirill Reshke）§ 在此上下文中，我们希望返回正无穷或负无穷，而不是抛出溢出错误。", "title": "避免计算 numeric 范围的差值时溢出", "commits": ["8a043da94"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0a8c03ef9f01b16ba982237283d0c4999dffd941444fd811fa3c782bc2a6b8e3", "section_path": ["变更"], "commit_groups": [["10686da4e", "1137ebf22", "52f418f1f", "5c78685fc", "8a043da94", "d06ac896f", "dfd98ce58"]], "identity_text": "Avoid overflow when computing differences for numeric ranges (Kirill Reshke) In this context we want to return plus or minus infinity rather than throwing an overflow error.", "commit_aliases": ["10686da4e", "1137ebf22", "52f418f1f", "5c78685fc", "8a043da94", "d06ac896f", "dfd98ce58"], "source_commits": ["8a043da94"], "source_entry_id": "18.7/changes/111", "db_id": "62e8477e64a0b0d83f81e70f8c02730e", "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da", "relations": [{"rule": 2, "type": "equivalent", "target": "762588dd1f388925c0d82e5e80aeb9c8", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}, {"rule": 2, "type": "equivalent", "target": "9bc25d12e9cb42a392737f512a5e5079", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}, {"rule": 2, "type": "equivalent", "target": "d31e8fa4827dff0242036700977aa8d2", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}, {"rule": 2, "type": "equivalent", "target": "e5f28176a2a20b2297133a2685f82bfa", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d31e8fa4827dff0242036700977aa8d2", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免计算 numeric 范围的差值时溢出", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}, "url": "/docs/compare/?release=17.12#17.12-ee4d1d98e6761dc9", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9bc25d12e9cb42a392737f512a5e5079", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免计算 numeric 范围的差值时溢出", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}, "url": "/docs/compare/?release=16.16#16.16-f23d43dd5eea1883", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e5f28176a2a20b2297133a2685f82bfa", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免计算 numeric 范围的差值时溢出", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}, "url": "/docs/compare/?release=15.20#15.20-c65e6eeaf0b0b37d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "762588dd1f388925c0d82e5e80aeb9c8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免计算 numeric 范围的差值时溢出", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}, "url": "/docs/compare/?release=14.25#14.25-c31ab45243f838e9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b2b1e11f2e719bc2", "cves": [], "html": "<p>\n      支持 Hunspell 词缀文件中不在预期位置的 <code>FLAG</code> 行（Ewan Young）<a href=\"https://postgr.es/c/1f02a1e48\">§</a>\n</p><p>\n      Hunspell 词缀文件通常将 <code>FLAG</code> 行放在最前面，而我们的实现隐含依赖了这一点。如果它位于某些含义依赖 <code>FLAG</code> 设置的行之后，就会导致崩溃或无法匹配复合词。现在修复逻辑，使 <code>FLAG</code> 行可以位于任意位置。\n     </p>", "text": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行（Ewan Young）§ Hunspell 词缀文件通常将 FLAG 行放在最前面，而我们的实现隐含依赖了这一点。如果它位于某些含义依赖 FLAG 设置的行之后，就会导致崩溃或无法匹配复合词。现在修复逻辑，使 FLAG 行可以位于任意位置。", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "commits": ["1f02a1e48"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0af729200aae37709963a0c1b55a188e14269860937c7ea822772494f5f95861", "section_path": ["变更"], "commit_groups": [["15ee73d7d", "1eca8b94d", "1f02a1e48", "50daffb06", "5827ddfc2", "b4c8afdfa", "e96b27296"]], "identity_text": "Support out-of-order FLAG lines in Hunspell affix files (Ewan Young) Hunspell affix files usually put the FLAG line first, and our implementation silently depended on that. If it came after some lines whose meaning depends on the FLAG setting, the result would be crashes or failures to match compound words. Fix the logic so that the FLAG line can be anywhere.", "commit_aliases": ["15ee73d7d", "1eca8b94d", "1f02a1e48", "50daffb06", "5827ddfc2", "b4c8afdfa", "e96b27296"], "source_commits": ["1f02a1e48"], "source_entry_id": "18.7/changes/112", "db_id": "6d2aa3a50fb03cbd6a3749f486e9568d", "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b", "relations": [{"rule": 2, "type": "equivalent", "target": "2e0f7f4b5dd2baeae11117f48942da94", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}}, {"rule": 2, "type": "equivalent", "target": "52b3858fd86cbd1805c9e93b394b7506", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}}, {"rule": 2, "type": "equivalent", "target": "63892606cc7f9334e87a69e3bca02301", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}}, {"rule": 2, "type": "equivalent", "target": "92fe45737d239eb00fe1b2eac1ef6aab", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "92fe45737d239eb00fe1b2eac1ef6aab", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}, "url": "/docs/compare/?release=17.12#17.12-a06c8c03262f8061", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "52b3858fd86cbd1805c9e93b394b7506", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}, "url": "/docs/compare/?release=16.16#16.16-99a635ce7fa58866", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "63892606cc7f9334e87a69e3bca02301", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}, "url": "/docs/compare/?release=15.20#15.20-6e330b393f6e75c8", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "2e0f7f4b5dd2baeae11117f48942da94", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}, "url": "/docs/compare/?release=14.25#14.25-ec9ab5ae7c5d1d45", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e86eead5b864600a", "cves": [], "html": "<p>\n      修复 <code>EXPLAIN</code> 在 <code>RETURNING</code> SubPlan 中输出的 <code>OLD</code>/<code>NEW</code> 别名（Henson Choi）<a href=\"https://postgr.es/c/4ee8af2e8\">§</a> <a href=\"https://postgr.es/c/b049b4e7b\">§</a>\n</p><p>\n      在涉及多个别名的计划中，可能输出错误的别名，导致输出令人困惑。\n     </p>", "text": "修复 EXPLAIN 在 RETURNING SubPlan 中输出的 OLD/NEW 别名（Henson Choi）§ § 在涉及多个别名的计划中，可能输出错误的别名，导致输出令人困惑。", "title": "修复 EXPLAIN 在 RETURNING SubPlan 中输出的 OLD/NEW 别名", "commits": ["4ee8af2e8", "b049b4e7b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "af1bdd687889778ff97b2cdb1f04e55308777abf055fc0b3082a34360e26a79d", "section_path": ["变更"], "commit_groups": [["015f4c9fc", "896246ea1", "b049b4e7b"], ["1999fe227", "4ee8af2e8", "763f95c63"]], "identity_text": "Fix OLD/NEW aliases that EXPLAIN prints in RETURNING SubPlans (Henson Choi) In plans involving multiple aliases, the wrong one could be printed, resulting in confusing output.", "commit_aliases": ["015f4c9fc", "1999fe227", "4ee8af2e8", "763f95c63", "896246ea1", "b049b4e7b"], "source_commits": ["4ee8af2e8", "b049b4e7b"], "source_entry_id": "18.7/changes/113", "db_id": "4e36694797e5551eb144cbf6c2df67d7", "patch_ids": ["c61f81186df8d75ec0fcba29eee4060e", "ce8f3e08cd734b68b49ef1d0109777eb"], "statement_hash": "7505446567e709c02d26c342dbf89c794318082aa828e56cd4d415d93523c6bc", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-85780a484a40c05d", "cves": [], "html": "<p>\n      修复规则逆解析中的多种错误（Henson Choi）<a href=\"https://postgr.es/c/e79df9dd9\">§</a> <a href=\"https://postgr.es/c/eb1454ecc\">§</a> <a href=\"https://postgr.es/c/b08c4df3b\">§</a> <a href=\"https://postgr.es/c/17a0604c2\">§</a>\n</p><p>\n      在 <code>UPDATE</code>、<code>DELETE</code> 或 <code>MERGE</code> 的目标关系别名前始终输出 <code>AS</code>，避免别名为 <code>set</code> 时产生歧义。同时确保 <code><em><code>xml</code></em> IS DOCUMENT</code> 结构和子查询的左侧参数有充分的括号。还修复了视图 <code>FROM</code> 子句中 <code>AT TIME ZONE</code> 及类似结构的逆解析；这些结构需要用无实际效果的 <code>CAST</code> 包裹。这些错误可能因视图中的语法错误而阻止转储恢复，也可能使重新载入的视图被解析为与此前不同的内容。\n     </p>", "text": "修复规则逆解析中的多种错误（Henson Choi）§ § § § 在 UPDATE、DELETE 或 MERGE 的目标关系别名前始终输出 AS，避免别名为 set 时产生歧义。同时确保 xml IS DOCUMENT 结构和子查询的左侧参数有充分的括号。还修复了视图 FROM 子句中 AT TIME ZONE 及类似结构的逆解析；这些结构需要用无实际效果的 CAST 包裹。这些错误可能因视图中的语法错误而阻止转储恢复，也可能使重新载入的视图被解析为与此前不同的内容。", "title": "修复规则逆解析中的多种错误", "commits": ["17a0604c2", "b08c4df3b", "e79df9dd9", "eb1454ecc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "86894d723f13046e78d0e267772f4b437ca734ce6edcdaa57df6fc2d8621687e", "section_path": ["变更"], "commit_groups": [["03fa13256", "17a0604c2", "35a8ff7ae", "7933cf45a", "a44a4f1b6", "a5e96ebe7", "baba7bd76"], ["0497318e4", "0da632e08", "697e1d3d5", "8113841f0", "91246c726", "e79df9dd9", "f0595c3d8"], ["32d4a592c", "68af68ac6", "80da124a4", "b27d566f0", "bdb159af4", "df1448b33", "eb1454ecc"], ["467bb7ea7", "715bf0305", "823474c04", "b08c4df3b", "b104bcb40", "b536d5a0b", "cdc6c25f9"]], "identity_text": "Fix assorted errors in rule deparsing (Henson Choi) Always print AS before a target-relation alias in UPDATE, DELETE, or MERGE, to avoid ambiguity if that alias is set. Also ensure that xml IS DOCUMENT constructs and subquery left-hand arguments are adequately parenthesized. Also fix deparsing of AT TIME ZONE and similar constructs in a view's FROM clause; these need to be wrapped in a no-op CAST. These errors could prevent dump restoration due to a syntax error in a view, or cause reloaded views to be parsed as something different from before.", "commit_aliases": ["03fa13256", "0497318e4", "0da632e08", "17a0604c2", "32d4a592c", "35a8ff7ae", "467bb7ea7", "68af68ac6", "697e1d3d5", "715bf0305", "7933cf45a", "80da124a4", "8113841f0", "823474c04", "91246c726", "a44a4f1b6", "a5e96ebe7", "b08c4df3b", "b104bcb40", "b27d566f0", "b536d5a0b", "baba7bd76", "bdb159af4", "cdc6c25f9", "df1448b33", "e79df9dd9", "eb1454ecc", "f0595c3d8"], "source_commits": ["17a0604c2", "b08c4df3b", "e79df9dd9", "eb1454ecc"], "source_entry_id": "18.7/changes/114", "db_id": "bf73a301f9d6a604571405188cf5133e", "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d", "relations": [{"rule": 2, "type": "equivalent", "target": "1dadc4ab622174daf828a007a5bc78f6", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}, {"rule": 2, "type": "equivalent", "target": "4d6af71d2a9dd7c4478a7383122548dd", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}, {"rule": 2, "type": "equivalent", "target": "5278fe015dbc46e38008d8dd586675a1", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}, {"rule": 2, "type": "equivalent", "target": "898259e222b3d77dd4200a3530f7a6ac", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5278fe015dbc46e38008d8dd586675a1", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复规则逆解析中的多种错误", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}, "url": "/docs/compare/?release=17.12#17.12-4ca8e1f307738fc0", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "4d6af71d2a9dd7c4478a7383122548dd", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复规则逆解析中的多种错误", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}, "url": "/docs/compare/?release=16.16#16.16-235b0b2998789313", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "898259e222b3d77dd4200a3530f7a6ac", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复规则逆解析中的多种错误", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}, "url": "/docs/compare/?release=15.20#15.20-982fb9b65640a7e2", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "1dadc4ab622174daf828a007a5bc78f6", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复规则逆解析中的多种错误", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}, "url": "/docs/compare/?release=14.25#14.25-bd8960cdbb3c867d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-4a10eee80a97fe79", "cves": [], "html": "<p>\n      修复多行 <code>INSERT ... VALUES</code> 在目标列下标中含有子 SELECT 时解析器失败的问题（Amit Langote）<a href=\"https://postgr.es/c/fa0806647\">§</a>\n</p><p>\n      这会导致<span>“<span>unexpected non-SELECT command in SubLink</span>”</span>错误。\n     </p>", "text": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题（Amit Langote）§ 这会导致“unexpected non-SELECT command in SubLink”错误。", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "commits": ["fa0806647"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "13d166081ca4761fc3f096d7367267060ba4c0153ad84161ce10c139f158420d", "section_path": ["变更"], "commit_groups": [["2dd680013", "667243c02", "861a9c402", "9e77656a9", "ba3115d83", "f11673768", "fa0806647"]], "identity_text": "Fix parser failure when a multi-row INSERT ... VALUES has a sub-SELECT in a target column subscript (Amit Langote) This led to unexpected non-SELECT command in SubLink.", "commit_aliases": ["2dd680013", "667243c02", "861a9c402", "9e77656a9", "ba3115d83", "f11673768", "fa0806647"], "source_commits": ["fa0806647"], "source_entry_id": "18.7/changes/115", "db_id": "b75958e1a259a32d481e6c3ba230dc2e", "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a", "relations": [{"rule": 2, "type": "equivalent", "target": "493a4e1fa9e152ca7b2d2bb99ab5d6b8", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}}, {"rule": 2, "type": "equivalent", "target": "4b33d509529dc250e818c71e17727b1e", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}}, {"rule": 2, "type": "equivalent", "target": "5a5e55b16ed1ebb9c405bff5a2c3c8e4", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}}, {"rule": 2, "type": "equivalent", "target": "6768d129e9954a06fcd2f375e5a41c1a", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6768d129e9954a06fcd2f375e5a41c1a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}, "url": "/docs/compare/?release=17.12#17.12-5cb8da6275432d25", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "493a4e1fa9e152ca7b2d2bb99ab5d6b8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}, "url": "/docs/compare/?release=16.16#16.16-ed0477eb8121addd", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "4b33d509529dc250e818c71e17727b1e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}, "url": "/docs/compare/?release=15.20#15.20-010d2bd8d92500ba", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5a5e55b16ed1ebb9c405bff5a2c3c8e4", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}, "url": "/docs/compare/?release=14.25#14.25-5de8ff7eb0ba6291", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-4bb04a6e57cab780", "cves": [], "html": "<p>\n      修复 <code>COPY FROM</code> 中遗漏 <code>WHERE</code> 子句预处理的问题（Nathan Bossart）<a href=\"https://postgr.es/c/95d960447\">§</a>\n</p><p>\n      这一遗漏会在操作符被取反时导致<span>“<span>cache lookup failed for function 0</span>”</span>错误，也很可能影响其他情况。\n     </p>", "text": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题（Nathan Bossart）§ 这一遗漏会在操作符被取反时导致“cache lookup failed for function 0”错误，也很可能影响其他情况。", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "commits": ["95d960447"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "8b1d1956b1c4eddf91cbb40ba40c205d9005f3c5c5d5b9155512ce54132bacf8", "section_path": ["变更"], "commit_groups": [["1955fd0b4", "1adbe902a", "63e33d40b", "6b428e47b", "95d960447", "a14041d43", "c596e189d"]], "identity_text": "Fix missed preprocessing of WHERE clauses in COPY FROM (Nathan Bossart) This oversight led to cache lookup failed for function 0 errors with negated operators, and probably in other cases as well.", "commit_aliases": ["1955fd0b4", "1adbe902a", "63e33d40b", "6b428e47b", "95d960447", "a14041d43", "c596e189d"], "source_commits": ["95d960447"], "source_entry_id": "18.7/changes/116", "db_id": "0ccaee3c3c8b1d50d7707138dec7e2a5", "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af", "relations": [{"rule": 2, "type": "equivalent", "target": "0e0eac35f5120baf9220e7cb35998eba", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}}, {"rule": 2, "type": "equivalent", "target": "56e4dce2b9688227f551117ce35a39c4", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}}, {"rule": 2, "type": "equivalent", "target": "aa0470ee7d412ba53cc48cc875fe70a8", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}}, {"rule": 2, "type": "equivalent", "target": "b4665593c5769e20a71958901687b741", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "56e4dce2b9688227f551117ce35a39c4", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}, "url": "/docs/compare/?release=17.12#17.12-0e282f1c8f50838f", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "aa0470ee7d412ba53cc48cc875fe70a8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}, "url": "/docs/compare/?release=16.16#16.16-7f7a76bedf73aaa5", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b4665593c5769e20a71958901687b741", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}, "url": "/docs/compare/?release=15.20#15.20-7aa1fcb1b18c55e9", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "0e0eac35f5120baf9220e7cb35998eba", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}, "url": "/docs/compare/?release=14.25#14.25-5dfcd345abb735af", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e958f8698b2c2b47", "cves": [], "html": "<p>\n      禁止在分区表上使用 <code>NOT NULL NO INHERIT</code> 约束（David Rowley，Nitin Motiani）<a href=\"https://postgr.es/c/35f60e5ce\">§</a>\n</p><p>\n      普通 <code>CREATE TABLE</code> 已拒绝此类约束，但 <code>CREATE TABLE LIKE</code> 等情况未检查复制的约束，可能允许分区包含本不应存在的空值。\n     </p><p>\n      如果怀疑数据库中可能已发生这种情况，可执行以下命令查找有问题的约束：\n</p><pre>SELECT conrelid::regclass, conname\nFROM pg_constraint\nWHERE contype = 'n' AND connoinherit\n      AND conrelid IN (SELECT oid FROM pg_class WHERE relkind = 'p');\n</pre><p>\n不需要的约束可用 <code>ALTER TABLE ... DROP CONSTRAINT ...</code> 移除，需要保留的约束则应使用 <code>ALTER TABLE ... ALTER CONSTRAINT ... INHERIT</code> 修复。如果表的任何分区中存在空值，后一条命令将失败。\n     </p>", "text": "禁止在分区表上使用 NOT NULL NO INHERIT 约束（David Rowley，Nitin Motiani）§ 普通 CREATE TABLE 已拒绝此类约束，但 CREATE TABLE LIKE 等情况未检查复制的约束，可能允许分区包含本不应存在的空值。 如果怀疑数据库中可能已发生这种情况，可执行以下命令查找有问题的约束： SELECT conrelid::regclass, conname FROM pg_constraint WHERE contype = 'n' AND connoinherit AND conrelid IN (SELECT oid FROM pg_class WHERE relkind = 'p'); 不需要的约束可用 ALTER TABLE ... DROP CONSTRAINT ... 移除，需要保留的约束则应使用 ALTER TABLE ... ALTER CONSTRAINT ... INHERIT 修复。如果表的任何分区中存在空值，后一条命令将失败。", "title": "禁止在分区表上使用 NOT NULL NO INHERIT 约束", "commits": ["35f60e5ce"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "77d9d24c635c878d1f6b3f76f0fc6fdc819016043f1580bf302469bf1c011890", "section_path": ["变更"], "commit_groups": [["35f60e5ce", "700b422af", "a01d1a17e"]], "identity_text": "Disallow NOT NULL NO INHERIT constraints on partitioned tables (David Rowley, Nitin Motiani) This was already rejected by plain CREATE TABLE, but cases such as CREATE TABLE LIKE missed checking copied constraints, potentially allowing a partition to contain null values when it should not. If you suspect this might have happened in your database, issue this command to find broken constraints: SELECT conrelid::regclass, conname FROM pg_constraint WHERE contype = 'n' AND connoinherit AND conrelid IN (SELECT oid FROM pg_class WHERE relkind = 'p'); Unwanted constraints can be removed with ALTER TABLE ... DROP CONSTRAINT ..., while ones that are wanted should be repaired with ALTER TABLE ... ALTER CONSTRAINT ... INHERIT. The latter command will fail if any null values are present in the table's partitions.", "commit_aliases": ["35f60e5ce", "700b422af", "a01d1a17e"], "source_commits": ["35f60e5ce"], "source_entry_id": "18.7/changes/117", "db_id": "c689e5e21700861d6ff28a7361120bb6", "patch_ids": ["9e3de544b3db3b97f645a0af9c3454bb"], "statement_hash": "7cbe8a5507b0f7f4748fa6af15a412606936a7201bfe14b181da4ed74700593b", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-b3e42f19b61448df", "cves": [], "html": "<p>\n      修复 <code>ALTER TABLE ADD PRIMARY KEY</code> 对已有 NOT NULL 约束的检查（Fujii Masao，Manuel Reyes Bravo）<a href=\"https://postgr.es/c/5659e549a\">§</a>\n</p><p>\n      此前，在一条 <code>ALTER TABLE</code> 命令中删除 NOT NULL 列、添加同名新列并将其设为主键，可能报出<span>“<span>primary key column ... is not marked NOT NULL</span>”</span>错误。\n     </p>", "text": "修复 ALTER TABLE ADD PRIMARY KEY 对已有 NOT NULL 约束的检查（Fujii Masao，Manuel Reyes Bravo）§ 此前，在一条 ALTER TABLE 命令中删除 NOT NULL 列、添加同名新列并将其设为主键，可能报出“primary key column ... is not marked NOT NULL”错误。", "title": "修复 ALTER TABLE ADD PRIMARY KEY 对已有 NOT NULL 约束的检查", "commits": ["5659e549a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "66c3e8bc6a31c5a25879be13a767e4b95674e673398416065ffeb1c28ac9f5db", "section_path": ["变更"], "commit_groups": [["5659e549a", "5e3245401", "dd97e0c8e"]], "identity_text": "Fix test for an existing NOT NULL constraint in ALTER TABLE ADD PRIMARY KEY (Fujii Masao, Manuel Reyes Bravo) Previously, dropping a NOT NULL column, adding a new column with the same name, and making it a primary key in a single ALTER TABLE command could fail with primary key column ... is not marked NOT NULL.", "commit_aliases": ["5659e549a", "5e3245401", "dd97e0c8e"], "source_commits": ["5659e549a"], "source_entry_id": "18.7/changes/118", "db_id": "92eac9600722ae668d7f96e40b6c27e6", "patch_ids": ["ea970292e164a4a07b9eb2620ed3449a"], "statement_hash": "9d424256728ea9142418f7875ddbf2dcf8df7d2cf4cd03926dfeaa3cbb47828b", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-666acb3337522dc6", "cves": [], "html": "<p>\n      修复 <code>MERGE ... WHEN NOT MATCHED BY SOURCE</code> 对并发删除的处理（Tender Wang）<a href=\"https://postgr.es/c/ce9bd103e\">§</a>\n</p><p>\n      在 <code>MERGE</code> 中执行 <code>WHEN NOT MATCHED BY SOURCE</code> 动作时，如果目标表的元组被并发删除，重试代码会错误地改为对该行执行 <code>WHEN NOT MATCHED BY TARGET</code> 动作，产生不正确的结果。\n     </p>", "text": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 对并发删除的处理（Tender Wang）§ 在 MERGE 中执行 WHEN NOT MATCHED BY SOURCE 动作时，如果目标表的元组被并发删除，重试代码会错误地改为对该行执行 WHEN NOT MATCHED BY TARGET 动作，产生不正确的结果。", "title": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 对并发删除的处理", "commits": ["ce9bd103e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "cc08cc4d96814b552f1b709f01d6fc9ef9ec27e971d2925d8ad8f99de7b5da74", "section_path": ["变更"], "commit_groups": [["745152e45", "85f55534e", "ce9bd103e", "fe1d5aeff"]], "identity_text": "Fix concurrent delete handling in MERGE ... WHEN NOT MATCHED BY SOURCE (Tender Wang) When executing a WHEN NOT MATCHED BY SOURCE action in MERGE, if the tuple from the target table was concurrently deleted, the retry code would incorrectly execute a WHEN NOT MATCHED BY TARGET action for the row instead, giving incorrect results.", "commit_aliases": ["745152e45", "85f55534e", "ce9bd103e", "fe1d5aeff"], "source_commits": ["ce9bd103e"], "source_entry_id": "18.7/changes/119", "db_id": "95bfac8efce4e64d648ec24d1a55841d", "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca", "relations": [{"rule": 2, "type": "equivalent", "target": "9082ce248f189412d10c5ea38821b0c6", "evidence": {"same_day": true, "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9082ce248f189412d10c5ea38821b0c6", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 对并发删除的处理", "evidence": {"same_day": true, "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca"}, "url": "/docs/compare/?release=17.12#17.12-39d355f0411934e7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-b7f5987376790e4a", "cves": [], "html": "<p>\n      修复与 <code>DROP TABLESPACE</code> 相关的竞态条件（Ayush Tiwari）<a href=\"https://postgr.es/c/d77627daa\">§</a>\n</p><p>\n      如果 <code>DROP</code> 与尝试向该表空间添加新对象的命令并发执行，最终可能导致系统目录内容不一致。\n     </p>", "text": "修复与 DROP TABLESPACE 相关的竞态条件（Ayush Tiwari）§ 如果 DROP 与尝试向该表空间添加新对象的命令并发执行，最终可能导致系统目录内容不一致。", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "commits": ["d77627daa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "64272870cfb034eaecec9923da916de7ab57092af7488bfb3d9ab02fa2faa348", "section_path": ["变更"], "commit_groups": [["00126dede", "539b7e829", "5dec175fb", "749dd8d1f", "960b6b532", "a12600b76", "d77627daa"]], "identity_text": "Fix race conditions with DROP TABLESPACE (Ayush Tiwari) A DROP executed concurrently with commands that attempt to add new objects to the tablespace could end with inconsistent catalog contents.", "commit_aliases": ["00126dede", "539b7e829", "5dec175fb", "749dd8d1f", "960b6b532", "a12600b76", "d77627daa"], "source_commits": ["d77627daa"], "source_entry_id": "18.7/changes/120", "db_id": "c51391952e2888f46b383a09bccd3699", "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645", "relations": [{"rule": 2, "type": "equivalent", "target": "132cf49d7d930a8283b49eb09d4c23cc", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}}, {"rule": 2, "type": "equivalent", "target": "2ed2c268e92c640bc34d93e141e1f483", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}}, {"rule": 2, "type": "equivalent", "target": "558d01ff10d6d1c11edace72e414d18f", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}}, {"rule": 2, "type": "equivalent", "target": "82ca770e914eae4df2d9d28c42297b22", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2ed2c268e92c640bc34d93e141e1f483", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}, "url": "/docs/compare/?release=17.12#17.12-2d88435030af2c8b", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "132cf49d7d930a8283b49eb09d4c23cc", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}, "url": "/docs/compare/?release=16.16#16.16-e990140cdc3ebf81", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "558d01ff10d6d1c11edace72e414d18f", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}, "url": "/docs/compare/?release=15.20#15.20-4fb46db0b05bd66e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "82ca770e914eae4df2d9d28c42297b22", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}, "url": "/docs/compare/?release=14.25#14.25-f34e4f2f8fd9db1e", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-5cffda4cb280816b", "cves": [], "html": "<p>\n      在恢复期间明确拒绝对不记录 WAL 的表的操作（Jim Jones）<a href=\"https://postgr.es/c/794c29dc4\">§</a> <a href=\"https://postgr.es/c/a5b925cfc\">§</a>\n</p><p>\n      不记录 WAL 的表在备库上没有数据，因此读取它必须失败。多数操作对此会给出恰当错误，但 <code>COPY ... TO</code> 和 <code>currtid2()</code> 此前会报出内部<span>“<span>could not open file</span>”</span>错误。\n     </p>", "text": "在恢复期间明确拒绝对不记录 WAL 的表的操作（Jim Jones）§ § 不记录 WAL 的表在备库上没有数据，因此读取它必须失败。多数操作对此会给出恰当错误，但 COPY ... TO 和 currtid2() 此前会报出内部“could not open file”错误。", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "commits": ["794c29dc4", "a5b925cfc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f0724b9a2026c51de85165618f83caf25f57361ad1ab949572b3fe09bac4ca6c", "section_path": ["变更"], "commit_groups": [["044887b60", "17f66a681", "1e707d325", "2f79b0179", "599c50d25", "794c29dc4", "c517dbb31"], ["391fded1e", "3e53104dc", "702f218cb", "7f641940c", "a5b925cfc", "e16d102a4", "fded90eec"]], "identity_text": "Cleanly reject operations on unlogged tables during recovery (Jim Jones) An unlogged table will have no data on a standby, so reading it must fail. Most operations give an appropriate error for this, but COPY ... TO failed with an internal could not open file error, as did currtid2().", "commit_aliases": ["044887b60", "17f66a681", "1e707d325", "2f79b0179", "391fded1e", "3e53104dc", "599c50d25", "702f218cb", "794c29dc4", "7f641940c", "a5b925cfc", "c517dbb31", "e16d102a4", "fded90eec"], "source_commits": ["794c29dc4", "a5b925cfc"], "source_entry_id": "18.7/changes/121", "db_id": "e01f69c1f374ef979b173bccc2678a11", "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb", "relations": [{"rule": 2, "type": "equivalent", "target": "270a34efdf0e76eddbdcd0d2ef394e74", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}}, {"rule": 2, "type": "equivalent", "target": "36be975b074f70705f756c66dbb44417", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}}, {"rule": 2, "type": "equivalent", "target": "39a3b5d71c39274a7290ed8aea008896", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}}, {"rule": 2, "type": "equivalent", "target": "b85e80ea3b8b8c54087644ceca45b32d", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b85e80ea3b8b8c54087644ceca45b32d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}, "url": "/docs/compare/?release=17.12#17.12-1eb8de072d2f65f1", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "270a34efdf0e76eddbdcd0d2ef394e74", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}, "url": "/docs/compare/?release=16.16#16.16-a2bee107a113a8b8", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "36be975b074f70705f756c66dbb44417", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}, "url": "/docs/compare/?release=15.20#15.20-fccdd89af51c0973", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "39a3b5d71c39274a7290ed8aea008896", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}, "url": "/docs/compare/?release=14.25#14.25-08d7fe5e3516c3c5", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-9936417595dcd67d", "cves": [], "html": "<p>\n      修复角色成员资格变更中不一致的权限检查（ChangAo Chen）<a href=\"https://postgr.es/c/0468246f5\">§</a>\n</p><p>\n      这修复了本应报告权限不足，却报出内部<span>“<span>no possible grantors</span>”</span>错误的情况。\n     </p>", "text": "修复角色成员资格变更中不一致的权限检查（ChangAo Chen）§ 这修复了本应报告权限不足，却报出内部“no possible grantors”错误的情况。", "title": "修复角色成员资格变更中不一致的权限检查", "commits": ["0468246f5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e18f32a4d4b92e244b235651f5e16c6bc45daa81c622b84600eb925a47cc89c1", "section_path": ["变更"], "commit_groups": [["0468246f5", "9db2383e0", "a8261c766", "be0076b71", "dbda203fe"]], "identity_text": "Fix inconsistent permissions checking for role membership changes (ChangAo Chen) This fixes cases where what should be a permissions failure was reported as an internal no possible grantors error.", "commit_aliases": ["0468246f5", "9db2383e0", "a8261c766", "be0076b71", "dbda203fe"], "source_commits": ["0468246f5"], "source_entry_id": "18.7/changes/122", "db_id": "9527c556531a334f41f0030411c5dab6", "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63", "relations": [{"rule": 2, "type": "equivalent", "target": "02cf0aa1a95fd63ebe8997b4775aa993", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}}, {"rule": 2, "type": "equivalent", "target": "6ee0fdc1314a5a9eb686105a28af6368", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6ee0fdc1314a5a9eb686105a28af6368", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复角色成员资格变更中不一致的权限检查", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}, "url": "/docs/compare/?release=17.12#17.12-28a16084a8328ed4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "02cf0aa1a95fd63ebe8997b4775aa993", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复角色成员资格变更中不一致的权限检查", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}, "url": "/docs/compare/?release=16.16#16.16-c0c23c4a062ea486", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-12c68865000ad83b", "cves": [], "html": "<p>\n      撤销此前对空闲空间映射持久化的更改（Alexander Korotkov）<a href=\"https://postgr.es/c/5d63dbd97\">§</a>\n</p><p>\n      事实证明，c06d1a4ba 等提交（包含在 2026 年 5 月的版本中）引入的问题比解决的问题更多。\n     </p>", "text": "撤销此前对空闲空间映射持久化的更改（Alexander Korotkov）§ 事实证明，c06d1a4ba 等提交（包含在 2026 年 5 月的版本中）引入的问题比解决的问题更多。", "title": "撤销此前对空闲空间映射持久化的更改", "commits": ["5d63dbd97"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d1755b77ac910327e6c5045a83f3670fee61c190c5b9a9026e2c970f44d5c7b0", "section_path": ["变更"], "commit_groups": [["35e4b760a", "3bed1f91a", "5d63dbd97", "89834e3f2", "a8004e161", "bee33974e", "d0518cb3e"]], "identity_text": "Revert previous changes to free space map persistence (Alexander Korotkov) Commits c06d1a4ba et al. (included in the May 2026 releases) turned out to cause more trouble than they fixed.", "commit_aliases": ["35e4b760a", "3bed1f91a", "5d63dbd97", "89834e3f2", "a8004e161", "bee33974e", "d0518cb3e"], "source_commits": ["5d63dbd97"], "source_entry_id": "18.7/changes/123", "db_id": "157ca9ee866d7920ae2781327f283958", "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac", "relations": [{"rule": 2, "type": "equivalent", "target": "0a4e9af84e520e3ebbf1cb16484be698", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}}, {"rule": 2, "type": "equivalent", "target": "5b215c95a87ddf13186e17df3c1de380", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}}, {"rule": 2, "type": "equivalent", "target": "693197b23180a92b043f8682a9d76e94", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}}, {"rule": 2, "type": "equivalent", "target": "e4ae80ce39bc1c5191e9455e25bb212c", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0a4e9af84e520e3ebbf1cb16484be698", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "撤销此前对空闲空间映射持久化的更改", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}, "url": "/docs/compare/?release=17.12#17.12-c15ea40ecf377281", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "693197b23180a92b043f8682a9d76e94", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "撤销此前对空闲空间映射持久化的更改", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}, "url": "/docs/compare/?release=16.16#16.16-38b6b2051f89ea1e", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "5b215c95a87ddf13186e17df3c1de380", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "撤销此前对空闲空间映射持久化的更改", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}, "url": "/docs/compare/?release=15.20#15.20-04f95a51777785df", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "e4ae80ce39bc1c5191e9455e25bb212c", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "撤销此前对空闲空间映射持久化的更改", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}, "url": "/docs/compare/?release=14.25#14.25-a0e75801da089e8a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-6ad9d760312d52fe", "cves": [], "html": "<p>\n      当默认事务模式为 <code>SERIALIZABLE READ ONLY DEFERRABLE</code> 时，避免后端进程退出时在临时表清理中挂起（Andrey Rachitskiy）<a href=\"https://postgr.es/c/d2943b94b\">§</a>\n</p><p>\n      清理会阻塞，直到并发的可串行化事务完成；如果其中一些是预备事务，等待可能无限持续。\n     </p>", "text": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起（Andrey Rachitskiy）§ 清理会阻塞，直到并发的可串行化事务完成；如果其中一些是预备事务，等待可能无限持续。", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "commits": ["d2943b94b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "bf8e03b9d3e27a62bf9c83fa4af7ddb99a7b8c2a7a3c94285b0255f65836f8ac", "section_path": ["变更"], "commit_groups": [["0b776de09", "4639b6cfe", "57c107238", "a90cbbc86", "cc1edfa6c", "d2943b94b", "e65f21a27"]], "identity_text": "Avoid backend hang during temporary table cleanup at exit, if the default transaction mode is SERIALIZABLE READ ONLY DEFERRABLE (Andrey Rachitskiy) Cleanup would block until concurrent serializable transactions complete, which could be indefinitely if some of them are prepared transactions.", "commit_aliases": ["0b776de09", "4639b6cfe", "57c107238", "a90cbbc86", "cc1edfa6c", "d2943b94b", "e65f21a27"], "source_commits": ["d2943b94b"], "source_entry_id": "18.7/changes/124", "db_id": "19c7a56049c4fc07dc89039662c99cdd", "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013", "relations": [{"rule": 2, "type": "equivalent", "target": "61c5bda8432b354c231decf7088a8cb6", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}, {"rule": 2, "type": "equivalent", "target": "7c535bd7c401b8c1d82c7e1c0ba77973", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}, {"rule": 2, "type": "equivalent", "target": "a98b2371e52e0f40728baf1157b615af", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}, {"rule": 2, "type": "equivalent", "target": "d17be9bbf1c3b3d09fc2617772a47459", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a98b2371e52e0f40728baf1157b615af", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}, "url": "/docs/compare/?release=17.12#17.12-b9023de915d8acaa", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "61c5bda8432b354c231decf7088a8cb6", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}, "url": "/docs/compare/?release=16.16#16.16-1fd74608b5f64fde", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7c535bd7c401b8c1d82c7e1c0ba77973", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}, "url": "/docs/compare/?release=15.20#15.20-4918d396d4c2c933", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "d17be9bbf1c3b3d09fc2617772a47459", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}, "url": "/docs/compare/?release=14.25#14.25-ffd8e4b6a6c95e45", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-738bb67d08074e43", "cves": [], "html": "<p>\n      避免描述一个游标已经不存在的 <code>FETCH</code> 语句时崩溃（Dirkjan Bussink）<a href=\"https://postgr.es/c/95f6bfb51\">§</a>\n</p>", "text": "避免描述一个游标已经不存在的 FETCH 语句时崩溃（Dirkjan Bussink）§", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "commits": ["95f6bfb51"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "85b3e3ca9a6933c3a0e45852b5a83169857134beedb805581210190b549d219f", "section_path": ["变更"], "commit_groups": [["2affc1964", "50d6e533e", "7166a1d02", "84b86b210", "95f6bfb51", "caa19f80d", "fc56f1663"]], "identity_text": "Avoid crash when describing a FETCH statement whose cursor is gone (Dirkjan Bussink)", "commit_aliases": ["2affc1964", "50d6e533e", "7166a1d02", "84b86b210", "95f6bfb51", "caa19f80d", "fc56f1663"], "source_commits": ["95f6bfb51"], "source_entry_id": "18.7/changes/125", "db_id": "1001c953004cd1775510142dc37b9ad5", "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f", "relations": [{"rule": 2, "type": "equivalent", "target": "01cf7d1d6ece681be7bd80bf4954e9f1", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}}, {"rule": 2, "type": "equivalent", "target": "42edb9a8ea323fda3b32b6ecd971f4c9", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}}, {"rule": 2, "type": "equivalent", "target": "8b4a142e764f8368effda1ead10293fe", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}}, {"rule": 2, "type": "equivalent", "target": "9e9a0df992fb601ae18beecfb4dec4ac", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9e9a0df992fb601ae18beecfb4dec4ac", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}, "url": "/docs/compare/?release=17.12#17.12-307d12003b765019", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "42edb9a8ea323fda3b32b6ecd971f4c9", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}, "url": "/docs/compare/?release=16.16#16.16-e9f710ff78d5a93a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "01cf7d1d6ece681be7bd80bf4954e9f1", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}, "url": "/docs/compare/?release=15.20#15.20-27a7d3dc335599f7", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "8b4a142e764f8368effda1ead10293fe", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}, "url": "/docs/compare/?release=14.25#14.25-13980a4f04ad4cbb", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-3b7c74b66d91d128", "cves": [], "html": "<p>\n      修复按引用传递的数据类型在 datum 排序中的内存计量（Mario Karuza）<a href=\"https://postgr.es/c/8d5b228ae\">§</a>\n</p><p>\n      此错误可能导致无法正确执行 <code>work_mem</code> 限制，或使 <code>EXPLAIN ANALYZE</code> 输出具有误导性。\n     </p>", "text": "修复按引用传递的数据类型在 datum 排序中的内存计量（Mario Karuza）§ 此错误可能导致无法正确执行 work_mem 限制，或使 EXPLAIN ANALYZE 输出具有误导性。", "title": "修复按引用传递的数据类型在 datum 排序中的内存计量", "commits": ["8d5b228ae"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6045f3e914e977b7897cfaca1af63492da2c13a88559497264bb23fb317ee5ae", "section_path": ["变更"], "commit_groups": [["2414028ab", "85adc584e", "8d5b228ae", "a2148471b"]], "identity_text": "Fix memory accounting for datum sorts on pass-by-reference data types (Mario Karuza) This error could lead to failure to enforce work_mem limits correctly, or to misleading output from EXPLAIN ANALYZE.", "commit_aliases": ["2414028ab", "85adc584e", "8d5b228ae", "a2148471b"], "source_commits": ["8d5b228ae"], "source_entry_id": "18.7/changes/126", "db_id": "8324b888c0e4b4932109f2a5dbf15a1c", "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64", "relations": [{"rule": 2, "type": "equivalent", "target": "db2201473fe5af20d054493f2dbe7ff1", "evidence": {"same_day": true, "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "db2201473fe5af20d054493f2dbe7ff1", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复按引用传递的数据类型在 datum 排序中的内存计量", "evidence": {"same_day": true, "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64"}, "url": "/docs/compare/?release=17.12#17.12-846c17e67ce6ea82", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-9aa7c41b7cc91129", "cves": [], "html": "<p>\n      持有锁时若请求清理延迟休眠，则不休眠（Kevin Rocker，Andrey Borodin，Mostafa）<a href=\"https://postgr.es/c/5f671c431\">§</a>\n</p><p>\n      同时，将若干已有的延迟调用移到真正可以安全休眠的位置。\n     </p>", "text": "持有锁时若请求清理延迟休眠，则不休眠（Kevin Rocker，Andrey Borodin，Mostafa）§ 同时，将若干已有的延迟调用移到真正可以安全休眠的位置。", "title": "持有锁时若请求清理延迟休眠，则不休眠", "commits": ["5f671c431"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "bc5443a426a81c2ecd1563988805f64609158e1da7a383b7cd922d756bc1bfec", "section_path": ["变更"], "commit_groups": [["226e86cda", "4a7778ef8", "5f671c431", "71d1ace33", "96c99955b", "d40546032", "e7d7e047b"]], "identity_text": "If a vacuum delay sleep is requested while holding locks, don't sleep (Kevin Rocker, Andrey Borodin, Mostafa) Also, move several existing delay calls to points where it's actually safe to sleep.", "commit_aliases": ["226e86cda", "4a7778ef8", "5f671c431", "71d1ace33", "96c99955b", "d40546032", "e7d7e047b"], "source_commits": ["5f671c431"], "source_entry_id": "18.7/changes/127", "db_id": "af688d5db0283c3aab99da9516355d26", "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3", "relations": [{"rule": 2, "type": "equivalent", "target": "0c12d2b66c818daabe3e8f1f7253877b", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}}, {"rule": 2, "type": "equivalent", "target": "32853a3e81348a2c47537359054e41aa", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}}, {"rule": 2, "type": "equivalent", "target": "e9d226907baf2cb80385149abc29c4a3", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}}, {"rule": 2, "type": "equivalent", "target": "f5622e9c2c2d0bf2717c024ec65eb2df", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f5622e9c2c2d0bf2717c024ec65eb2df", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "持有锁时若请求清理延迟休眠，则不休眠", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}, "url": "/docs/compare/?release=17.12#17.12-5a478ec1780c203a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0c12d2b66c818daabe3e8f1f7253877b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "持有锁时若请求清理延迟休眠，则不休眠", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}, "url": "/docs/compare/?release=16.16#16.16-cdd667cda543b14f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "32853a3e81348a2c47537359054e41aa", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "持有锁时若请求清理延迟休眠，则不休眠", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}, "url": "/docs/compare/?release=15.20#15.20-6efcade8f67e10d9", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "e9d226907baf2cb80385149abc29c4a3", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "持有锁时若请求清理延迟休眠，则不休眠", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}, "url": "/docs/compare/?release=14.25#14.25-d320310daa02d14b", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a395680a677c956c", "cves": [], "html": "<p>\n      修复并行清理的 I/O 耗时报告（Bharath Rupireddy）<a href=\"https://postgr.es/c/6bfb33088\">§</a>\n</p><p>\n<code>VACUUM VERBOSE</code> 和自动清理日志包含了并行工作进程读取块和弄脏块的计数，却没有包含其执行这些 I/O 所花费的时间。\n     </p>", "text": "修复并行清理的 I/O 耗时报告（Bharath Rupireddy）§ VACUUM VERBOSE 和自动清理日志包含了并行工作进程读取块和弄脏块的计数，却没有包含其执行这些 I/O 所花费的时间。", "title": "修复并行清理的 I/O 耗时报告", "commits": ["6bfb33088"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f329f78f8ef699f6e4d8372300272ed2b2f63ab56ad656073c6bc25dad949bd3", "section_path": ["变更"], "commit_groups": [["2604c28bf", "35c508af5", "6bfb33088", "abf5fec63"]], "identity_text": "Fix parallel vacuum I/O timing reports (Bharath Rupireddy) VACUUM VERBOSE and autovacuum logs included parallel workers' blocks-read and blocks-dirtied counts, but not the time they spent doing that I/O.", "commit_aliases": ["2604c28bf", "35c508af5", "6bfb33088", "abf5fec63"], "source_commits": ["6bfb33088"], "source_entry_id": "18.7/changes/128", "db_id": "de40a735f0b5bda7f49a0835a23e5f8b", "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c", "relations": [{"rule": 2, "type": "equivalent", "target": "f1fd1398828354b23a2ebf5f3b684547", "evidence": {"same_day": true, "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f1fd1398828354b23a2ebf5f3b684547", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复并行清理的 I/O 耗时报告", "evidence": {"same_day": true, "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c"}, "url": "/docs/compare/?release=17.12#17.12-e8e53a1b1d1695cf", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-c5cd35bf24913a41", "cves": [], "html": "<p>\n      如果用于检查外键约束的查询计划仍在使用，则不释放它（Lucas Jeffrey，Trakshan Mishra，Amit Langote）<a href=\"https://postgr.es/c/9e9d24c33\">§</a>\n</p><p>\n      在刻意构造的情况下可能触发此行为，例如带有执行 DML 的触发器的表上存在自引用的 ON DELETE CASCADE 外键。\n     </p>", "text": "如果用于检查外键约束的查询计划仍在使用，则不释放它（Lucas Jeffrey，Trakshan Mishra，Amit Langote）§ 在刻意构造的情况下可能触发此行为，例如带有执行 DML 的触发器的表上存在自引用的 ON DELETE CASCADE 外键。", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "commits": ["9e9d24c33"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "801f777b3ac91c984752caf328691c230884640d3231d8422517d28464786991", "section_path": ["变更"], "commit_groups": [["3cb89e214", "9e9d24c33", "bc2125742", "e37a8075f", "e5f6a7a28", "f3ea7cb46", "fbe7033af"]], "identity_text": "Avoid freeing the plan for a foreign-key enforcement query if the plan is still in use (Lucas Jeffrey, Trakshan Mishra, Amit Langote) It was possible to reach this behavior in contrived cases, such as a self-referencing ON DELETE CASCADE foreign key on tables with triggers that perform DML.", "commit_aliases": ["3cb89e214", "9e9d24c33", "bc2125742", "e37a8075f", "e5f6a7a28", "f3ea7cb46", "fbe7033af"], "source_commits": ["9e9d24c33"], "source_entry_id": "18.7/changes/129", "db_id": "eab0d9cc5002e7b2f9ee257318d67b99", "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce", "relations": [{"rule": 2, "type": "equivalent", "target": "0510af3018a2a7150847ec09c9f2f10d", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}}, {"rule": 2, "type": "equivalent", "target": "80ad01ae915cef2e873003ceb6bb7dfe", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}}, {"rule": 2, "type": "equivalent", "target": "b88220aabf0d399ae2c0e36142a1f14d", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}}, {"rule": 2, "type": "equivalent", "target": "ee14bb01d60626d1dd4abdc1688ec464", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee14bb01d60626d1dd4abdc1688ec464", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}, "url": "/docs/compare/?release=17.12#17.12-925b6648eb578c8c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b88220aabf0d399ae2c0e36142a1f14d", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}, "url": "/docs/compare/?release=16.16#16.16-bc53addceb607fe8", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "80ad01ae915cef2e873003ceb6bb7dfe", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}, "url": "/docs/compare/?release=15.20#15.20-9cd235bd6200b26d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "0510af3018a2a7150847ec09c9f2f10d", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}, "url": "/docs/compare/?release=14.25#14.25-2413716e2a8705bc", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-7fb9021550889e6f", "cves": [], "html": "<p>\n      修复崩溃重启期间启动子进程崩溃时 postmaster 未能退出的问题（Zexin Li）<a href=\"https://postgr.es/c/6a1759a02\">§</a>\n</p><p>\n      在这种情况下，postmaster 应当放弃并退出，但此前没有这样做，而是陷入停滞。\n     </p>", "text": "修复崩溃重启期间启动子进程崩溃时 postmaster 未能退出的问题（Zexin Li）§ 在这种情况下，postmaster 应当放弃并退出，但此前没有这样做，而是陷入停滞。", "title": "修复崩溃重启期间启动子进程崩溃时 postmaster 未能退出的问题", "commits": ["6a1759a02"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0d640e45cda2d094119e8337133b330f7e8c5a47ea44ab19549f55d1cb9dad90", "section_path": ["变更"], "commit_groups": [["386198434", "6a1759a02", "ead8f696b"]], "identity_text": "Fix postmaster failing to exit when the startup subprocess crashes during crash restart (Zexin Li) The postmaster should give up and quit in this case, but it failed to do so, instead becoming stuck.", "commit_aliases": ["386198434", "6a1759a02", "ead8f696b"], "source_commits": ["6a1759a02"], "source_entry_id": "18.7/changes/130", "db_id": "4bd4c59cd9617680af2056f3ea78ddce", "patch_ids": ["037b1c5abd6481fa74e247a9414f773b"], "statement_hash": "a9971ec5c1850fb9d424cc8d904c4aeaf0c900f5b7fd13fdd57d01150871bad4", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-3f0a2dba61000e9a", "cves": [], "html": "<p>\n      解析 GUC 文件时更谨慎地处理扫描器失败（Michael Paquier）<a href=\"https://postgr.es/c/0391fee2d\">§</a>\n</p>", "text": "解析 GUC 文件时更谨慎地处理扫描器失败（Michael Paquier）§", "title": "解析 GUC 文件时更谨慎地处理扫描器失败", "commits": ["0391fee2d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "66485098886621808ffd51e880ec51e594186e80bbd548ddebd9bcdbad13340d", "section_path": ["变更"], "commit_groups": [["0391fee2d", "13967fe0e", "803583ce7"]], "identity_text": "Be more wary about scanner failures when parsing a GUC file (Michael Paquier)", "commit_aliases": ["0391fee2d", "13967fe0e", "803583ce7"], "source_commits": ["0391fee2d"], "source_entry_id": "18.7/changes/131", "db_id": "0362e00ed787b583380532580c4d5e78", "patch_ids": ["a17b766154b1a28d0029236aa5938e94"], "statement_hash": "c43e2b1232e925c94e9506dab01a85f5d4d92fe555810e80bf2ad82dffab5871", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-064e52543f39e5ac", "cves": [], "html": "<p>\n      在 OAuth 认证期间重新检查 <code>oauth_validator_libraries</code>（Zsolt Parragi）<a href=\"https://postgr.es/c/8e54a4145\">§</a> <a href=\"https://postgr.es/c/dcf112bd4\">§</a>\n</p><p>\n      这一新增检查确保对 <code>oauth_validator_libraries</code> 的更改立即生效。此前，如果此类更改使 <code>pg_hba.conf</code> 中已有的 <code>oauth</code> 行失效，新设置要等到该情况被修复后才会执行。\n     </p>", "text": "在 OAuth 认证期间重新检查 oauth_validator_libraries（Zsolt Parragi）§ § 这一新增检查确保对 oauth_validator_libraries 的更改立即生效。此前，如果此类更改使 pg_hba.conf 中已有的 oauth 行失效，新设置要等到该情况被修复后才会执行。", "title": "在 OAuth 认证期间重新检查 oauth_validator_libraries", "commits": ["8e54a4145", "dcf112bd4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "568755a042acc7a6cd275376d9ec20aa0d193434dcd1a7c6f2f433f5a85a8a6a", "section_path": ["变更"], "commit_groups": [["8e54a4145", "c38de3ae6", "e352ac8c5"], ["dcf112bd4"]], "identity_text": "Recheck oauth_validator_libraries during OAuth authentication (Zsolt Parragi) This addition ensures that changes to oauth_validator_libraries are enforced immediately. Previously, if such a change made an existing oauth line in pg_hba.conf invalid, the new setting was not enforced until that situation was fixed.", "commit_aliases": ["8e54a4145", "c38de3ae6", "dcf112bd4", "e352ac8c5"], "source_commits": ["8e54a4145", "dcf112bd4"], "source_entry_id": "18.7/changes/132", "db_id": "1be200f86a6be9f39cede317637e63a6", "patch_ids": ["b115849feea6ecddb6a0f09fa570d129", "d87385091bf2c49ce6c66409b18a1f1e"], "statement_hash": "731a06420baaf61b473d9ad2e8b7799c1a931febdf278646399ec2bc91e7f2d7", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-97100f5e3aecd4d9", "cves": [], "html": "<p>\n      修复 <code>oauth_validator_libraries</code> 被设置为仅包含空白的字符串时 postmaster 崩溃的问题（Grigorev Jurij，Zsolt Parragi）<a href=\"https://postgr.es/c/99c3f5e20\">§</a> <a href=\"https://postgr.es/c/459ef520d\">§</a> <a href=\"https://postgr.es/c/af28fc13e\">§</a> <a href=\"https://postgr.es/c/e83298599\">§</a>\n</p>", "text": "修复 oauth_validator_libraries 被设置为仅包含空白的字符串时 postmaster 崩溃的问题（Grigorev Jurij，Zsolt Parragi）§ § § §", "title": "修复 oauth_validator_libraries 被设置为仅包含空白的字符串时 postmaster 崩溃的问题", "commits": ["459ef520d", "99c3f5e20", "af28fc13e", "e83298599"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ee7d29ec33a29458710b396b2ed5dcf48e240b8b8edd55b59ab125343b0dec1b", "section_path": ["变更"], "commit_groups": [["08f24a115", "af28fc13e", "f1eafd911"], ["1d094904b", "99c3f5e20", "bca67e5a3"], ["459ef520d"], ["8cb6b83e1", "9f7d6167f", "e83298599"]], "identity_text": "Fix postmaster crash when oauth_validator_libraries is set to a string containing only whitespace (Grigorev Jurij, Zsolt Parragi)", "commit_aliases": ["08f24a115", "1d094904b", "459ef520d", "8cb6b83e1", "99c3f5e20", "9f7d6167f", "af28fc13e", "bca67e5a3", "e83298599", "f1eafd911"], "source_commits": ["459ef520d", "99c3f5e20", "af28fc13e", "e83298599"], "source_entry_id": "18.7/changes/133", "db_id": "01562ff9e6016de0f28f1a6cfdf41ea5", "patch_ids": ["39f0510a368812390c3bc4bf6acfccbe", "98d6ab0e4c4129072ec9ee7df3c569bf", "b95dab2ce23324c56566035ad05ea2d5", "ed354241331a18511243b33d5ad4d2fc"], "statement_hash": "4b72ec0eb372f0242b77ab2cbc885cd733bdb04bb9ca7984021ffcd6f20be017", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-94b3d33287f4a2cd", "cves": [], "html": "<p>\n      修复 B-树索引中多层页面删除的 WAL 记录（Peter Geoghegan）<a href=\"https://postgr.es/c/e88259b67\">§</a>\n</p><p>\n      WAL 日志可能包含待删除页面的过时兄弟链接值，在启用 <code>wal_consistency_checking</code> 时引发备库报错。只要没有崩溃，删除动作完成后很快就会修复损坏，因此此错误通常只影响报错信息。\n     </p>", "text": "修复 B-树索引中多层页面删除的 WAL 记录（Peter Geoghegan）§ WAL 日志可能包含待删除页面的过时兄弟链接值，在启用 wal_consistency_checking 时引发备库报错。只要没有崩溃，删除动作完成后很快就会修复损坏，因此此错误通常只影响报错信息。", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "commits": ["e88259b67"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "255a53452ef0e209a6633c3343b0f14cf087a332c4b48147d4a1d327506766d8", "section_path": ["变更"], "commit_groups": [["3651d7c58", "4bd8a9613", "8d5e89328", "d42c5457e", "e88259b67", "eea2ff293", "eed7bffad"]], "identity_text": "Fix WAL-logging of multi-level page deletion in btree indexes (Peter Geoghegan) The WAL log could contain stale values for a to-be-deleted page's sibling links, resulting in complaints on standby servers if wal_consistency_checking is enabled. Barring a crash, the damage would shortly be repaired by completion of the deletion action, so that this error was usually only cosmetic.", "commit_aliases": ["3651d7c58", "4bd8a9613", "8d5e89328", "d42c5457e", "e88259b67", "eea2ff293", "eed7bffad"], "source_commits": ["e88259b67"], "source_entry_id": "18.7/changes/134", "db_id": "bfe8c16485014aa821cd70f40c164e44", "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8", "relations": [{"rule": 2, "type": "equivalent", "target": "b24ca7921436135860ce9b6de769dbff", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}}, {"rule": 2, "type": "equivalent", "target": "c14db1fa3d0fad619dae4851469fa753", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}}, {"rule": 2, "type": "equivalent", "target": "decb29206ded7d4c1f1ae7744dfdfcf7", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}}, {"rule": 2, "type": "equivalent", "target": "e3d5ae87c37b144b46ee3cdb2c852f52", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e3d5ae87c37b144b46ee3cdb2c852f52", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}, "url": "/docs/compare/?release=17.12#17.12-ecaaa32a57782e9a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c14db1fa3d0fad619dae4851469fa753", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}, "url": "/docs/compare/?release=16.16#16.16-2b3deb917def1c82", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "b24ca7921436135860ce9b6de769dbff", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}, "url": "/docs/compare/?release=15.20#15.20-f4bfd6c5b3aed683", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "decb29206ded7d4c1f1ae7744dfdfcf7", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}, "url": "/docs/compare/?release=14.25#14.25-3d75f89cea59b824", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-469bad220978adf4", "cves": [], "html": "<p>\n      避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查（Greg Burd，Thomas Munro）<a href=\"https://postgr.es/c/7ac2f74d1\">§</a>\n</p><p>\n      未锁定的缓冲区可能被其他进程并发修改，导致为一致性检查捕获的映像自身不一致，从而使备库报出<span>“<span>incorrect resource manager data checksum in record</span>”</span>错误。\n     </p>", "text": "避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查（Greg Burd，Thomas Munro）§ 未锁定的缓冲区可能被其他进程并发修改，导致为一致性检查捕获的映像自身不一致，从而使备库报出“incorrect resource manager data checksum in record”错误。", "title": "避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查", "commits": ["7ac2f74d1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d90446bccec4308d0547a4b891357e9b1f41fa7a512f6402a243be1bbd5609a4", "section_path": ["变更"], "commit_groups": [["27caf4ca5", "4232bf96e", "7ac2f74d1", "fd1f61e43"]], "identity_text": "Avoid overly-strong WAL consistency check on buffers that are only pinned not locked (Greg Burd, Thomas Munro) A buffer that is not locked could be concurrently changed by other processes, so that the image captured for consistency checking is not self-consistent, leading to incorrect resource manager data checksum in record failures on standbys.", "commit_aliases": ["27caf4ca5", "4232bf96e", "7ac2f74d1", "fd1f61e43"], "source_commits": ["7ac2f74d1"], "source_entry_id": "18.7/changes/135", "db_id": "6f185383f22860b50b4d0f8213d3ef48", "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3", "relations": [{"rule": 2, "type": "equivalent", "target": "a12eab31a78afc5c6b9dd68aef44498d", "evidence": {"same_day": true, "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a12eab31a78afc5c6b9dd68aef44498d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查", "evidence": {"same_day": true, "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3"}, "url": "/docs/compare/?release=17.12#17.12-8aef86a94b0578f0", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-31867bfbfd429311", "cves": [], "html": "<p>\n      确保检查点期间以原子方式写出待处理预备事务的状态文件（Shihao Zhong）<a href=\"https://postgr.es/c/606f3db55\">§</a>\n</p><p>\n      此前，崩溃可能留下无效的状态文件，导致后续数据库启动失败。\n     </p>", "text": "确保检查点期间以原子方式写出待处理预备事务的状态文件（Shihao Zhong）§ 此前，崩溃可能留下无效的状态文件，导致后续数据库启动失败。", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "commits": ["606f3db55"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "2cb27e1feacc64b10d95c43f81c240b4525054f09fb9522d4e769f6e95faa1ae", "section_path": ["变更"], "commit_groups": [["11c87ab37", "15f57b683", "2c4a3b3b2", "4b9009105", "606f3db55", "a5ccf2080", "b15c55163"]], "identity_text": "Ensure that state files for pending prepared transactions are written out atomically during a checkpoint (Shihao Zhong) Previously it was possible for a crash to leave an invalid state file behind, causing subsequent database startup to fail.", "commit_aliases": ["11c87ab37", "15f57b683", "2c4a3b3b2", "4b9009105", "606f3db55", "a5ccf2080", "b15c55163"], "source_commits": ["606f3db55"], "source_entry_id": "18.7/changes/136", "db_id": "9492e8e4ecab255b448741841979aea8", "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf", "relations": [{"rule": 2, "type": "equivalent", "target": "1eee03f6b022f4a93e294834d87b9bc2", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}, {"rule": 2, "type": "equivalent", "target": "6043ee169354cb983f0e79ad8ec037da", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}, {"rule": 2, "type": "equivalent", "target": "7f7e7c5d9d1791b6a2712288b5f18354", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}, {"rule": 2, "type": "equivalent", "target": "81ad14b515eaf10678eaa2d1419892fc", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f7e7c5d9d1791b6a2712288b5f18354", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}, "url": "/docs/compare/?release=17.12#17.12-54e651a08d06ed50", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "6043ee169354cb983f0e79ad8ec037da", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}, "url": "/docs/compare/?release=16.16#16.16-a55f8f0e414b990f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "1eee03f6b022f4a93e294834d87b9bc2", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}, "url": "/docs/compare/?release=15.20#15.20-cc62da4afdbbf25b", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "81ad14b515eaf10678eaa2d1419892fc", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}, "url": "/docs/compare/?release=14.25#14.25-783add3f41ea7bb4", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-dfc1275988c096a3", "cves": [], "html": "<p>\n      不在中止预备事务的中途启动检查点（Shihao Zhong）<a href=\"https://postgr.es/c/3a2fc7662\">§</a>\n</p><p>\n      崩溃可能使该事务随后被提交，导致状态不一致。\n     </p>", "text": "不在中止预备事务的中途启动检查点（Shihao Zhong）§ 崩溃可能使该事务随后被提交，导致状态不一致。", "title": "不在中止预备事务的中途启动检查点", "commits": ["3a2fc7662"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "4126f218ac06aee2d0da75a3a856b33e277837115144d7f8d29dce23c1def796", "section_path": ["变更"], "commit_groups": [["3a2fc7662", "56e831ea2", "a39ec399e", "bb4eabd6a", "cea96cdfe", "ea1b698f2", "ee189838f"]], "identity_text": "Do not start a checkpoint in the middle of aborting a prepared transaction (Shihao Zhong) A crash would allow the transaction to be committed afterwards, leading to inconsistent state.", "commit_aliases": ["3a2fc7662", "56e831ea2", "a39ec399e", "bb4eabd6a", "cea96cdfe", "ea1b698f2", "ee189838f"], "source_commits": ["3a2fc7662"], "source_entry_id": "18.7/changes/137", "db_id": "aee0ffca5c57480169a3c761be03a47e", "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96", "relations": [{"rule": 2, "type": "equivalent", "target": "04aa97641e18d0fbb5de0b11d150f593", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}}, {"rule": 2, "type": "equivalent", "target": "94d87211f6a8290b1f5067aaa67c5e79", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}}, {"rule": 2, "type": "equivalent", "target": "c1e17649de3fc28e8402ebdfb33a93d2", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}}, {"rule": 2, "type": "equivalent", "target": "d6e51df819c979013405e1c9e38536c8", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c1e17649de3fc28e8402ebdfb33a93d2", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "不在中止预备事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}, "url": "/docs/compare/?release=17.12#17.12-e51fec4a531178d6", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "04aa97641e18d0fbb5de0b11d150f593", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "不在中止预备事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}, "url": "/docs/compare/?release=16.16#16.16-e28255584771e59c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "d6e51df819c979013405e1c9e38536c8", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "不在中止预备事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}, "url": "/docs/compare/?release=15.20#15.20-3233b97c3fbd5323", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "94d87211f6a8290b1f5067aaa67c5e79", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "不在中止预备事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}, "url": "/docs/compare/?release=14.25#14.25-908e51ebe69da60e", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-ed8346a07a1d0611", "cves": [], "html": "<p>\n      不在创建多事务的中途启动检查点（Shihao Zhong）<a href=\"https://postgr.es/c/31538e165\">§</a>\n</p><p>\n      这可以避免随后发生崩溃时可能出现的数据丢失。\n     </p>", "text": "不在创建多事务的中途启动检查点（Shihao Zhong）§ 这可以避免随后发生崩溃时可能出现的数据丢失。", "title": "不在创建多事务的中途启动检查点", "commits": ["31538e165"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e2a5863afb8e6326dd237574a9cd1198da4a073f4fecbf6d70cf5506fc5ed7a9", "section_path": ["变更"], "commit_groups": [["0035e91dd", "0d0bde0b0", "31538e165", "4022edb93", "4f3121202", "67fa8cb33", "8681aef6f"]], "identity_text": "Do not start a checkpoint in the middle of creating a multixact (Shihao Zhong) This avoids possible data loss after a subsequent crash.", "commit_aliases": ["0035e91dd", "0d0bde0b0", "31538e165", "4022edb93", "4f3121202", "67fa8cb33", "8681aef6f"], "source_commits": ["31538e165"], "source_entry_id": "18.7/changes/138", "db_id": "df3f3730e307259fb2fe71d17cf01aca", "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130", "relations": [{"rule": 2, "type": "equivalent", "target": "258d3becca7a11f053fefd5f66ba5bb6", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}}, {"rule": 2, "type": "equivalent", "target": "9606e636ce3a3e6bd1fbed1a48ad1a28", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}}, {"rule": 2, "type": "equivalent", "target": "c98a29d1d4e37cb120c900873fff29da", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}}, {"rule": 2, "type": "equivalent", "target": "ff1a9c627fc4e1f3a23c7bc896207c80", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "258d3becca7a11f053fefd5f66ba5bb6", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "不在创建多事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}, "url": "/docs/compare/?release=17.12#17.12-b9a6b560c958d1ef", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ff1a9c627fc4e1f3a23c7bc896207c80", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "不在创建多事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}, "url": "/docs/compare/?release=16.16#16.16-ec4871985aa707ad", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c98a29d1d4e37cb120c900873fff29da", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "不在创建多事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}, "url": "/docs/compare/?release=15.20#15.20-023b0d916485f37c", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "9606e636ce3a3e6bd1fbed1a48ad1a28", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "不在创建多事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}, "url": "/docs/compare/?release=14.25#14.25-0eeb9a1f8821c2d6", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-161dc49eb8976f14", "cves": [], "html": "<p>\n      修复被随后中止的子事务更新过的元组可能丢失的问题（Shihao Zhong，Michael Paquier）<a href=\"https://postgr.es/c/5df84b355\">§</a>\n</p><p>\n      表重写（例如 <code>CLUSTER</code> 或 <code>VACUUM FULL</code>）可能将此类元组当作无效元组丢弃。\n     </p>", "text": "修复被随后中止的子事务更新过的元组可能丢失的问题（Shihao Zhong，Michael Paquier）§ 表重写（例如 CLUSTER 或 VACUUM FULL）可能将此类元组当作无效元组丢弃。", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "commits": ["5df84b355"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "27a6a10cd1f70bd134acf2ff310843032bc9c9d13545ea456e8835ad60a75f1d", "section_path": ["变更"], "commit_groups": [["07d1b4418", "08f0cec8f", "0b5656749", "278d2a672", "5df84b355", "928c2eeed", "e7f4463e8"]], "identity_text": "Fix possible loss of tuples updated by later-aborted subtransactions (Shihao Zhong, Michael Paquier) A table rewrite (for example, CLUSTER or VACUUM FULL) could discard such tuples as invalid.", "commit_aliases": ["07d1b4418", "08f0cec8f", "0b5656749", "278d2a672", "5df84b355", "928c2eeed", "e7f4463e8"], "source_commits": ["5df84b355"], "source_entry_id": "18.7/changes/139", "db_id": "8cda53a89b348eb332ca4337693079f2", "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1", "relations": [{"rule": 2, "type": "equivalent", "target": "0e80605a40d3133863c205b4070f487b", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}}, {"rule": 2, "type": "equivalent", "target": "458d6657ba9dc346bb84961e4debcf97", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}}, {"rule": 2, "type": "equivalent", "target": "b9a96f6ae9ddd50b9a589726c925faed", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}}, {"rule": 2, "type": "equivalent", "target": "f81029f22d252fc041cbdd0421e902ac", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "458d6657ba9dc346bb84961e4debcf97", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}, "url": "/docs/compare/?release=17.12#17.12-26d6b24c2c3187d1", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b9a96f6ae9ddd50b9a589726c925faed", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}, "url": "/docs/compare/?release=16.16#16.16-01e02c38c3612e08", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0e80605a40d3133863c205b4070f487b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}, "url": "/docs/compare/?release=15.20#15.20-5959931d265b6bb4", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f81029f22d252fc041cbdd0421e902ac", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}, "url": "/docs/compare/?release=14.25#14.25-ac0573f11c9011f2", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-e6bce66abd099e67", "cves": [], "html": "<p>\n      将元组存入元组表槽时不丢失其 <code>tid</code>（Virender Singla，Greg Burd）<a href=\"https://postgr.es/c/badcb62d6\">§</a>\n</p><p>\n      某些代码路径忽略了复制 <code>tid</code> 字段，在特殊情况下可能导致数据损坏或查询结果错误。\n     </p>", "text": "将元组存入元组表槽时不丢失其 tid（Virender Singla，Greg Burd）§ 某些代码路径忽略了复制 tid 字段，在特殊情况下可能导致数据损坏或查询结果错误。", "title": "将元组存入元组表槽时不丢失其 tid", "commits": ["badcb62d6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7f1f3a06ab88c8b5d3c72374d99c1ebd94a2179cc0c06dc10a356f939d6ebc0c", "section_path": ["变更"], "commit_groups": [["4e9a5dc1f", "7e594c30f", "8a8ee213d", "a3d1ac495", "badcb62d6", "c5c36ae6f", "ea11f9464"]], "identity_text": "Do not lose tuple's tid when storing it into a tuple table slot (Virender Singla, Greg Burd) Some code paths neglected to copy the tid field, which could lead to data corruption or wrong query answers in unusual cases.", "commit_aliases": ["4e9a5dc1f", "7e594c30f", "8a8ee213d", "a3d1ac495", "badcb62d6", "c5c36ae6f", "ea11f9464"], "source_commits": ["badcb62d6"], "source_entry_id": "18.7/changes/140", "db_id": "81411d80183f3e54f118c59e45492766", "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db", "relations": [{"rule": 2, "type": "equivalent", "target": "121cb5df9e5c8954f8c8845caf89dc8e", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}}, {"rule": 2, "type": "equivalent", "target": "1e68f0d16745401814c3b483a33f66c8", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}}, {"rule": 2, "type": "equivalent", "target": "797820f13b0f75835eaf0ed2ebcf01d8", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}}, {"rule": 2, "type": "equivalent", "target": "8f3aa86e3b34206c6e5fe11ace70af89", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8f3aa86e3b34206c6e5fe11ace70af89", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "将元组存入元组表槽时不丢失其 tid", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}, "url": "/docs/compare/?release=17.12#17.12-c64a4b2fee0a0366", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "797820f13b0f75835eaf0ed2ebcf01d8", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "将元组存入元组表槽时不丢失其 tid", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}, "url": "/docs/compare/?release=16.16#16.16-f751b6fa15cf5937", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "121cb5df9e5c8954f8c8845caf89dc8e", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "将元组存入元组表槽时不丢失其 tid", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}, "url": "/docs/compare/?release=15.20#15.20-457848ea8261eb0e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "1e68f0d16745401814c3b483a33f66c8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "将元组存入元组表槽时不丢失其 tid", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}, "url": "/docs/compare/?release=14.25#14.25-f681a3cc4bf77c95", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b6e4815c11323dc8", "cves": [], "html": "<p>\n      避免将分区索引标记为有效时的竞态条件（Andrey Borodin，Kirill Reshke）<a href=\"https://postgr.es/c/1735ad557\">§</a>\n</p><p>\n      例如，这可能使并行 <span>pg_restore</span> 因过早尝试重建外键约束而失败。\n     </p>", "text": "避免将分区索引标记为有效时的竞态条件（Andrey Borodin，Kirill Reshke）§ 例如，这可能使并行 pg_restore 因过早尝试重建外键约束而失败。", "title": "避免将分区索引标记为有效时的竞态条件", "commits": ["1735ad557"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "cf215a78690564b4216956d6fac20fec62db18ac8caf4920a9adc0aff65967bf", "section_path": ["变更"], "commit_groups": [["1735ad557", "2ebd68497", "31fa77982", "3bd5a4755", "57a2e2cf5", "9ab37b6e7", "bd8070126"]], "identity_text": "Avoid race condition in marking a partitioned index valid (Andrey Borodin, Kirill Reshke) This could, for example, cause parallel pg_restore to fail due to trying to recreate foreign key constraints too soon.", "commit_aliases": ["1735ad557", "2ebd68497", "31fa77982", "3bd5a4755", "57a2e2cf5", "9ab37b6e7", "bd8070126"], "source_commits": ["1735ad557"], "source_entry_id": "18.7/changes/141", "db_id": "15f9f1639250c12435614bd0e71fcc81", "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115", "relations": [{"rule": 2, "type": "equivalent", "target": "29b54f720d08373eb8df5f3aef7b8ad3", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}, {"rule": 2, "type": "equivalent", "target": "34349371eec480bd799d7d839487bdcf", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}, {"rule": 2, "type": "equivalent", "target": "be028deda5217a4c39b6b233dd978e85", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}, {"rule": 2, "type": "equivalent", "target": "db3c5f42142f27c67b47c475c81a7cd0", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "be028deda5217a4c39b6b233dd978e85", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免将分区索引标记为有效时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}, "url": "/docs/compare/?release=17.12#17.12-7186328979079f72", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "29b54f720d08373eb8df5f3aef7b8ad3", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免将分区索引标记为有效时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}, "url": "/docs/compare/?release=16.16#16.16-828bfb7807ab859d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "db3c5f42142f27c67b47c475c81a7cd0", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免将分区索引标记为有效时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}, "url": "/docs/compare/?release=15.20#15.20-b23c5f0a69e3e4cc", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "34349371eec480bd799d7d839487bdcf", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免将分区索引标记为有效时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}, "url": "/docs/compare/?release=14.25#14.25-7d4c5e5e471a9758", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-7dada90ad7eea0d0", "cves": [], "html": "<p>\n      修复多事务 ID 中对已中止的更新事务的检查（Chee Wooson）<a href=\"https://postgr.es/c/94d53e9ec\">§</a>\n</p><p>\n      这一编码错误的已知后果包括意外的<span>“<span>new multixact has more than one updating member</span>”</span>错误，以及错误地无法更新行。\n     </p>", "text": "修复多事务 ID 中对已中止的更新事务的检查（Chee Wooson）§ 这一编码错误的已知后果包括意外的“new multixact has more than one updating member”错误，以及错误地无法更新行。", "title": "修复多事务 ID 中对已中止的更新事务的检查", "commits": ["94d53e9ec"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "97bccebf9de88ef8f3f7e8d5b2ae600040a7a9e7a68526ced46f66b022b875ea", "section_path": ["变更"], "commit_groups": [["068c9aaec", "623cdfa64", "7cafc4abb", "94d53e9ec", "ad56a7f09", "f51a03db3", "ff9eacc56"]], "identity_text": "Fix checks for an aborted updating transaction in multixids (Chee Wooson) Known consequences of this coding error include unexpected new multixact has more than one updating member errors, as well as incorrect failures to update a row.", "commit_aliases": ["068c9aaec", "623cdfa64", "7cafc4abb", "94d53e9ec", "ad56a7f09", "f51a03db3", "ff9eacc56"], "source_commits": ["94d53e9ec"], "source_entry_id": "18.7/changes/142", "db_id": "d6ceb776f9cc41eb13cfffb453645404", "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb", "relations": [{"rule": 2, "type": "equivalent", "target": "248e8c2ed74c2c610d099572dc6955fa", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}}, {"rule": 2, "type": "equivalent", "target": "48b0b26a1106572e0731539a8839137b", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}}, {"rule": 2, "type": "equivalent", "target": "607f4b153aa385b098da3c66195a052b", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}}, {"rule": 2, "type": "equivalent", "target": "bb85c2e6e6d069c3db8eb8f6b529d39c", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bb85c2e6e6d069c3db8eb8f6b529d39c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复多事务 ID 中对已中止的更新事务的检查", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}, "url": "/docs/compare/?release=17.12#17.12-2e154f8eabee9d6b", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "607f4b153aa385b098da3c66195a052b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复多事务 ID 中对已中止的更新事务的检查", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}, "url": "/docs/compare/?release=16.16#16.16-c7a9eb598e204827", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "248e8c2ed74c2c610d099572dc6955fa", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复多事务 ID 中对已中止的更新事务的检查", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}, "url": "/docs/compare/?release=15.20#15.20-ff7920e81ac295a8", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "48b0b26a1106572e0731539a8839137b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复多事务 ID 中对已中止的更新事务的检查", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}, "url": "/docs/compare/?release=14.25#14.25-5dc960b42740c6b0", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-213daacffc21c454", "cves": [], "html": "<p>\n      在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项（Peter Geoghegan，Amit Kapila）<a href=\"https://postgr.es/c/a85b5523e\">§</a>\n</p>", "text": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项（Peter Geoghegan，Amit Kapila）§", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "commits": ["a85b5523e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "18c127a18e961df9c5217a96de6028c9a5bcdfae7d48f14d7bfce9845ea61580", "section_path": ["变更"], "commit_groups": [["1495e2cba", "173cf85a0", "22be34ac1", "99ae176e4", "a85b5523e", "ab2233743", "c4117066b"]], "identity_text": "A hash index scan that starts during a bucket split could miss some index entries (Peter Geoghegan, Amit Kapila)", "commit_aliases": ["1495e2cba", "173cf85a0", "22be34ac1", "99ae176e4", "a85b5523e", "ab2233743", "c4117066b"], "source_commits": ["a85b5523e"], "source_entry_id": "18.7/changes/143", "db_id": "76ced90d4e9c062655129eef8830ac9f", "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c", "relations": [{"rule": 2, "type": "equivalent", "target": "05d85187f4fadb8d08b53ec7f4c5ab44", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}}, {"rule": 2, "type": "equivalent", "target": "a0e9980d299454fe3706362a7ad554d7", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}}, {"rule": 2, "type": "equivalent", "target": "a8e022555cba397416ec108d3f2f4be1", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}}, {"rule": 2, "type": "equivalent", "target": "adc78fbe18cb883cf00c92ce79da9241", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "05d85187f4fadb8d08b53ec7f4c5ab44", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}, "url": "/docs/compare/?release=17.12#17.12-4d5c7cf4b9024476", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a8e022555cba397416ec108d3f2f4be1", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}, "url": "/docs/compare/?release=16.16#16.16-2296877f6f877d0a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "adc78fbe18cb883cf00c92ce79da9241", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}, "url": "/docs/compare/?release=15.20#15.20-5a3342b99bf9eb30", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "a0e9980d299454fe3706362a7ad554d7", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}, "url": "/docs/compare/?release=14.25#14.25-55b595c6b48e99f6", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-2e36c692c0648c2f", "cves": [], "html": "<p>\n      修复 TID 范围扫描中不正确的位置跟踪（Ewan Young，David Rowley）<a href=\"https://postgr.es/c/39a0db101\">§</a>\n</p><p>\n      先向后提取再向前提取的操作序列，可能无法一直扫描到范围末尾。\n     </p>", "text": "修复 TID 范围扫描中不正确的位置跟踪（Ewan Young，David Rowley）§ 先向后提取再向前提取的操作序列，可能无法一直扫描到范围末尾。", "title": "修复 TID 范围扫描中不正确的位置跟踪", "commits": ["39a0db101"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7c63f552d12d502796422517fadbb05f24294915746cbf264411330dcda656d0", "section_path": ["变更"], "commit_groups": [["25ebf0097", "374522aa6", "39a0db101", "6ceac2e12", "ad230d588", "c84dd31bd", "cd7d3e129"]], "identity_text": "Fix incorrect position tracking in TID Range Scans (Ewan Young, David Rowley) Sequences involving fetching backwards and then forwards again could fail to scan all the way to the end of the range.", "commit_aliases": ["25ebf0097", "374522aa6", "39a0db101", "6ceac2e12", "ad230d588", "c84dd31bd", "cd7d3e129"], "source_commits": ["39a0db101"], "source_entry_id": "18.7/changes/144", "db_id": "15bd84eb3ae3bc46391fdbe19cc9f3f5", "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1", "relations": [{"rule": 2, "type": "equivalent", "target": "89bc4307584d99486208508ace830c01", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}}, {"rule": 2, "type": "equivalent", "target": "ab697efbfcde63fbfc4c9c26c3db4852", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}}, {"rule": 2, "type": "equivalent", "target": "bf4e81c7c913459306182dbe80c88b0b", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}}, {"rule": 2, "type": "equivalent", "target": "bf9061af373396b7dd09cc14e7769f99", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "89bc4307584d99486208508ace830c01", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 TID 范围扫描中不正确的位置跟踪", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}, "url": "/docs/compare/?release=17.12#17.12-0d5ec3fc0f1e1e86", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "bf9061af373396b7dd09cc14e7769f99", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 TID 范围扫描中不正确的位置跟踪", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}, "url": "/docs/compare/?release=16.16#16.16-47114fd05a16118f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "ab697efbfcde63fbfc4c9c26c3db4852", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 TID 范围扫描中不正确的位置跟踪", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}, "url": "/docs/compare/?release=15.20#15.20-abe8b1b3c5e3b966", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "bf4e81c7c913459306182dbe80c88b0b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 TID 范围扫描中不正确的位置跟踪", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}, "url": "/docs/compare/?release=14.25#14.25-9650aba25bcc2af2", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-a26102d487134bfc", "cves": [], "html": "<p>\n      恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定（Melanie Plageman）<a href=\"https://postgr.es/c/9733eb9e8\">§</a>\n</p><p>\n      这可以避免不必要的重放延迟和备库查询取消。\n     </p>", "text": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定（Melanie Plageman）§ 这可以避免不必要的重放延迟和备库查询取消。", "title": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定", "commits": ["9733eb9e8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "652cd83abf9a685a17b9cc5d62271e44b35100441f15499dbb286a7f48d60463", "section_path": ["变更"], "commit_groups": [["07c73f450", "1139b7eff", "5897bd1d8", "9733eb9e8"]], "identity_text": "Avoid unnecessary buffer locking when recovery replays freeze-only and VM-only WAL records (Melanie Plageman) This prevents unnecessary replay delays and cancellations of standby queries.", "commit_aliases": ["07c73f450", "1139b7eff", "5897bd1d8", "9733eb9e8"], "source_commits": ["9733eb9e8"], "source_entry_id": "18.7/changes/145", "db_id": "991566466185efe962a9f96debfe5ede", "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818", "relations": [{"rule": 2, "type": "equivalent", "target": "b7af5efc8b792f9e7323cd579478df18", "evidence": {"same_day": true, "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b7af5efc8b792f9e7323cd579478df18", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定", "evidence": {"same_day": true, "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818"}, "url": "/docs/compare/?release=17.12#17.12-8878daaaf7946efa", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-1263f20e0d4082d3", "cves": [], "html": "<p>\n      避免在基础备份中读取 <code>pg_control</code> 文件可能发生撕裂的副本（David Steele）<a href=\"https://postgr.es/c/8cddd5fc8\">§</a> <a href=\"https://postgr.es/c/4f857f399\">§</a>\n</p><p>\n      对该文件的并发写入可能导致备份包含不一致的数据。\n     </p>", "text": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本（David Steele）§ § 对该文件的并发写入可能导致备份包含不一致的数据。", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "commits": ["4f857f399", "8cddd5fc8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "61fcc4694e3c0c315b66dcd8594fc3ac3e9b578ee0e3a5b547bdf7564752a3cc", "section_path": ["变更"], "commit_groups": [["0cfd56254", "d2c1e18de"], ["316a87065", "4a92c8c29", "4aeefb26d", "5dc3cfbb9", "8cddd5fc8", "e2c633b43"], ["38ecdfdc1", "4b87b605b", "4f857f399", "59bc83d41", "9c299e292", "c97931c16"]], "identity_text": "Avoid reading a potentially-torn copy of the pg_control file for base backups (David Steele) A concurrent write to the file could result in including inconsistent data in the backup.", "commit_aliases": ["0cfd56254", "316a87065", "38ecdfdc1", "4a92c8c29", "4aeefb26d", "4b87b605b", "4f857f399", "59bc83d41", "5dc3cfbb9", "8cddd5fc8", "9c299e292", "c97931c16", "d2c1e18de", "e2c633b43"], "source_commits": ["0cfd56254", "4f857f399", "8cddd5fc8"], "source_entry_id": "18.7/changes/146", "db_id": "0b6b28b3d1eafa92c4cd25bdb394968d", "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563", "relations": [{"rule": 2, "type": "equivalent", "target": "2ff4f11e966f3a1076ce22418e804e3f", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}}, {"rule": 2, "type": "equivalent", "target": "3c627d49f8238e9507e3aeeb2412bd2f", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}}, {"rule": 2, "type": "equivalent", "target": "8d94222f868ff6962da0522015981b82", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3c627d49f8238e9507e3aeeb2412bd2f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}, "url": "/docs/compare/?release=17.12#17.12-91e319f43d50782b", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "2ff4f11e966f3a1076ce22418e804e3f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}, "url": "/docs/compare/?release=16.16#16.16-ac6f39d418af5b3a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "8d94222f868ff6962da0522015981b82", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}, "url": "/docs/compare/?release=15.20#15.20-bb39bb4894bf910a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-a9844b691748d75f", "cves": [], "html": "<p>\n      防止在基础备份中错误地复制非关系文件（David Steele）<a href=\"https://postgr.es/c/b09b26ac8\">§</a>\n</p><p>\n<code>postgresql.auto.conf</code> 等经常通过原子重命名替换的文件，在备份与这种替换并发进行时，可能在备份中被截断或填充零。\n     </p>", "text": "防止在基础备份中错误地复制非关系文件（David Steele）§ postgresql.auto.conf 等经常通过原子重命名替换的文件，在备份与这种替换并发进行时，可能在备份中被截断或填充零。", "title": "防止在基础备份中错误地复制非关系文件", "commits": ["b09b26ac8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "8ea854606e0b81fc901a171e1e279d2dd51397d7aae6c74e064135bb26941de0", "section_path": ["变更"], "commit_groups": [["1fbe31b9d", "1fff28b14", "2bfed4d18", "51d7bf5ed", "61aec3f3b", "b09b26ac8"]], "identity_text": "Prevent making incorrect copies of non-relation files in base backups (David Steele) Files that routinely get replaced by atomic renames, such as postgresql.auto.conf, could be truncated or zero-padded in a backup made concurrently with such a replacement.", "commit_aliases": ["1fbe31b9d", "1fff28b14", "2bfed4d18", "51d7bf5ed", "61aec3f3b", "b09b26ac8"], "source_commits": ["b09b26ac8"], "source_entry_id": "18.7/changes/147", "db_id": "2e80fd7f96593173e73357157aba6d22", "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54", "relations": [{"rule": 2, "type": "equivalent", "target": "14e52ba45188583ae39a537f6ff8114d", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}}, {"rule": 2, "type": "equivalent", "target": "695dd4cf0b3388ff51c1b97a72766c31", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}}, {"rule": 2, "type": "equivalent", "target": "7f11f2409fc9dcf5206da2380f4934bf", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f11f2409fc9dcf5206da2380f4934bf", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "防止在基础备份中错误地复制非关系文件", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}, "url": "/docs/compare/?release=17.12#17.12-ba3d47554605f362", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "695dd4cf0b3388ff51c1b97a72766c31", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "防止在基础备份中错误地复制非关系文件", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}, "url": "/docs/compare/?release=16.16#16.16-fb70cda7eb83d38c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "14e52ba45188583ae39a537f6ff8114d", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "防止在基础备份中错误地复制非关系文件", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}, "url": "/docs/compare/?release=15.20#15.20-1b9e528243f8803e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-5e7edcaacf8983b1", "cves": [], "html": "<p>\n      确保基础备份报告仅影响单个页面的校验和失败（Zsolt Parragi）<a href=\"https://postgr.es/c/39faf4de2\">§</a>\n</p><p>\n      由于逻辑错误，只有同一文件中不止一个页面损坏时，<code>pg_stat_database</code> 才会累计校验和失败。\n     </p>", "text": "确保基础备份报告仅影响单个页面的校验和失败（Zsolt Parragi）§ 由于逻辑错误，只有同一文件中不止一个页面损坏时，pg_stat_database 才会累计校验和失败。", "title": "确保基础备份报告仅影响单个页面的校验和失败", "commits": ["39faf4de2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f179229d1cad87cd1dffa5e264161f6fad32c117812ed76e34adb37961781526", "section_path": ["变更"], "commit_groups": [["19d900358", "340f2ac62", "39faf4de2", "45c88d621", "7f92983dc", "db0f6dd80", "f555ada9e"]], "identity_text": "Ensure that base backups report checksum failures affecting single pages (Zsolt Parragi) Due to a logic error, checksum failures were counted in pg_stat_database only when more than one page in the same file was corrupt.", "commit_aliases": ["19d900358", "340f2ac62", "39faf4de2", "45c88d621", "7f92983dc", "db0f6dd80", "f555ada9e"], "source_commits": ["39faf4de2"], "source_entry_id": "18.7/changes/148", "db_id": "f3fd4d5dbd9677dcd03f1d056785dbda", "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b", "relations": [{"rule": 2, "type": "equivalent", "target": "0bec4e02ba418b3895ccb4673c93abb0", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}}, {"rule": 2, "type": "equivalent", "target": "0c4ab0db92848111b30c8aca693b4659", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}}, {"rule": 2, "type": "equivalent", "target": "6f09b07ce480f9dc8c41da8da532c208", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}}, {"rule": 2, "type": "equivalent", "target": "924044c08c314c992b895bc8045345f0", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "924044c08c314c992b895bc8045345f0", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保基础备份报告仅影响单个页面的校验和失败", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}, "url": "/docs/compare/?release=17.12#17.12-48553fa717d2bdf5", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "0bec4e02ba418b3895ccb4673c93abb0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保基础备份报告仅影响单个页面的校验和失败", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}, "url": "/docs/compare/?release=16.16#16.16-5a6ec24092aeea38", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "0c4ab0db92848111b30c8aca693b4659", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保基础备份报告仅影响单个页面的校验和失败", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}, "url": "/docs/compare/?release=15.20#15.20-1559df9a114e5db5", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "6f09b07ce480f9dc8c41da8da532c208", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "确保基础备份报告仅影响单个页面的校验和失败", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}, "url": "/docs/compare/?release=14.25#14.25-2c32e831481462a3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-046fc4b23bbd7ce3", "cves": [], "html": "<p>\n      修复堆截断后增量备份中的过时可见性映射（Ke，Fujii Masao，Shihao Zhong）<a href=\"https://postgr.es/c/41b4b8e8b\">§</a>\n</p><p>\n      当数据校验和与 wal_log_hints 均被禁用时，在 <code>VACUUM</code> 截断表之后取得的增量备份，可能恢复过时的可见性映射位，导致数据损坏。\n     </p><p>\n      此修复不会更正已有的 WAL 汇总，因此更新后取得的增量备份仍可能受到影响。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。\n     </p>", "text": "修复堆截断后增量备份中的过时可见性映射（Ke，Fujii Masao，Shihao Zhong）§ 当数据校验和与 wal_log_hints 均被禁用时，在 VACUUM 截断表之后取得的增量备份，可能恢复过时的可见性映射位，导致数据损坏。 此修复不会更正已有的 WAL 汇总，因此更新后取得的增量备份仍可能受到影响。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。", "title": "修复堆截断后增量备份中的过时可见性映射", "commits": ["41b4b8e8b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "5849583801eabb2837e2208e0d8ea1b5bd2540822cb396974a8b70a2cbc12458", "section_path": ["变更"], "commit_groups": [["0733c7219", "41b4b8e8b", "b5545d3f5", "dde54ecde"]], "identity_text": "Fix stale visibility maps in incremental backups after heap truncation (Ke, Fujii Masao, Shihao Zhong) An incremental backup taken after VACUUM truncates a table can restore stale visibility map bits when both data checksums and wal_log_hints are disabled, leading to data corruption. This fix does not correct existing WAL summaries, therefore incremental backups taken after updating can still be affected. It's recommended that users of incremental backups take a new full backup after updating and use it as the basis for subsequent incremental backups.", "commit_aliases": ["0733c7219", "41b4b8e8b", "b5545d3f5", "dde54ecde"], "source_commits": ["41b4b8e8b"], "source_entry_id": "18.7/changes/149", "db_id": "148cfb8e5266586c1a3bfcf7abc29e47", "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074", "relations": [{"rule": 2, "type": "equivalent", "target": "55251aeef18735e9eed582dc6fa3a74a", "evidence": {"same_day": true, "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "55251aeef18735e9eed582dc6fa3a74a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复堆截断后增量备份中的过时可见性映射", "evidence": {"same_day": true, "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074"}, "url": "/docs/compare/?release=17.12#17.12-874cf1929085a45a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-d6c395d6da9031c9", "cves": [], "html": "<p>\n      拒绝以历史已发生分叉的备份为基础的增量备份（Sai Pranav，Fujii Masao）<a href=\"https://postgr.es/c/2afbad0ce\">§</a>\n</p><p>\n      故障切换后，增量备份可能接受一个 WAL 范围超过新主库离开旧时间线时切换点的先前备份。合并这些备份可能保留已废弃历史中的页面，产生损坏的备份。\n     </p>", "text": "拒绝以历史已发生分叉的备份为基础的增量备份（Sai Pranav，Fujii Masao）§ 故障切换后，增量备份可能接受一个 WAL 范围超过新主库离开旧时间线时切换点的先前备份。合并这些备份可能保留已废弃历史中的页面，产生损坏的备份。", "title": "拒绝以历史已发生分叉的备份为基础的增量备份", "commits": ["2afbad0ce"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6bd526f76d3c071e17d6444ea5ea54bb8e45c4b607e919a897bd9023de8e56ee", "section_path": ["变更"], "commit_groups": [["04ea11d0e", "2afbad0ce", "316861101", "ecb43083f"]], "identity_text": "Reject incremental backups based on a backup from a divergent history (Sai Pranav, Fujii Masao) After a failover, an incremental backup could accept a prior backup whose WAL range extends beyond the point where the new primary left the old timeline. Combining these backups could retain pages from the abandoned history, producing a corrupt backup.", "commit_aliases": ["04ea11d0e", "2afbad0ce", "316861101", "ecb43083f"], "source_commits": ["2afbad0ce"], "source_entry_id": "18.7/changes/150", "db_id": "aa336c6cef11f10b1ebf3e7a5c4f3f2f", "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d", "relations": [{"rule": 2, "type": "equivalent", "target": "bedcfe0ee644196ddbffb4102aabb192", "evidence": {"same_day": true, "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bedcfe0ee644196ddbffb4102aabb192", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "拒绝以历史已发生分叉的备份为基础的增量备份", "evidence": {"same_day": true, "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d"}, "url": "/docs/compare/?release=17.12#17.12-da17c95b637cc729", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-3f474980f5252e3c", "cves": [], "html": "<p>\n      确保增量备份按 LSN 顺序合并 WAL 汇总（Ke，Fujii Masao）<a href=\"https://postgr.es/c/9e20db542\">§</a>\n</p><p>\n      此错误可能使合并后的备份包含过时数据。\n     </p>", "text": "确保增量备份按 LSN 顺序合并 WAL 汇总（Ke，Fujii Masao）§ 此错误可能使合并后的备份包含过时数据。", "title": "确保增量备份按 LSN 顺序合并 WAL 汇总", "commits": ["9e20db542"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6ee640c58dfbf64cdf846e34edf9beedc0fcb3b529bce020f2754887e3ab2c5c", "section_path": ["变更"], "commit_groups": [["2bae29d7e", "9580e29da", "9e20db542", "d903620ac"]], "identity_text": "Ensure that incremental backup merges WAL summaries in LSN order (Ke, Fujii Masao) This error could result in stale data being included in a combined backup.", "commit_aliases": ["2bae29d7e", "9580e29da", "9e20db542", "d903620ac"], "source_commits": ["9e20db542"], "source_entry_id": "18.7/changes/151", "db_id": "31b11550caf62956cd48209f2c49bd42", "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1", "relations": [{"rule": 2, "type": "equivalent", "target": "82965f03ebfebf5f37c93e85d6a0b690", "evidence": {"same_day": true, "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "82965f03ebfebf5f37c93e85d6a0b690", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保增量备份按 LSN 顺序合并 WAL 汇总", "evidence": {"same_day": true, "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1"}, "url": "/docs/compare/?release=17.12#17.12-71b82f2414b47253", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-658aa7dd773bd094", "cves": [], "html": "<p>\n      修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题（Ayush Tiwari）<a href=\"https://postgr.es/c/5787f8785\">§</a>\n</p><p>\n      此错误可能使合并后的备份包含过时数据。\n     </p>", "text": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题（Ayush Tiwari）§ 此错误可能使合并后的备份包含过时数据。", "title": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题", "commits": ["5787f8785"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "dbe19a8c11f100f866a01fbb45a5e7b139b65c567023a309d04aa7c6a2656438", "section_path": ["变更"], "commit_groups": [["5787f8785", "ec756e591", "ed89d84ed", "f549ecd26"]], "identity_text": "Fix erroneous edge-case decisions about when to include WAL summaries in incremental backups (Ayush Tiwari) This error could result in stale data being included in a combined backup.", "commit_aliases": ["5787f8785", "ec756e591", "ed89d84ed", "f549ecd26"], "source_commits": ["5787f8785"], "source_entry_id": "18.7/changes/152", "db_id": "f3157c8310c85fa996dd81155f0aada7", "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64", "relations": [{"rule": 2, "type": "equivalent", "target": "e67b36a6904d7321fba0f48eb4ea4af0", "evidence": {"same_day": true, "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e67b36a6904d7321fba0f48eb4ea4af0", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题", "evidence": {"same_day": true, "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64"}, "url": "/docs/compare/?release=17.12#17.12-34bdce732fba4bb9", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-188debe5bffcb716", "cves": [], "html": "<p>\n      修复增量备份大小估算不正确的问题（Daria Lepikhova）<a href=\"https://postgr.es/c/f47c63d7a\">§</a>\n</p><p>\n      此问题影响 <span>pg_basebackup</span> 及其他位置的进度报告。\n     </p>", "text": "修复增量备份大小估算不正确的问题（Daria Lepikhova）§ 此问题影响 pg_basebackup 及其他位置的进度报告。", "title": "修复增量备份大小估算不正确的问题", "commits": ["f47c63d7a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e67ec643d9777d1ddb6bef5d3284e3e6b0752b87238325b0815ee184e2b398df", "section_path": ["变更"], "commit_groups": [["4c674b952", "97fa9bdc5", "cedd2cec7", "f47c63d7a"]], "identity_text": "Fix incorrect size estimates for incremental backups (Daria Lepikhova) This problem affected progress reporting in pg_basebackup and other places.", "commit_aliases": ["4c674b952", "97fa9bdc5", "cedd2cec7", "f47c63d7a"], "source_commits": ["f47c63d7a"], "source_entry_id": "18.7/changes/153", "db_id": "65fe81f7307f026ca9bf0fd00e437732", "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4", "relations": [{"rule": 2, "type": "equivalent", "target": "c63d3162f4179eb100c3451b55dce343", "evidence": {"same_day": true, "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c63d3162f4179eb100c3451b55dce343", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复增量备份大小估算不正确的问题", "evidence": {"same_day": true, "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4"}, "url": "/docs/compare/?release=17.12#17.12-9668403a9e80d486", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-51f0a52af2f0a5d3", "cves": [], "html": "<p>\n      复制订阅的 <code>two_phase</code> 状态已启用时，不再将其重置为待启用（Zhijie Hou）<a href=\"https://postgr.es/c/fbaebf450\">§</a>\n</p><p>\n      执行两次 <code>ALTER SUBSCRIPTION ... SET (two_phase = true)</code> 会造成状态混乱，可能导致订阅者上的数据损坏。\n     </p>", "text": "复制订阅的 two_phase 状态已启用时，不再将其重置为待启用（Zhijie Hou）§ 执行两次 ALTER SUBSCRIPTION ... SET (two_phase = true) 会造成状态混乱，可能导致订阅者上的数据损坏。", "title": "复制订阅的 two_phase 状态已启用时，不再将其重置为待启用", "commits": ["fbaebf450"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "bfd0d47b494a8c0b50013b86d7d0e8d0adc573f413d12a585cb1319cc5c53653", "section_path": ["变更"], "commit_groups": [["1e1a4821a", "fbaebf450", "fc1900915"]], "identity_text": "Avoid resetting a replication subscription's two_phase state to pending if it is already enabled (Zhijie Hou) Executing ALTER SUBSCRIPTION ... SET (two_phase = true) twice resulted in confused state, potentially allowing data corruption on the subscriber.", "commit_aliases": ["1e1a4821a", "fbaebf450", "fc1900915"], "source_commits": ["fbaebf450"], "source_entry_id": "18.7/changes/154", "db_id": "6ad1f46063518ceb7dccbbe6909a582c", "patch_ids": ["dd494a120b6d25d8bf078c3450e4529a"], "statement_hash": "20313761a7174466ad20ced1d060e718963ec5f2d9247c290fc0b658757c64bf", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-1c183732dbdf6e3c", "cves": [], "html": "<p>\n      在为 <code>output_plugin_libraries</code> 参数赋值时验证其语法（Jacob Champion，Hayato Kuroda）<a href=\"https://postgr.es/c/e2b3549a4\">§</a>\n</p><p>\n      此前，语法错误的值可以写入 <code>postgresql.conf</code>，导致逻辑复制失败。\n     </p>", "text": "在为 output_plugin_libraries 参数赋值时验证其语法（Jacob Champion，Hayato Kuroda）§ 此前，语法错误的值可以写入 postgresql.conf，导致逻辑复制失败。", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "commits": ["e2b3549a4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e2a8ae5b604aa48f310cde52528cbbf4d3ff6bdca4117cb43b48f77026c29e59", "section_path": ["变更"], "commit_groups": [["079638030", "0c8611c6e", "161d5ffcc", "7c78c8cff", "aad726131", "d0571ca16", "e2b3549a4"]], "identity_text": "Verify the syntax of the output_plugin_libraries parameter when a value is assigned (Jacob Champion, Hayato Kuroda) Previously, a syntactically-incorrect value could be put into postgresql.conf, causing logical replication to fail.", "commit_aliases": ["079638030", "0c8611c6e", "161d5ffcc", "7c78c8cff", "aad726131", "d0571ca16", "e2b3549a4"], "source_commits": ["e2b3549a4"], "source_entry_id": "18.7/changes/155", "db_id": "0e232d04793da5f5ddb01efafcfee3f1", "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666", "relations": [{"rule": 2, "type": "equivalent", "target": "1cb5e39f68e8e800794388a1bb88d9fd", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}, {"rule": 2, "type": "equivalent", "target": "3bcf233a6671ba743c45740a176e002b", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}, {"rule": 2, "type": "equivalent", "target": "5f2aecb5f51ffa875d631e8a7e8dd3bd", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}, {"rule": 2, "type": "equivalent", "target": "61526d11245a8827025848c659c26594", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5f2aecb5f51ffa875d631e8a7e8dd3bd", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}, "url": "/docs/compare/?release=17.12#17.12-84f1a0b36c23bb9c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "1cb5e39f68e8e800794388a1bb88d9fd", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}, "url": "/docs/compare/?release=16.16#16.16-53cfaf9d092434e3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "3bcf233a6671ba743c45740a176e002b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}, "url": "/docs/compare/?release=15.20#15.20-cf90289e6ad180ac", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "61526d11245a8827025848c659c26594", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}, "url": "/docs/compare/?release=14.25#14.25-2859af9735e5eb35", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-26c6bc59b249ca35", "cves": [], "html": "<p>\n      如果键列有未经验证的 <code>NOT NULL</code> 约束，则拒绝 <code>REPLICA IDENTITY USING INDEX</code>（Ante Kresic）<a href=\"https://postgr.es/c/864ef0fb1\">§</a>\n</p><p>\n      复制标识键必须非空，但此代码路径此前会接受尚未确认满足这一条件的情况。\n     </p>", "text": "如果键列有未经验证的 NOT NULL 约束，则拒绝 REPLICA IDENTITY USING INDEX（Ante Kresic）§ 复制标识键必须非空，但此代码路径此前会接受尚未确认满足这一条件的情况。", "title": "如果键列有未经验证的 NOT NULL 约束，则拒绝 REPLICA IDENTITY USING INDEX", "commits": ["864ef0fb1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "acdf6788a8cd66eb37f27bc7860a575066445ed267f0b9d911eecba2859ffb41", "section_path": ["变更"], "commit_groups": [["82c86ac68", "864ef0fb1", "bdaad789c"]], "identity_text": "Reject REPLICA IDENTITY USING INDEX if a key column has an unvalidated NOT NULL constraint (Ante Kresic) A replica identity key must be not-null, but this code path would accept cases where that was not yet known to be true.", "commit_aliases": ["82c86ac68", "864ef0fb1", "bdaad789c"], "source_commits": ["864ef0fb1"], "source_entry_id": "18.7/changes/156", "db_id": "32e39ea212652b24a1cdb732afcfde4e", "patch_ids": ["5458e9f96c1bd056144e56467d3212e5"], "statement_hash": "21e5ab9fa85ddba793bb6f8e6290790d5169ad86278180e77188bbc7fd1ab220", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-c4bbfc170a760f54", "cves": [], "html": "<p>\n      修复使用有损标识索引时的逻辑复制（Paul A. Jungwirth，Zhijie Hou）<a href=\"https://postgr.es/c/23fffd382\">§</a>\n</p><p>\n      标识索引通常是 B-树，能够提供精确结果。但多范围上的 GiST 索引也可用作标识索引，而其结果需要重新检查。逻辑复制此前未执行此检查，导致更新和删除可能作用于订阅者上的错误行。\n     </p>", "text": "修复使用有损标识索引时的逻辑复制（Paul A. Jungwirth，Zhijie Hou）§ 标识索引通常是 B-树，能够提供精确结果。但多范围上的 GiST 索引也可用作标识索引，而其结果需要重新检查。逻辑复制此前未执行此检查，导致更新和删除可能作用于订阅者上的错误行。", "title": "修复使用有损标识索引时的逻辑复制", "commits": ["23fffd382"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7e3036ac56ae40a0d1dfba17ce45147b23a87e4ef7c251945a8c7568fd5eb0cb", "section_path": ["变更"], "commit_groups": [["23fffd382", "3cde90ecc", "48b43081e"]], "identity_text": "Fix logical replication with a lossy identity index (Paul A. Jungwirth, Zhijie Hou) Typically identity indexes are btrees, which deliver exact results. However, GiST indexes on multiranges can be used as identity indexes, and they deliver results that require rechecking. Logical replication failed to perform the recheck, so that updates and deletes could target the wrong row on the subscriber.", "commit_aliases": ["23fffd382", "3cde90ecc", "48b43081e"], "source_commits": ["23fffd382"], "source_entry_id": "18.7/changes/157", "db_id": "36e62569e5802747c16a64cab9c8007c", "patch_ids": ["5479f995df431c3933070ba30484d2ea"], "statement_hash": "db45b1a4c1e0ab7c52872a29f1d3a00e31fc8ebc60f7aa9a915669e15d6af32e", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-e2b15e3cb779d260", "cves": [], "html": "<p>\n      避免复制槽失效期间错误更新后端状态标志（Vlad Lesin）<a href=\"https://postgr.es/c/c5666f7e1\">§</a>\n</p><p>\n      检查点进程等辅助进程执行失效操作时，可能破坏一个无关后端进程的状态字段。后果难以预测，但一种可能性是热备反馈实际上被禁用。\n     </p>", "text": "避免复制槽失效期间错误更新后端状态标志（Vlad Lesin）§ 检查点进程等辅助进程执行失效操作时，可能破坏一个无关后端进程的状态字段。后果难以预测，但一种可能性是热备反馈实际上被禁用。", "title": "避免复制槽失效期间错误更新后端状态标志", "commits": ["c5666f7e1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "766a16a024cb597ecf5cbfff4a74889f7f31ec8aa9260d55003d7c8de75b31e5", "section_path": ["变更"], "commit_groups": [["02c32116d", "295f75b4b", "3d15afe7d", "453ebae70", "56b306f8b", "9510a826e", "c5666f7e1"]], "identity_text": "Avoid incorrect update of backend status flags during replication slot invalidation (Vlad Lesin) An invalidation done by an auxiliary process such as the checkpointer could clobber the status field of an unrelated backend. The consequences of this are difficult to predict, but one possibility is that hot standby feedback could be effectively disabled.", "commit_aliases": ["02c32116d", "295f75b4b", "3d15afe7d", "453ebae70", "56b306f8b", "9510a826e", "c5666f7e1"], "source_commits": ["c5666f7e1"], "source_entry_id": "18.7/changes/158", "db_id": "f3e917018c4485e5bdea2670d36405e9", "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895", "relations": [{"rule": 2, "type": "equivalent", "target": "4672f2d19409d234c8c7565fda4f8b0a", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}}, {"rule": 2, "type": "equivalent", "target": "5663bca959f641b531e135399fdf2ab1", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}}, {"rule": 2, "type": "equivalent", "target": "f7350f2c2769bb941162f3ade12ec934", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}}, {"rule": 2, "type": "equivalent", "target": "f952793d49e19a2e2b36127bb10ada53", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4672f2d19409d234c8c7565fda4f8b0a", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免复制槽失效期间错误更新后端状态标志", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}, "url": "/docs/compare/?release=17.12#17.12-0204a8c14c0c0f61", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f7350f2c2769bb941162f3ade12ec934", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免复制槽失效期间错误更新后端状态标志", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}, "url": "/docs/compare/?release=16.16#16.16-571e73a92bf5b58d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "5663bca959f641b531e135399fdf2ab1", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免复制槽失效期间错误更新后端状态标志", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}, "url": "/docs/compare/?release=15.20#15.20-4d2cd29dec84465a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f952793d49e19a2e2b36127bb10ada53", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免复制槽失效期间错误更新后端状态标志", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}, "url": "/docs/compare/?release=14.25#14.25-c99f7da5a4dfb3db", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-6d4cb932c31f2a79", "cves": [], "html": "<p>\n      在逻辑复制中更好地处理子事务中止（Bingshuai Li，Hayato Kuroda，Zhijie Hou）<a href=\"https://postgr.es/c/5eae2800a\">§</a>\n</p><p>\n      如果一个更新了系统目录的子事务中止，逻辑解码仍错误地认为该更新有效，可能产生不正确的解码输出。\n     </p>", "text": "在逻辑复制中更好地处理子事务中止（Bingshuai Li，Hayato Kuroda，Zhijie Hou）§ 如果一个更新了系统目录的子事务中止，逻辑解码仍错误地认为该更新有效，可能产生不正确的解码输出。", "title": "在逻辑复制中更好地处理子事务中止", "commits": ["5eae2800a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "9263ef63ae652f6a814bf3c4b61c06c36991f721a88100917863b0bb586a7c61", "section_path": ["变更"], "commit_groups": [["0a6dc4fe1", "5eae2800a", "624bd2b1f", "83be64488", "963ff022f", "beff3cd00", "ff5ba5f19"]], "identity_text": "In logical replication, handle subtransaction aborts better (Bingshuai Li, Hayato Kuroda, Zhijie Hou) If a subtransaction that made a catalog update aborts, logical decoding mistakenly still believed that the update was effective, potentially causing incorrect decoding output.", "commit_aliases": ["0a6dc4fe1", "5eae2800a", "624bd2b1f", "83be64488", "963ff022f", "beff3cd00", "ff5ba5f19"], "source_commits": ["5eae2800a"], "source_entry_id": "18.7/changes/159", "db_id": "e1c507579cb6407c32617c252cf99a13", "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad", "relations": [{"rule": 2, "type": "equivalent", "target": "2fcd51a5f2c6c5619b72cf21ab396ecb", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}}, {"rule": 2, "type": "equivalent", "target": "8e2016f2abf2b92f48cab331807b9870", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}}, {"rule": 2, "type": "equivalent", "target": "a2dbd0b6ff67719c2d92fbc8d20f92d6", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}}, {"rule": 2, "type": "equivalent", "target": "e23af6dc755b7e04e8b55c527b624158", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e23af6dc755b7e04e8b55c527b624158", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在逻辑复制中更好地处理子事务中止", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}, "url": "/docs/compare/?release=17.12#17.12-566e65f047f0859a", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a2dbd0b6ff67719c2d92fbc8d20f92d6", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在逻辑复制中更好地处理子事务中止", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}, "url": "/docs/compare/?release=16.16#16.16-b174f12e501f5412", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "2fcd51a5f2c6c5619b72cf21ab396ecb", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在逻辑复制中更好地处理子事务中止", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}, "url": "/docs/compare/?release=15.20#15.20-b1e4f3efddbf3a3e", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "8e2016f2abf2b92f48cab331807b9870", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在逻辑复制中更好地处理子事务中止", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}, "url": "/docs/compare/?release=14.25#14.25-5526f837d69d0759", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-2979794f1b523d34", "cves": [], "html": "<p>\n      避免构建初始解码快照时的竞态条件（Antonin Houska，Rui Zhao）<a href=\"https://postgr.es/c/6210f00ca\">§</a>\n</p><p>\n      使用包含已提交但尚未设置 CLOG 状态的事务的快照，存在较小的数据损坏风险。\n     </p>", "text": "避免构建初始解码快照时的竞态条件（Antonin Houska，Rui Zhao）§ 使用包含已提交但尚未设置 CLOG 状态的事务的快照，存在较小的数据损坏风险。", "title": "避免构建初始解码快照时的竞态条件", "commits": ["6210f00ca"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "8457e0525c228d74939c854eab9e12255b234a091c3d0f1a915b83e25271a4a8", "section_path": ["变更"], "commit_groups": [["070e21268", "46024c573", "4a4bf490d", "5ff6a3d3f", "6210f00ca", "a33ffaf7b", "b93df6eac"]], "identity_text": "Avoid race condition when building an initial decoding snapshot (Antonin Houska, Rui Zhao) There was a small risk of data corruption from using a snapshot that includes transactions that have committed but not yet set their CLOG status.", "commit_aliases": ["070e21268", "46024c573", "4a4bf490d", "5ff6a3d3f", "6210f00ca", "a33ffaf7b", "b93df6eac"], "source_commits": ["6210f00ca"], "source_entry_id": "18.7/changes/160", "db_id": "ce54f9c5fbeb585346cc3c7baaf7802c", "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14", "relations": [{"rule": 2, "type": "equivalent", "target": "09e325932d3d8b59b13a0d7f1e311108", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}}, {"rule": 2, "type": "equivalent", "target": "1904307684a1883415035c78ff2ccc9f", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}}, {"rule": 2, "type": "equivalent", "target": "2f69321e4f5e68073703bdc7e09e449b", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}}, {"rule": 2, "type": "equivalent", "target": "c3bca6296e36189deaec675129fadaee", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c3bca6296e36189deaec675129fadaee", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免构建初始解码快照时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}, "url": "/docs/compare/?release=17.12#17.12-ea7437f9bd64ed2c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "1904307684a1883415035c78ff2ccc9f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免构建初始解码快照时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}, "url": "/docs/compare/?release=16.16#16.16-fa99dc58b81a194c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "2f69321e4f5e68073703bdc7e09e449b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免构建初始解码快照时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}, "url": "/docs/compare/?release=15.20#15.20-3efc6e3cf7be66c4", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "09e325932d3d8b59b13a0d7f1e311108", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免构建初始解码快照时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}, "url": "/docs/compare/?release=14.25#14.25-8728aace8bba1dab", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-0762c860c760bbbd", "cves": [], "html": "<p>\n      在逻辑解码中，避免为从未实际流式传输过的子事务处理流中止事件（Andrey Rachitskiy）<a href=\"https://postgr.es/c/caa463e3f\">§</a>\n</p><p>\n      此错误可能导致空指针解引用或其他异常行为。\n     </p>", "text": "在逻辑解码中，避免为从未实际流式传输过的子事务处理流中止事件（Andrey Rachitskiy）§ 此错误可能导致空指针解引用或其他异常行为。", "title": "在逻辑解码中，避免为从未实际流式传输过的子事务处理流中止事件", "commits": ["caa463e3f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "f4c4748e533adff7848d46964588fdde3377c14dce38ae529ec30c521a5d1064", "section_path": ["变更"], "commit_groups": [["aa4c52b80", "caa463e3f", "e4f16fda6"]], "identity_text": "In logical decoding, avoid processing a stream abort event for a subtransaction that was never actually streamed (Andrey Rachitskiy) This error could lead to null pointer dereferences or other misbehavior.", "commit_aliases": ["aa4c52b80", "caa463e3f", "e4f16fda6"], "source_commits": ["caa463e3f"], "source_entry_id": "18.7/changes/161", "db_id": "61fc624a5efd23c75c6b8b36e7aba5af", "patch_ids": ["06ebf37813dff26abb7b2561168e7e35"], "statement_hash": "bfb1bd17ca203ed63c58f50eca2fa768b133366bece10125a3929bfbbcc97182", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-760e55cf0b5c2ef9", "cves": [], "html": "<p>\n      避免 <code>pgoutput</code> 逻辑复制发送器因复制选项缺少值而发生空指针崩溃（Zhijie Hou）<a href=\"https://postgr.es/c/6437d9774\">§</a>\n</p>", "text": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃（Zhijie Hou）§", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "commits": ["6437d9774"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "92281d905f65725c04c8946e6a2a7316c533d28ed5ccee08830b4a1f6b182a39", "section_path": ["变更"], "commit_groups": [["180f3dcd4", "35848657c", "4fbae9145", "6437d9774", "c3ef3f228", "c6cb792e8", "e8191e13f"]], "identity_text": "Avoid null-pointer crash with missing replication option values in pgoutput logical replication sender (Zhijie Hou)", "commit_aliases": ["180f3dcd4", "35848657c", "4fbae9145", "6437d9774", "c3ef3f228", "c6cb792e8", "e8191e13f"], "source_commits": ["6437d9774"], "source_entry_id": "18.7/changes/162", "db_id": "839af5bb7ca0a955aa8d65015bf1e7cd", "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b", "relations": [{"rule": 2, "type": "equivalent", "target": "014a3b69e0912fe09633600b96ff6c5d", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}}, {"rule": 2, "type": "equivalent", "target": "92c0eb824706b1274c445f1d6206a60d", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}}, {"rule": 2, "type": "equivalent", "target": "9d28458dfc93367bd6ed2581a488c04e", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}}, {"rule": 2, "type": "equivalent", "target": "adc3ae1ce9edeb36144966dc18de6b68", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "92c0eb824706b1274c445f1d6206a60d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}, "url": "/docs/compare/?release=17.12#17.12-ed604efc7793bd68", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9d28458dfc93367bd6ed2581a488c04e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}, "url": "/docs/compare/?release=16.16#16.16-480cfd4b2170f3c3", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "014a3b69e0912fe09633600b96ff6c5d", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}, "url": "/docs/compare/?release=15.20#15.20-6250173c2d9530d9", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "adc3ae1ce9edeb36144966dc18de6b68", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}, "url": "/docs/compare/?release=14.25#14.25-f9ba818710af25ce", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-ad0e6299659e360b", "cves": [], "html": "<p>\n      修复 <span>pgoutput</span> 处理流式传输的预备事务时的少量内存泄漏（Ayush Tiwari）<a href=\"https://postgr.es/c/a477847eb\">§</a>\n</p>", "text": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏（Ayush Tiwari）§", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "commits": ["a477847eb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "65ed5dec2a0d8f754ee93905e85c11fa7ccfe59d4ea9fd8e2caa6f3d8f32e566", "section_path": ["变更"], "commit_groups": [["274da088e", "3d6a4a582", "a477847eb", "bb1e3e475", "e995b2cb4", "feb975917"]], "identity_text": "Fix small memory leak in pgoutput with streamed prepared transactions (Ayush Tiwari)", "commit_aliases": ["274da088e", "3d6a4a582", "a477847eb", "bb1e3e475", "e995b2cb4", "feb975917"], "source_commits": ["a477847eb"], "source_entry_id": "18.7/changes/163", "db_id": "6bd95eb8643efa400975e52677716c3a", "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea", "relations": [{"rule": 2, "type": "equivalent", "target": "7edd0605b433a49b537a0cb726b54654", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}}, {"rule": 2, "type": "equivalent", "target": "acb98f031f5572f0571124d3590b9d35", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}}, {"rule": 2, "type": "equivalent", "target": "f0206b82df0d3b057b79178034f4d86c", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7edd0605b433a49b537a0cb726b54654", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}, "url": "/docs/compare/?release=17.12#17.12-4ba3167ecab6f895", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f0206b82df0d3b057b79178034f4d86c", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}, "url": "/docs/compare/?release=16.16#16.16-e0138b997a3b92cc", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "acb98f031f5572f0571124d3590b9d35", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}, "url": "/docs/compare/?release=15.20#15.20-a4572885415d1ac6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-2fc712df3ac25684", "cves": [], "html": "<p>\n      修复物理 WAL 发送器丢失唤醒的问题（Alex Speller）<a href=\"https://postgr.es/c/1ff9f9380\">§</a>\n</p><p>\n      此修复更正了 WAL 发送进程在已有待发送数据时仍可能休眠的某些情况。\n     </p>", "text": "修复物理 WAL 发送器丢失唤醒的问题（Alex Speller）§ 此修复更正了 WAL 发送进程在已有待发送数据时仍可能休眠的某些情况。", "title": "修复物理 WAL 发送器丢失唤醒的问题", "commits": ["1ff9f9380"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "72c406a732d9530627701293b06700a49e79717cb6d73c7db17e401011f75b63", "section_path": ["变更"], "commit_groups": [["1ff9f9380", "2ac618d71", "6d34d5500", "782d9cf8b", "a9b32f4c8"]], "identity_text": "Fix lost wakeups in physical WAL senders (Alex Speller) This fix corrects some cases where a WAL sender process could sleep even though there is data waiting to be sent.", "commit_aliases": ["1ff9f9380", "2ac618d71", "6d34d5500", "782d9cf8b", "a9b32f4c8"], "source_commits": ["1ff9f9380"], "source_entry_id": "18.7/changes/164", "db_id": "f726f077f739ed9a565ebd5921c0c54d", "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570", "relations": [{"rule": 2, "type": "equivalent", "target": "0d2bfd1f758bb0d0953901b1b4c9b105", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}}, {"rule": 2, "type": "equivalent", "target": "20f4ebd7e40d2687a8c668b3b322a5f0", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0d2bfd1f758bb0d0953901b1b4c9b105", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复物理 WAL 发送器丢失唤醒的问题", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}, "url": "/docs/compare/?release=17.12#17.12-179ce9f3d77d1b92", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "20f4ebd7e40d2687a8c668b3b322a5f0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复物理 WAL 发送器丢失唤醒的问题", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}, "url": "/docs/compare/?release=16.16#16.16-2261b4b66e0cd857", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-5fdc5664587a39de", "cves": [], "html": "<p>\n      修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题（ChangAo Chen）<a href=\"https://postgr.es/c/2bf6144b4\">§</a>\n</p><p>\n      这一错误会先引发<span>“<span>could not create replication slot</span>”</span>错误，随后 WAL 接收器重启并恢复，因此不会造成永久损害。\n     </p>", "text": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题（ChangAo Chen）§ 这一错误会先引发“could not create replication slot”错误，随后 WAL 接收器重启并恢复，因此不会造成永久损害。", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "commits": ["2bf6144b4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "fd87a77bd2a34e9039e1af44d79f1bfc7100ead42114d7b59888cd50ef6d8070", "section_path": ["变更"], "commit_groups": [["2bf6144b4", "4c8fa02c5", "58fb12f4a", "58ff54aee", "764d31b8a", "874c22c94", "aec25d610"]], "identity_text": "Fix duplicate creation of temporary replication slot when a WAL receiver follows a timeline switch (ChangAo Chen) This mistake led to a could not create replication slot error followed by a restart of the WAL receiver, which would then recover, so there was no permanent damage.", "commit_aliases": ["2bf6144b4", "4c8fa02c5", "58fb12f4a", "58ff54aee", "764d31b8a", "874c22c94", "aec25d610"], "source_commits": ["2bf6144b4"], "source_entry_id": "18.7/changes/165", "db_id": "e276096cd22348dfca39b41e58e027a8", "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082", "relations": [{"rule": 2, "type": "equivalent", "target": "0880ce8018cbce6f8a2cb58a108e36ed", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}}, {"rule": 2, "type": "equivalent", "target": "2dd0ea721079cf7e6c1c04abf3508295", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}}, {"rule": 2, "type": "equivalent", "target": "4f03ba62faba995cf53a737285aa5443", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}}, {"rule": 2, "type": "equivalent", "target": "c304f906278ce46a351d0436848b95bd", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c304f906278ce46a351d0436848b95bd", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}, "url": "/docs/compare/?release=17.12#17.12-9301abf684458007", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "4f03ba62faba995cf53a737285aa5443", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}, "url": "/docs/compare/?release=16.16#16.16-eadedd6ba3890c4f", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "2dd0ea721079cf7e6c1c04abf3508295", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}, "url": "/docs/compare/?release=15.20#15.20-ac222525f40d2aa3", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "0880ce8018cbce6f8a2cb58a108e36ed", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}, "url": "/docs/compare/?release=14.25#14.25-3709b4e576af491d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-6c97434d04e1c304", "cves": [], "html": "<p>\n      修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件（Mikhail Nikalayeu，Vignesh C）<a href=\"https://postgr.es/c/af48a6702\">§</a>\n</p><p>\n      更改复制目标关系的主键索引或复制标识索引的状态，可能使复制应用逻辑漏掉匹配行（但每次此类事件最多漏掉一次）。\n     </p>", "text": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件（Mikhail Nikalayeu，Vignesh C）§ 更改复制目标关系的主键索引或复制标识索引的状态，可能使复制应用逻辑漏掉匹配行（但每次此类事件最多漏掉一次）。", "title": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件", "commits": ["af48a6702"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "216652ba1468c54e01e1b21783b49025d67aa1ebe60bfd7d5979f3604abe2337", "section_path": ["变更"], "commit_groups": [["0405dcf7c", "2389f898e", "2f7bf51b7", "ad36e3608", "af48a6702"]], "identity_text": "Fix race condition between logical replication subscriber and concurrent index DDL (Mikhail Nikalayeu, Vignesh C) Changing the state of a replication target relation's primary key or replica identity index could cause the replication apply logic to miss finding a matching row (but only once per such event).", "commit_aliases": ["0405dcf7c", "2389f898e", "2f7bf51b7", "ad36e3608", "af48a6702"], "source_commits": ["af48a6702"], "source_entry_id": "18.7/changes/166", "db_id": "c7db623c2a89ab0d1b135a4645ff9852", "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee", "relations": [{"rule": 2, "type": "equivalent", "target": "15c30d07e89ed4975ff4b395d027e05e", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}}, {"rule": 2, "type": "equivalent", "target": "4cbbdf507d529ec9d16b047f3d357e34", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4cbbdf507d529ec9d16b047f3d357e34", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}, "url": "/docs/compare/?release=17.12#17.12-ba51ca28c87246a2", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "15c30d07e89ed4975ff4b395d027e05e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}, "url": "/docs/compare/?release=16.16#16.16-337f2de888fdcba9", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-b6b26d3aafc30bd5", "cves": [], "html": "<p>\n      修复 WAL 解码错误消息中不正确的 LSN（Rahul Yadav）<a href=\"https://postgr.es/c/092da6511\">§</a>\n</p><p>\n      这些错误消息所报告的 LSN，对应的并不是实际引发报错的那条 WAL 记录。\n     </p>", "text": "修复 WAL 解码错误消息中不正确的 LSN（Rahul Yadav）§ 这些错误消息所报告的 LSN，对应的并不是实际引发报错的那条 WAL 记录。", "title": "修复 WAL 解码错误消息中不正确的 LSN", "commits": ["092da6511"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d65ea655f6bf5c6a0f60e211d2ecc25d16c55bc649f1ea488995d7b10a19145a", "section_path": ["变更"], "commit_groups": [["01b3d24c4", "092da6511", "3ec983535", "472da35ac", "5f472ab56", "bcb9d9051"]], "identity_text": "Fix incorrect LSNs in WAL decoding error messages (Rahul Yadav) These error messages reported the LSN of a WAL record that wasn't the one they were actually complaining about.", "commit_aliases": ["01b3d24c4", "092da6511", "3ec983535", "472da35ac", "5f472ab56", "bcb9d9051"], "source_commits": ["092da6511"], "source_entry_id": "18.7/changes/167", "db_id": "7f8734d62ded737823a12cec001a0f15", "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc", "relations": [{"rule": 2, "type": "equivalent", "target": "46e18b228f3d2794eb747613102be26b", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}}, {"rule": 2, "type": "equivalent", "target": "559ba3e769fdcaab3c59134f56067a2d", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}}, {"rule": 2, "type": "equivalent", "target": "be1f5d7e3d35dacf8a238c8fe9553226", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "559ba3e769fdcaab3c59134f56067a2d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 WAL 解码错误消息中不正确的 LSN", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}, "url": "/docs/compare/?release=17.12#17.12-17a98b05e45805d7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "be1f5d7e3d35dacf8a238c8fe9553226", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 WAL 解码错误消息中不正确的 LSN", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}, "url": "/docs/compare/?release=16.16#16.16-faf99cfef909f01a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "46e18b228f3d2794eb747613102be26b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 WAL 解码错误消息中不正确的 LSN", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}, "url": "/docs/compare/?release=15.20#15.20-bf8c8296455a1192", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-a13d3bc36473a34b", "cves": [], "html": "<p>\n      不允许 <code>REPLICA IDENTITY FULL</code> 查找选择无效索引（Mikhail Nikalayeu）<a href=\"https://postgr.es/c/38eb0cfa3\">§</a>\n</p><p>\n      此前，逻辑复制可能尝试使用失败的 <code>CREATE INDEX CONCURRENTLY</code> 所留下的索引，而该索引很可能不完整，从而产生错误结果。\n     </p>", "text": "不允许 REPLICA IDENTITY FULL 查找选择无效索引（Mikhail Nikalayeu）§ 此前，逻辑复制可能尝试使用失败的 CREATE INDEX CONCURRENTLY 所留下的索引，而该索引很可能不完整，从而产生错误结果。", "title": "不允许 REPLICA IDENTITY FULL 查找选择无效索引", "commits": ["38eb0cfa3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "5d65c830df3adb6e6dc3950315528c74c067abfdfa6bc19fdb2ed9ea80c04a07", "section_path": ["变更"], "commit_groups": [["38eb0cfa3", "3c73b272b", "92c018214", "b3272b49a", "ea9c9432c"]], "identity_text": "Don't allow REPLICA IDENTITY FULL lookups to select invalid indexes (Mikhail Nikalayeu) Previously, logical replication could try to use an index left behind by a failed CREATE INDEX CONCURRENTLY, leading to wrong results since the index is likely incomplete.", "commit_aliases": ["38eb0cfa3", "3c73b272b", "92c018214", "b3272b49a", "ea9c9432c"], "source_commits": ["38eb0cfa3"], "source_entry_id": "18.7/changes/168", "db_id": "b3fdcc9210176da21b7b7b0ebbf30057", "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1", "relations": [{"rule": 2, "type": "equivalent", "target": "8cdd997ab592cc0e6fdfba3200d02a40", "evidence": {"same_day": true, "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1"}}, {"rule": 2, "type": "equivalent", "target": "d9897ca5f577968facca08dafc0d16f4", "evidence": {"same_day": true, "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8cdd997ab592cc0e6fdfba3200d02a40", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "不允许 REPLICA IDENTITY FULL 查找选择无效索引", "evidence": {"same_day": true, "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1"}, "url": "/docs/compare/?release=17.12#17.12-ccd7015599651bdc", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "d9897ca5f577968facca08dafc0d16f4", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "不允许 REPLICA IDENTITY FULL 查找选择无效索引", "evidence": {"same_day": true, "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1"}, "url": "/docs/compare/?release=16.16#16.16-a5b8839160b59070", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-07a4b5d196e81ee7", "cves": [], "html": "<p>\n      修复 WAL 发送器中可能出现的释放后使用内存问题（Ayush Tiwari）<a href=\"https://postgr.es/c/d21a3e1fe\">§</a>\n</p>", "text": "修复 WAL 发送器中可能出现的释放后使用内存问题（Ayush Tiwari）§", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "commits": ["d21a3e1fe"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "5343f9f4536deee0cc64841b3e915fcfb9c63bbac77037d7c35e4962ea40cc54", "section_path": ["变更"], "commit_groups": [["078110c00", "0e2260ab1", "39173a9bd", "3f82c47b5", "d162119ef", "d21a3e1fe", "f2dd2a3bd"]], "identity_text": "Fix potential use-after-free cases in WAL sender (Ayush Tiwari)", "commit_aliases": ["078110c00", "0e2260ab1", "39173a9bd", "3f82c47b5", "d162119ef", "d21a3e1fe", "f2dd2a3bd"], "source_commits": ["d21a3e1fe"], "source_entry_id": "18.7/changes/169", "db_id": "0682ae231f8b016438748e6b7ebafa60", "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347", "relations": [{"rule": 2, "type": "equivalent", "target": "532603ff0a56222a8a1c698fc628864d", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}, {"rule": 2, "type": "equivalent", "target": "669f7e5c4ba17da3944b3068967041d3", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}, {"rule": 2, "type": "equivalent", "target": "c62bec644269f66703619760505bdfac", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}, {"rule": 2, "type": "equivalent", "target": "cd77b91a8fea0b4c57471aa4bc4efb57", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c62bec644269f66703619760505bdfac", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}, "url": "/docs/compare/?release=17.12#17.12-9d7512c3c454b2f8", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "669f7e5c4ba17da3944b3068967041d3", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}, "url": "/docs/compare/?release=16.16#16.16-9bfcd745dcb7d960", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "532603ff0a56222a8a1c698fc628864d", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}, "url": "/docs/compare/?release=15.20#15.20-db56dc5b31565ea7", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "cd77b91a8fea0b4c57471aa4bc4efb57", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}, "url": "/docs/compare/?release=14.25#14.25-7046dc4099d40c56", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-054c00ba2ab6a83a", "cves": [], "html": "<p>\n      避免 <code>jsonb_set_lax()</code> 中释放后使用内存的问题（John Naylor）<a href=\"https://postgr.es/c/52af12e9d\">§</a>\n</p>", "text": "避免 jsonb_set_lax() 中释放后使用内存的问题（John Naylor）§", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "commits": ["52af12e9d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "a6c1e9d68473f2259e02c0b8003c60c7ba402585669a6f676e5e5e40120f6d60", "section_path": ["变更"], "commit_groups": [["42b320abe", "4a3177299", "52af12e9d", "723075b03", "b3477b1ca", "cb98b23da", "e355089a5"]], "identity_text": "Avoid use-after-free in jsonb_set_lax() (John Naylor)", "commit_aliases": ["42b320abe", "4a3177299", "52af12e9d", "723075b03", "b3477b1ca", "cb98b23da", "e355089a5"], "source_commits": ["52af12e9d"], "source_entry_id": "18.7/changes/170", "db_id": "d2e45cc229be40881b6b6603deca3ceb", "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677", "relations": [{"rule": 2, "type": "equivalent", "target": "6cd4ef05f4979feee5af93d1c04fe8a5", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}}, {"rule": 2, "type": "equivalent", "target": "9670eeaee06e3cb469223a75a0867ec9", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}}, {"rule": 2, "type": "equivalent", "target": "cc5731541e594ebb225f267b429a273d", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}}, {"rule": 2, "type": "equivalent", "target": "f596982a936964862a6d5f913d8c6fb4", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f596982a936964862a6d5f913d8c6fb4", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}, "url": "/docs/compare/?release=17.12#17.12-24c030ba6b8be5f6", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "6cd4ef05f4979feee5af93d1c04fe8a5", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}, "url": "/docs/compare/?release=16.16#16.16-bc80dba95e0d8368", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9670eeaee06e3cb469223a75a0867ec9", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}, "url": "/docs/compare/?release=15.20#15.20-3a5d3d8a7357531a", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "cc5731541e594ebb225f267b429a273d", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}, "url": "/docs/compare/?release=14.25#14.25-6e3e8391f7813291", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-08c629a5b5f43da0", "cves": [], "html": "<p>\n      修复 <code>XMLSERIALIZE(... INDENT)</code> 输出超过 1GB 时的重复释放（Jim Jones）<a href=\"https://postgr.es/c/f10500777\">§</a>\n</p>", "text": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放（Jim Jones）§", "title": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放", "commits": ["f10500777"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "58064dfa0cda3cbce37fb21db74278692ff9298a96a4b83aa1a20d47dcce96e0", "section_path": ["变更"], "commit_groups": [["01131ca43", "582db3ee0", "7fa0a5f21", "bfe9c23ee", "f10500777"]], "identity_text": "Fix double-free when XMLSERIALIZE(... INDENT) output exceeds 1GB (Jim Jones)", "commit_aliases": ["01131ca43", "582db3ee0", "7fa0a5f21", "bfe9c23ee", "f10500777"], "source_commits": ["f10500777"], "source_entry_id": "18.7/changes/171", "db_id": "d2337a59deb84f1e4eb5035d46f4885e", "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00", "relations": [{"rule": 2, "type": "equivalent", "target": "a60104198c9bdb091ebc7fe1cd82d330", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}}, {"rule": 2, "type": "equivalent", "target": "d50a7b075e20a9e75a8ad75f5ff1f3ca", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d50a7b075e20a9e75a8ad75f5ff1f3ca", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}, "url": "/docs/compare/?release=17.12#17.12-783da0cd3f3a8dca", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a60104198c9bdb091ebc7fe1cd82d330", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}, "url": "/docs/compare/?release=16.16#16.16-b319676f6e67ee0d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-f2536f0603681300", "cves": [], "html": "<p>\n      修复并发删除模式时可能发生的空指针解引用（Baji Shaik）<a href=\"https://postgr.es/c/d3a03158c\">§</a>\n</p>", "text": "修复并发删除模式时可能发生的空指针解引用（Baji Shaik）§", "title": "修复并发删除模式时可能发生的空指针解引用", "commits": ["d3a03158c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "b03aa8d51c7bf362cf57259cd3c8049b05c125ca0830e77fd065a387f31e8bfe", "section_path": ["变更"], "commit_groups": [["275ad2006", "4c0e3c1bf", "77705d1e5", "a2732c986", "bb0615c89", "d3a03158c", "f1ba2b826"]], "identity_text": "Fix null-pointer dereferences that could occur when a schema is concurrently dropped (Baji Shaik)", "commit_aliases": ["275ad2006", "4c0e3c1bf", "77705d1e5", "a2732c986", "bb0615c89", "d3a03158c", "f1ba2b826"], "source_commits": ["d3a03158c"], "source_entry_id": "18.7/changes/172", "db_id": "7fb16367ee7658fbed2ed5d00b83a3e6", "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a", "relations": [{"rule": 2, "type": "equivalent", "target": "7a4e5ae9e6f7a7eabfc02f1f68fdd034", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}}, {"rule": 2, "type": "equivalent", "target": "82b2fa301103b4b2c9d5bafecf1ce5ee", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}}, {"rule": 2, "type": "equivalent", "target": "a67df481e60d4f29f198d5d7f33a4be9", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}}, {"rule": 2, "type": "equivalent", "target": "c1127a2e4a8aafbc8be713d023b04c90", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "82b2fa301103b4b2c9d5bafecf1ce5ee", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复并发删除模式时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}, "url": "/docs/compare/?release=17.12#17.12-fac6612a0b8673f7", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c1127a2e4a8aafbc8be713d023b04c90", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复并发删除模式时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}, "url": "/docs/compare/?release=16.16#16.16-f0d97560ceba1fff", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7a4e5ae9e6f7a7eabfc02f1f68fdd034", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复并发删除模式时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}, "url": "/docs/compare/?release=15.20#15.20-83e861a1f39d1bf9", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "a67df481e60d4f29f198d5d7f33a4be9", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复并发删除模式时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}, "url": "/docs/compare/?release=14.25#14.25-7511d4531a9d0c5a", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-8415492c31d2018b", "cves": [], "html": "<p>\n      避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃（Satyanarayana Narlapuram，Bharath Rupireddy）<a href=\"https://postgr.es/c/ec074c41e\">§</a>\n</p>", "text": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃（Satyanarayana Narlapuram，Bharath Rupireddy）§", "title": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃", "commits": ["ec074c41e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "d4afebeec269bf6527f9f2d518b84914697ed592acf82624e58eda8bdc018928", "section_path": ["变更"], "commit_groups": [["4d9224a43", "ebf7971da", "ec074c41e", "ec8aaf845", "f3b0bb298"]], "identity_text": "Avoid null-pointer crash in logical subscription refresh when a relevant relation is concurrently dropped (Satyanarayana Narlapuram, Bharath Rupireddy)", "commit_aliases": ["4d9224a43", "ebf7971da", "ec074c41e", "ec8aaf845", "f3b0bb298"], "source_commits": ["ec074c41e"], "source_entry_id": "18.7/changes/173", "db_id": "395ca584c6198a9a48abe12d4bea4cc9", "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed", "relations": [{"rule": 2, "type": "equivalent", "target": "b45351dcea07a143a7ce5a28690ae7c9", "evidence": {"same_day": true, "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed"}}, {"rule": 2, "type": "equivalent", "target": "ed2bb1a9d4dc0483570fd194d6495bf3", "evidence": {"same_day": true, "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b45351dcea07a143a7ce5a28690ae7c9", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed"}, "url": "/docs/compare/?release=17.12#17.12-19a82cce19d63273", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ed2bb1a9d4dc0483570fd194d6495bf3", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed"}, "url": "/docs/compare/?release=16.16#16.16-10f4c535dabb1c85", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-cd76d795ddd13016", "cves": [], "html": "<p>\n      修复为表达式构建扩展统计信息时可能发生的空指针解引用（Shihao Zhong，Michael Paquier）<a href=\"https://postgr.es/c/4bcd0d31c\">§</a>\n</p><p>\n      只有自定义 <code>typanalyze</code> 函数表现出意外（但合法）的行为时，才可能触发此错误。\n     </p>", "text": "修复为表达式构建扩展统计信息时可能发生的空指针解引用（Shihao Zhong，Michael Paquier）§ 只有自定义 typanalyze 函数表现出意外（但合法）的行为时，才可能触发此错误。", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "commits": ["4bcd0d31c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3c9e1d7d21435b0eeaa3db73f67a6684197b946513426720d0af2c75b40754eb", "section_path": ["变更"], "commit_groups": [["0cea8f85e", "4b93eec05", "4bcd0d31c", "4f89416c9", "6ffd2f91b", "8b517a30c", "b2ca62b1c"]], "identity_text": "Fix possible null-pointer dereference when building extended statistics on expressions (Shihao Zhong, Michael Paquier) This error was reachable only with unexpected (but legal) behavior of a custom typanalyze function.", "commit_aliases": ["0cea8f85e", "4b93eec05", "4bcd0d31c", "4f89416c9", "6ffd2f91b", "8b517a30c", "b2ca62b1c"], "source_commits": ["4bcd0d31c"], "source_entry_id": "18.7/changes/174", "db_id": "2b59274aafd0ddb8638e6460ee94da67", "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5", "relations": [{"rule": 2, "type": "equivalent", "target": "4f4f4fc7b81c42dce7e0738fc4712c49", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}}, {"rule": 2, "type": "equivalent", "target": "9336732060d9a16dcfa01a325d21a641", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}}, {"rule": 2, "type": "equivalent", "target": "aef3cc8852dc8054907c0acfb63f9282", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}}, {"rule": 2, "type": "equivalent", "target": "f0470f5ffef4232f7a69796517c046c8", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4f4f4fc7b81c42dce7e0738fc4712c49", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}, "url": "/docs/compare/?release=17.12#17.12-015077b13aeb7264", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "9336732060d9a16dcfa01a325d21a641", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}, "url": "/docs/compare/?release=16.16#16.16-eb52a463e3650f43", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "aef3cc8852dc8054907c0acfb63f9282", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}, "url": "/docs/compare/?release=15.20#15.20-c53b19f8b238c996", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f0470f5ffef4232f7a69796517c046c8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}, "url": "/docs/compare/?release=14.25#14.25-35fb35863f4b37f4", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-5da96f9b3393c924", "cves": [], "html": "<p>\n      修复 <code>pg_locks</code>.<code>waitstart</code> 的值可能过时的问题（Shihao Zhong）<a href=\"https://postgr.es/c/ccffd3439\">§</a>\n</p>", "text": "修复 pg_locks.waitstart 的值可能过时的问题（Shihao Zhong）§", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "commits": ["ccffd3439"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "e23c688d814bdc380005b9d3d31b0d7ac65341e51c97ff8f05a41249017d75e9", "section_path": ["变更"], "commit_groups": [["0165f38d1", "0ef59b285", "5bd2e236e", "6f2f51084", "bb356f869", "ccffd3439", "edfa6c8fc"]], "identity_text": "Fix possibly-stale values of pg_locks.waitstart (Shihao Zhong)", "commit_aliases": ["0165f38d1", "0ef59b285", "5bd2e236e", "6f2f51084", "bb356f869", "ccffd3439", "edfa6c8fc"], "source_commits": ["ccffd3439"], "source_entry_id": "18.7/changes/175", "db_id": "a7233851d4d9f9b809896dbdac548ae0", "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a", "relations": [{"rule": 2, "type": "equivalent", "target": "4ef728d23f9b9bf17f3451dab78c5471", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}}, {"rule": 2, "type": "equivalent", "target": "570975425adc6c81890eb483a4df44ca", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}}, {"rule": 2, "type": "equivalent", "target": "81d8b71ca77a804dc7afe2ffe714a8f0", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}}, {"rule": 2, "type": "equivalent", "target": "fc79860a94ccd993a9764ff171e2f1a7", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "570975425adc6c81890eb483a4df44ca", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}, "url": "/docs/compare/?release=17.12#17.12-4f880da791936e36", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "fc79860a94ccd993a9764ff171e2f1a7", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}, "url": "/docs/compare/?release=16.16#16.16-32958507ecd8bb3a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "4ef728d23f9b9bf17f3451dab78c5471", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}, "url": "/docs/compare/?release=15.20#15.20-fddccf42256c8e3d", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "81d8b71ca77a804dc7afe2ffe714a8f0", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}, "url": "/docs/compare/?release=14.25#14.25-50d24765ba9f98bd", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-d7ecec7fcbbeb16c", "cves": [], "html": "<p>\n      增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护（Michael Paquier）<a href=\"https://postgr.es/c/e99e00b27\">§</a>\n</p>", "text": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护（Michael Paquier）§", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "commits": ["e99e00b27"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "ae4ff4be6e67385fb58f71e40f2ef83fd9d5896e7ba621b6585b13f74990faa2", "section_path": ["变更"], "commit_groups": [["0016a2cc4", "16706f1f4", "203b96953", "6e0011596", "e99e00b27", "fc29deb52"]], "identity_text": "Harden pgstats code against partially-completed local pgstats entries (Michael Paquier)", "commit_aliases": ["0016a2cc4", "16706f1f4", "203b96953", "6e0011596", "e99e00b27", "fc29deb52"], "source_commits": ["e99e00b27"], "source_entry_id": "18.7/changes/176", "db_id": "dd373a48afead4838bfe44a249288f63", "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e", "relations": [{"rule": 2, "type": "equivalent", "target": "aaea85d0a11f9a9f3366c8fcac4c7f83", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}}, {"rule": 2, "type": "equivalent", "target": "b8d4141b9fc98c19e2130a0fbd494a53", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}}, {"rule": 2, "type": "equivalent", "target": "e7b054e16f690be376c0becf8834d335", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aaea85d0a11f9a9f3366c8fcac4c7f83", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}, "url": "/docs/compare/?release=17.12#17.12-4bc572abd8619123", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b8d4141b9fc98c19e2130a0fbd494a53", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}, "url": "/docs/compare/?release=16.16#16.16-3a7b98ca7ccf1f86", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "e7b054e16f690be376c0becf8834d335", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}, "url": "/docs/compare/?release=15.20#15.20-a4fe49a250a863e6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-3b33b012d24a626b", "cves": [], "html": "<p>\n      修复复用的 pgstats 表项的清理（Michael Paquier）<a href=\"https://postgr.es/c/2c056b37f\">§</a>\n</p><p>\n      此错误导致 pgstats 表项泄漏，可能在后端进程退出或数据库关闭时引发错误。\n     </p>", "text": "修复复用的 pgstats 表项的清理（Michael Paquier）§ 此错误导致 pgstats 表项泄漏，可能在后端进程退出或数据库关闭时引发错误。", "title": "修复复用的 pgstats 表项的清理", "commits": ["2c056b37f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "29231b45b2bcd0a53c57db61acb84a2a2a50f24d0829aa44342c8b80f4553cda", "section_path": ["变更"], "commit_groups": [["1613efa1a", "2c056b37f", "7a405e5d7", "8de334270", "ae97ef28d", "e9d0600ab"]], "identity_text": "Fix cleanup of reused pgstats entries (Michael Paquier) This error led to leakage of pgstats entries, which could result in errors at backend exit or database shutdown.", "commit_aliases": ["1613efa1a", "2c056b37f", "7a405e5d7", "8de334270", "ae97ef28d", "e9d0600ab"], "source_commits": ["2c056b37f"], "source_entry_id": "18.7/changes/177", "db_id": "f2141d904b3ea7fff07486c4c48b4ea3", "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace", "relations": [{"rule": 2, "type": "equivalent", "target": "789758959bc3f7166e4e505560e166a6", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}}, {"rule": 2, "type": "equivalent", "target": "8706ca9436a609a6586258b18b1b4ffb", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}}, {"rule": 2, "type": "equivalent", "target": "ab90bfc1f0dbf18a9f6769a3d226c756", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "789758959bc3f7166e4e505560e166a6", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复复用的 pgstats 表项的清理", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}, "url": "/docs/compare/?release=17.12#17.12-5c5fd2200f198c83", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ab90bfc1f0dbf18a9f6769a3d226c756", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复复用的 pgstats 表项的清理", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}, "url": "/docs/compare/?release=16.16#16.16-1492b7446c3ab55c", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "8706ca9436a609a6586258b18b1b4ffb", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复复用的 pgstats 表项的清理", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}, "url": "/docs/compare/?release=15.20#15.20-f433e18315fdd8b6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-3c401b8a82a750fa", "cves": [], "html": "<p>\n      修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏（Tomás Senart）<a href=\"https://postgr.es/c/7418d9e96\">§</a>\n</p><p>\n      在许多情况下，这一遗漏影响不大，因为其所在内存上下文很快就会被重置或删除。但某些情况下可能导致长期的内存膨胀，尤其是在检查点进程中。\n     </p>", "text": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏（Tomás Senart）§ 在许多情况下，这一遗漏影响不大，因为其所在内存上下文很快就会被重置或删除。但某些情况下可能导致长期的内存膨胀，尤其是在检查点进程中。", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "commits": ["7418d9e96"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "083b4e422d4998d8fdc1d9961d526f263207984e8672bcdcd22af9a26a4fc70e", "section_path": ["变更"], "commit_groups": [["4c271dc21", "6a146d297", "7418d9e96", "8b04cc817", "a919ea702", "aa6f14da4"]], "identity_text": "Fix memory leaks caused by not releasing all data associated with a WAL reader (Tomás Senart) In many cases this oversight did little harm because the containing memory context would soon be reset or deleted. However there are cases where it could cause long-lived memory bloat, notably in the checkpointer process.", "commit_aliases": ["4c271dc21", "6a146d297", "7418d9e96", "8b04cc817", "a919ea702", "aa6f14da4"], "source_commits": ["7418d9e96"], "source_entry_id": "18.7/changes/178", "db_id": "85885f4682ba476235c8c3f65574a4a0", "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e", "relations": [{"rule": 2, "type": "equivalent", "target": "2cc0d17054145e2841e37d76e6941018", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}}, {"rule": 2, "type": "equivalent", "target": "81980902231ac591ae7e00935ebe4d8b", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}}, {"rule": 2, "type": "equivalent", "target": "f687314ed8f746f342e9da13e85a7325", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2cc0d17054145e2841e37d76e6941018", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}, "url": "/docs/compare/?release=17.12#17.12-44b4705e20668f36", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "f687314ed8f746f342e9da13e85a7325", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}, "url": "/docs/compare/?release=16.16#16.16-110b59681b8e4321", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "81980902231ac591ae7e00935ebe4d8b", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}, "url": "/docs/compare/?release=15.20#15.20-cdc3e8af477be0ef", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-a74fd3cefede6b96", "cves": [], "html": "<p>\n      避免跨许多列计算 <code>ndistinct</code> 扩展统计信息时的内存膨胀（Ilia Evdokimov）<a href=\"https://postgr.es/c/942266c7f\">§</a>\n</p>", "text": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀（Ilia Evdokimov）§", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "commits": ["942266c7f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "24a61bd0f2d04246415e59cc67608f6f812bfd237b426335c1413f0a37e912d0", "section_path": ["变更"], "commit_groups": [["050ad7edb", "205f40f5b", "6d4607e88", "942266c7f", "a8c98c884", "ec6780c59", "f51585330"]], "identity_text": "Avoid memory bloat while computing ndistinct extended statistics across many columns (Ilia Evdokimov)", "commit_aliases": ["050ad7edb", "205f40f5b", "6d4607e88", "942266c7f", "a8c98c884", "ec6780c59", "f51585330"], "source_commits": ["942266c7f"], "source_entry_id": "18.7/changes/179", "db_id": "fced12e257fe26a81ef9c28ca671d9cb", "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27", "relations": [{"rule": 2, "type": "equivalent", "target": "6ef13eaa84f1339e80084d2a250c9797", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}, {"rule": 2, "type": "equivalent", "target": "71cee618479f9306af213d6e7379e7fc", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}, {"rule": 2, "type": "equivalent", "target": "81edec36a8bd6d5cf5fa8278f34d6e2f", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}, {"rule": 2, "type": "equivalent", "target": "fabbc3c17f5b10fcd4419084f874932b", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "81edec36a8bd6d5cf5fa8278f34d6e2f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}, "url": "/docs/compare/?release=17.12#17.12-e4ff5b85edb1c9ae", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "6ef13eaa84f1339e80084d2a250c9797", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}, "url": "/docs/compare/?release=16.16#16.16-d8a30df1d4f60c35", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "71cee618479f9306af213d6e7379e7fc", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}, "url": "/docs/compare/?release=15.20#15.20-06a87e8aaf07f025", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "fabbc3c17f5b10fcd4419084f874932b", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}, "url": "/docs/compare/?release=14.25#14.25-0f673cf3e98d187c", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-b3e2a172aba459aa", "cves": [], "html": "<p>\n      修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题（Peter Geoghegan）<a href=\"https://postgr.es/c/f4284d9aa\">§</a>\n</p><p>\n      这一编码错误的后果仅限于资源泄漏警告。\n     </p>", "text": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题（Peter Geoghegan）§ 这一编码错误的后果仅限于资源泄漏警告。", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "commits": ["f4284d9aa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "db5fbfd88991e4b5c9c4c8ab78d734b81e6e78853dfc944a257692d5f79081ca", "section_path": ["变更"], "commit_groups": [["3eaa726e7", "49103c3cd", "4f45920f0", "b57161883", "c180f965d", "e61e120c1", "f4284d9aa"]], "identity_text": "Fix buffer pin leak after a failed hash index bucket split cleanup (Peter Geoghegan) This coding error resulted in nothing worse than warnings about resource leakage.", "commit_aliases": ["3eaa726e7", "49103c3cd", "4f45920f0", "b57161883", "c180f965d", "e61e120c1", "f4284d9aa"], "source_commits": ["f4284d9aa"], "source_entry_id": "18.7/changes/180", "db_id": "579890f7c8e6c40378a188b0f8771dc4", "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4", "relations": [{"rule": 2, "type": "equivalent", "target": "0c966e575f36d75a0bc4fe46df5b8671", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}}, {"rule": 2, "type": "equivalent", "target": "5899a5a22df8815844e4670294fb4dcd", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}}, {"rule": 2, "type": "equivalent", "target": "9bb31de1bf9fac15d84ccf0955b43f7c", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}}, {"rule": 2, "type": "equivalent", "target": "cf96d689c63a28d63ffbc275151e1ac5", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0c966e575f36d75a0bc4fe46df5b8671", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}, "url": "/docs/compare/?release=17.12#17.12-d43e4f978ee982ab", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "5899a5a22df8815844e4670294fb4dcd", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}, "url": "/docs/compare/?release=16.16#16.16-340068dfdd44f771", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9bb31de1bf9fac15d84ccf0955b43f7c", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}, "url": "/docs/compare/?release=15.20#15.20-a37d58855aa48e21", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "cf96d689c63a28d63ffbc275151e1ac5", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}, "url": "/docs/compare/?release=14.25#14.25-16f561ec76de88f3", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f99fd23f8e35c514", "cves": [], "html": "<p>\n      确保为 <code>AFTER</code> 触发器打开的所有关系都被重新关闭（Hayato Kuroda，David Rowley）<a href=\"https://postgr.es/c/715d83971\">§</a>\n</p><p>\n      这一遗漏会触发<span>“<span>resource was not closed</span>”</span>警告，但不会造成更严重的后果。\n     </p>", "text": "确保为 AFTER 触发器打开的所有关系都被重新关闭（Hayato Kuroda，David Rowley）§ 这一遗漏会触发“resource was not closed”警告，但不会造成更严重的后果。", "title": "确保为 AFTER 触发器打开的所有关系都被重新关闭", "commits": ["715d83971"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "6766148a755f0b046c95c5e584a3ba89b039e9ac360f59b318cb76498bc6808e", "section_path": ["变更"], "commit_groups": [["059aae612", "1051099a9", "4f0af2635", "70d5b0668", "715d83971", "c949e6524"]], "identity_text": "Ensure all relations opened for AFTER triggers are closed again (Hayato Kuroda, David Rowley) This oversight triggered resource was not closed warnings, but nothing more serious than that.", "commit_aliases": ["059aae612", "1051099a9", "4f0af2635", "70d5b0668", "715d83971", "c949e6524"], "source_commits": ["715d83971"], "source_entry_id": "18.7/changes/181", "db_id": "a1be41b34aafe54a763fd355aa031187", "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49", "relations": [{"rule": 2, "type": "equivalent", "target": "501a71a4a44534558553a9fcf1f7bc8f", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}}, {"rule": 2, "type": "equivalent", "target": "c3b0d25d2111e74375add57385c62021", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}}, {"rule": 2, "type": "equivalent", "target": "c8a254669bab707a211b8a182c570059", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c8a254669bab707a211b8a182c570059", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保为 AFTER 触发器打开的所有关系都被重新关闭", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}, "url": "/docs/compare/?release=17.12#17.12-4293a17fa1099185", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "c3b0d25d2111e74375add57385c62021", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保为 AFTER 触发器打开的所有关系都被重新关闭", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}, "url": "/docs/compare/?release=16.16#16.16-366c263316a6e0ca", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "501a71a4a44534558553a9fcf1f7bc8f", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保为 AFTER 触发器打开的所有关系都被重新关闭", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}, "url": "/docs/compare/?release=15.20#15.20-5e88542e203cb4a5", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "18.7-c628beb39be5e3f7", "cves": [], "html": "<p>\n      修复崩溃重启之间的 <code>io_uring</code> 资源泄漏（Lucas Draescher）<a href=\"https://postgr.es/c/5bfe88cf6\">§</a>\n</p><p>\n      最终，重启会因<span>“<span>too many open files</span>”</span>或类似错误而失败，此时 postmaster 才会退出并释放资源。这只影响使用非默认设置 <code>io_method=io_uring</code> 的情况。\n     </p>", "text": "修复崩溃重启之间的 io_uring 资源泄漏（Lucas Draescher）§ 最终，重启会因“too many open files”或类似错误而失败，此时 postmaster 才会退出并释放资源。这只影响使用非默认设置 io_method=io_uring 的情况。", "title": "修复崩溃重启之间的 io_uring 资源泄漏", "commits": ["5bfe88cf6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "53a4a68fc2c10a72195673e7634e3db42db423745b7f9b4b1be411e6bdb43cee", "section_path": ["变更"], "commit_groups": [["5bfe88cf6", "62f868e77", "953c6dabd"]], "identity_text": "Fix io_uring resource leakage across crash restarts (Lucas Draescher) Eventually, a restart would fail with too many open files or a similar error, at which point the postmaster would exit and the resources would be released. This is only an issue when using io_method=io_uring, which is not the default.", "commit_aliases": ["5bfe88cf6", "62f868e77", "953c6dabd"], "source_commits": ["5bfe88cf6"], "source_entry_id": "18.7/changes/182", "db_id": "c540b2172bb91724c397b89f2d157e7d", "patch_ids": ["71dd99df0dfd84dc209e0f6e920e227a"], "statement_hash": "e974921ba8312ca8f3027659713ca6138c0c88cb564374bcd1cf27fbccdb5b7b", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-973d6f0335a2abfd", "cves": [], "html": "<p>\n      修复 PL/pgSQL 对 <code>anycompatiblemultirange</code> 参数和结果的处理（Jeevan Chalke）<a href=\"https://postgr.es/c/a34d61616\">§</a>\n</p><p>\n      PL/pgSQL 的多态类型识别中未加入此类型，导致尝试创建或使用以该类型声明的函数时报错。\n     </p>", "text": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理（Jeevan Chalke）§ PL/pgSQL 的多态类型识别中未加入此类型，导致尝试创建或使用以该类型声明的函数时报错。", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "commits": ["a34d61616"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "989a2a99d2b015b71b33af92c3ad9714e3ae1f49463116ba68cba5804da38d0a", "section_path": ["变更"], "commit_groups": [["658e15092", "663c34c1e", "791446a14", "9df4d21ac", "a34d61616", "f291e3336", "fa10d961d"]], "identity_text": "Fix PL/pgSQL's handling of anycompatiblemultirange arguments and results (Jeevan Chalke) This type had not been added to PL/pgSQL's knowledge of polymorphic types, resulting in errors when trying to create or use a function declared with it.", "commit_aliases": ["658e15092", "663c34c1e", "791446a14", "9df4d21ac", "a34d61616", "f291e3336", "fa10d961d"], "source_commits": ["a34d61616"], "source_entry_id": "18.7/changes/183", "db_id": "bc8605af13a004784f9b0b025800ee99", "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8", "relations": [{"rule": 2, "type": "equivalent", "target": "034aec55396e187e30a018a8fb71fa85", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}}, {"rule": 2, "type": "equivalent", "target": "38494a745389d51e582ae14c270c4b5e", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}}, {"rule": 2, "type": "equivalent", "target": "a33327622d477970bb4fdbfc9295146b", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}}, {"rule": 2, "type": "equivalent", "target": "ef8a724cc113a64cb52822e8548972ce", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "38494a745389d51e582ae14c270c4b5e", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}, "url": "/docs/compare/?release=17.12#17.12-8e5d05b66485e92d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a33327622d477970bb4fdbfc9295146b", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}, "url": "/docs/compare/?release=16.16#16.16-5e1d07aa2d557a99", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "ef8a724cc113a64cb52822e8548972ce", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}, "url": "/docs/compare/?release=15.20#15.20-83aa34e87a227638", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "034aec55396e187e30a018a8fb71fa85", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}, "url": "/docs/compare/?release=14.25#14.25-b60a0280a739ab0d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-daceacddc2737192", "cves": [], "html": "<p>\n      增强 PL/Perl 和相关 contrib 模块对<span>“<span>绑定</span>”</span>的 Perl 哈希与数组的防护（Tom Lane）<a href=\"https://postgr.es/c/af659efcb\">§</a> <a href=\"https://postgr.es/c/b6193ff03\">§</a>\n</p><p>\n      依靠 <code>av_count()</code> 判断 Perl 数组长度，而不是查找空指针；另一方面，更谨慎地处理从数组和哈希提取值时意外出现的空值指针。目前只知道这些情况会在<span>“<span>绑定</span>”</span>对象中发生。\n     </p>", "text": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护（Tom Lane）§ § 依靠 av_count() 判断 Perl 数组长度，而不是查找空指针；另一方面，更谨慎地处理从数组和哈希提取值时意外出现的空值指针。目前只知道这些情况会在“绑定”对象中发生。", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "commits": ["af659efcb", "b6193ff03"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "17ce000ca8b71d689488c01162dcb0208e62943e69af9d60751a5e39ab2621e9", "section_path": ["变更"], "commit_groups": [["1035eab49", "131444cd1", "3c4d77480", "794473ec2", "af659efcb", "b6b4f5a64", "ede3188e1"], ["2860d322a", "aecc86482", "b6193ff03", "c0641ae4e", "d54d3f5d9", "ec24237a4", "fe06b9b5b"]], "identity_text": "Harden PL/Perl and associated contrib modules against tied Perl hashes and arrays (Tom Lane) Rely on av_count() to decide the length of a Perl array, rather than looking for a null pointer; and contrarily be more wary about unexpected null value pointers from array and hash fetches. These cases are only known to arise in connection with tied objects.", "commit_aliases": ["1035eab49", "131444cd1", "2860d322a", "3c4d77480", "794473ec2", "aecc86482", "af659efcb", "b6193ff03", "b6b4f5a64", "c0641ae4e", "d54d3f5d9", "ec24237a4", "ede3188e1", "fe06b9b5b"], "source_commits": ["af659efcb", "b6193ff03"], "source_entry_id": "18.7/changes/184", "db_id": "4db93383a6bf5d3a0447becc0c6298c8", "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90", "relations": [{"rule": 2, "type": "equivalent", "target": "5bcf36aa4705757a66f06a329a5c12b1", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}}, {"rule": 2, "type": "equivalent", "target": "9fc5e32c045445bd119cb3fc55abf3c4", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}}, {"rule": 2, "type": "equivalent", "target": "a6965a0642ed07a2ee7919a66680ed86", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}}, {"rule": 2, "type": "equivalent", "target": "d34c44e4c8878026c53e884d9461bfb1", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5bcf36aa4705757a66f06a329a5c12b1", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}, "url": "/docs/compare/?release=17.12#17.12-bb899e2bdfffd72d", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "a6965a0642ed07a2ee7919a66680ed86", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}, "url": "/docs/compare/?release=16.16#16.16-7bdc3323f08c8211", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "d34c44e4c8878026c53e884d9461bfb1", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}, "url": "/docs/compare/?release=15.20#15.20-7228888959fd65a6", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "9fc5e32c045445bd119cb3fc55abf3c4", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}, "url": "/docs/compare/?release=14.25#14.25-4e384bfa8771d66f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-feaae5d4f6d588dd", "cves": [], "html": "<p>\n      避免 <span>libpq</span> 重复建立 GSS 连接时的内存泄漏（Matt Carter，Tom Lane）<a href=\"https://postgr.es/c/94d625f5d\">§</a>\n</p>", "text": "避免 libpq 重复建立 GSS 连接时的内存泄漏（Matt Carter，Tom Lane）§", "title": "避免 libpq 重复建立 GSS 连接时的内存泄漏", "commits": ["94d625f5d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "115475b7a192c378db6f494168a82fac01038f6a9be3d9b538383f53b31cba37", "section_path": ["变更"], "commit_groups": [["1c9efb57e", "5aed88ff9", "72216a245", "94d625f5d", "df9e6d7c7"]], "identity_text": "Avoid memory leakage in libpq with repeated GSS connections (Matt Carter, Tom Lane)", "commit_aliases": ["1c9efb57e", "5aed88ff9", "72216a245", "94d625f5d", "df9e6d7c7"], "source_commits": ["94d625f5d"], "source_entry_id": "18.7/changes/185", "db_id": "e03a7778db9fd1b606598eca8d5583b3", "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6", "relations": [{"rule": 2, "type": "equivalent", "target": "32d4f14b816b99f52b259ee38844173c", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}}, {"rule": 2, "type": "equivalent", "target": "73e932f806b9f034f51f00194baf57a7", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "32d4f14b816b99f52b259ee38844173c", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免 libpq 重复建立 GSS 连接时的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}, "url": "/docs/compare/?release=17.12#17.12-4f004c5099aff8f0", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "73e932f806b9f034f51f00194baf57a7", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "避免 libpq 重复建立 GSS 连接时的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}, "url": "/docs/compare/?release=16.16#16.16-926008b7ab75fc91", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-9a43491e44e71849", "cves": [], "html": "<p>\n      避免 <code>getopt_long()</code> 重新排列程序命令行参数时出现不正确的行为（Sehrope Sarkuni）<a href=\"https://postgr.es/c/d33449024\">§</a>\n</p><p>\n      例如，<code>vacuumdb postgres --jobs</code> 会将 <code>postgres</code> 当作作业数量，而不是报告 <code>--jobs</code> 缺少参数。\n     </p>", "text": "避免 getopt_long() 重新排列程序命令行参数时出现不正确的行为（Sehrope Sarkuni）§ 例如，vacuumdb postgres --jobs 会将 postgres 当作作业数量，而不是报告 --jobs 缺少参数。", "title": "避免 getopt_long() 重新排列程序命令行参数时出现不正确的行为", "commits": ["d33449024"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "b15f596f2ba69cf7daf8e73012ca49686e1f4b582c538984cb7f5b8f787755f7", "section_path": ["变更"], "commit_groups": [["237176b79", "a11bce64a", "a16088305", "d33449024"]], "identity_text": "Avoid incorrect behavior when getopt_long() rearranges a program's command line arguments (Sehrope Sarkuni) For example, vacuumdb postgres --jobs took postgres as the number of jobs instead of complaining that --jobs is missing its argument.", "commit_aliases": ["237176b79", "a11bce64a", "a16088305", "d33449024"], "source_commits": ["d33449024"], "source_entry_id": "18.7/changes/186", "db_id": "2eec143621d677c65219a9dadada4d8f", "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193", "relations": [{"rule": 2, "type": "equivalent", "target": "3b1742af7661d43f8c09a5bf80070eaf", "evidence": {"same_day": true, "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3b1742af7661d43f8c09a5bf80070eaf", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "避免 getopt_long() 重新排列程序命令行参数时出现不正确的行为", "evidence": {"same_day": true, "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193"}, "url": "/docs/compare/?release=17.12#17.12-58b821fcb5f70d7c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-ffc56f6ee1a396dc", "cves": [], "html": "<p>\n      修复 <span>psql</span> 对表属性 <code>REPLICA IDENTITY NOTHING</code> 的显示（Shinya Kato）<a href=\"https://postgr.es/c/baa7b142a\">§</a>\n</p>", "text": "修复 psql 对表属性 REPLICA IDENTITY NOTHING 的显示（Shinya Kato）§", "title": "修复 psql 对表属性 REPLICA IDENTITY NOTHING 的显示", "commits": ["baa7b142a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "40a7a6d7bb5ca63bb72c501709297532c74d71cba59b341e3889f61670b333c0", "section_path": ["变更"], "commit_groups": [["4fb6e9eb7", "67342a148", "baa7b142a"]], "identity_text": "Fix psql's display of REPLICA IDENTITY NOTHING table properties (Shinya Kato)", "commit_aliases": ["4fb6e9eb7", "67342a148", "baa7b142a"], "source_commits": ["baa7b142a"], "source_entry_id": "18.7/changes/187", "db_id": "290c000c396554eaa9cbcb922056e68e", "patch_ids": ["5a865a66c71fd40e21f37755cb1df05b"], "statement_hash": "7e2e8d5b96535e1f15b07fa816bcbe9d1d4980d23661bf005a3612e8d65f716b", "relations": [], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-65fa7a92b71aca0a", "cves": ["CVE-2026-6464"], "html": "<p>\n      确保 <span>psql</span> 统计多查询命令字符串中出现的所有 <code>COPY FROM STDIN</code> 命令（Zsolt Parragi）<a href=\"https://postgr.es/c/bcb776671\">§</a>\n</p><p>\n      修复 CVE-2026-6464 后，<span>psql</span> 会拒绝同一字符串中出现的多个 <code>COPY FROM STDIN</code> 命令，因为它没有预期会发生多次 <code>COPY</code> 操作。\n     </p>", "text": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令（Zsolt Parragi）§ 修复 CVE-2026-6464 后，psql 会拒绝同一字符串中出现的多个 COPY FROM STDIN 命令，因为它没有预期会发生多次 COPY 操作。", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "commits": ["bcb776671"], "section": "变更", "category": "security", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "3f5d1a661fcc6e67da565584e0ecb98fb3e0cbe9d78b3911efb8153b0a22721e", "section_path": ["变更"], "commit_groups": [["0d7baa209", "3828ab704", "52f1eaae6", "7f8de6d87", "bcb776671", "ed0a2b707", "f1204c1a7"]], "identity_text": "Ensure that psql counts all the COPY FROM STDIN commands appearing in a multi-query command string (Zsolt Parragi) After the fix for CVE-2026-6464, psql would reject multiple COPY FROM STDIN commands appearing in a single string, because it was not expecting more than one COPY operation to occur.", "commit_aliases": ["0d7baa209", "3828ab704", "52f1eaae6", "7f8de6d87", "bcb776671", "ed0a2b707", "f1204c1a7"], "source_commits": ["bcb776671"], "source_entry_id": "18.7/changes/188", "db_id": "d6f3b68a72aec2332c987eabc37608c4", "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f", "relations": [{"rule": 2, "type": "equivalent", "target": "5e7834f0595bf5d35c3d81105d354fbb", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}}, {"rule": 2, "type": "equivalent", "target": "b94963350177706e33bfbbc12fcd6a0e", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}}, {"rule": 2, "type": "equivalent", "target": "f19be8a0277f611f72d7889f813790a3", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}}, {"rule": 2, "type": "equivalent", "target": "ff6054a4ce11bc0cd441f0d7c6ab4207", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}}], "version": "18.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f19be8a0277f611f72d7889f813790a3", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}, "url": "/docs/compare/?release=17.12#17.12-9d076c0a4147633b", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "b94963350177706e33bfbbc12fcd6a0e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}, "url": "/docs/compare/?release=16.16#16.16-b3056589f0cdf266", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "5e7834f0595bf5d35c3d81105d354fbb", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}, "url": "/docs/compare/?release=15.20#15.20-7d89d19c8c94fd6c", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "ff6054a4ce11bc0cd441f0d7c6ab4207", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}, "url": "/docs/compare/?release=14.25#14.25-e636d21cd5137db7", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-f8faa5480d83a9f2", "cves": [], "html": "<p>\n      防止 <code>\\getresults</code> 的参数无效时 <span>psql</span> 状态混乱（Fujii Masao）<a href=\"https://postgr.es/c/fd9bb365d\">§</a>\n</p>", "text": "防止 \\getresults 的参数无效时 psql 状态混乱（Fujii Masao）§", "title": "防止 \\getresults 的参数无效时 psql 状态混乱", "commits": ["fd9bb365d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "24ef49a3a9bb02c9a00c1714c3d9a0c4dc81262d3237bbc4224d509e83083dae", "section_path": ["变更"], "commit_groups": [["2b0d50e39", "d2ba58047", "fd9bb365d"]], "identity_text": "Prevent psql from getting confused if the argument of \\getresults is invalid (Fujii Masao)", "commit_aliases": ["2b0d50e39", "d2ba58047", "fd9bb365d"], "source_commits": ["fd9bb365d"], "source_entry_id": "18.7/changes/189", "db_id": "3c4f857f6ef2d6d79d1d125300cfd9a0", "patch_ids": ["6dc65589e43fd72a163ef1d063edc000"], "statement_hash": "569f7fafd3bbfefc0f84fb895830513de5bf3c91a5a22163be86f4b0b49c8475", "relations": [], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "18.7-559ea61ffb5a2f2e", "cves": [], "html": "<p>\n      改善 <span>psql</span> 在处理反斜杠命令时对内存耗尽的应对（Fujii Masao）<a href=\"https://postgr.es/c/3f01b0c4a\">§</a> <a href=\"https://postgr.es/c/789ae09a5\">§</a>\n</p>", "text": "改善 psql 在处理反斜杠命令时对内存耗尽的应对（Fujii Masao）§ §", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "commits": ["3f01b0c4a", "789ae09a5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "59ffadaad9e7c752a1d4b5e94227382701afd7c9f34074863a345989eb495ba0", "section_path": ["变更"], "commit_groups": [["1bb858c83", "1c62efd14", "789ae09a5", "b2e391aea", "d2e19268d", "de38e72a1", "e793e51ab"], ["3d41f014f", "3f01b0c4a", "8114617f7", "9d4505b7f", "ab001a3a6", "b57f96220", "e6c200f9a"]], "identity_text": "Make psql cope better with out-of-memory conditions during backslash command processing (Fujii Masao)", "commit_aliases": ["1bb858c83", "1c62efd14", "3d41f014f", "3f01b0c4a", "789ae09a5", "8114617f7", "9d4505b7f", "ab001a3a6", "b2e391aea", "b57f96220", "d2e19268d", "de38e72a1", "e6c200f9a", "e793e51ab"], "source_commits": ["3f01b0c4a", "789ae09a5"], "source_entry_id": "18.7/changes/190", "db_id": "b91da079677a1bde53bc8044b3150f54", "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f", "relations": [{"rule": 2, "type": "equivalent", "target": "0109e6ae0ecd35904f56e9aad9b6508e", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}}, {"rule": 2, "type": "equivalent", "target": "9eeb03a2e24d2988045a43ae485e8330", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}}, {"rule": 2, "type": "equivalent", "target": "b6355a96a806c7267eeba418bc52de66", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}}, {"rule": 2, "type": "equivalent", "target": "eab19b65fe02327590eb19a5b40f498e", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b6355a96a806c7267eeba418bc52de66", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}, "url": "/docs/compare/?release=17.12#17.12-77ed8b762265bd6c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "eab19b65fe02327590eb19a5b40f498e", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}, "url": "/docs/compare/?release=16.16#16.16-58dac3965cb53129", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "9eeb03a2e24d2988045a43ae485e8330", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}, "url": "/docs/compare/?release=15.20#15.20-cedc76b8962391bb", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "0109e6ae0ecd35904f56e9aad9b6508e", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}, "url": "/docs/compare/?release=14.25#14.25-a1d8d521e9f8dfac", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-71e3fdf3db65a1e4", "cves": [], "html": "<p>\n      修复 <span>psql</span> 中少量内存泄漏（Fujii Masao）<a href=\"https://postgr.es/c/8753b6904\">§</a>\n</p>", "text": "修复 psql 中少量内存泄漏（Fujii Masao）§", "title": "修复 psql 中少量内存泄漏", "commits": ["8753b6904"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "021d1d84faa53939a2c66b2eeae64d22fecb6c378b8449b031c70b7756355e29", "section_path": ["变更"], "commit_groups": [["4c5485aed", "4d2c7beb6", "8753b6904", "bc18487fe", "be97b984f", "e3ad751e1", "e8bc40d29"]], "identity_text": "Fix some small memory leaks in psql (Fujii Masao)", "commit_aliases": ["4c5485aed", "4d2c7beb6", "8753b6904", "bc18487fe", "be97b984f", "e3ad751e1", "e8bc40d29"], "source_commits": ["8753b6904"], "source_entry_id": "18.7/changes/191", "db_id": "088785e33ed48aa014abc8d944b5f8cf", "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540", "relations": [{"rule": 2, "type": "equivalent", "target": "5a8afcd7a4bddc188acd5de47683c54d", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}, {"rule": 2, "type": "equivalent", "target": "925df92035d90ee3d40ff8e5513ce6d3", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}, {"rule": 2, "type": "equivalent", "target": "bd14c8654f7df3c122936d60d99d0925", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}, {"rule": 2, "type": "equivalent", "target": "fb14ee64d5aee045fb703db47ca3a1b0", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd14c8654f7df3c122936d60d99d0925", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 psql 中少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}, "url": "/docs/compare/?release=17.12#17.12-e73d2c0d532cc6e4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "fb14ee64d5aee045fb703db47ca3a1b0", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 psql 中少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}, "url": "/docs/compare/?release=16.16#16.16-73c8fe825f717e4d", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "925df92035d90ee3d40ff8e5513ce6d3", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 psql 中少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}, "url": "/docs/compare/?release=15.20#15.20-2a2db50d76709a90", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "5a8afcd7a4bddc188acd5de47683c54d", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 psql 中少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}, "url": "/docs/compare/?release=14.25#14.25-17e35cfedcd408cb", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-da932650a2716f72", "cves": [], "html": "<p>\n      在 <span>pg_combinebackup</span> 中拒绝增量备份文件里超出范围的块号（Peter Eisentraut）<a href=\"https://postgr.es/c/15e940a10\">§</a>\n</p><p>\n      这一遗漏使 <span>pg_combinebackup</span> 可能因损坏的输入而崩溃。\n     </p>", "text": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号（Peter Eisentraut）§ 这一遗漏使 pg_combinebackup 可能因损坏的输入而崩溃。", "title": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号", "commits": ["15e940a10"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "05eaa0b4935b939be72ebbd9345960d4f88fdeadb7f9605a0559a3014bdeba72", "section_path": ["变更"], "commit_groups": [["0bffea8f6", "15e940a10", "48a1c38e8", "fcfd24560"]], "identity_text": "In pg_combinebackup, reject out-of-range block numbers in incremental backup files (Peter Eisentraut) This omission meant that pg_combinebackup could crash on corrupted input.", "commit_aliases": ["0bffea8f6", "15e940a10", "48a1c38e8", "fcfd24560"], "source_commits": ["15e940a10"], "source_entry_id": "18.7/changes/192", "db_id": "62f2df591f0f27209a1140c7ae423f33", "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b", "relations": [{"rule": 2, "type": "equivalent", "target": "18031f600cbdbfb94bc29513b5d9884e", "evidence": {"same_day": true, "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "18031f600cbdbfb94bc29513b5d9884e", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号", "evidence": {"same_day": true, "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b"}, "url": "/docs/compare/?release=17.12#17.12-74f262f2f1848ffc", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-c950a7d8e36a835f", "cves": [], "html": "<p>\n      使 <span>pg_dump</span> 转储用于支持约束的索引的列统计目标（Zsolt Parragi）<a href=\"https://postgr.es/c/37bbf5bba\">§</a>\n</p><p>\n      此前，<span>pg_dump</span> 会在普通索引需要时输出 <code>ALTER INDEX ... SET STATISTICS</code> 命令，但不会为通过表达式上的 <code>EXCLUDE</code> 约束创建的索引这样做。\n     </p>", "text": "使 pg_dump 转储用于支持约束的索引的列统计目标（Zsolt Parragi）§ 此前，pg_dump 会在普通索引需要时输出 ALTER INDEX ... SET STATISTICS 命令，但不会为通过表达式上的 EXCLUDE 约束创建的索引这样做。", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "commits": ["37bbf5bba"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "7e63113067dbeeb5804e63897ed597b585565c79305b2ad69f0eaa82a7246c6f", "section_path": ["变更"], "commit_groups": [["3693e2bc0", "37bbf5bba", "5e158a2e4", "80931d131", "a96a9e170", "cb157339c", "fa96254c6"]], "identity_text": "Make pg_dump dump column statistics targets for indexes backing constraints (Zsolt Parragi) Formerly pg_dump would emit ALTER INDEX ... SET STATISTICS commands when needed for plain indexes, but not for indexes created via EXCLUDE constraints on expressions.", "commit_aliases": ["3693e2bc0", "37bbf5bba", "5e158a2e4", "80931d131", "a96a9e170", "cb157339c", "fa96254c6"], "source_commits": ["37bbf5bba"], "source_entry_id": "18.7/changes/193", "db_id": "b7ab495c4cec6f89aae8d116dcd452b8", "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b", "relations": [{"rule": 2, "type": "equivalent", "target": "04e5cfc2130e712a843071330a809481", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}}, {"rule": 2, "type": "equivalent", "target": "253da4a9237dd2fe31aca19fd6834dd2", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}}, {"rule": 2, "type": "equivalent", "target": "c3cfec1f89a99c7217e8f34515f261e2", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}}, {"rule": 2, "type": "equivalent", "target": "eb03642fb705cd7190306190346f45e8", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "253da4a9237dd2fe31aca19fd6834dd2", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}, "url": "/docs/compare/?release=17.12#17.12-b6b2c8fccfdf6a4c", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "04e5cfc2130e712a843071330a809481", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}, "url": "/docs/compare/?release=16.16#16.16-539aca2d4d151330", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "c3cfec1f89a99c7217e8f34515f261e2", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}, "url": "/docs/compare/?release=15.20#15.20-1ed5daa994a6aad2", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "eb03642fb705cd7190306190346f45e8", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}, "url": "/docs/compare/?release=14.25#14.25-0678cc525bff8bf9", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-eb81cd9b97914c23", "cves": [], "html": "<p>\n      在 <span>pg_dump</span> 的 tar 格式输出中，不向 <code>restore.sql</code> tar 成员写入无效的 <code>\\restrict</code>/<code>\\unrestrict</code> 命令（Pavel Kopylov）<a href=\"https://postgr.es/c/2d748cfe3\">§</a>\n</p>", "text": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令（Pavel Kopylov）§", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "commits": ["2d748cfe3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "77e6526470a1fcd48e8caf4db9e7e04a59103b91daf5f9b987fabfb76f3aa400", "section_path": ["变更"], "commit_groups": [["054eb938e", "2d748cfe3", "3c5d9d914", "45fc3ce22", "ae63671a7", "b349762fd", "c5fcb19d0"]], "identity_text": "In pg_dump's tar-format output, don't put invalid \\restrict/\\unrestrict commands into the restore.sql tar member (Pavel Kopylov)", "commit_aliases": ["054eb938e", "2d748cfe3", "3c5d9d914", "45fc3ce22", "ae63671a7", "b349762fd", "c5fcb19d0"], "source_commits": ["2d748cfe3"], "source_entry_id": "18.7/changes/194", "db_id": "c45ea06c5bf0593964d7a9acd22dbbca", "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077", "relations": [{"rule": 2, "type": "equivalent", "target": "339254ce9e9b2b7ea42e7ff53321e655", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}}, {"rule": 2, "type": "equivalent", "target": "399af03d16388d43766a443ca12d483f", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}}, {"rule": 2, "type": "equivalent", "target": "7f10cffb1c809305e3a0a8bb6874392a", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}}, {"rule": 2, "type": "equivalent", "target": "e3c682df84ee88941d076e51eeab08f8", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e3c682df84ee88941d076e51eeab08f8", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}, "url": "/docs/compare/?release=17.12#17.12-ee71b3e48a71eb7f", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "399af03d16388d43766a443ca12d483f", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}, "url": "/docs/compare/?release=16.16#16.16-3ac63287f63b743a", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "7f10cffb1c809305e3a0a8bb6874392a", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}, "url": "/docs/compare/?release=15.20#15.20-f049890e5db7bdc2", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "339254ce9e9b2b7ea42e7ff53321e655", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}, "url": "/docs/compare/?release=14.25#14.25-8ca3e9e513fa698d", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-faf491db4ffe4116", "cves": [], "html": "<p>\n      使 <span>pg_walsummary</span> 的 <code>--quiet</code> 开关抑制界限块的输出（Koshi Shibagaki）<a href=\"https://postgr.es/c/1370a7832\">§</a>\n</p>", "text": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出（Koshi Shibagaki）§", "title": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出", "commits": ["1370a7832"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "4d2ff5086854b40e9e06ff5cff15887b9547fc5ffcc6fb11bb1868df8a73e97a", "section_path": ["变更"], "commit_groups": [["1370a7832", "2a8ce0f68", "bbddc9ac7", "d843a801b"]], "identity_text": "Make pg_walsummary's --quiet switch suppress limit block output (Koshi Shibagaki)", "commit_aliases": ["1370a7832", "2a8ce0f68", "bbddc9ac7", "d843a801b"], "source_commits": ["1370a7832"], "source_entry_id": "18.7/changes/195", "db_id": "a34721a9ae74f19958ed080b891d777b", "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8", "relations": [{"rule": 2, "type": "equivalent", "target": "5226955280907f679ba8ef8ad966c820", "evidence": {"same_day": true, "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5226955280907f679ba8ef8ad966c820", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出", "evidence": {"same_day": true, "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8"}, "url": "/docs/compare/?release=17.12#17.12-23458a9fd3799f02", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-63a9ddac30f98b86", "cves": [], "html": "<p>\n      如果以多个作业请求索引级 <code>REINDEX CONCURRENTLY</code>，则使 <span>reindexdb</span> 明确报错退出（Kirill Reshke）<a href=\"https://postgr.es/c/acccaf0d8\">§</a>\n</p><p>\n      此前，这种选项组合会导致服务器端报错，指出 <code>REINDEX CONCURRENTLY</code> 不能在事务块内运行。\n     </p>", "text": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出（Kirill Reshke）§ 此前，这种选项组合会导致服务器端报错，指出 REINDEX CONCURRENTLY 不能在事务块内运行。", "title": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出", "commits": ["acccaf0d8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "c91ee0145da00d4a09e7b35c5dc76e66a111fbde0e113849a85c69e00a5e733b", "section_path": ["变更"], "commit_groups": [["869c53ff8", "acccaf0d8", "c84243d5b", "e9c03f0f1"]], "identity_text": "Make reindexdb error out cleanly if an index-level REINDEX CONCURRENTLY is requested with multiple jobs (Kirill Reshke) Previously, this combination of options would lead to a server-side error, complaining that REINDEX CONCURRENTLY cannot run within a transaction block.", "commit_aliases": ["869c53ff8", "acccaf0d8", "c84243d5b", "e9c03f0f1"], "source_commits": ["acccaf0d8"], "source_entry_id": "18.7/changes/196", "db_id": "ec5cb92096d6443c3f8e6133d5d988cb", "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479", "relations": [{"rule": 2, "type": "equivalent", "target": "a3fc30a290da0b93f1ffb37136166c3f", "evidence": {"same_day": true, "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a3fc30a290da0b93f1ffb37136166c3f", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出", "evidence": {"same_day": true, "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479"}, "url": "/docs/compare/?release=17.12#17.12-d5aa0afc67310f89", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}]}, {"id": "18.7-d3c2d73bb2487327", "cves": [], "html": "<p>\n      修复表带有列默认值子句时 <code>contrib/file_fdw</code> 在 <code>ANALYZE</code> 中崩溃的问题（Fujii Masao）<a href=\"https://postgr.es/c/813a74bc5\">§</a>\n</p>", "text": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题（Fujii Masao）§", "title": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题", "commits": ["813a74bc5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0407e147bbf5563acaa0236e36ad4c048d004c36037f32d48a561e2212517150", "section_path": ["变更"], "commit_groups": [["0b1eb8b91", "72b9498df", "813a74bc5", "b2b1910d9", "e9c45974a"]], "identity_text": "Fix contrib/file_fdw to not crash in ANALYZE when the table has column default clauses (Fujii Masao)", "commit_aliases": ["0b1eb8b91", "72b9498df", "813a74bc5", "b2b1910d9", "e9c45974a"], "source_commits": ["813a74bc5"], "source_entry_id": "18.7/changes/197", "db_id": "6e1d2efbfb0e2c354180b3257852f425", "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816", "relations": [{"rule": 2, "type": "equivalent", "target": "05579e73f98dbd257bc99ff6d8838cbb", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}}, {"rule": 2, "type": "equivalent", "target": "c0db90aee7ae325abf520882996cd0ba", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0db90aee7ae325abf520882996cd0ba", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}, "url": "/docs/compare/?release=17.12#17.12-019fe8054266019e", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "05579e73f98dbd257bc99ff6d8838cbb", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}, "url": "/docs/compare/?release=16.16#16.16-761ffb208d0d0722", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}]}, {"id": "18.7-e7443f7a1163ff0e", "cves": [], "html": "<p>\n      修复 <code>contrib/pg_trgm</code> GiST 索引可能损坏的问题（Nate Clark）<a href=\"https://postgr.es/c/60ccd730d\">§</a>\n</p><p>\n      合并索引项时可能丢失用于标识其格式的标志，从而使后续索引搜索漏掉匹配行。\n     </p><p>\n      此修复不会修复已有索引。用户应在更新后对已有的 <code>gist_trgm_ops</code> 索引执行 <code>REINDEX</code>。\n     </p>", "text": "修复 contrib/pg_trgm GiST 索引可能损坏的问题（Nate Clark）§ 合并索引项时可能丢失用于标识其格式的标志，从而使后续索引搜索漏掉匹配行。 此修复不会修复已有索引。用户应在更新后对已有的 gist_trgm_ops 索引执行 REINDEX。", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "commits": ["60ccd730d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0aa2a268d558854e7f2d76b3921bdbadb86c67f73073438b1b717fcb90da7f0f", "section_path": ["变更"], "commit_groups": [["145a7175e", "2117bdccf", "42c6d2bc3", "60ccd730d", "8aea84d2b", "8ef710eb3", "f10d58d1f"]], "identity_text": "Fix possible index corruption in contrib/pg_trgm GiST indexes (Nate Clark) Combination of index entries could lose the flag identifying their format, so that subsequent index searches could miss matching rows. This fix does not repair existing indexes. Users should REINDEX existing gist_trgm_ops indexes after updating.", "commit_aliases": ["145a7175e", "2117bdccf", "42c6d2bc3", "60ccd730d", "8aea84d2b", "8ef710eb3", "f10d58d1f"], "source_commits": ["60ccd730d"], "source_entry_id": "18.7/changes/198", "db_id": "952c8d5300c350d5ec39255e3530ae31", "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4", "relations": [{"rule": 2, "type": "equivalent", "target": "585d1e26c8b22b7f6ff6ecfaff2f87cc", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}}, {"rule": 2, "type": "equivalent", "target": "ee92f2c876b872bf379b0e854d3bfad3", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}}, {"rule": 2, "type": "equivalent", "target": "f93cc02390ba06bc841ea6abf2954073", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}}, {"rule": 2, "type": "equivalent", "target": "fc0d47c96aa36d25ae7635a0baa0fa0d", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "fc0d47c96aa36d25ae7635a0baa0fa0d", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}, "url": "/docs/compare/?release=17.12#17.12-3b7e5df3a6ac4807", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "ee92f2c876b872bf379b0e854d3bfad3", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}, "url": "/docs/compare/?release=16.16#16.16-d1fb606e0bee77df", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "585d1e26c8b22b7f6ff6ecfaff2f87cc", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}, "url": "/docs/compare/?release=15.20#15.20-41877933d2f0fbe4", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "f93cc02390ba06bc841ea6abf2954073", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}, "url": "/docs/compare/?release=14.25#14.25-f1b489259d6e3958", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-38d8adaefa537462", "cves": [], "html": "<p>\n      修复 Windows 上设置计时器时的错误检查（Sehrope Sarkuni）<a href=\"https://postgr.es/c/4d62ef92f\">§</a>\n</p><p>\n      未能检测到创建超时管理线程失败，导致后续超时请求悄然失效。\n     </p>", "text": "修复 Windows 上设置计时器时的错误检查（Sehrope Sarkuni）§ 未能检测到创建超时管理线程失败，导致后续超时请求悄然失效。", "title": "修复 Windows 上设置计时器时的错误检查", "commits": ["4d62ef92f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0b32b431a8fe37ba784880509d3a316f719c43bee077bf9acacc74ec7471b12f", "section_path": ["变更"], "commit_groups": [["0fb192f1b", "2bc73b3e8", "304dd0b96", "4d62ef92f", "54635e689", "908589bdb", "b1c44848c"]], "identity_text": "Fix error check in timer setup on Windows (Sehrope Sarkuni) Failure to create a thread to manage timeouts was not detected, leading to silent failure of subsequent timeout requests.", "commit_aliases": ["0fb192f1b", "2bc73b3e8", "304dd0b96", "4d62ef92f", "54635e689", "908589bdb", "b1c44848c"], "source_commits": ["4d62ef92f"], "source_entry_id": "18.7/changes/199", "db_id": "39c46e19b9322502af2c30a475757b49", "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222", "relations": [{"rule": 2, "type": "equivalent", "target": "3c331d2b5034c1645c9a08a3652c83cc", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}}, {"rule": 2, "type": "equivalent", "target": "5b3f758c128a9b342d0a1e4f72cdda03", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}}, {"rule": 2, "type": "equivalent", "target": "7902621774dc7802ddf9e922f3c5bffd", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}}, {"rule": 2, "type": "equivalent", "target": "88cb6e06ede31b4925df112abe660430", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}}], "version": "18.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5b3f758c128a9b342d0a1e4f72cdda03", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "修复 Windows 上设置计时器时的错误检查", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}, "url": "/docs/compare/?release=17.12#17.12-9ce1ebb1675f6bf4", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "88cb6e06ede31b4925df112abe660430", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "修复 Windows 上设置计时器时的错误检查", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}, "url": "/docs/compare/?release=16.16#16.16-677a85899ca4c410", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "3c331d2b5034c1645c9a08a3652c83cc", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "修复 Windows 上设置计时器时的错误检查", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}, "url": "/docs/compare/?release=15.20#15.20-ae457cefa28f07ea", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "7902621774dc7802ddf9e922f3c5bffd", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "修复 Windows 上设置计时器时的错误检查", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}, "url": "/docs/compare/?release=14.25#14.25-fe975160999ff36f", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}, {"id": "18.7-88d1086dfffba39f", "cves": [], "html": "<p>\n      将时区数据文件更新至 <span>tzdata</span> 2026f 版本（Tom Lane）<a href=\"https://postgr.es/c/c45ba888d\">§</a> <a href=\"https://postgr.es/c/f9d7dee5f\">§</a> <a href=\"https://postgr.es/c/fd97624fb\">§</a>\n</p><p>\n      加拿大西北地区从 2026 年 11 月起全年采用 UTC-06（实际上是永久夏令时）。这仅影响 America/Inuvik，因为该地区其他部分由 America/Edmonton 覆盖，后者的相应更改已在 2026c 中发布。同样，曼尼托巴省（America/Winnipeg）改为全年采用 UTC-05。目前假定其时区缩写分别为 CST 和 EST。\n     </p><p>\n      古巴没有在 2026-11-01 将时钟拨回；今年冬季将继续采用夏令时（但似乎计划明年恢复正常）。\n     </p><p>\n      用于向后兼容的时区名称 EST5EDT、CST6CDT、MST7MDT 和 PST8PDT 对旧时间戳的行为现在更加简单。它们会无限向前追溯地使用名称所指示的 UTC 偏移量和时区缩写，不再混入相应城市命名时区的部分历史行为。这更符合 POSIX。\n     </p><p>\n      修正了巴西、哥伦比亚、伊朗和爱尔兰的历史时区数据。\n     </p><p>\n      在 Windows 上，<span>initdb</span> 现在能够识别 Microsoft 为更新后的加拿大时区制定的新时区名称。\n     </p>", "text": "将时区数据文件更新至 tzdata 2026f 版本（Tom Lane）§ § § 加拿大西北地区从 2026 年 11 月起全年采用 UTC-06（实际上是永久夏令时）。这仅影响 America/Inuvik，因为该地区其他部分由 America/Edmonton 覆盖，后者的相应更改已在 2026c 中发布。同样，曼尼托巴省（America/Winnipeg）改为全年采用 UTC-05。目前假定其时区缩写分别为 CST 和 EST。 古巴没有在 2026-11-01 将时钟拨回；今年冬季将继续采用夏令时（但似乎计划明年恢复正常）。 用于向后兼容的时区名称 EST5EDT、CST6CDT、MST7MDT 和 PST8PDT 对旧时间戳的行为现在更加简单。它们会无限向前追溯地使用名称所指示的 UTC 偏移量和时区缩写，不再混入相应城市命名时区的部分历史行为。这更符合 POSIX。 修正了巴西、哥伦比亚、伊朗和爱尔兰的历史时区数据。 在 Windows 上，initdb 现在能够识别 Microsoft 为更新后的加拿大时区制定的新时区名称。", "title": "将时区数据文件更新至 tzdata 2026f 版本", "commits": ["c45ba888d", "f9d7dee5f", "fd97624fb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES", "source_hash": "0ae15090cc82c0aac21b86a48d8f69f62ef42e252aa1d186b6825a9fdf048b1d", "section_path": ["变更"], "commit_groups": [["1ad631142", "863f04ed3", "9e73b2095", "a36e2f7cd", "c45ba888d", "f1762b51c", "f342cd1d8"], ["3868ed7b3", "8e1414de3", "a3657b7d4", "bf8cc4278", "cb3a90c82", "e383197f2", "f9d7dee5f"], ["59f48ad95", "5f0f69019", "a6782db57", "cfd4b54cf", "d92c551e8", "dd568b047", "fd97624fb"]], "identity_text": "Update time zone data files to tzdata release 2026f (Tom Lane) Canada's Northwest Territories are on year-round UTC-06 (effectively, permanent DST) beginning in November 2026. This affects only America/Inuvik as the rest of the territory is covered by America/Edmonton, for which the equivalent change was released in 2026c. Similarly, Manitoba (America/Winnipeg) moves to year-round UTC-05. For now assume their TZ abbreviations will be CST and EST respectively. Cuba did not fall back on 2026-11-01; they will stay on DST this winter (but apparently plan to revert to normal next year). The backward-compatibility zone names EST5EDT, CST6CDT, MST7MDT, and PST8PDT now have simpler behavior for old time stamps. They use the indicated UTC offsets and TZ abbreviations indefinitely far back, rather than allowing aspects of the associated city-named zone's historical behavior to leak through. This conforms better to POSIX. Historical corrections for Brazil, Colombia, Iran, and Ireland. On Windows, initdb will now recognize the new time zone names that Microsoft has devised for the updated Canadian zones.", "commit_aliases": ["1ad631142", "3868ed7b3", "59f48ad95", "5f0f69019", "863f04ed3", "8e1414de3", "9e73b2095", "a3657b7d4", "a36e2f7cd", "a6782db57", "bf8cc4278", "c45ba888d", "cb3a90c82", "cfd4b54cf", "d92c551e8", "dd568b047", "e383197f2", "f1762b51c", "f342cd1d8", "f9d7dee5f", "fd97624fb"], "source_commits": ["c45ba888d", "f9d7dee5f", "fd97624fb"], "source_entry_id": "18.7/changes/200", "db_id": "21af21dd87f177872b04e5106ba58bf5", "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023", "relations": [{"rule": 2, "type": "equivalent", "target": "0651da71ac979673aa333048a6e43306", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}}, {"rule": 2, "type": "equivalent", "target": "1bead1305f9b417b1c629deccecbf1ba", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}}, {"rule": 2, "type": "equivalent", "target": "76cceff60677ebe2f45a6a2597a82a50", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}}, {"rule": 2, "type": "equivalent", "target": "a202ae7a87098fdc42f48518e8b7dab4", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}}], "version": "18.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0651da71ac979673aa333048a6e43306", "kind": "equivalent", "version": "17.12", "label": "17.12", "title": "将时区数据文件更新至 tzdata 2026f 版本", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}, "url": "/docs/compare/?release=17.12#17.12-15f31cf46a4e8291", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES"}, {"db_id": "76cceff60677ebe2f45a6a2597a82a50", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "将时区数据文件更新至 tzdata 2026f 版本", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}, "url": "/docs/compare/?release=16.16#16.16-f70ecb53c1a10214", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "a202ae7a87098fdc42f48518e8b7dab4", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "将时区数据文件更新至 tzdata 2026f 版本", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}, "url": "/docs/compare/?release=15.20#15.20-9706d4f1ea457730", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}, {"db_id": "1bead1305f9b417b1c629deccecbf1ba", "kind": "equivalent", "version": "14.25", "label": "14.25", "title": "将时区数据文件更新至 tzdata 2026f 版本", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}, "url": "/docs/compare/?release=14.25#14.25-5dfeeece88702d9e", "source_url": "/docs/release/14.25/#RELEASE-14-25-CHANGES"}]}]}, {"date": "2026-08-13", "build": "18.6", "major": "18", "minor": 6, "manual": "18", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "8c273da2d1e5ed14ac5800b2485c40bd3c016c4285a9eaf13f90e95ee1d6c08f", "manual_build": "18.7", "source_as_of": "", "changes_count": 140, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "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": 93, "support_days": 1461, "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": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "3edc77234fbcfc449f95ddb77764002faeafd2f20d0a3ef50f7096ba45062161", "manual_build": "18.7", "source_as_of": "", "changes_count": 74, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "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": 184, "support_days": 1461, "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": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "e50e73e51343ee4f8c15f94c617a2fc9a84e2ad2ffacb90bfa80fe6cf1ecf362", "manual_build": "18.7", "source_as_of": "", "changes_count": 9, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "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": 261, "support_days": 1461, "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": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "608d3eebc52f0dfe681efbff17971c24a8235fd84468260839a85405f0f06df5", "manual_build": "18.7", "source_as_of": "", "changes_count": 75, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "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": 275, "support_days": 1461, "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": "b9f0e7232f60f380d642ac9b99226606c254b552", "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": "4ece7fb731d90d5980639e1f6b613b1576b386cd614086fd09a7f754c9cd7432", "manual_build": "18.7", "source_as_of": "", "changes_count": 53, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 18.X 的用户，不需要执行导出/恢复。</p>", "compatibility_count": 0, "label": "18.1", "status_label": "受支持版本", "eol": "2030-11-14", "age_days": 366, "support_days": 1461, "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": 551}, {"key": "feature", "label": "新功能", "count": 0}, {"key": "bugfix", "label": "BUG 修复", "count": 254}, {"key": "security", "label": "安全相关", "count": 107}, {"key": "performance", "label": "性能改进", "count": 0}, {"key": "compatibility", "label": "兼容性变化", "count": 0}, {"key": "improvement", "label": "其他改进", "count": 190}], "total": 551, "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": 551, "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", "18.7"], "candidates": ["18.1", "18.2", "18.3", "18.4", "18.6", "18.7"]}, "release_count": 6, "warnings": [], "source_as_of": "2026-11-12", "security_as_of": "2026-09-26"}