{"format": 1, "from_release": {"date": "2024-09-26", "build": "17.0", "major": "17", "minor": 0, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.0", "eol_date": "2029-11-08", "date_text": "2024-09-26", "supported": true, "manual_url": "/docs/17/release-17.html", "source_url": "/docs/release/17.0/", "entry_count": 182, "placeholder": false, "content_hash": "d131b93d8d298d7908c8048fcd46157a98d55365450e85b6d47ae062ac60626c", "manual_build": "17.12", "source_as_of": "", "changes_count": 165, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于希望从任何以前的版本迁移数据的人来说，需要使用<a href=\"/docs/17/app-pg-dumpall.html\" title=\"pg_dumpall\"><span><span>pg_dumpall</span></span></a>进行转储/恢复，或者使用<a href=\"/docs/17/pgupgrade.html\" title=\"pg_upgrade\"><span><span>pg_upgrade</span></span></a>或逻辑复制。有关迁移到新主要版本的通用信息，请参阅<a href=\"/docs/17/upgrading.html\" title=\"18.6. 升级 PostgreSQL 集簇\">第 18.6 节</a>。</p>\n<p>版本 17 包含许多可能影响与以前版本兼容性的更改。请注意以下不兼容项：</p>\n<div>\n</div>", "compatibility_count": 17, "label": "17.0", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 779, "support_days": 1090}, "to_release": {"date": "2026-11-12", "build": "17.12", "major": "17", "minor": 12, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.12", "eol_date": "2029-11-08", "date_text": "2026-11-12", "supported": true, "manual_url": "/docs/17/release-17-12.html", "source_url": "/docs/release/17.12/", "entry_count": 174, "placeholder": false, "content_hash": "8cd59e7d2c83b90825b928ec8c297a29920e8263691671cb69cf145dadc3facd", "manual_build": "17.12", "source_as_of": "", "changes_count": 174, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>\n    运行 17.X 的用户无需转储/恢复。\n   </p><p>\n    不过，已发现多个可能导致索引损坏的错误。请检查下面变更日志中提到 <code>REINDEX</code> 的条目，并重建任何可能受到影响的索引。\n   </p><p>\n    此外，由于发现了多种可能导致增量备份损坏的情况，不应再信任现有的增量备份文件。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。\n   </p><p>\n    另外，如果你是从早于 17.11 的版本升级，请参见<a href=\"/docs/17/release-17-11.html\" title=\"E.2. 发布版本 17.11\">第 E.2 节</a>。\n   </p>", "compatibility_count": 0, "label": "17.12", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 2, "support_days": 1090}, "groups": [{"date": "2026-11-12", "build": "17.12", "major": "17", "minor": 12, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.12", "eol_date": "2029-11-08", "date_text": "2026-11-12", "supported": true, "manual_url": "/docs/17/release-17-12.html", "source_url": "/docs/release/17.12/", "entry_count": 174, "placeholder": false, "content_hash": "8cd59e7d2c83b90825b928ec8c297a29920e8263691671cb69cf145dadc3facd", "manual_build": "17.12", "source_as_of": "", "changes_count": 174, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>\n    运行 17.X 的用户无需转储/恢复。\n   </p><p>\n    不过，已发现多个可能导致索引损坏的错误。请检查下面变更日志中提到 <code>REINDEX</code> 的条目，并重建任何可能受到影响的索引。\n   </p><p>\n    此外，由于发现了多种可能导致增量备份损坏的情况，不应再信任现有的增量备份文件。建议使用增量备份的用户在更新后重新进行一次完整备份，并以此作为后续增量备份的基础。\n   </p><p>\n    另外，如果你是从早于 17.11 的版本升级，请参见<a href=\"/docs/17/release-17-11.html\" title=\"E.2. 发布版本 17.11\">第 E.2 节</a>。\n   </p>", "compatibility_count": 0, "label": "17.12", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 2, "support_days": 1090, "entries": [{"id": "17.12-347d6b1cc9fbbaed", "cves": ["CVE-2026-6460"], "html": "<p>\n      针对并发修改复合类型并操作该类型数据所引发的问题增加防护（Heikki Linnakangas，Andres Freund，Nathan Bossart，Nikhil Sontakke）<a href=\"https://postgr.es/c/bfcb6625e\">§</a><a href=\"https://postgr.es/c/3e8bb75c8\">§</a><a href=\"https://postgr.es/c/11658b4df\">§</a><a href=\"https://postgr.es/c/fbee8e90f\">§</a><a href=\"https://postgr.es/c/7d089b28c\">§</a><a href=\"https://postgr.es/c/1e3b37da9\">§</a><a href=\"https://postgr.es/c/7e1aeaad3\">§</a><a href=\"https://postgr.es/c/b65b69f2c\">§</a><a href=\"https://postgr.es/c/23a1d8825\">§</a><a href=\"https://postgr.es/c/f234ae72b\">§</a><a href=\"https://postgr.es/c/b019147c9\">§</a><a href=\"https://postgr.es/c/d4f8c3e15\">§</a><a href=\"https://postgr.es/c/800e67351\">§</a><a href=\"https://postgr.es/c/83ec4accd\">§</a><a href=\"https://postgr.es/c/5da4d4b1b\">§</a><a href=\"https://postgr.es/c/d5cf40e02\">§</a><a href=\"https://postgr.es/c/98e9001cf\">§</a><a href=\"https://postgr.es/c/05283881a\">§</a><a href=\"https://postgr.es/c/d3d599625\">§</a><a href=\"https://postgr.es/c/f397e0ae3\">§</a><a href=\"https://postgr.es/c/3b2c73d0e\">§</a><a href=\"https://postgr.es/c/db59ee006\">§</a><a href=\"https://postgr.es/c/deebcc772\">§</a><a href=\"https://postgr.es/c/bcbcbd5a2\">§</a><a href=\"https://postgr.es/c/9f6302533\">§</a><a href=\"https://postgr.es/c/d0b52be9b\">§</a><a href=\"https://postgr.es/c/5f8d39154\">§</a><a href=\"https://postgr.es/c/3643ce425\">§</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": ["05283881a", "11658b4df", "1e3b37da9", "23a1d8825", "3643ce425", "3b2c73d0e", "3e8bb75c8", "5da4d4b1b", "5f8d39154", "7d089b28c", "7e1aeaad3", "800e67351", "83ec4accd", "98e9001cf", "9f6302533", "b019147c9", "b65b69f2c", "bcbcbd5a2", "bfcb6625e", "d0b52be9b", "d3d599625", "d4f8c3e15", "d5cf40e02", "db59ee006", "deebcc772", "f234ae72b", "f397e0ae3", "fbee8e90f"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "09ae437de5af3323b3681bf1d4b4f500fa8f10e19803ae6afbda06dec59bd5e8", "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": ["05283881a", "11658b4df", "1e3b37da9", "23a1d8825", "3643ce425", "3b2c73d0e", "3e8bb75c8", "5da4d4b1b", "5f8d39154", "7d089b28c", "7e1aeaad3", "800e67351", "83ec4accd", "98e9001cf", "9f6302533", "b019147c9", "b65b69f2c", "b6b14f642", "bcbcbd5a2", "bfcb6625e", "d0b52be9b", "d3d599625", "d4f8c3e15", "d5cf40e02", "db59ee006", "deebcc772", "f234ae72b", "f397e0ae3", "fbee8e90f"], "source_entry_id": "17.12/changes/001", "db_id": "2e9fb0cc45c8a924f8fc1c346f33e38b", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "f5b442bca78c719fdfca17a4ef32bf2b", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f5b442bca78c719fdfca17a4ef32bf2b", "kind": "equivalent", "version": "18.7", "label": "18.7", "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=18.7#18.7-fd588a7dfb578fd6", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-b04cc63da38f1cd0", "cves": ["CVE-2026-116306"], "html": "<p>\n      在 <code>ExecEvalFieldStore[De]Form()</code> 中处理并发的行类型变更（Tomas Vondra，Heikki Linnakangas）<a href=\"https://postgr.es/c/02ca67429\">§</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": ["02ca67429"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9e1b4d8da6144fe62cb4f891174dd6e4f0af1f88b3668a55d6db6c25e125e2e3", "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": ["02ca67429"], "source_entry_id": "17.12/changes/002", "db_id": "63a1cd2c9d484f1dd0668b3c537eb533", "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e", "relations": [{"rule": 2, "type": "equivalent", "target": "212f1b56a0826a6ab9d5e4302e237171", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "212f1b56a0826a6ab9d5e4302e237171", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 ExecEvalFieldStore[De]Form() 中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["fd730f20f49774c9f29b9d1ef04dcc14"], "statement_hash": "8e8b3d8b8b0d54947d59f7c516eb4c2ede3b871801401a26e9435b722e04818e"}, "url": "/docs/compare/?release=18.7#18.7-2e1cd41b0a821b19", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-474f98a112cd2c8c", "cves": ["CVE-2026-16237"], "html": "<p>\n      在 <code>INSERT ... ON CONFLICT</code> 中强制检查视图行的可见性（Peter Geoghegan，Zsolt Parragi）<a href=\"https://postgr.es/c/a14aacebe\">§</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": ["a14aacebe"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "139d1b11f22d3fa1351ece51d876c078ed14a28cb1e8932e903679540ec212f6", "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": ["a14aacebe"], "source_entry_id": "17.12/changes/003", "db_id": "346dfe49ba2cb3d40d7cbbd3549701e9", "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": "4452a7d9ecd4dc741e40dd0944d0d8a4", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}}, {"rule": 2, "type": "equivalent", "target": "510f61965d3ebc5dc2cfac2ef0cf4c00", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "510f61965d3ebc5dc2cfac2ef0cf4c00", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 INSERT ... ON CONFLICT 中强制检查视图行的可见性", "evidence": {"same_day": true, "patch_ids": ["d9c331c0e780e44d9105cda80472f95b"], "statement_hash": "40bdc519a7d1b2f71be0d7865956d955c0c2b069c3f2c89b501d7fc48cd27842"}, "url": "/docs/compare/?release=18.7#18.7-c70ee4ad57d9a5ba", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-3063a12b17d8beab", "cves": ["CVE-2026-120146"], "html": "<p>\n      使 <code>REASSIGN OWNED</code> 对调用者权限的检查与 <code>ALTER ... OWNER TO</code> 一致（Zsolt Parragi）<a href=\"https://postgr.es/c/0b8d1768f\">§</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": ["0b8d1768f"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a99d2e5be20e92ad50aa9e8c7e1009e1e4d33f971fdbf6850d2218a1d6cc1072", "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": ["0b8d1768f"], "source_entry_id": "17.12/changes/004", "db_id": "263cbf99c7a7cbfdbb23d8a70736d8ca", "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "c0e795b435c841197747b911ba816792", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0e795b435c841197747b911ba816792", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "使 REASSIGN OWNED 对调用者权限的检查与 ALTER ... OWNER TO 一致", "evidence": {"same_day": true, "patch_ids": ["f81aab284b87d7a3ca839f25e752e5cc"], "statement_hash": "161dca694e8feb049cd7e54f1d208a1274c8d728f88f9014317efff793c7a1df"}, "url": "/docs/compare/?release=18.7#18.7-91e0ff2a1180965e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-167c7f83149dbfa3", "cves": ["CVE-2026-116310"], "html": "<p>\n      修复 <code>COPY FROM ON_ERROR</code> 报告中释放后使用内存的问题（Masahiko Sawada）<a href=\"https://postgr.es/c/3094cdb7d\">§</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": ["3094cdb7d"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4643e0c6aee7964fca9d2c1abc7a016fbb029d5eb44a9e38cf4294a7bf52baa5", "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": ["3094cdb7d"], "source_entry_id": "17.12/changes/005", "db_id": "67134b2dc5dd42e6a983054976789a15", "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58", "relations": [{"rule": 2, "type": "equivalent", "target": "8bd60fb3b3c88f5e4566f0ce3f3e4e33", "evidence": {"same_day": true, "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "8bd60fb3b3c88f5e4566f0ce3f3e4e33", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 COPY FROM ON_ERROR 报告中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["f268178553426b698394a0daa7214971"], "statement_hash": "cae08c877b59d76da81dfbc87b4b1680ac5048b98d2cfe76b3b5a2ed7e0e8f58"}, "url": "/docs/compare/?release=18.7#18.7-3c7dad2643445518", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-c63d44fa2da170d4", "cves": ["CVE-2026-116332"], "html": "<p>\n      禁止关闭仍在初始化的 portal（Michael Paquier）<a href=\"https://postgr.es/c/36f42216e\">§</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": ["36f42216e"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "18d249c4665d545ccc821e1d2c5a0449f278491b109be891ddeedff18667e4b0", "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": ["36f42216e"], "source_entry_id": "17.12/changes/006", "db_id": "58b1b7918517cbe5a37b2e046c00e763", "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": "5ece4a75e098d13983a4599562533676", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}, {"rule": 2, "type": "equivalent", "target": "bd9ccaf093d946077f9e7b628a27f765", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd9ccaf093d946077f9e7b628a27f765", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "禁止关闭仍在初始化的 portal", "evidence": {"same_day": true, "patch_ids": ["82436f3ffed0c0efdb152f5503fee670"], "statement_hash": "92765aeae54e86fbf0585ef66efc1d55a404908e001a86ea898fc41e5e498249"}, "url": "/docs/compare/?release=18.7#18.7-6aa9b164fb64000f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-949dbaf70b880cca", "cves": ["CVE-2026-120143"], "html": "<p>\n      在触发器函数结束时强制关闭与过渡表关联的 portal（Jeff Davis）<a href=\"https://postgr.es/c/695d72c57\">§</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": ["695d72c57"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8191c9f9ed8e61659168e9127acdff4e4ca8a43018344230ca9558e9d4f0b597", "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": ["695d72c57"], "source_entry_id": "17.12/changes/007", "db_id": "2f3a54eff5800048db21a64f9976e8ec", "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": "9cedf871dd994320893f3775c8b7b37f", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}}, {"rule": 2, "type": "equivalent", "target": "b5878be702eb49753c83d568f488dd07", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "b5878be702eb49753c83d568f488dd07", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在触发器函数结束时强制关闭与过渡表关联的 portal", "evidence": {"same_day": true, "patch_ids": ["3796b820141b07271dc892f5c8335c54"], "statement_hash": "9627dd4cd10f0e57fd007b811ce9f29647539a45a2001c32aba938ae2c3a9f5b"}, "url": "/docs/compare/?release=18.7#18.7-ceecc0b2d4e0fa1a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5c060e3003e159ae", "cves": ["CVE-2026-116304"], "html": "<p>\n      修复共享元组描述符管理中导致释放后使用内存的竞态条件（Robert Haas）<a href=\"https://postgr.es/c/a4d40a6ae\">§</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": ["a4d40a6ae"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c523d13c4dee7660d6024fb89d742313f05dc8dc3c35c643caf4b3ddad8d8893", "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": ["a4d40a6ae"], "source_entry_id": "17.12/changes/008", "db_id": "b63473ad3233b82fb41a8abf2759b17f", "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": "43bf35f4eda0851ad20daa5375f2dfaa", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "43bf35f4eda0851ad20daa5375f2dfaa", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复共享元组描述符管理中导致释放后使用内存的竞态条件", "evidence": {"same_day": true, "patch_ids": ["2c10196a92165e493a2cb0ff39a7d926"], "statement_hash": "cf8493b05f316f7d790e98262c2ec9f89dd3cecf19faf8ec47f9d8fd266fb297"}, "url": "/docs/compare/?release=18.7#18.7-b7c28faf17c21c93", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-742dc6928aa592a3", "cves": ["CVE-2026-120152"], "html": "<p>\n      修复 <code>pg_show_all_settings()</code> 中释放后使用内存的问题（Masahiko Sawada）<a href=\"https://postgr.es/c/46c7529fa\">§</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": ["46c7529fa"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "0399eb79ce8c1e89d1c6a2e793767c3d7932ac58e83dd31bd0daeaababdad15e", "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": ["46c7529fa"], "source_entry_id": "17.12/changes/009", "db_id": "2e1de5ac05f9dcaf2de3b2359ac1421f", "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675", "relations": [{"rule": 2, "type": "equivalent", "target": "8212568a827c1d283872e4958aeff415", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "8212568a827c1d283872e4958aeff415", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pg_show_all_settings() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bfca9c66aa631bb3b7e83083faa32d31"], "statement_hash": "bd5cbc2cf7eca3f54fa3d30777febc8ad888dbc34c56231e014e3eedfa43c675"}, "url": "/docs/compare/?release=18.7#18.7-bd6ee36bc1983f01", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-467719f1327c5109", "cves": ["CVE-2026-120150"], "html": "<p>\n      修复展开记录的域约束检查中释放后使用内存的问题（Tom Lane）<a href=\"https://postgr.es/c/f4d200615\">§</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": ["f4d200615"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "42037eef4a00f7cba533b3788fd3202d7448836039d53d3e575529486472234d", "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": ["f4d200615"], "source_entry_id": "17.12/changes/010", "db_id": "7ddd20145289982af63d7c82121ee074", "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333", "relations": [{"rule": 2, "type": "equivalent", "target": "1a4759e842e5af7ee01de4782ec7e5ee", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}, {"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": "e10992669c25da71e58c05edd8d81761", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1a4759e842e5af7ee01de4782ec7e5ee", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复展开记录的域约束检查中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["12bb2fb0986a7a4a6bdedf382241849a"], "statement_hash": "de5ae311ee90b055419231c7dbd075f733cef2378eee858640ef09947fcc0333"}, "url": "/docs/compare/?release=18.7#18.7-1e2da22faefcae54", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-06d5b5633d2a8aec", "cves": ["CVE-2026-116328"], "html": "<p>\n      防止在<span>“<span>generation</span>”</span>内存上下文中释放大块内存后发生内存损坏（Heikki Linnakangas）<a href=\"https://postgr.es/c/f34ccffdd\">§</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": ["f34ccffdd"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "0474a0e9574fa2c78d10b607257a154964eb994f9c76edb34303ed0d4eac85d3", "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": ["f34ccffdd"], "source_entry_id": "17.12/changes/011", "db_id": "5d05200439217fce21f0d20e202f2a92", "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "e4db26ddc84be13fbd8249b65b61ca24", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e4db26ddc84be13fbd8249b65b61ca24", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止在“generation”内存上下文中释放大块内存后发生内存损坏", "evidence": {"same_day": true, "patch_ids": ["f43c8ad4d0075477594a8d52fddbde34"], "statement_hash": "86399586fedf671cbff12c86b96c58216964d5f37c3145111aeacb389aaf3a5e"}, "url": "/docs/compare/?release=18.7#18.7-a40253a8f730fada", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ac4eb8f1c19dd9c0", "cves": ["CVE-2026-116315"], "html": "<p>\n      修复 <code>tsvector_delete()</code> 中的缓冲区越界写入（Anthropic OSS program）<a href=\"https://postgr.es/c/cacc71935\">§</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": ["cacc71935"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "2866e90f6692f95a3acc12d0a4f75fad428c3d3249c6298eaeef5190f67dda1f", "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": ["cacc71935"], "source_entry_id": "17.12/changes/012", "db_id": "851fcf2bfc7b1182c950c8236b0e2e82", "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": "cc3090eaac89593013e74e9db87da678", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "cc3090eaac89593013e74e9db87da678", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 tsvector_delete() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["f06c66f465f908d67bcc64c1c03a75db"], "statement_hash": "3e933cf61abbc2931ffed3b76c065ed44355eb42aad492a706322fa4c2f1d90e"}, "url": "/docs/compare/?release=18.7#18.7-e5c37b38dc5c2cd6", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0e7f1c17695b702c", "cves": ["CVE-2026-116317"], "html": "<p>\n      修复 <code>ts_rank_cd()</code> 中的缓冲区越界写入（Anthropic OSS program）<a href=\"https://postgr.es/c/7f8424ece\">§</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": ["7f8424ece"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4bf6e31b6d786cc5e2e15d771ba98c53a74df68f3894ab97e36a31cdf37779da", "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": ["7f8424ece"], "source_entry_id": "17.12/changes/013", "db_id": "f3e2a56d8c1a493d42137a3d2a539152", "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": "df55946e2a87bfddd1130e544920f40b", "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": "f619cb28db2be6667aab46a8df08f760", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "df55946e2a87bfddd1130e544920f40b", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 ts_rank_cd() 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["bb90fa2f84a30bb4b32bf8f975da2532"], "statement_hash": "0faa90f2f5513e42137209d0fcbced3e5733ed49d7c5252e0cdca98ce55eef01"}, "url": "/docs/compare/?release=18.7#18.7-def2e0359c3c3a52", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-3cf32bd5d203661a", "cves": ["CVE-2026-116321"], "html": "<p>\n      防止通过元素赋值构造无效的 <code>name</code> 值（Tom Lane）<a href=\"https://postgr.es/c/5788eaee3\">§</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": ["5788eaee3"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "fe529eef01e6420835a80c7dbdd93623557f3d85291f103b1fe12a4b3813a286", "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": ["5788eaee3"], "source_entry_id": "17.12/changes/014", "db_id": "dd54438adc1c851f4858c53f6357e8d5", "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1", "relations": [{"rule": 2, "type": "equivalent", "target": "532fd7a2f07132884696a06256bb0f22", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}}, {"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"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "532fd7a2f07132884696a06256bb0f22", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止通过元素赋值构造无效的 name 值", "evidence": {"same_day": true, "patch_ids": ["c0d9d4152d820d946b4fb88402899012"], "statement_hash": "a7b3baa575c3bb3addafbc71a333dd145bca1633fbc9c765a7a05f21b56cf5a1"}, "url": "/docs/compare/?release=18.7#18.7-0ef589765e961da8", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0744da5d99e35f12", "cves": ["CVE-2026-116327"], "html": "<p>\n      将应用于 <code>CaseTestExpr</code> 或内部 <code>Param</code> 节点的可泄露函数视为会泄露信息（Tom Lane）<a href=\"https://postgr.es/c/606c23540\">§</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": ["606c23540"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "dec87125ef44cc0e28ff5bc93205f44a33da4598dd218e88d8c21883a9d85bc2", "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": ["606c23540"], "source_entry_id": "17.12/changes/015", "db_id": "a6a1b95ee685f386fa43699571263996", "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": "a14fa0abeec8fb5fcc217797114ad262", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a14fa0abeec8fb5fcc217797114ad262", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "将应用于 CaseTestExpr 或内部 Param 节点的可泄露函数视为会泄露信息", "evidence": {"same_day": true, "patch_ids": ["e2d058aef2692f4d41a830b3e716aeef"], "statement_hash": "272428435d9dfb9815b2eb9744610fd28a574dbed0843947896abc7c36dc6e1c"}, "url": "/docs/compare/?release=18.7#18.7-17479df7f481c5ba", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-443bacb2d1c6bc86", "cves": ["CVE-2026-116331"], "html": "<p>\n      不再为输入类型与输出类型不匹配的聚合生成基于索引的计划（Tom Lane）<a href=\"https://postgr.es/c/dd2cd3803\">§</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": ["dd2cd3803"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "6f33f0625f12ce2efa0df7e95b3e958764c92b78b8434e0d4a0b90bd4aaac6a3", "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": ["dd2cd3803"], "source_entry_id": "17.12/changes/016", "db_id": "0ae6ae4c43e531ec8d6c0d118ad30e2f", "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a", "relations": [{"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": "f149f330b48421f9553908789a8e4961", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f149f330b48421f9553908789a8e4961", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "不再为输入类型与输出类型不匹配的聚合生成基于索引的计划", "evidence": {"same_day": true, "patch_ids": ["eefcfa754f77b17851563f86c2f1e742"], "statement_hash": "0e031955ce283fa438c0c6df7a36f2526a40c5f0502208260b0a680ce386555a"}, "url": "/docs/compare/?release=18.7#18.7-42186575612fecef", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5082a5b5d64b4283", "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/a5a82b4d2\">§</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": ["a5a82b4d2"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a21370391697c4ac4884272ef4fe292553307e7d0ed69fb8dec13fa3ccd574be", "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": ["a5a82b4d2"], "source_entry_id": "17.12/changes/017", "db_id": "1d3bc085672319b70a7496b2e63d2659", "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22", "relations": [{"rule": 2, "type": "equivalent", "target": "5a3b775cf2000f6d603e5c34d6394f16", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "5a3b775cf2000f6d603e5c34d6394f16", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免在先执行 INSERT 再执行 UPDATE 的 MERGE 中向触发器过渡表插入错误的元组", "evidence": {"same_day": true, "patch_ids": ["0d447861c8f14c6ff46a54d9bada3892"], "statement_hash": "cc21182e568b8ec99c7279368a68a53ca3dfe3397cb758d8181779abe671ea22"}, "url": "/docs/compare/?release=18.7#18.7-9c2f9d5b08027544", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-28d9ab64cb50454a", "cves": ["CVE-2026-116335"], "html": "<p>\n      检查互为交换子或求反器的操作符对是否返回相同的数据类型（Tom Lane）<a href=\"https://postgr.es/c/22f838a6d\">§</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": ["22f838a6d"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "92fe55a9b3cd72369f444adf8eff04dbc7667fcbb478362494ef3a49c65081f7", "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": ["22f838a6d"], "source_entry_id": "17.12/changes/018", "db_id": "15ececb625d9f88cfea8384749d9e472", "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0", "relations": [{"rule": 2, "type": "equivalent", "target": "acb4d02120dc8a1d3d47746899e01600", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "acb4d02120dc8a1d3d47746899e01600", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "检查互为交换子或求反器的操作符对是否返回相同的数据类型", "evidence": {"same_day": true, "patch_ids": ["17826efad37553eb19ec7a96f9e58573"], "statement_hash": "bb220de363416d5df7c4afe9144884c99a204ecb6e6fdcb98a9a3649048293a0"}, "url": "/docs/compare/?release=18.7#18.7-d6c6d8446b4a7fd7", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-266846a5ab22f88d", "cves": ["CVE-2026-116336"], "html": "<p>\n      防止索引谓词和表达式中的函数通过操纵索引破坏 <code>REINDEX CONCURRENTLY</code>（Michael Paquier）<a href=\"https://postgr.es/c/23e7e2bde\">§</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": ["23e7e2bde"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "abf60c4391b2ea067822f645873db6f532ba99ab54019a403144e6e2cc8da312", "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": ["23e7e2bde"], "source_entry_id": "17.12/changes/019", "db_id": "ca6ee4513b8b86dc73103f15e437e2d7", "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": "e1c70dfbd191e51f15df69e601328f27", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e1c70dfbd191e51f15df69e601328f27", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止索引谓词和表达式中的函数通过操纵索引破坏 REINDEX CONCURRENTLY", "evidence": {"same_day": true, "patch_ids": ["d842426ccd119ec052ecf8b6f578a101"], "statement_hash": "077d0a07470941e8aaa9662e256500e570d25706c43398fa61106b0aae718fc0"}, "url": "/docs/compare/?release=18.7#18.7-fdc884b7764c5718", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-22a1391a2ec95e29", "cves": ["CVE-2026-6467"], "html": "<p>\n      防止在 <code>CREATE EXTENSION</code> 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展（Noah Misch）<a href=\"https://postgr.es/c/79f9793fc\">§</a><a href=\"https://postgr.es/c/5c7515337\">§</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": ["5c7515337", "79f9793fc"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "616a9bf761fd4a9a96d16f8479d5a6188e2e24fd2a6a21d4f51cf644308ee4a1", "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": ["5c7515337", "79f9793fc"], "source_entry_id": "17.12/changes/020", "db_id": "3199bec0aa412e54fe8adef4c6c21969", "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c", "relations": [{"rule": 2, "type": "equivalent", "target": "830b0c3c248e4e1e39f9ed807554e44f", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "830b0c3c248e4e1e39f9ed807554e44f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止在 CREATE EXTENSION 期间重命名目标模式，或将扩展安装到临时模式，从而破坏新安装的扩展", "evidence": {"same_day": true, "patch_ids": ["b0c40012ae8c8ebe8345a652bb78f5b6", "d1bb54e4ad675f7626b9fdf6dbffb202"], "statement_hash": "c5fc3b6ce7f0d6e930d782af771f2da11a0d3623f39564aa939638226506e73c"}, "url": "/docs/compare/?release=18.7#18.7-c760505173180644", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ef630192d1e6a90d", "cves": ["CVE-2026-120153"], "html": "<p>\n      在扩展脚本替换中拒绝更多不安全的名称（Nathan Bossart）<a href=\"https://postgr.es/c/438b435f0\">§</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": ["438b435f0"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "343e1dcf0a76d885881bfd6862fa7022471dbb902b9f402303d209cbb7937eec", "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": ["438b435f0"], "source_entry_id": "17.12/changes/021", "db_id": "8adc0ffc3498420906d7abbcb11dd4ec", "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": "cfa6db6b627ae61a75cb2b66f88db87d", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "cfa6db6b627ae61a75cb2b66f88db87d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在扩展脚本替换中拒绝更多不安全的名称", "evidence": {"same_day": true, "patch_ids": ["41a5b7a7679a1dd7f4a38ada1b0061c7"], "statement_hash": "347546b385d626e403676d663deb6885da2b3ac6814ffbcff7f019f09fc575c6"}, "url": "/docs/compare/?release=18.7#18.7-c6d2a1293b2964bc", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-9b25ca03b3c5b645", "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/9520dbea7\">§</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": ["9520dbea7"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "83b257945231e8760ae56a9235f2115ce6ea4db9771e3ed075f0e2f5f04ad142", "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": ["9520dbea7"], "source_entry_id": "17.12/changes/022", "db_id": "bc18bddf059eefea1dfd85bbdae23be0", "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": "689eff0a38fd628c4e0cea8a8f7d1a44", "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": "bef7a9a8e64c592fb63269859ffbfa34", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "689eff0a38fd628c4e0cea8a8f7d1a44", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 to_json() 和其他转换为 JSON 的代码中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["b656a8dd07c32edce79e7084f39cec8d"], "statement_hash": "ba0af89daa039b3c4055256991072b2c8aab6f6a04a08f026bc9efdd2373b1d0"}, "url": "/docs/compare/?release=18.7#18.7-3cf8269d9b9e8a2f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-2483e9d75f0dba9a", "cves": ["CVE-2026-116303"], "html": "<p>\n      在外键约束检查中调用类型转换函数前检查 <code>EXECUTE</code> 权限（Nathan Bossart）<a href=\"https://postgr.es/c/445e10c50\">§</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": ["445e10c50"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "24ac0a35f5af749384a10e2f62d0e3e359909e7115029899f581040766a656b2", "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": ["445e10c50"], "source_entry_id": "17.12/changes/023", "db_id": "05990d503946e0e7e07e7d3ae052170a", "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9", "relations": [{"rule": 2, "type": "equivalent", "target": "2120c023557470694994fbad903dee7c", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}}, {"rule": 2, "type": "equivalent", "target": "c76d5632843612505670b0f35c745cb3", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c76d5632843612505670b0f35c745cb3", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在外键约束检查中调用类型转换函数前检查 EXECUTE 权限", "evidence": {"same_day": true, "patch_ids": ["c6cae8414de985f092903754354971b5"], "statement_hash": "005144302f26ab4769774b63e2fd9f0f4309b6b7af5b2c5cb994f8fe2310d0a9"}, "url": "/docs/compare/?release=18.7#18.7-68c6085ff33e04ac", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-46a326cc5fd119dd", "cves": ["CVE-2026-116311"], "html": "<p>\n      防止 <code>DROP OWNED BY</code> 修改不属于当前用户的表上的行级安全策略（Zsolt Parragi，Anthropic OSS program）<a href=\"https://postgr.es/c/21c732aad\">§</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": ["21c732aad"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3b3b918b90f125ee969ca66359ae8cdfe74ebb0fe239d00392ce0da362ded9a4", "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": ["21c732aad"], "source_entry_id": "17.12/changes/024", "db_id": "a2af87052f08047a19e2ecd16a58820c", "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": "e26a4712745be7f2721933d9881e0e33", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}, {"rule": 2, "type": "equivalent", "target": "ebfc3af5fda940635ea4914f1c21d46f", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ebfc3af5fda940635ea4914f1c21d46f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止 DROP OWNED BY 修改不属于当前用户的表上的行级安全策略", "evidence": {"same_day": true, "patch_ids": ["330e64fb134f1bcbb9f045cbdb2581f2"], "statement_hash": "f8fe5f01704f711396b1bef0993601f748ac22b53990d9316783d3d0e9c54d28"}, "url": "/docs/compare/?release=18.7#18.7-89a7430820458b56", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-3f79a4eb3641dda7", "cves": ["CVE-2026-116316"], "html": "<p>\n      禁止受安全限制的操作在临时模式中创建类型（Anthropic OSS program，Nathan Bossart）<a href=\"https://postgr.es/c/3f082dcc7\">§</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": ["3f082dcc7"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c5a189f70a490c48a1884895d3d5bccd2935e32df785beaf6beb335b38078422", "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": ["3f082dcc7"], "source_entry_id": "17.12/changes/025", "db_id": "bffd928c92f8c4f507dd8026aa881633", "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": "557be862faf79e567b47adffd411b228", "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"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "557be862faf79e567b47adffd411b228", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "禁止受安全限制的操作在临时模式中创建类型", "evidence": {"same_day": true, "patch_ids": ["1a91dcd68e985e43c2c1d66335ef93bf"], "statement_hash": "eecca595893e3d643dfce7a2f11d0656354a641a9dd58441b6badfbcbd3ea230"}, "url": "/docs/compare/?release=18.7#18.7-68414f2aa717f4fb", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7b80f11f8ca1eb4f", "cves": ["CVE-2026-120149"], "html": "<p>\n      避免 FDW 批量插入中的越界访问（Nathan Bossart）<a href=\"https://postgr.es/c/e0bd77667\">§</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": ["e0bd77667"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e76c5600ecf60b8ee5334aaf59c4f7a1001a365cc8a32075478871b54e26ed01", "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": ["e0bd77667"], "source_entry_id": "17.12/changes/026", "db_id": "6d3900e49eedeb472625e7dd514a0428", "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0", "relations": [{"rule": 2, "type": "equivalent", "target": "13f2de584b1408a3aee525421cf41fe0", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}, {"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": "a340baad84fad24d96d1c2d6ab9e0dea", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "13f2de584b1408a3aee525421cf41fe0", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免 FDW 批量插入中的越界访问", "evidence": {"same_day": true, "patch_ids": ["e11f8e598b725165fffecb353d3879a4"], "statement_hash": "89bcabe1387e0713e71c964e1f23949fb5c9913e7c6755de734aa38ff5bdfcf0"}, "url": "/docs/compare/?release=18.7#18.7-1eb450db631b93f6", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-a1535b9f167f37f2", "cves": ["CVE-2026-116333"], "html": "<p>\n      避免带有数组键的并行 B-树扫描中的越界读取（Nathan Bossart）<a href=\"https://postgr.es/c/4cd18df09\">§</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": ["4cd18df09"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "799aa6a5ea4ec711c2b06b9ad7cce82ddcf2109f7f14d32f494cb61f58fcf8dd", "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": ["4cd18df09"], "source_entry_id": "17.12/changes/027", "db_id": "bf646fdadd9fda160866366d3baf862d", "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0", "relations": [{"rule": 2, "type": "equivalent", "target": "c3d72b59b691d63ee3331dbcb846d3cd", "evidence": {"same_day": true, "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c3d72b59b691d63ee3331dbcb846d3cd", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免带有数组键的并行 B-树扫描中的越界读取", "evidence": {"same_day": true, "patch_ids": ["1426a668f0b63aa16cd6efc73e19aa29"], "statement_hash": "3f73958fde6fddb892c9c4625e044c2f37fdbcf18446fb4730aab1357f80dba0"}, "url": "/docs/compare/?release=18.7#18.7-e767c59e129a8665", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-e2b08070f092b32d", "cves": ["CVE-2026-120148"], "html": "<p>\n      拒绝为瞬态类型的表达式创建扩展统计信息（Masahiko Sawada）<a href=\"https://postgr.es/c/7f51d62e1\">§</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": ["7f51d62e1"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a34f741953d421718cc2c175b279581c06c0b9258b77ef99873aa8e379121142", "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": ["7f51d62e1"], "source_entry_id": "17.12/changes/028", "db_id": "9ea8906fd0d2c84f2adeeb25a8ac8522", "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": "c941c66bf1bbdec44b694c13fb67c05f", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c941c66bf1bbdec44b694c13fb67c05f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "拒绝为瞬态类型的表达式创建扩展统计信息", "evidence": {"same_day": true, "patch_ids": ["dc5bbce60a318121f883e2e42d2e3b33"], "statement_hash": "4971c663b1ae748dd9832a0c23d3ff9da71227fa5da56855406fb8a24b5fb21a"}, "url": "/docs/compare/?release=18.7#18.7-06fccc77d5d25bd6", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-303b1e37c4a8969e", "cves": ["CVE-2026-120145"], "html": "<p>\n      拒绝将系统目录用作逻辑复制目标（Masahiko Sawada）<a href=\"https://postgr.es/c/9532d4c94\">§</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": ["9532d4c94"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9fce32cb9707c0e8a3d2ed8706e823c3d80d05cb9ba7e3760ce3d416738b4305", "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": ["9532d4c94"], "source_entry_id": "17.12/changes/029", "db_id": "1459abc96ed3b7bff322e95b8e46d053", "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8", "relations": [{"rule": 2, "type": "equivalent", "target": "691eb3234e859567c3c5c9f1667dd811", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "691eb3234e859567c3c5c9f1667dd811", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "拒绝将系统目录用作逻辑复制目标", "evidence": {"same_day": true, "patch_ids": ["0a28b4c865f706f847244ee4f3b42b01"], "statement_hash": "9471b933c3f8f2f5ae3fcd22aaaa38fe50254a0774f4bc417d64a4a72fa3ace8"}, "url": "/docs/compare/?release=18.7#18.7-f305e454aa39e982", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-f957a30c329ac59c", "cves": ["CVE-2026-120154"], "html": "<p>\n      在应用用户限定条件之前，根据 RLS 策略检查 <code>ON CONFLICT</code> 的目标行（Peter Geoghegan，Zsolt Parragi）<a href=\"https://postgr.es/c/9c677791d\">§</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": ["9c677791d"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c8729eb2923376b5d59151f25e74efc8da6ee0918a0ea9a74b8be23fc9759b70", "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": ["9c677791d"], "source_entry_id": "17.12/changes/030", "db_id": "14348fc8327d3de9e2584c4727766e2b", "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb", "relations": [{"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": "50cf9584b2f3869c8202a4f23ad9fb96", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "50cf9584b2f3869c8202a4f23ad9fb96", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在应用用户限定条件之前，根据 RLS 策略检查 ON CONFLICT 的目标行", "evidence": {"same_day": true, "patch_ids": ["c2862a39099beaaf88670d591ec06b43"], "statement_hash": "d0f112905740a7b33de00899012850a33cb6417a87bafde33073617a7976b7fb"}, "url": "/docs/compare/?release=18.7#18.7-442fa950913a47a1", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-fe2d2327fb44128d", "cves": ["CVE-2026-14661"], "html": "<p>\n      验证复制订阅和 <code>contrib/dblink</code> 中的所有连接选项（Jacob Champion）<a href=\"https://postgr.es/c/ea9b427fa\">§</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": ["ea9b427fa"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "307eb1fdfb71b33b2883ab1f211ce898c02c8eff3c742ad1d53d3a307334ae76", "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": ["ea9b427fa"], "source_entry_id": "17.12/changes/031", "db_id": "c8abeee3b9b5d557cb47cd647d49cf82", "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": "ce745749b4b887d695e3e090c75bddbc", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ce745749b4b887d695e3e090c75bddbc", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "验证复制订阅和 contrib/dblink 中的所有连接选项", "evidence": {"same_day": true, "patch_ids": ["adfaa53a857e3bd29a3a950405be5cb8"], "statement_hash": "5ca271ffd2e4c7779226f21ae2a480e7474a82af7c1835e60d7b5a31429d144e"}, "url": "/docs/compare/?release=18.7#18.7-fdd38a90c8229fab", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-dd4f11d18f61df5d", "cves": ["CVE-2026-120142"], "html": "<p>\n      在比较行类型时安全地处理已删除的列（Peter Geoghegan）<a href=\"https://postgr.es/c/354d5c71b\">§</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": ["354d5c71b"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "d84763c370d050707480fac43d13a88c9f8032a85aea1e95bd9b5205cb9e09bd", "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": ["354d5c71b"], "source_entry_id": "17.12/changes/032", "db_id": "47c8b1a99b6a3489d0f1b0949a40bdce", "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219", "relations": [{"rule": 2, "type": "equivalent", "target": "da2c01bc364c850ddae8f49c6b88ba4d", "evidence": {"same_day": true, "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "da2c01bc364c850ddae8f49c6b88ba4d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在比较行类型时安全地处理已删除的列", "evidence": {"same_day": true, "patch_ids": ["734d7731321aa374004eabcede4be630"], "statement_hash": "2e9b7990480e19914ca824082b06d8587856bf965aa24e26346b7578c00cc219"}, "url": "/docs/compare/?release=18.7#18.7-e46ddd8ffe409a86", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-ec828e4e02c0a2ce", "cves": ["CVE-2026-18447"], "html": "<p>\n      禁止将 SQL 函数声明为返回 <code>\"any\"</code> 类型（Peter Geoghegan）<a href=\"https://postgr.es/c/5e99fab61\">§</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": ["5e99fab61"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "6b03901383fd4995ba1f74f60b0c186b6742ab1a4723ba140b3581a61b4318ad", "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": ["5e99fab61"], "source_entry_id": "17.12/changes/033", "db_id": "7d779116da0be61dce5d13ba4eedb823", "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": "bd0aa31d589decc95c90e16be4672c69", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd0aa31d589decc95c90e16be4672c69", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "禁止将 SQL 函数声明为返回 \"any\" 类型", "evidence": {"same_day": true, "patch_ids": ["05281e53ecb4ff14c82e1959dceeba28"], "statement_hash": "de21a39f112e6158c7949f8189a62ea4432861980b9511d627d81539ec925c29"}, "url": "/docs/compare/?release=18.7#18.7-fd9ba2a5a9a48974", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-cebba0d1d48cc816", "cves": ["CVE-2026-120139"], "html": "<p>\n      加固更多内存大小计算，防止整数溢出（Álvaro Herrera）<a href=\"https://postgr.es/c/bef80ad61\">§</a><a href=\"https://postgr.es/c/a17bc8b3c\">§</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": ["a17bc8b3c", "bef80ad61"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3fa42e302d2442d7d18b605518d3777d10d8f5fc9102501e5b8b5a9afc3d5b4d", "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": ["a17bc8b3c", "bef80ad61"], "source_entry_id": "17.12/changes/034", "db_id": "ee3cf66218dcc42d9ac950dcbc462288", "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f", "relations": [{"rule": 2, "type": "equivalent", "target": "0f413e19c8f7640f612e6944652e76f1", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}}, {"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"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0f413e19c8f7640f612e6944652e76f1", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "加固更多内存大小计算，防止整数溢出", "evidence": {"same_day": true, "patch_ids": ["9d3440201e5648b1278de9e327a8ac30", "c213ad029db787608b1e52a3e10acd33"], "statement_hash": "35f97bb56ebae7fe0afaab99da30096f9519a9440053f9e725923f350c27d09f"}, "url": "/docs/compare/?release=18.7#18.7-cb25ada02d4a7fb3", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-16c1f2b5d80d4ea9", "cves": ["CVE-2026-120141"], "html": "<p>\n      修复返回 <code>RECORD</code> 的集合返回函数在查询目标列表中物化时的类型混淆（Melanie Plageman，Robert Haas）<a href=\"https://postgr.es/c/55c00bffe\">§</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": ["55c00bffe"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9b2197b83b1aac648db6206c3ba5ad67a820a08632dcdad528fa81b2f344c690", "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": ["55c00bffe"], "source_entry_id": "17.12/changes/035", "db_id": "96a8d07f08bd0bff5e6d272836b0b25d", "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": "b751c2132d15f23de1a82ebc15b7c378", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "b751c2132d15f23de1a82ebc15b7c378", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复返回 RECORD 的集合返回函数在查询目标列表中物化时的类型混淆", "evidence": {"same_day": true, "patch_ids": ["1e1c4a553556f6064cead89eeff39385"], "statement_hash": "3ecd5bdcccccc29daec7c21828b885493dc6d4e3e5cc5ee558825a41cb4a3f4c"}, "url": "/docs/compare/?release=18.7#18.7-7987622d602ff5a2", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-98e2d49abdb6f3ab", "cves": ["CVE-2026-120151"], "html": "<p>\n      在 PL/pgSQL 记录字段赋值中处理并发的行类型变更（Tom Lane）<a href=\"https://postgr.es/c/3a3eb7616\">§</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": ["3a3eb7616"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "7e82d45a971b9afce26a159334044f59155eb7acfd35dea5bde950986e84e9d7", "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": ["3a3eb7616"], "source_entry_id": "17.12/changes/036", "db_id": "409a4040f8df443274f5d69f5c09032d", "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "f6f7f233a3fb74f97c499fd7614b121d", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f6f7f233a3fb74f97c499fd7614b121d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 PL/pgSQL 记录字段赋值中处理并发的行类型变更", "evidence": {"same_day": true, "patch_ids": ["39d84a6a4f6570d956c2b171418b5541"], "statement_hash": "160539603df1867a8f90a308e165cbe241e2e6d191f4b5f555d4764ac4a974f9"}, "url": "/docs/compare/?release=18.7#18.7-44dcd5d42636127f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0868c4ffea5d98dc", "cves": ["CVE-2026-116326"], "html": "<p>\n      在 PL/Perl 和相关 contrib 模块中支持<span>“<span>绑定</span>”</span>的 Perl 对象（Andrey Rachitskiy）<a href=\"https://postgr.es/c/217eb08b4\">§</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": ["217eb08b4"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b465d8ebf5c9b5de0df08378aa967228feced0abb3419f30f268d3a5c96a9dbf", "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": ["217eb08b4"], "source_entry_id": "17.12/changes/037", "db_id": "280310d26a42f4bc69a2a85bc4ce7d42", "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": "68bb91cfe59fd57cce1a43e6953e641a", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}}, {"rule": 2, "type": "equivalent", "target": "c7a62d588cfe8cbdf02239efb8e683bb", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c7a62d588cfe8cbdf02239efb8e683bb", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 PL/Perl 和相关 contrib 模块中支持“绑定”的 Perl 对象", "evidence": {"same_day": true, "patch_ids": ["0663235de8a27bf601716b48b092bcf1"], "statement_hash": "6b7e6efa4b69e246d55ae17be24f954d0e4b0a1248d6e205f90cf3a789819bc4"}, "url": "/docs/compare/?release=18.7#18.7-2c409bd6f61052a1", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-740cd9073b7303d2", "cves": ["CVE-2026-116326"], "html": "<p>\n      修复 PL/Perl 对绑定对象抛出错误的处理（Tom Lane，Andrew Dunstan）<a href=\"https://postgr.es/c/62a19e158\">§</a><a href=\"https://postgr.es/c/6e5524cda\">§</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": ["62a19e158", "6e5524cda"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a2ca631a7358873a8b30146e9b47239aa82340ca7236d7850ff739b7154e031e", "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": ["62a19e158", "6e5524cda"], "source_entry_id": "17.12/changes/038", "db_id": "97318e2a35f37014a61cd87d44b1b4ed", "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": "9f65c6af2d0c170a6493fa55aadc5541", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9f65c6af2d0c170a6493fa55aadc5541", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 PL/Perl 对绑定对象抛出错误的处理", "evidence": {"same_day": true, "patch_ids": ["2f9929804c775c9a63c5af8c83536f15", "56da1f6e61ce86bd503571318c700318"], "statement_hash": "a4e5aa720fccd30a258ed07e53e8a62648216628a516e088593f796c59bb8daf"}, "url": "/docs/compare/?release=18.7#18.7-2b1d55876b170c1d", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-65fb53ffec9ead75", "cves": ["CVE-2026-116309"], "html": "<p>\n      修复 PL/Perl 的 <code>get_perl_array_ref()</code> 中的类型混淆（Andrew Dunstan）<a href=\"https://postgr.es/c/dcc32e7d9\">§</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": ["dcc32e7d9"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "11940702db28520e9abae088861228cdcfb88996c1c06b32aa260354c9ad702a", "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": ["dcc32e7d9"], "source_entry_id": "17.12/changes/039", "db_id": "9a071fc8fd6633930c12174b97300cfc", "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": "33d917dda561f6105d53f127e9738f10", "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": "a2761868652a35a95a68e884893d4d3e", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "33d917dda561f6105d53f127e9738f10", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 PL/Perl 的 get_perl_array_ref() 中的类型混淆", "evidence": {"same_day": true, "patch_ids": ["b8f49ea8c47668c3c508a3cbd871f64d"], "statement_hash": "6240ee9b857b2c6855cb99ed9f0ed71907fa7ad0af9cadf7ee34288218c96d29"}, "url": "/docs/compare/?release=18.7#18.7-6213224f3f3a5351", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5bfda92c2d86cd4d", "cves": ["CVE-2026-116320"], "html": "<p>\n      修复扫描 Perl 数组和哈希时释放后使用内存的问题（Tom Lane，Anthropic OSS program）<a href=\"https://postgr.es/c/d1883981a\">§</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": ["d1883981a"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "568776a14173d1f105c7f0dec8a6ff0ac066e1efa33cc6af887acbfa9a6a2aa5", "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": ["d1883981a"], "source_entry_id": "17.12/changes/040", "db_id": "b479400618868a82c06a15155b9195e9", "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": "e00d4cb0494c3249e054cdaf4892bf1b", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e00d4cb0494c3249e054cdaf4892bf1b", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复扫描 Perl 数组和哈希时释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["3b88f79102521c9c4a7124099def64c4"], "statement_hash": "4f604689c67fb9529a9f06ec91d2a4e3a41db72f5be59e7e718f52bf10f569de"}, "url": "/docs/compare/?release=18.7#18.7-b8b4a40b2132ec78", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-50e47a45a6126d0d", "cves": ["CVE-2026-116319"], "html": "<p>\n      修复 <code>plperl_return_next_internal()</code> 中释放后使用内存的问题（Anthropic OSS program）<a href=\"https://postgr.es/c/eab800134\">§</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": ["eab800134"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "96bd7c005bc9e344ec8efb2c758cd08c22ca8c9011aa6d75019806783caa7a0c", "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": ["eab800134"], "source_entry_id": "17.12/changes/041", "db_id": "a55d6d5428458fd34edf5218814619fc", "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": "87e29a2eec5b9f5a0ea3e35d7f63d4f7", "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"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "87e29a2eec5b9f5a0ea3e35d7f63d4f7", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 plperl_return_next_internal() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["bd98d78870bc269332aa3c4207e6e3ef"], "statement_hash": "bb2f76296f633d349fef060f6fd5e81537280a40536b87da388a9a1c6f858bdc"}, "url": "/docs/compare/?release=18.7#18.7-68196d4ff4175d9d", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ef1888120d175219", "cves": ["CVE-2026-116307"], "html": "<p>\n      修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题（Masahiko Sawada）<a href=\"https://postgr.es/c/2009539be\">§</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": ["2009539be"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "97df6534b272650c52e1a0bd340fb714a9123a71e881417621ad6d792f780418", "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": ["2009539be"], "source_entry_id": "17.12/changes/042", "db_id": "92d1d1232d090ea1fc8c481ffb901f0d", "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": "85d744eb6be16569c8d370abc70d381a", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "85d744eb6be16569c8d370abc70d381a", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 PL/Perl 中释放正在执行的预备查询所触发的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["47d2752cf2024ee10e6443729c90f3e9"], "statement_hash": "57c5f8370bbeeb920c1677fb307e6c4f5bc19a2be9cc2ac414657d32443ed1b0"}, "url": "/docs/compare/?release=18.7#18.7-f50f8b74703d2674", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-3b2832389bb7e6df", "cves": ["CVE-2026-116323"], "html": "<p>\n      修复重入使用 PL/Tcl 时释放后使用内存的风险（Tom Lane）<a href=\"https://postgr.es/c/9d15ca063\">§</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": ["9d15ca063"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "0b6cf646d5978729fb1178b5a5429edcfaeae0b8dea8914626418d974b9e2827", "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": ["9d15ca063"], "source_entry_id": "17.12/changes/043", "db_id": "31563dbe84b1540c8016f5a7a3dca40b", "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": "66c171df6c4a73c534994cc848365dbe", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "66c171df6c4a73c534994cc848365dbe", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复重入使用 PL/Tcl 时释放后使用内存的风险", "evidence": {"same_day": true, "patch_ids": ["3d93de8ac7352ca649832103bda16461"], "statement_hash": "705954a2bf84403ac13f670e07069f1e2c641b6f8b9b228675cf8fe90c46c5ae"}, "url": "/docs/compare/?release=18.7#18.7-e8455c8d89345621", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-06c0d6713b9febc4", "cves": ["CVE-2026-120147"], "html": "<p>\n      拒绝重入使用 <code>contrib/dblink</code>（Masahiko Sawada）<a href=\"https://postgr.es/c/33f4232cb\">§</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": ["33f4232cb"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "1a8bc777cd03731328d9bfe66f1bee33b28c17e8073d1791c24440a44adff5ba", "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": ["33f4232cb"], "source_entry_id": "17.12/changes/044", "db_id": "800d50b4c27cfa1fd9dabf25f8dd4b85", "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724", "relations": [{"rule": 2, "type": "equivalent", "target": "8ef2c34c592068847b16582815445770", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "8ef2c34c592068847b16582815445770", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "拒绝重入使用 contrib/dblink", "evidence": {"same_day": true, "patch_ids": ["f3e2a6dd2b122eb70c1423e8d5ac89e9"], "statement_hash": "46a73bc45f12ea1eddf464810e8c639bf70c78179a9a099bf8e4388de623a724"}, "url": "/docs/compare/?release=18.7#18.7-cc5ab0ad14e1452e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-19cdf7f6bc031231", "cves": ["CVE-2026-116308"], "html": "<p>\n      在 <code>contrib/dict_int</code> 中为零长度词元返回 NULL（Nathan Bossart，Anthropic OSS program）<a href=\"https://postgr.es/c/b24a45486\">§</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": ["b24a45486"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "bcc5b4a488fd181f2d0c7b500547b85e7994143e66b3ebaa7733dbcdec571b2c", "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": ["b24a45486"], "source_entry_id": "17.12/changes/045", "db_id": "2b5f80b079501c45cc08caf63369078f", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "eb27cb2ced5da2f3911d16ca359de468", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "eb27cb2ced5da2f3911d16ca359de468", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 contrib/dict_int 中为零长度词元返回 NULL", "evidence": {"same_day": true, "patch_ids": ["896ad0183e35379808f1056a307de779"], "statement_hash": "449e6b36d212de62c625867b1895435df04e80a48c212d2cf857c9cb56019466"}, "url": "/docs/compare/?release=18.7#18.7-f093a9d8f774b53f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-472e60f3e8da2c20", "cves": ["CVE-2026-116325"], "html": "<p>\n      确保 <span>reindexdb</span> 为所处理的索引名称正确加引号（Anthropic OSS program）<a href=\"https://postgr.es/c/2680b0781\">§</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": ["2680b0781"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8f76bd777a99fa4354709c4c6e7dd14a13e28c575f72fb2fc9aa018463051108", "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": ["2680b0781"], "source_entry_id": "17.12/changes/046", "db_id": "d5c8ec48c8c4ca51ceb3f0e54f854c21", "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74", "relations": [{"rule": 2, "type": "equivalent", "target": "a833ebb4cea3b1cf070cc862de0d4a1b", "evidence": {"same_day": true, "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "a833ebb4cea3b1cf070cc862de0d4a1b", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保 reindexdb 为所处理的索引名称正确加引号", "evidence": {"same_day": true, "patch_ids": ["f6706913afb390e545a49adb4e874070"], "statement_hash": "2fb7c3b6fd11a24618b399f56209553ccce0fb94127d96f91ad8d3c36ee7ac74"}, "url": "/docs/compare/?release=18.7#18.7-cedcc552c31064b3", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-46114cf0ca4cfd82", "cves": ["CVE-2026-116330"], "html": "<p>\n      使 <code>\\[un]restrict</code> 命令在 <span>pg_dump</span> 的 tar 格式输出中生效（Noah Misch）<a href=\"https://postgr.es/c/4d3c13724\">§</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": ["4d3c13724"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a91c0a2c26b8328500e6d24a0acd7c85f9082960e7644f61dd57e501cc4a5e8d", "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": ["4d3c13724"], "source_entry_id": "17.12/changes/047", "db_id": "2e3920e37b25fcd5b9e7f5e319abb146", "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767", "relations": [{"rule": 2, "type": "equivalent", "target": "46f08d4fc5612c36b2a98f2718c42b04", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "46f08d4fc5612c36b2a98f2718c42b04", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "使 \\[un]restrict 命令在 pg_dump 的 tar 格式输出中生效", "evidence": {"same_day": true, "patch_ids": ["8954d11917e0f087320734b17be5e597"], "statement_hash": "720cb93b7302d18ce1968230fcbf6ff3f0859d2a344c871c5483e0c5e3e2a767"}, "url": "/docs/compare/?release=18.7#18.7-2a333be40f50c7f5", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4d6163e00e8f916e", "cves": ["CVE-2026-116314"], "html": "<p>\n      增强 <span>pg_restore</span> 对损坏归档文件的防护（Dilip Kumar，Yonghwa Lee，Nathan Bossart）<a href=\"https://postgr.es/c/a6dc99b28\">§</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": ["a6dc99b28"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "501224140205dcfa540ebe8b85ae1c5f3e0c7d93bcf24d9e6cf1010c5c31b00c", "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": ["a6dc99b28"], "source_entry_id": "17.12/changes/048", "db_id": "0fb349feac3600d8d035c2003bc10912", "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "e4de4978a25050f97d0cae5a43666ce5", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}}], "version": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e4de4978a25050f97d0cae5a43666ce5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "增强 pg_restore 对损坏归档文件的防护", "evidence": {"same_day": true, "patch_ids": ["ee3975d1d0f22eb1f2629c2b7a8582b6"], "statement_hash": "a449e4daeb5f8cd328adbd1afbf3d74126e5365d5c31c68bfa0177bfd79a9975"}, "url": "/docs/compare/?release=18.7#18.7-134f48f32f274adb", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-a0134a9151533718", "cves": ["CVE-2026-16240"], "html": "<p>\n      修复 <span>pg_basebackup</span> 使用受外部控制的格式字符串的问题（Peter Eisentraut）<a href=\"https://postgr.es/c/04986ad59\">§</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": ["04986ad59"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "29dc2d65697e43e3fdc3f4af6f77bc93e77eb38450db982ed6a7aa96650b685d", "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": ["04986ad59"], "source_entry_id": "17.12/changes/049", "db_id": "0ddb64503190689f214348caf13bc70b", "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6", "relations": [{"rule": 2, "type": "equivalent", "target": "0877dd9e7c4455e17ce55012d04e44c4", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0877dd9e7c4455e17ce55012d04e44c4", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pg_basebackup 使用受外部控制的格式字符串的问题", "evidence": {"same_day": true, "patch_ids": ["3ccdd78d0729569e224362afdaa43ecb"], "statement_hash": "aa3fbf2204466a9fdd3ef7716669c47a61c09dfed039cf2ebe86938d830f90a6"}, "url": "/docs/compare/?release=18.7#18.7-458a1a2d211c1f23", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-483251120ed7ed90", "cves": [], "html": "<p>\n      禁用 <code>bpchar</code> 数据类型的 B-树索引去重支持（Shihao Zhong，Peter Geoghegan）<a href=\"https://postgr.es/c/74f26a193\">§</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": ["74f26a193"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8f68bc59429f296427d7a42b507db5f2f631860220b9248587ef08dd8d66d49e", "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": ["74f26a193"], "source_entry_id": "17.12/changes/050", "db_id": "2b1468c89a24ee6cc5e9f947518be96c", "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb", "relations": [{"rule": 2, "type": "equivalent", "target": "678d6af89254d07ac1dd7485696b943f", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "678d6af89254d07ac1dd7485696b943f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "禁用 bpchar 数据类型的 B-树索引去重支持", "evidence": {"same_day": true, "patch_ids": ["2cca306cb0f04f00409cf13d6b320dee"], "statement_hash": "42c3a219e0a088072c6d8daf9f0035ac676bab4eea716d878da0f0650f8268bb"}, "url": "/docs/compare/?release=18.7#18.7-bc2b2940829c6b1b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-753672e6c779aa4e", "cves": [], "html": "<p>\n      确保 <code>VACUUM</code> 清理 GIN 索引中的所有死元组（Peter Geoghegan）<a href=\"https://postgr.es/c/d778f00c1\">§</a><a href=\"https://postgr.es/c/af7cbf4e2\">§</a>\n</p><p>\n      当一次 <code>VACUUM</code> 操作需要多次扫描索引时（因为要移除的元组数量超过一次能放入内存的数量），可能漏掉一些应当移除的索引项。另一个涉及与叶子页分裂发生竞态的错误也有相同影响。这些错误最终会导致索引损坏，使索引项指向不相关的表行。如果怀疑已发生这种情况，建议执行 <code>REINDEX</code>。\n     </p>", "text": "确保 VACUUM 清理 GIN 索引中的所有死元组（Peter Geoghegan）§§ 当一次 VACUUM 操作需要多次扫描索引时（因为要移除的元组数量超过一次能放入内存的数量），可能漏掉一些应当移除的索引项。另一个涉及与叶子页分裂发生竞态的错误也有相同影响。这些错误最终会导致索引损坏，使索引项指向不相关的表行。如果怀疑已发生这种情况，建议执行 REINDEX。", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "commits": ["af7cbf4e2", "d778f00c1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "fe582bb7ae466351ca8ffc8482fc58144a49ec0f7ed5a7c049c88a8ec785256a", "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": ["af7cbf4e2", "d778f00c1"], "source_entry_id": "17.12/changes/051", "db_id": "c4db64eb2f7ef5e28a877c1f58f80cb7", "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": "77b3fa28cdf0fda52493e39bcc0b8ad6", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "77b3fa28cdf0fda52493e39bcc0b8ad6", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保 VACUUM 清理 GIN 索引中的所有死元组", "evidence": {"same_day": true, "patch_ids": ["46c632a26d2272f7f852bc2c5b6b24f1", "875c72e5d0413475318fb91924fda88f"], "statement_hash": "b053162513114ed85573bf05d7e081124f152b0ae6481de58db501ae8689b7cc"}, "url": "/docs/compare/?release=18.7#18.7-fb71de8b0452806b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-1c35b75b19f8454a", "cves": [], "html": "<p>\n      修复未完成页分裂之后的 GIN 倒排树页面删除（Peter Geoghegan）<a href=\"https://postgr.es/c/aa14281fd\">§</a>\n</p><p>\n      删除步骤可能错误地断开兄弟页面，导致后续索引搜索漏掉行。如果怀疑已发生这种情况，建议执行 <code>REINDEX</code>。\n     </p>", "text": "修复未完成页分裂之后的 GIN 倒排树页面删除（Peter Geoghegan）§ 删除步骤可能错误地断开兄弟页面，导致后续索引搜索漏掉行。如果怀疑已发生这种情况，建议执行 REINDEX。", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "commits": ["aa14281fd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c2c95eba4f27c9c182c652b97c2e09d48e2fc31a02c94fb19128d79c28f113ba", "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": ["aa14281fd"], "source_entry_id": "17.12/changes/052", "db_id": "9fe98dbc57630bcb38522a3c91f0f9d7", "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd", "relations": [{"rule": 2, "type": "equivalent", "target": "0ab8b532519c0a9b16fa8a57d959c811", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}, {"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": "f7fdd891c77635a644c02af5e9100cb0", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ab8b532519c0a9b16fa8a57d959c811", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复未完成页分裂之后的 GIN 倒排树页面删除", "evidence": {"same_day": true, "patch_ids": ["28eb7b931866fc2d53f93f0ca85263da"], "statement_hash": "06dfe71124caa562632fcc03bf2096b3dbb3b4a32394545a544466b44182e5dd"}, "url": "/docs/compare/?release=18.7#18.7-984b19856e7045e3", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-efea27b7b83b5f33", "cves": [], "html": "<p>\n      修复未能更新 TOAST 表索引的可变 <code>pg_index</code> 字段的问题（Bharath Rupireddy）<a href=\"https://postgr.es/c/b3852eec6\">§</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": ["b3852eec6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b740067f07e4daf1b7dd73e7a9678b91447690c3e0bfb538804125ff1f1baf9a", "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": ["b3852eec6"], "source_entry_id": "17.12/changes/053", "db_id": "bceed67c188612daf5e0b8ee0d20e11d", "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": "45f81d01e829446f5a7831b6b62e94e3", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "45f81d01e829446f5a7831b6b62e94e3", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复未能更新 TOAST 表索引的可变 pg_index 字段的问题", "evidence": {"same_day": true, "patch_ids": ["b1c4cd7d12fddaf4e4795dc3cfc3f9e0"], "statement_hash": "60921c8c11e27da56d5ec1b024e0d1d5f5eedca1f9aa3d88203bf8fb0f522a58"}, "url": "/docs/compare/?release=18.7#18.7-78cd2019d3623afc", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-635d492797b92a3f", "cves": [], "html": "<p>\n      通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构（Tom Lane，Richard Guo，Shihao Zhong，Ayush Tiwari）<a href=\"https://postgr.es/c/13466d1f7\">§</a><a href=\"https://postgr.es/c/1000f7b14\">§</a><a href=\"https://postgr.es/c/12f10c25c\">§</a><a href=\"https://postgr.es/c/197a41aa6\">§</a><a href=\"https://postgr.es/c/ccb7d9dba\">§</a><a href=\"https://postgr.es/c/51f9e30f3\">§</a><a href=\"https://postgr.es/c/bd003dca0\">§</a><a href=\"https://postgr.es/c/00d1b4598\">§</a>\n</p><p>\n      规划器中原有的连接移除实现在多年间出现过许多错误，其中一些从未得到修复。它本身很脆弱，因为规划器衍生数据结构的变化常常要求同步调整连接移除逻辑，却没有简单的方法保持这些代码同步。现在改为修改简单得多的语法解析树表示，再循环重新生成所有衍生数据。这是一项重大更改，通常我们绝不会考虑将其回补到旧分支，但旧实现可能持续产生错误，促使我们承担这一风险。\n     </p>", "text": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构（Tom Lane，Richard Guo，Shihao Zhong，Ayush Tiwari）§§§§§§§§ 规划器中原有的连接移除实现在多年间出现过许多错误，其中一些从未得到修复。它本身很脆弱，因为规划器衍生数据结构的变化常常要求同步调整连接移除逻辑，却没有简单的方法保持这些代码同步。现在改为修改简单得多的语法解析树表示，再循环重新生成所有衍生数据。这是一项重大更改，通常我们绝不会考虑将其回补到旧分支，但旧实现可能持续产生错误，促使我们承担这一风险。", "title": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构", "commits": ["00d1b4598", "1000f7b14", "12f10c25c", "13466d1f7", "197a41aa6", "51f9e30f3", "bd003dca0", "ccb7d9dba"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ec347569ab3ad38db3cb13d3db8dfd3868a4b74ad4f62b447bfd8a5df82a92e7", "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": ["00d1b4598", "1000f7b14", "12f10c25c", "13466d1f7", "197a41aa6", "51f9e30f3", "bd003dca0", "ccb7d9dba", "dca6a9e32"], "source_entry_id": "17.12/changes/054", "db_id": "b5b80d3c819492e1c08b8f51828aa882", "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed", "relations": [{"rule": 2, "type": "equivalent", "target": "cb1594eaa56ee96a95bdf14bcf9d91ef", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb1594eaa56ee96a95bdf14bcf9d91ef", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "通过修改查询的语法解析树来移除连接，而不再尝试修补规划器衍生的数据结构", "evidence": {"same_day": true, "patch_ids": ["021b1bdf4de69ec6a9e7a971fe7f7aad", "10c2da903db6a2d5e76f7e3e0c19225c", "1b9e65bae7085a97c590f5d178c5ddc5", "381bb4db6d4236dbd24248e719e873ca", "6196d3161709faf303595df55fca4fde", "728b29e7c9d3e0e689faf0c5e06515f2", "80b7028bbeab1b8e15062aaa3f3a07d9", "f7281b2dddaf84bb616d135debb8cae6", "fcd9704eb870e66b3f18b047bd2d7794"], "statement_hash": "a535e5adaafc9e558c036740f85cbcf5f60cb9bc1bedd95ac284c9282e8268ed"}, "url": "/docs/compare/?release=18.7#18.7-9e1ce1eb695d1cf6", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7bb9d1a4b6385bf8", "cves": [], "html": "<p>\n      修复横向引用触发的多种规划器错误（Richard Guo）<a href=\"https://postgr.es/c/70cf32506\">§</a><a href=\"https://postgr.es/c/b83b7ddf7\">§</a><a href=\"https://postgr.es/c/c37a2bb54\">§</a><a href=\"https://postgr.es/c/d9595e7e6\">§</a><a href=\"https://postgr.es/c/9e8f4ce28\">§</a><a href=\"https://postgr.es/c/cf24f8e61\">§</a><a href=\"https://postgr.es/c/55b9f54dc\">§</a><a href=\"https://postgr.es/c/65e944d92\">§</a><a href=\"https://postgr.es/c/3e914438a\">§</a><a href=\"https://postgr.es/c/94035972a\">§</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": ["3e914438a", "55b9f54dc", "65e944d92", "70cf32506", "94035972a", "9e8f4ce28", "b83b7ddf7", "c37a2bb54", "cf24f8e61", "d9595e7e6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5f8d4811d51b8630dfe3359b82d38ef879081a7b23a7389b3282f7ed904ed7e6", "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": ["3e914438a", "55b9f54dc", "55fa1b067", "65e944d92", "70cf32506", "94035972a", "9e8f4ce28", "b83b7ddf7", "c37a2bb54", "cf24f8e61", "d9595e7e6"], "source_entry_id": "17.12/changes/055", "db_id": "cc766d57d31d0f4b81ea2f8b40048d18", "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": "b56115877a3230e5de8ae181d826c198", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b56115877a3230e5de8ae181d826c198", "kind": "equivalent", "version": "18.7", "label": "18.7", "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=18.7#18.7-2d5d88355c9786ec", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-86cbe96ddf19b8c5", "cves": [], "html": "<p>\n      为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句（Richard Guo）<a href=\"https://postgr.es/c/854f81f07\">§</a>\n</p><p>\n      这可以避免某些边界情况：此类限定条件被下推到反连接右侧，导致其语义与预期相反。\n     </p>", "text": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句（Richard Guo）§ 这可以避免某些边界情况：此类限定条件被下推到反连接右侧，导致其语义与预期相反。", "title": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句", "commits": ["854f81f07"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "95e8a93474bba16001d261037a1ec68af1d989d1723c27e5c4c7748e9077cae5", "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": ["854f81f07"], "source_entry_id": "17.12/changes/056", "db_id": "b5fe8118f67f4285960c05a1e256d37d", "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744", "relations": [{"rule": 2, "type": "equivalent", "target": "aed1eb907442919ed92cb73b69689691", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aed1eb907442919ed92cb73b69689691", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "为由 SubLink 转换而来的反连接分配关系 ID，以确保正确放置包含 PlaceHolderVar 的限定子句", "evidence": {"same_day": true, "patch_ids": ["3c577e40aecbf28e68f423ccc351b697"], "statement_hash": "c241a4b6e72230c8b165e89ec4ba499d87448e99c674a89a88fe215b8ea8f744"}, "url": "/docs/compare/?release=18.7#18.7-8f18911c02194e42", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-c1e7d3c6eca44566", "cves": [], "html": "<p>\n      修复作为嵌套循环参数的 PlaceHolderVar 的放置位置（Richard Guo）<a href=\"https://postgr.es/c/f2e9e3aa1\">§</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": ["f2e9e3aa1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "95910058311a9f4a336b650a31f8a791cfd14b1b9ba9feb6049ab8c8489c2945", "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": ["c1c930376", "f2e9e3aa1"], "source_entry_id": "17.12/changes/057", "db_id": "b4b1002843c668a1241ae0d660e4cc4a", "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": "420be7c16d7d51af5168ca50be6b89b4", "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": "d2540d7feeb0d3403f8dd034ad0f5ccd", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "420be7c16d7d51af5168ca50be6b89b4", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复作为嵌套循环参数的 PlaceHolderVar 的放置位置", "evidence": {"same_day": true, "patch_ids": ["44355dec1e521e020abe30702d01d860", "8b4920665807a3e21c6d3049d4ec494c"], "statement_hash": "9433510c3c0655acb9e7c255e84355514b8794ce599d20a3d6ada05d7809bd7f"}, "url": "/docs/compare/?release=18.7#18.7-144134a609730889", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-1e475a108750d500", "cves": [], "html": "<p>\n      避免排序键为 PlaceHolderVar 时规划器失败（Richard Guo）<a href=\"https://postgr.es/c/05d073e2c\">§</a><a href=\"https://postgr.es/c/2b66c9c8a\">§</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": ["05d073e2c", "2b66c9c8a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8036146ff030f8f7f9ae94f744fefd2340f110905cc7a001bc08ab8f2069d7c1", "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": ["05d073e2c", "2b66c9c8a"], "source_entry_id": "17.12/changes/058", "db_id": "3a67e6894d7261ba75a04a4d73982642", "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25", "relations": [{"rule": 2, "type": "equivalent", "target": "5f5d1c191a053e1a58b6277dd915ba45", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}}, {"rule": 2, "type": "equivalent", "target": "8d01f6dc44658e1e62a9ee00b690a2c4", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8d01f6dc44658e1e62a9ee00b690a2c4", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免排序键为 PlaceHolderVar 时规划器失败", "evidence": {"same_day": true, "patch_ids": ["750a117ba20b4479e73a18912092b1a3", "8a83e608cc8b545f7252a68a30dcba0f"], "statement_hash": "db2756dfd55dd2eb021582104ace5ef6effdfd5faf30160634413f178dc5bb25"}, "url": "/docs/compare/?release=18.7#18.7-4a69e8a08391d1cb", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-42172f88deb5d24d", "cves": [], "html": "<p>\n      修复重新结合外连接后错误丢弃外连接子句的问题（Richard Guo，Nitin Motiani）<a href=\"https://postgr.es/c/ba7127f24\">§</a>\n</p>", "text": "修复重新结合外连接后错误丢弃外连接子句的问题（Richard Guo，Nitin Motiani）§", "title": "修复重新结合外连接后错误丢弃外连接子句的问题", "commits": ["ba7127f24"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ba97a24c72cbdd613a6a896b85975196ed9723a6646d7047eb29482c85f7ead7", "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": ["ba7127f24"], "source_entry_id": "17.12/changes/059", "db_id": "4f2e0114228ff6eb580843c3e34a8015", "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b", "relations": [{"rule": 2, "type": "equivalent", "target": "3f81ab437d7b2760b7446e9744f739b0", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3f81ab437d7b2760b7446e9744f739b0", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复重新结合外连接后错误丢弃外连接子句的问题", "evidence": {"same_day": true, "patch_ids": ["68d15671004b80db1248a968dc344711"], "statement_hash": "28eda08dc5c982320508e9571854ec944d8a3990c2bb8df7862e91cfa45af30b"}, "url": "/docs/compare/?release=18.7#18.7-4f3ebd6f3013a30e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ed753794638ef2ff", "cves": [], "html": "<p>\n      避免整行 Var 引用一个连接并出现在外连接下方时发生<span>“<span>unsupported join alias expression</span>”</span>错误（Richard Guo）<a href=\"https://postgr.es/c/0c4235013\">§</a>\n</p>", "text": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误（Richard Guo）§", "title": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误", "commits": ["0c4235013"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "88421fc253d93f157770d83e54a371bbc1475fa60f0acb82191bd714301c9092", "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": ["0c4235013"], "source_entry_id": "17.12/changes/060", "db_id": "a5c9711d5b48fce9695eb5391abf84d4", "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd", "relations": [{"rule": 2, "type": "equivalent", "target": "4808f64fd2f18669aaf126f4077e6582", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}}, {"rule": 2, "type": "equivalent", "target": "963f3cbc6988be8ef25e124535b104d5", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4808f64fd2f18669aaf126f4077e6582", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免整行 Var 引用一个连接并出现在外连接下方时发生“unsupported join alias expression”错误", "evidence": {"same_day": true, "patch_ids": ["bc987e8620a3466e23738fcd21e849bb"], "statement_hash": "b6a983d065f75b58a48559ed58ea1a218f49dd9c2173a612ef07dd21bc2307bd"}, "url": "/docs/compare/?release=18.7#18.7-3b3dd8277e356330", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-25e4213571d2d710", "cves": [], "html": "<p>\n      在展开整行连接别名引用时正确处理 SubLink（Richard Guo）<a href=\"https://postgr.es/c/6c0698339\">§</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": ["6c0698339"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "f5a844ef92695e031e9780ed92ba1d728e084b1a85500c62e8e6199a1c720b8e", "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": ["6c0698339"], "source_entry_id": "17.12/changes/061", "db_id": "e166687ad72c5bca169bf20ed3e79298", "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": "4a874e863374e3fbe40c40942394e0ea", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a874e863374e3fbe40c40942394e0ea", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在展开整行连接别名引用时正确处理 SubLink", "evidence": {"same_day": true, "patch_ids": ["6b1d9f0372f95b093d41a88bbd1249f0"], "statement_hash": "b41b308bc7ba1011665b5dfc9e84907edc13cf79385657531be928fa4dcfdd56"}, "url": "/docs/compare/?release=18.7#18.7-75cbe4fa949fa7f1", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-6836d87a0dc3ac3d", "cves": [], "html": "<p>\n      当子查询的目标列表含有任何集合返回函数时，不再假定 <code>DISTINCT ON</code> 能确保子查询输出行的唯一性（Richard Guo）<a href=\"https://postgr.es/c/a4eb938b3\">§</a>\n</p><p>\n      这一假定不成立，因为集合返回函数可能在去重步骤之后求值。\n     </p>", "text": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性（Richard Guo）§ 这一假定不成立，因为集合返回函数可能在去重步骤之后求值。", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "commits": ["a4eb938b3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8e2ad387b30d655e4b8e1d395ca8f03c494f60fd8bf1692265024c474f452ba7", "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": ["a4eb938b3"], "source_entry_id": "17.12/changes/062", "db_id": "4ed90ebe13b4b4a4075bb28c42e0acdc", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "f61e732235401a548c5fcb19abed42e1", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f61e732235401a548c5fcb19abed42e1", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "当子查询的目标列表含有任何集合返回函数时，不再假定 DISTINCT ON 能确保子查询输出行的唯一性", "evidence": {"same_day": true, "patch_ids": ["459105ab9b2453d85c797670fc0ef881"], "statement_hash": "a8abf6bbd7c46a4ff8fceb2e1a933a92dff62f8a22ad6d5c5d19c7b0ea94bde8"}, "url": "/docs/compare/?release=18.7#18.7-390efc3bd71283d2", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-d5cb25cbe998c687", "cves": [], "html": "<p>\n      修复带有常量测试表达式的简单形式 <code>CASE</code> 内部、带 <code>RETURNING</code> 子句的 <code>JSON</code> 构造器被错误地进行常量折叠的问题（Richard Guo）<a href=\"https://postgr.es/c/23088673d\">§</a>\n</p>", "text": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题（Richard Guo）§", "title": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题", "commits": ["23088673d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "db912a9a4296742880f8476d2581f29868b6a4cc377bea242513f211924f221b", "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": ["23088673d"], "source_entry_id": "17.12/changes/063", "db_id": "8ffb766f2e392292c5dae23c770603ba", "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": "bede02573b67ba4264ded1e4ec0becda", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bede02573b67ba4264ded1e4ec0becda", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复带有常量测试表达式的简单形式 CASE 内部、带 RETURNING 子句的 JSON 构造器被错误地进行常量折叠的问题", "evidence": {"same_day": true, "patch_ids": ["aef515d6be5a7eda13953a5085188d93"], "statement_hash": "3b8aa7949ad29c5fad6247a12af5b70e28642b7ef658ad4031b8330a5f32af4b"}, "url": "/docs/compare/?release=18.7#18.7-ce33c0e62a8d7de4", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-62a5e81339945c17", "cves": [], "html": "<p>\n      修复查询指定 <code>FETCH ... WITH TIES</code> 时 <code>MIN()</code>/<code>MAX()</code> 索引扫描的错误行为（Chaitanya Choudhary）<a href=\"https://postgr.es/c/70d0ac3c9\">§</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": ["70d0ac3c9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "70e5ddbba1c978a2489a61b729d2a7e5c58501b87cf9d69dffb4197a8e14a166", "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": ["70d0ac3c9"], "source_entry_id": "17.12/changes/064", "db_id": "4150f0253ebcafd0c17da545b6c48461", "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16", "relations": [{"rule": 2, "type": "equivalent", "target": "46d9eb3a9031d5ac0c77452a1360a8a8", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}}, {"rule": 2, "type": "equivalent", "target": "4c991d7d0e0db9bc75298d1bb6d51e13", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4c991d7d0e0db9bc75298d1bb6d51e13", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复查询指定 FETCH ... WITH TIES 时 MIN()/MAX() 索引扫描的错误行为", "evidence": {"same_day": true, "patch_ids": ["d21532a51a7c976ba7d9a6af68895f95"], "statement_hash": "ff1ffd3711d25ed520f08819ecc75ea609ef29fe669020e8bf82c13e92c59c16"}, "url": "/docs/compare/?release=18.7#18.7-3f49159c68bb29a9", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-2fad1494e92c6dfe", "cves": [], "html": "<p>\n      对半连接右侧去重时使用正确的排序规则（Andrey Rachitskiy）<a href=\"https://postgr.es/c/a10d14afc\">§</a>\n</p><p>\n      此问题只在连接比较子句使用非确定性排序规则时发生，因为所有确定性排序规则对字符串相等性的判断都一致。但在此情况下，可能产生包含过多行的错误结果。\n     </p>", "text": "对半连接右侧去重时使用正确的排序规则（Andrey Rachitskiy）§ 此问题只在连接比较子句使用非确定性排序规则时发生，因为所有确定性排序规则对字符串相等性的判断都一致。但在此情况下，可能产生包含过多行的错误结果。", "title": "对半连接右侧去重时使用正确的排序规则", "commits": ["a10d14afc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "6f064ec5f2279f5e8b2a5a1cf6ead9923745c6833021825b2c38e2404e3d9917", "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": ["a10d14afc"], "source_entry_id": "17.12/changes/065", "db_id": "890c5a22bcaca0db7f4a3c411d1c9640", "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": "6650c8fb08fdf5d2075609c2591650fa", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6650c8fb08fdf5d2075609c2591650fa", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "对半连接右侧去重时使用正确的排序规则", "evidence": {"same_day": true, "patch_ids": ["b627126d11195fbc628a446536b26693"], "statement_hash": "f3c100241590ae22ef30f47c976453a5596eeafe181b5259e1232b59254a475a"}, "url": "/docs/compare/?release=18.7#18.7-f6f8694c45f42c06", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7e30a2c6df98a494", "cves": [], "html": "<p>\n      在 <code>INSERT ... ON CONFLICT</code> 期间对冲突行获取谓词锁（Zsolt Parragi，Andrey Borodin）<a href=\"https://postgr.es/c/5b4ebfbfa\">§</a><a href=\"https://postgr.es/c/0d83f9e0e\">§</a>\n</p><p>\n      此前未这样做，导致可串行化模式下行为不正确，允许本应以串行化错误失败的并发更新。\n     </p>", "text": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁（Zsolt Parragi，Andrey Borodin）§§ 此前未这样做，导致可串行化模式下行为不正确，允许本应以串行化错误失败的并发更新。", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "commits": ["0d83f9e0e", "5b4ebfbfa"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e86e69636255dc008c1e51e634c95e129438009d62f95c44972da463a5035fda", "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": ["0d83f9e0e", "5b4ebfbfa"], "source_entry_id": "17.12/changes/066", "db_id": "0de7dd61b79d36c93ea55652cc801879", "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b", "relations": [{"rule": 2, "type": "equivalent", "target": "2242d4598e1d102bac31be61b01a3058", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}}, {"rule": 2, "type": "equivalent", "target": "7e45918518cc025c003f4dd86b0014bc", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e45918518cc025c003f4dd86b0014bc", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 INSERT ... ON CONFLICT 期间对冲突行获取谓词锁", "evidence": {"same_day": true, "patch_ids": ["eb111f39dc4fde16c66de201ff43d170", "f106a568f457a2dc47efb52fdb74cb50"], "statement_hash": "faf288d91398334d7f8ee247761028d59368386e23bcdcc404c4d20d4995268b"}, "url": "/docs/compare/?release=18.7#18.7-817c7714b345fa9d", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4ac3f9f9deb42138", "cves": [], "html": "<p>\n      修复不正确的多列 <code>RANGE</code> 分区剪枝（David Rowley）<a href=\"https://postgr.es/c/2d8494e24\">§</a>\n</p><p>\n      对 <code>RANGE</code> 分区表执行分区剪枝时，如果裁剪限定条件仅涉及分区键的一个前导前缀，分区剪枝可能移除一些不应被裁剪的分区（导致漏掉本应找到的行），也可能包含一些不需要的分区。\n     </p>", "text": "修复不正确的多列 RANGE 分区剪枝（David Rowley）§ 对 RANGE 分区表执行分区剪枝时，如果裁剪限定条件仅涉及分区键的一个前导前缀，分区剪枝可能移除一些不应被裁剪的分区（导致漏掉本应找到的行），也可能包含一些不需要的分区。", "title": "修复不正确的多列 RANGE 分区剪枝", "commits": ["2d8494e24"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "d81e086e01d8620287a74e31ecdd93b0065485ac9d8325b384bc7a6814a3a6fb", "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": ["2d8494e24"], "source_entry_id": "17.12/changes/067", "db_id": "43be4e99e5bfe57da3d9495585fa91de", "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80", "relations": [{"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": "bee5d2c4b9f4136a58f939828bce8dc5", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bee5d2c4b9f4136a58f939828bce8dc5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复不正确的多列 RANGE 分区剪枝", "evidence": {"same_day": true, "patch_ids": ["e6f6f3d98b59f3d1d1a42871e94d08f7"], "statement_hash": "0cf91e4e1496f5da13d132d1ec7c61a4e17b4e04a1df40bae79b92bedb7a9e80"}, "url": "/docs/compare/?release=18.7#18.7-de4b6247a6ed43ac", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-259f8b2317922d8c", "cves": [], "html": "<p>\n      修复使用 <code>MINVALUE</code> 或 <code>MAXVALUE</code> 边界的范围分区表中错误剪枝 <code>DEFAULT</code> 分区的问题（Ewan Young）<a href=\"https://postgr.es/c/d21d4f1ca\">§</a>\n</p><p>\n      在某些情况下，代码会错误地认定无需扫描 <code>DEFAULT</code> 分区，从而漏掉一些本应匹配查询的行。\n     </p>", "text": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题（Ewan Young）§ 在某些情况下，代码会错误地认定无需扫描 DEFAULT 分区，从而漏掉一些本应匹配查询的行。", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "commits": ["d21d4f1ca"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "251165812897e31b38343735761c02768c01346de011b18bf2437fad1a07f12b", "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": ["d21d4f1ca"], "source_entry_id": "17.12/changes/068", "db_id": "f26ebc255b8292a5236229092e3101d3", "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": "ee0e2ce3c90803f94ba06afed8c3c280", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee0e2ce3c90803f94ba06afed8c3c280", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复使用 MINVALUE 或 MAXVALUE 边界的范围分区表中错误剪枝 DEFAULT 分区的问题", "evidence": {"same_day": true, "patch_ids": ["8ffb29ffb0ecf4248a1fb22329a69fe2"], "statement_hash": "68d5393df18f37b93437e8cef4659885292ff150c5e9d4b41a5494171437e409"}, "url": "/docs/compare/?release=18.7#18.7-cd53c044d6b8cf0c", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-44f4b5845d234bc4", "cves": [], "html": "<p>\n      修复查询对同一列应用多个排序键时的问题（David Rowley，Ayush Tiwari）<a href=\"https://postgr.es/c/9171fca99\">§</a><a href=\"https://postgr.es/c/2a3ac1554\">§</a>\n</p><p>\n      某些查询可能使后端进程崩溃，其他情况下则会忽略附加的排序指定。通常这些附加指定确实是冗余的，因为第一个指定就能完全确定结果顺序。但使用非确定性排序规则，或查询使用不同的 <code>ORDER BY</code> 操作符时，并不一定如此。\n     </p>", "text": "修复查询对同一列应用多个排序键时的问题（David Rowley，Ayush Tiwari）§§ 某些查询可能使后端进程崩溃，其他情况下则会忽略附加的排序指定。通常这些附加指定确实是冗余的，因为第一个指定就能完全确定结果顺序。但使用非确定性排序规则，或查询使用不同的 ORDER BY 操作符时，并不一定如此。", "title": "修复查询对同一列应用多个排序键时的问题", "commits": ["2a3ac1554", "9171fca99"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c010dd3b2516fd8985ca4c3a89796ef3ac7dd814c20983dd29f8db7ffb7bac51", "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": ["2a3ac1554", "9171fca99"], "source_entry_id": "17.12/changes/069", "db_id": "8793e33d7a2c0d9c3ac4b18c0ef5ff8e", "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f", "relations": [{"rule": 2, "type": "equivalent", "target": "0bf3b89de83476655d3333b99f75b43e", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0bf3b89de83476655d3333b99f75b43e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复查询对同一列应用多个排序键时的问题", "evidence": {"same_day": true, "patch_ids": ["75f2584ad3fb16d3e13f66d99c4546c3", "855368d1ab8a7fbcc17d8812b668529a"], "statement_hash": "5df772bcc531e6a457246967773fe669bc1d1e1825568b5c06e90aa395b7c02f"}, "url": "/docs/compare/?release=18.7#18.7-f4df7f91543e21ce", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ef89632278b10c1d", "cves": [], "html": "<p>\n      避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题（Rahul Yadav）<a href=\"https://postgr.es/c/fcb44c5e5\">§</a><a href=\"https://postgr.es/c/25b55788d\">§</a>\n</p>", "text": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题（Rahul Yadav）§§", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "commits": ["25b55788d", "fcb44c5e5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "bf73b4f26d2529c23cdbcd23da61ac0474b03e8954ecd339e574dae3f5524172", "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": ["25b55788d", "fcb44c5e5"], "source_entry_id": "17.12/changes/070", "db_id": "c50d82bae136b00ea8ee9d284ca39658", "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": "9ae1fb5b349837af02babe8e90653cf6", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9ae1fb5b349837af02babe8e90653cf6", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免在多个位置引用哈希 SubPlan 时可能复用过时哈希表的问题", "evidence": {"same_day": true, "patch_ids": ["4f8f055d1b906f0e95452c6270fabf27", "6e831f7298d3a3815e7ad4d9a360a8b1"], "statement_hash": "d1350cec408e0b7f82e50c36a4f3fd34c5ee42440d22775ac4417ae2728161e6"}, "url": "/docs/compare/?release=18.7#18.7-770ee53555ca7c26", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5d90df02b226d4d7", "cves": [], "html": "<p>\n      确保 Memoize 计划节点使用正确的输入排序规则（Shihao Zhong）<a href=\"https://postgr.es/c/f79bf8d8f\">§</a>\n</p><p>\n      这只在使用非确定性排序规则时有影响。\n     </p>", "text": "确保 Memoize 计划节点使用正确的输入排序规则（Shihao Zhong）§ 这只在使用非确定性排序规则时有影响。", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "commits": ["f79bf8d8f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "54582ae226f090894765a84f2dc4f42760c94171b8e0a330362e09e0ee1350e5", "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": ["f79bf8d8f"], "source_entry_id": "17.12/changes/071", "db_id": "97c3f6423fa5047c5f6d4300ec0e94fb", "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": "622b75e0458f8197b37ee3bdb3047d92", "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"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "622b75e0458f8197b37ee3bdb3047d92", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保 Memoize 计划节点使用正确的输入排序规则", "evidence": {"same_day": true, "patch_ids": ["1feb52efa4f6acab3b1279783fac80cb"], "statement_hash": "541359f7b11c709dc3ef628d9d3ac1a95aa4494cc91e94f3557460380c29c231"}, "url": "/docs/compare/?release=18.7#18.7-f1a2dbf889cf914a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-9cbdfac7027cf6ea", "cves": [], "html": "<p>\n      修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题（Richard Guo）<a href=\"https://postgr.es/c/d6f60a031\">§</a><a href=\"https://postgr.es/c/db7e885d0\">§</a>\n</p>", "text": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题（Richard Guo）§§", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "commits": ["d6f60a031", "db7e885d0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3e6212bafeeb6fa7ff697c2413ef011da05ed830a5328e00b64a4e935758df42", "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": ["d6f60a031", "db7e885d0"], "source_entry_id": "17.12/changes/072", "db_id": "127f963c0ff495ca87704cee49eb5f48", "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": "559b68018574ec12b0f4e0999b31cd60", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}}, {"rule": 2, "type": "equivalent", "target": "8a78b93c37e4efee2dc67b6a0ae7ffcf", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8a78b93c37e4efee2dc67b6a0ae7ffcf", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 Param 是缓存键的子表达式时 Memoize 计划返回错误结果的问题", "evidence": {"same_day": true, "patch_ids": ["c2bf8b2a6d1b21334ea2562868a15211", "eddf07c4246e6a40bc4222d718585e7d"], "statement_hash": "b76f1d449dd88e8e947799bda867a5f1961c1c89ed51d83f797610c30d8d0425"}, "url": "/docs/compare/?release=18.7#18.7-3c5fe6034e2d8e5b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-713bc4b06cfe3278", "cves": [], "html": "<p>\n      修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题（Tatsuya Kawata）<a href=\"https://postgr.es/c/04609efb3\">§</a>\n</p><p>\n<code>EXPLAIN ANALYZE</code> 只报告了自上次重新扫描 Gather 以来的统计信息。\n     </p>", "text": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题（Tatsuya Kawata）§ EXPLAIN ANALYZE 只报告了自上次重新扫描 Gather 以来的统计信息。", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "commits": ["04609efb3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5c573c9cc77eb011caf60f84c386f1f70d20d1d1d96e12df44cc55baea8cfb5d", "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": ["04609efb3"], "source_entry_id": "17.12/changes/073", "db_id": "bc0d88c4418e8bc372550a3aed73ed75", "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": "4969b2650dfcf2b517a7661f0f80b5e3", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4969b2650dfcf2b517a7661f0f80b5e3", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 Gather 下方的 Memoize 计划节点丢失并行工作进程统计信息的问题", "evidence": {"same_day": true, "patch_ids": ["e6f3f782c441f3d4ea2e102b34b3d2d5"], "statement_hash": "f008bf6e3227ab01bf9d7b173ab4be75b5aa5fe61d5ba87aa1c4de08a94cfa4e"}, "url": "/docs/compare/?release=18.7#18.7-4521796048afd7a4", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-2677407d9aa9ea97", "cves": [], "html": "<p>\n      如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型（Heikki Linnakangas）<a href=\"https://postgr.es/c/b62206043\">§</a>\n</p><p>\n      此类情况显然是错误，因为在对类型进行任何高级操作之前，应先创建该类型。\n     </p>", "text": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型（Heikki Linnakangas）§ 此类情况显然是错误，因为在对类型进行任何高级操作之前，应先创建该类型。", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "commits": ["b62206043"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3e4976f365704fa905132edee54f867282fc95a9e42ae99f4ccb4960bce3f6bb", "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": ["b62206043"], "source_entry_id": "17.12/changes/074", "db_id": "44865961648b3b3f00430b83929c0ef4", "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d", "relations": [{"rule": 2, "type": "equivalent", "target": "12ed784257a288aabfc0f1ad24c23692", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "12ed784257a288aabfc0f1ad24c23692", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "如果函数定义使用数组或类型修饰符语法指定未知的返回类型名称，则不创建 shell 类型", "evidence": {"same_day": true, "patch_ids": ["a218fd327e9e565e4701f5b7d9dfa28a"], "statement_hash": "288daab836f40e15c73ecaa07ff19e9bcdf9ddfce2d980e727dd9bbd16079f8d"}, "url": "/docs/compare/?release=18.7#18.7-b698ac22ddad23e4", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-df0d510a260d04a2", "cves": [], "html": "<p>\n      修复快照导出和导入，使其能够正确处理恢复期间取得的快照（Peter Geoghegan，Bertrand Drouvot）<a href=\"https://postgr.es/c/2ae67ada7\">§</a>\n</p><p>\n      此类快照的数据布局不同，但导出/导入逻辑并不知道这一点，导致导入的快照行为不正确。这不仅会使导入事务返回错误结果，还可能因错误设置提示位而造成持久的数据损坏。\n     </p><p>\n      已知在备库上运行并行 <span>pg_dump</span> 会触发此错误。在这种情况下，它可能同时损坏转储输出和备库的数据。\n     </p>", "text": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照（Peter Geoghegan，Bertrand Drouvot）§ 此类快照的数据布局不同，但导出/导入逻辑并不知道这一点，导致导入的快照行为不正确。这不仅会使导入事务返回错误结果，还可能因错误设置提示位而造成持久的数据损坏。 已知在备库上运行并行 pg_dump 会触发此错误。在这种情况下，它可能同时损坏转储输出和备库的数据。", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "commits": ["2ae67ada7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5160d793b36714f2b387ec6b63b180a4634230570f7f94ba6df1cf604773fb02", "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": ["2ae67ada7"], "source_entry_id": "17.12/changes/075", "db_id": "3b0d5335529258fcaa02db313b4f3116", "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e", "relations": [{"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": "a2f338293a64ae6202a962076ae6f3c5", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a2f338293a64ae6202a962076ae6f3c5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复快照导出和导入，使其能够正确处理恢复期间取得的快照", "evidence": {"same_day": true, "patch_ids": ["73d19d2376a6b60d08e4ba1f0cd4dccc"], "statement_hash": "214c06db5a6c67f70458158794d3877d67ec8b04d7b9f958af9d9e039917508e"}, "url": "/docs/compare/?release=18.7#18.7-f175db1c886eeb02", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-6edf6b7bfb9b0476", "cves": [], "html": "<p>\n      修复事务快照导入中的原子性问题（Chee Wooson）<a href=\"https://postgr.es/c/24bf23fe6\">§</a>\n</p><p>\n      曾存在一个时间窗口，使其他观察者可能无法看到源事务仍在运行，这可能导致 <code>VACUUM</code> 等作出错误判断。\n     </p>", "text": "修复事务快照导入中的原子性问题（Chee Wooson）§ 曾存在一个时间窗口，使其他观察者可能无法看到源事务仍在运行，这可能导致 VACUUM 等作出错误判断。", "title": "修复事务快照导入中的原子性问题", "commits": ["24bf23fe6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "7db1e8ce0a54abb175d288c96a1b7fac19495a7f0155730226dea800c6f1352b", "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": ["24bf23fe6"], "source_entry_id": "17.12/changes/076", "db_id": "50e0b3eb6471f2a2fc5ac559061b8e26", "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe", "relations": [{"rule": 2, "type": "equivalent", "target": "858b2b823b222670073c2343add6bf30", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}}, {"rule": 2, "type": "equivalent", "target": "8faf68281cd3a1b4ffeb8d2e072ffc94", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8faf68281cd3a1b4ffeb8d2e072ffc94", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复事务快照导入中的原子性问题", "evidence": {"same_day": true, "patch_ids": ["30dad5e8c524d50fefc689428d54f59d"], "statement_hash": "427dd573aa4654e8cc8bc1e6097865c96dee16c196030377d1ce27e2189cb7fe"}, "url": "/docs/compare/?release=18.7#18.7-a60576669925ec24", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-1b548964cad1b554", "cves": [], "html": "<p>\n      修复对 <code>JSON_TABLE</code> 中 <code>PASSING</code> 参数重复进行解析转换的问题（Ayush Tiwari，Amit Langote）<a href=\"https://postgr.es/c/8793978e3\">§</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": ["8793978e3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4a85c030bb267e8546995d9a4f63ac9d5397e5e76df0f31ad59fda8a8bb9b006", "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": ["8793978e3"], "source_entry_id": "17.12/changes/077", "db_id": "a0bbdb848a717e01cb322bd1c514db81", "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65", "relations": [{"rule": 2, "type": "equivalent", "target": "8534a661791a7f4796e702e512c26a43", "evidence": {"same_day": true, "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8534a661791a7f4796e702e512c26a43", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复对 JSON_TABLE 中 PASSING 参数重复进行解析转换的问题", "evidence": {"same_day": true, "patch_ids": ["3455e11e987601e9eb8484cbc1de8385"], "statement_hash": "fc4a456b4201ed508ba0cc0c736ee4166973695eb9a2ca13fe7cb683b6940a65"}, "url": "/docs/compare/?release=18.7#18.7-511f8f470026f401", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-788122e04abfaace", "cves": [], "html": "<p>\n      修复未给 <code>JSON_TABLE</code> 的 <code>PASSING</code> 表达式分配排序规则的问题（Venu Kummari）<a href=\"https://postgr.es/c/03550d3cf\">§</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": ["03550d3cf"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "208ef8fa1be41f476202f051c06eee95c8f8e2f5478dba233c98a9e16863a278", "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": ["03550d3cf"], "source_entry_id": "17.12/changes/078", "db_id": "00c8c1a2917027736be8fa048618198d", "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6", "relations": [{"rule": 2, "type": "equivalent", "target": "387e1e6303271e0e986c2cd8fba98f2e", "evidence": {"same_day": true, "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "387e1e6303271e0e986c2cd8fba98f2e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复未给 JSON_TABLE 的 PASSING 表达式分配排序规则的问题", "evidence": {"same_day": true, "patch_ids": ["342bfab1e72789aa038628a8618ced35"], "statement_hash": "c4ab9eca555a8293c376b1615195dc0c4d882e9aa96c8158c8de6e892fa336b6"}, "url": "/docs/compare/?release=18.7#18.7-c0950279463f4841", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-41a514a4d99e7e5e", "cves": [], "html": "<p>\n      修复在 <code>JSON_TABLE</code> 及相关函数的 <code>PASSING</code> 参数中使用经过 TOAST 处理的文本值时的问题（Chaitanya Choudhary，Shihao Zhong）<a href=\"https://postgr.es/c/8bccf0159\">§</a>\n</p><p>\n      代码未执行 detoast，导致输出不正确。\n     </p>", "text": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题（Chaitanya Choudhary，Shihao Zhong）§ 代码未执行 detoast，导致输出不正确。", "title": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题", "commits": ["8bccf0159"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "58b6ba970ad68233825d8c32934c2a53614c0858e2a4d556c3436d0403d52e4a", "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": ["8bccf0159"], "source_entry_id": "17.12/changes/079", "db_id": "7191bb03d0af29432496383bfe20a98c", "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a", "relations": [{"rule": 2, "type": "equivalent", "target": "65f0f515b112bfbe3fe5999f2db4a20a", "evidence": {"same_day": true, "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "65f0f515b112bfbe3fe5999f2db4a20a", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复在 JSON_TABLE 及相关函数的 PASSING 参数中使用经过 TOAST 处理的文本值时的问题", "evidence": {"same_day": true, "patch_ids": ["29cef1ec6d42822ee86906d9d0e1d088"], "statement_hash": "b3383b6baf2b54002a7b811fe649b8013956eb85183cce8cce9060854a5a117a"}, "url": "/docs/compare/?release=18.7#18.7-336b45b5793ce88f", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-621a65d65063130c", "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/31af62f38\">§</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": ["31af62f38"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "448cec378f25feba262a5fba208abf655171d7820af27b8ac3fcde850b5d6c54", "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": ["31af62f38"], "source_entry_id": "17.12/changes/080", "db_id": "6ac578dd90538439208714cb00db7d3c", "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3", "relations": [{"rule": 2, "type": "equivalent", "target": "f8e57298b754268829a616c3dfe8deb6", "evidence": {"same_day": true, "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f8e57298b754268829a616c3dfe8deb6", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 JSON_VALUE() RETURNING json/jsonb 中 NULL 结果持续保留的问题", "evidence": {"same_day": true, "patch_ids": ["f363c67d1fb6c66a0153aaadd6775c53"], "statement_hash": "394540c340a1f41589c952aa9e91f44d71691d75df4f1a5520edb43ae3b2d1a3"}, "url": "/docs/compare/?release=18.7#18.7-a0d001a8272c2956", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-025a565fffef52a9", "cves": [], "html": "<p>\n      修复 <code>JSON_VALUE</code> 和相关结构中 <code>ON EMPTY/ERROR</code> 结果持续保留的问题（Jian He，Andrey Rachitskiy）<a href=\"https://postgr.es/c/775e03191\">§</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": ["775e03191"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "45aec96266a1981568cbb33e52714541f7a3ef13595d43d53a791722606c1bd5", "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": ["775e03191"], "source_entry_id": "17.12/changes/081", "db_id": "0b173e0af49e2c28518c9fcd7c1d25a5", "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf", "relations": [{"rule": 2, "type": "equivalent", "target": "8b92118a9177d6d274e6e56407231627", "evidence": {"same_day": true, "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8b92118a9177d6d274e6e56407231627", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 JSON_VALUE 和相关结构中 ON EMPTY/ERROR 结果持续保留的问题", "evidence": {"same_day": true, "patch_ids": ["c9ab3d7f8d106de5f5c9de37f73604d7"], "statement_hash": "c46f4100cd2862946866c40ed73d05c635de8450bfd1175ea5eb9d88304b2dcf"}, "url": "/docs/compare/?release=18.7#18.7-9ea8ec90c7e51711", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-a399566abf52cb89", "cves": [], "html": "<p>\n      修复 <code>SQL/JSON</code> 操作中 <code>DEFAULT</code> 表达式失败的处理（Jian He）<a href=\"https://postgr.es/c/6dfe31d48\">§</a>\n</p><p>\n      执行 <code>DEFAULT</code> 表达式时发生的错误可能被忽略，转而产生 NULL 结果。\n     </p>", "text": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理（Jian He）§ 执行 DEFAULT 表达式时发生的错误可能被忽略，转而产生 NULL 结果。", "title": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理", "commits": ["6dfe31d48"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c2a2456a51ea54c52027628836977a3a30eb67d4112c6d2e750e3d7980cc3422", "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": ["6dfe31d48"], "source_entry_id": "17.12/changes/082", "db_id": "b3a7d49bef82d25395cbd87244f3e784", "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df", "relations": [{"rule": 2, "type": "equivalent", "target": "70097fce7cf7ce266d600697f28ade3a", "evidence": {"same_day": true, "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "70097fce7cf7ce266d600697f28ade3a", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 SQL/JSON 操作中 DEFAULT 表达式失败的处理", "evidence": {"same_day": true, "patch_ids": ["eca5aada7f6d65ce9fbad625ed7cf0c3"], "statement_hash": "33d905d5d82b3c53bc8dbf21ddc50415e7f36b393b0afc62c5cca7100159c5df"}, "url": "/docs/compare/?release=18.7#18.7-934925093ffd4bb4", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-0d3cf45da678f4c7", "cves": [], "html": "<p>\n      修复 <code>SQL/JSON</code> 操作中域强制转换失败的处理（Jian He）<a href=\"https://postgr.es/c/46798ab1a\">§</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": ["46798ab1a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9036ffc39c03fbcb553f891f83d008c69d48a2db50b63b93c5667ce45b9db47e", "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": ["46798ab1a"], "source_entry_id": "17.12/changes/083", "db_id": "26b47a38cf15ecbab43174e628ae7e90", "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa", "relations": [{"rule": 2, "type": "equivalent", "target": "568638e1f3fa00ad92f1701574e867d0", "evidence": {"same_day": true, "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "568638e1f3fa00ad92f1701574e867d0", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 SQL/JSON 操作中域强制转换失败的处理", "evidence": {"same_day": true, "patch_ids": ["2ff085e7926d0d23e604f4e2a58c143b"], "statement_hash": "11b6afaee90433e8b0ab0dca1c9cf45cb08c2f14a8697328a4fa84cbe19a93aa"}, "url": "/docs/compare/?release=18.7#18.7-e631753dbdd74ea8", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-31d36e5524f45464", "cves": [], "html": "<p>\n      修复严格 <code>jsonpath</code> 查询中对普通标量字符串的 GIN 索引搜索（Rui Zhao）<a href=\"https://postgr.es/c/19656b77d\">§</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": ["19656b77d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "034e88d1374149f303dece1d146a77cf67ad4798001fd9c07cd8f4156900ef64", "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": ["19656b77d"], "source_entry_id": "17.12/changes/084", "db_id": "062d38c39c4ed1b2e183fd2cb1eaf3da", "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112", "relations": [{"rule": 2, "type": "equivalent", "target": "04d71956b37b12ca7e350f4ee015b711", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "04d71956b37b12ca7e350f4ee015b711", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复严格 jsonpath 查询中对普通标量字符串的 GIN 索引搜索", "evidence": {"same_day": true, "patch_ids": ["d0a3413254e5a23cab28f36ca1bed5c6"], "statement_hash": "8406c93b7b78d4c475b9bb8620c9111f80e9927fb17ea2011d0bd2e97521f112"}, "url": "/docs/compare/?release=18.7#18.7-a61ee55d1966532a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-78432f9d2477597c", "cves": [], "html": "<p>\n      修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误（Tom Lane）<a href=\"https://postgr.es/c/65f1b71c3\">§</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": ["65f1b71c3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "574e750839b3128f080ceb14df4a46b3856d6d40d1082970038b2247a03dafec", "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": ["65f1b71c3"], "source_entry_id": "17.12/changes/085", "db_id": "1d5f32eea3a670b75a2111e6ce01aadb", "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861", "relations": [{"rule": 2, "type": "equivalent", "target": "a05b17afa4a9663d869d6a25dd11b3c8", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}}, {"rule": 2, "type": "equivalent", "target": "adf7f01529f827e84f1af29728a36e20", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "adf7f01529f827e84f1af29728a36e20", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复从 jsonpath 查询提取 GIN 索引扫描条件时的错误", "evidence": {"same_day": true, "patch_ids": ["96efa120d961366d9f28959a3ac2d689"], "statement_hash": "63bbdd25e6b5f5c14a4666a39cf5c6ab38fba769d05ce79fed2eaf1f5aab8861"}, "url": "/docs/compare/?release=18.7#18.7-489382a002a700a7", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-e21196356eaa976a", "cves": [], "html": "<p>\n      修复 SP-GiST 四叉树 <code>&lt;@</code> 搜索中的边界情况错误（John Naylor）<a href=\"https://postgr.es/c/9ad421a9b\">§</a>\n</p><p>\n      由于舍入误差，搜索有时可能不会进入需要搜索的象限，导致查询结果不完整。\n     </p>", "text": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误（John Naylor）§ 由于舍入误差，搜索有时可能不会进入需要搜索的象限，导致查询结果不完整。", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "commits": ["9ad421a9b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "0a9ecc51f227010b6db7cae52ed1ed62a1d64b318681e5151c2c12555662bcab", "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": ["9ad421a9b"], "source_entry_id": "17.12/changes/086", "db_id": "94f831544895f7265ca4f6da93498b0a", "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": "82b4d998191c941c1f2d18835a5c6c19", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "82b4d998191c941c1f2d18835a5c6c19", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 SP-GiST 四叉树 <@ 搜索中的边界情况错误", "evidence": {"same_day": true, "patch_ids": ["f682fd32237cfc9b91b001887d8cbe96"], "statement_hash": "63caef52af14d2b7f7207b0c9e67da224d8c6566bb109ffb0a7334f7b8143d01"}, "url": "/docs/compare/?release=18.7#18.7-cface331168039c4", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0e2e8e9c5beac36a", "cves": [], "html": "<p>\n      修复 SP-GiST 四叉树索引在边界情况下的失败（Ayush Tiwari）<a href=\"https://postgr.es/c/3d8c50317\">§</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": ["3d8c50317"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9c4720f8c36ef047d3f59bb9d3a03c043e68c34a5b98a0f95d80b9435963b675", "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": ["3d8c50317"], "source_entry_id": "17.12/changes/087", "db_id": "797d73f1ee825fe4a6eceba1e05e17b8", "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff", "relations": [{"rule": 2, "type": "equivalent", "target": "0d2d3ff9ac405357d3b6076b088235ee", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}, {"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": "f590100568b22f0a4ba9bdbbb63007c6", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0d2d3ff9ac405357d3b6076b088235ee", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 SP-GiST 四叉树索引在边界情况下的失败", "evidence": {"same_day": true, "patch_ids": ["9389bef6a05756d2cf9bb371bdbff915"], "statement_hash": "10305aaf4a5820e991c4c69c19df6250e298c13c8b0698d7326dabdbf36e1dff"}, "url": "/docs/compare/?release=18.7#18.7-1355d68570b28e8b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7010438c1cf0c438", "cves": [], "html": "<p>\n      在二进制输入中接受空 <code>tsquery</code> 值（Ayush Tiwari）<a href=\"https://postgr.es/c/e05b7e2a4\">§</a>\n</p><p>\n      其他位置允许空 <code>tsquery</code> 值，但 <code>tsqueryrecv()</code> 此前会失败。\n     </p>", "text": "在二进制输入中接受空 tsquery 值（Ayush Tiwari）§ 其他位置允许空 tsquery 值，但 tsqueryrecv() 此前会失败。", "title": "在二进制输入中接受空 tsquery 值", "commits": ["e05b7e2a4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "d5c5717d3f67b2250fb6ab0ba1f81d99e8eafd03d26b81e4c9b87b5d562eac1a", "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": ["e05b7e2a4"], "source_entry_id": "17.12/changes/088", "db_id": "04913525561db754304ff31ee8ad0b45", "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "910448dcc778844fc409ce1bfe9f1a94", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "910448dcc778844fc409ce1bfe9f1a94", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在二进制输入中接受空 tsquery 值", "evidence": {"same_day": true, "patch_ids": ["5916ee5b857a0c74a03e63838a3f6c00"], "statement_hash": "22262bf9389bc4b9b0c5a6a1b6fff4eb7d46fa76261b53ca353cb7d94a62b950"}, "url": "/docs/compare/?release=18.7#18.7-f5c41c4bf6f5fd2e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7afe8dec9f886f27", "cves": [], "html": "<p>\n      在 <code>tsquery</code> 值的二进制输入中禁止零长度词位和超出范围的短语距离值（Tom Lane）<a href=\"https://postgr.es/c/91989795d\">§</a>\n</p><p>\n      文本输入中已拒绝这些情况，但 <code>tsqueryrecv()</code> 遗漏了等效检查，因而接受了后续无法转储/重新载入的值。\n     </p>", "text": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值（Tom Lane）§ 文本输入中已拒绝这些情况，但 tsqueryrecv() 遗漏了等效检查，因而接受了后续无法转储/重新载入的值。", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "commits": ["91989795d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "6389d9c9824ed093cf31c1ce6154de364b066dea7825492de20e7174963e93e7", "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": ["91989795d"], "source_entry_id": "17.12/changes/089", "db_id": "69f5bcf424efd079ca588ddace3e372d", "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": "e3b27a212dd1c69e14aec35806f8aa90", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e3b27a212dd1c69e14aec35806f8aa90", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 tsquery 值的二进制输入中禁止零长度词位和超出范围的短语距离值", "evidence": {"same_day": true, "patch_ids": ["5a096266ae48c274f6bc464588c7c897"], "statement_hash": "f8fd7c2dee6a73b45bc34e54943e1dcb2162bb8864120d5bce4ece5d5b93975b"}, "url": "/docs/compare/?release=18.7#18.7-7efae97e1a190afd", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-341756f89071d259", "cves": [], "html": "<p>\n      在 <code>tsquery</code> 和 <code>ltxtquery</code> 输入中，将操作符嵌套过深的错误视为软错误（Tom Lane）<a href=\"https://postgr.es/c/ffbe37115\">§</a>\n</p>", "text": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误（Tom Lane）§", "title": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误", "commits": ["ffbe37115"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "047c792f4a95493baf3f529128ec6bdfa4bf5de230a29fca9678c61bcdb04c99", "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": ["ffbe37115"], "source_entry_id": "17.12/changes/090", "db_id": "b2b3fa245a7ae7dd1c38141d1885c04a", "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": "073fc29c42de5ce8a2a4a41663aaf603", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "073fc29c42de5ce8a2a4a41663aaf603", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 tsquery 和 ltxtquery 输入中，将操作符嵌套过深的错误视为软错误", "evidence": {"same_day": true, "patch_ids": ["7219848c74b2e43b02460e35b99897f4"], "statement_hash": "b6fd49c33f56b2b10711fc705df3a3fb8765e4ab5588a16d97fa243e929b90b8"}, "url": "/docs/compare/?release=18.7#18.7-ecb3c67bccad7901", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-c04f6eb49a51c556", "cves": [], "html": "<p>\n      在 <code>tsvector</code> 和 <code>tsquery</code> 中一致地执行最大长度限制（Tom Lane）<a href=\"https://postgr.es/c/b42d0c310\">§</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": ["b42d0c310"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9b6f4ed05d235bd4b9b1deb4311c9b14d65785aeb1fd63028fa3456fc74260da", "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": ["b42d0c310"], "source_entry_id": "17.12/changes/091", "db_id": "08986ad8cf39a840dababf7a6e030fa1", "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17", "relations": [{"rule": 2, "type": "equivalent", "target": "42c893c69f42e4b48376464dd90695ce", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}}, {"rule": 2, "type": "equivalent", "target": "739c5c9f1ddd21285995c205a303019e", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "739c5c9f1ddd21285995c205a303019e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 tsvector 和 tsquery 中一致地执行最大长度限制", "evidence": {"same_day": true, "patch_ids": ["25309c643b897981cf5becb0e957a257"], "statement_hash": "17aab9c3f9d5639221559e711575f10a22b93d39d4f9f2d058f8babc302e1b17"}, "url": "/docs/compare/?release=18.7#18.7-293a2ca180df0831", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7d2472af7d6a913f", "cves": [], "html": "<p>\n      修复长度参数为 <code>INT_MIN</code>（-2147483648）时的 <code>right()</code>（Ewan Young）<a href=\"https://postgr.es/c/3103bdafd\">§</a>\n</p><p>\n      由于整数溢出，该函数在本应返回空字符串时返回了整个字符串。\n     </p>", "text": "修复长度参数为 INT_MIN（-2147483648）时的 right()（Ewan Young）§ 由于整数溢出，该函数在本应返回空字符串时返回了整个字符串。", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "commits": ["3103bdafd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "d39d79f14bbac2916a90b84adca384bbe071483baebb069141d7769e92dea6f9", "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": ["3103bdafd"], "source_entry_id": "17.12/changes/092", "db_id": "0c21b80fe6500291a067a0f6580b1baa", "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e", "relations": [{"rule": 2, "type": "equivalent", "target": "16e613661b18f4a0c174a7672d55b577", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}}, {"rule": 2, "type": "equivalent", "target": "20d6eae094125108c4f6d8317121f038", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "20d6eae094125108c4f6d8317121f038", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复长度参数为 INT_MIN（-2147483648）时的 right()", "evidence": {"same_day": true, "patch_ids": ["542993aa338d48d86225f8e9ddd610b1"], "statement_hash": "c5dbd74f07560d38415aabaea2f3f3f90ab9c88eaeac604a1a8d7f56f54f604e"}, "url": "/docs/compare/?release=18.7#18.7-f092623e809b9a14", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-08d7095977b58bc3", "cves": [], "html": "<p>\n      修复 <code>pg_blocking_pids()</code>，使其正确计入关系扩展锁（Bertrand Drouvot）<a href=\"https://postgr.es/c/c0df269c5\">§</a>\n</p>", "text": "修复 pg_blocking_pids()，使其正确计入关系扩展锁（Bertrand Drouvot）§", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "commits": ["c0df269c5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "d1d24215eb7365823f75a7ecf336abb4a171958cfaef013aab2e079e0e879d47", "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": ["c0df269c5"], "source_entry_id": "17.12/changes/093", "db_id": "29275265109dfbec2668d692f64a70a1", "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257", "relations": [{"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": "d873c345645a6c11676d151db3a99927", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d873c345645a6c11676d151db3a99927", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pg_blocking_pids()，使其正确计入关系扩展锁", "evidence": {"same_day": true, "patch_ids": ["f1d05c52f536461e63b152dfb90ac370"], "statement_hash": "3db423f7139ed0bd914e0693f900b7fee7d468e37ca586a275c107cdfde13257"}, "url": "/docs/compare/?release=18.7#18.7-18d75c387ade1980", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-315bff5617865040", "cves": [], "html": "<p>\n      修复 <code>pg_indexam_progress_phasename()</code> 中混淆 32 位与 64 位的问题（Markos Fountoulakis）<a href=\"https://postgr.es/c/8af1a12c9\">§</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": ["8af1a12c9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "359a263a213dfbb1ca731814043745d6a2b69d17f60f72b30a3e9fd6962b7256", "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": ["8af1a12c9"], "source_entry_id": "17.12/changes/094", "db_id": "a7c83ddea3f6343cfb7b2c64055c0897", "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb", "relations": [{"rule": 2, "type": "equivalent", "target": "73c4a689fd04a47e6b72b04a802a3b65", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}}, {"rule": 2, "type": "equivalent", "target": "94927862c8f57b8f948be72aa9c98b64", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "73c4a689fd04a47e6b72b04a802a3b65", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pg_indexam_progress_phasename() 中混淆 32 位与 64 位的问题", "evidence": {"same_day": true, "patch_ids": ["d6a8997be1618aad0184db1b6b5eb2ed"], "statement_hash": "9e7b2af08fe6e3837671d78c2c81ccb7fc8d66044598b11ff19fde56252b8dcb"}, "url": "/docs/compare/?release=18.7#18.7-5f964b79c9924f27", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0e94035135b9113c", "cves": [], "html": "<p>\n      检测 <code>to_char()</code> 使用 <code>V</code> 格式时的整数溢出（Andrey Rachitskiy）<a href=\"https://postgr.es/c/04c25af21\">§</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": ["04c25af21"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "bb72bc815bdde6ec635e871f7d23bd92a419a5e306f0ef7e4f5cf68324e7514e", "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": ["04c25af21"], "source_entry_id": "17.12/changes/095", "db_id": "d50c9b74415a1ea79a956c1c5bf9e8c5", "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea", "relations": [{"rule": 2, "type": "equivalent", "target": "3ba352d04447d2aed63e135150143b5a", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}, {"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": "d518e81171edd3af226006d8620a2955", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3ba352d04447d2aed63e135150143b5a", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "检测 to_char() 使用 V 格式时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["d03b5290c707a72e297a92383498bc51"], "statement_hash": "ccfc7b65ac84593be71c3f376a4cd155f2a10a44d2fddeddee4644f4c58428ea"}, "url": "/docs/compare/?release=18.7#18.7-32bc843db706ed3c", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5568b07a52f9631e", "cves": [], "html": "<p>\n      避免计算 <code>tid</code> 值的 BRIN minmax_multi 距离时发生整数溢出（Tomas Vondra）<a href=\"https://postgr.es/c/c83ddfcfe\">§</a>\n</p><p>\n      很大的 <code>tid</code> 值可能产生负距离，最终使索引效率低下，但并不会实际损坏索引。\n     </p>", "text": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出（Tomas Vondra）§ 很大的 tid 值可能产生负距离，最终使索引效率低下，但并不会实际损坏索引。", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "commits": ["c83ddfcfe"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "928315f9feaff47fb03e7a20e603837d97e7a15e644a556bd9b1d950622b9a98", "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": ["c83ddfcfe"], "source_entry_id": "17.12/changes/096", "db_id": "4c9b432b0c3491916049e2bea8d3eece", "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0", "relations": [{"rule": 2, "type": "equivalent", "target": "3427923bb52b1abef8e7d46cfb51005f", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}, {"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": "8a6d1e986fd80d9b046244d42c5a28b4", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3427923bb52b1abef8e7d46cfb51005f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免计算 tid 值的 BRIN minmax_multi 距离时发生整数溢出", "evidence": {"same_day": true, "patch_ids": ["3fb5c5d51195eb83198ef9f3fc601929"], "statement_hash": "526192345841d6f813eee9a095412e5601f31ee45f360fcdf866f4c1fb4fe4c0"}, "url": "/docs/compare/?release=18.7#18.7-dcadb9933b5bfd39", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4591d72edafc15e8", "cves": [], "html": "<p>\n      避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN（Kirill Reshke，Tomas Vondra）<a href=\"https://postgr.es/c/9ab2a624e\">§</a>\n</p><p>\n      这些遗漏可能导致报错（阻止索引汇总），或使索引效率低下。\n     </p>", "text": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN（Kirill Reshke，Tomas Vondra）§ 这些遗漏可能导致报错（阻止索引汇总），或使索引效率低下。", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "commits": ["9ab2a624e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "23639bc1d1ab1a329e65183ea547831265f643e841e74187989d99d1ade0ec38", "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": ["9ab2a624e"], "source_entry_id": "17.12/changes/097", "db_id": "37b98cbddbccdda99d1b7822ba064197", "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": "2ca5e83f78bed61876cc501290144064", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2ca5e83f78bed61876cc501290144064", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免计算 numeric 值的 BRIN minmax_multi 距离时溢出，并正确处理 NaN", "evidence": {"same_day": true, "patch_ids": ["7b09caf669534498a95755001e3cc4f6"], "statement_hash": "60d7ad33d10f3a07c9b499dedcf42fdfc107527ccbf184c3c1e21ffa77fe2ad4"}, "url": "/docs/compare/?release=18.7#18.7-a8ce3bf793bc6d4e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ee4d1d98e6761dc9", "cves": [], "html": "<p>\n      避免计算 numeric 范围的差值时溢出（Kirill Reshke）<a href=\"https://postgr.es/c/dfd98ce58\">§</a>\n</p><p>\n      在此上下文中，我们希望返回正无穷或负无穷，而不是抛出溢出错误。\n     </p>", "text": "避免计算 numeric 范围的差值时溢出（Kirill Reshke）§ 在此上下文中，我们希望返回正无穷或负无穷，而不是抛出溢出错误。", "title": "避免计算 numeric 范围的差值时溢出", "commits": ["dfd98ce58"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3c673d093405c70b9fd67e95c13cd5ed8b1cf63372515fcd658c8bee13afe663", "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": ["dfd98ce58"], "source_entry_id": "17.12/changes/098", "db_id": "d31e8fa4827dff0242036700977aa8d2", "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da", "relations": [{"rule": 2, "type": "equivalent", "target": "62e8477e64a0b0d83f81e70f8c02730e", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}, {"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": "e5f28176a2a20b2297133a2685f82bfa", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "62e8477e64a0b0d83f81e70f8c02730e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免计算 numeric 范围的差值时溢出", "evidence": {"same_day": true, "patch_ids": ["3dc2d9b5179ed2f58edf6038a37fcb71"], "statement_hash": "64e1c79a4fec6dae3c8ac9cac005357aed41855019db1b477159bfdcd19ec1da"}, "url": "/docs/compare/?release=18.7#18.7-3d2039812569860a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-a06c8c03262f8061", "cves": [], "html": "<p>\n      支持 Hunspell 词缀文件中不在预期位置的 <code>FLAG</code> 行（Ewan Young）<a href=\"https://postgr.es/c/e96b27296\">§</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": ["e96b27296"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "76bb45ba4f76302e8b8d2db69a60f4ef9b4bbc59a3105cee5a59d7518ea9b14f", "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": ["e96b27296"], "source_entry_id": "17.12/changes/099", "db_id": "92fe45737d239eb00fe1b2eac1ef6aab", "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": "6d2aa3a50fb03cbd6a3749f486e9568d", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6d2aa3a50fb03cbd6a3749f486e9568d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "支持 Hunspell 词缀文件中不在预期位置的 FLAG 行", "evidence": {"same_day": true, "patch_ids": ["b3a808c1368333d0e70a48e5f77565b6"], "statement_hash": "a18e751f1d1c35068bfc4b9a899ca5dbf86f1e1cfdc52ec478e371dff924280b"}, "url": "/docs/compare/?release=18.7#18.7-b2b1e11f2e719bc2", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4ca8e1f307738fc0", "cves": [], "html": "<p>\n      修复规则逆解析中的多种错误（Henson Choi）<a href=\"https://postgr.es/c/91246c726\">§</a><a href=\"https://postgr.es/c/80da124a4\">§</a><a href=\"https://postgr.es/c/467bb7ea7\">§</a><a href=\"https://postgr.es/c/7933cf45a\">§</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": ["467bb7ea7", "7933cf45a", "80da124a4", "91246c726"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e904aa301bd4981bfa0908c562576b39545f35e194ac4216d570bd802e49f8f0", "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": ["467bb7ea7", "7933cf45a", "80da124a4", "91246c726"], "source_entry_id": "17.12/changes/100", "db_id": "5278fe015dbc46e38008d8dd586675a1", "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": "898259e222b3d77dd4200a3530f7a6ac", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}, {"rule": 2, "type": "equivalent", "target": "bf73a301f9d6a604571405188cf5133e", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bf73a301f9d6a604571405188cf5133e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复规则逆解析中的多种错误", "evidence": {"same_day": true, "patch_ids": ["6b9b99f10cc2b9149e228943b0c1dd48", "caec4c77de0685b21f874baba7791f52", "e41b58de0ad88bef7b5a108220c57a5d", "f7f90815c6325ff0017df3cb5a915392"], "statement_hash": "44648de1eea320f4eb0afc267ec3fe9e2018f0effc89f4f471d4966ed197f26d"}, "url": "/docs/compare/?release=18.7#18.7-85780a484a40c05d", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5cb8da6275432d25", "cves": [], "html": "<p>\n      修复多行 <code>INSERT ... VALUES</code> 在目标列下标中含有子 SELECT 时解析器失败的问题（Amit Langote）<a href=\"https://postgr.es/c/f11673768\">§</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": ["f11673768"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "366c1d7a2c411b43919cacaf3300603e829837195f8a45ad70fe7ccd160b5d61", "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": ["f11673768"], "source_entry_id": "17.12/changes/101", "db_id": "6768d129e9954a06fcd2f375e5a41c1a", "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": "b75958e1a259a32d481e6c3ba230dc2e", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b75958e1a259a32d481e6c3ba230dc2e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复多行 INSERT ... VALUES 在目标列下标中含有子 SELECT 时解析器失败的问题", "evidence": {"same_day": true, "patch_ids": ["5dab047323ce1c97aa710b3c295e4404"], "statement_hash": "08ec759948416280b08735d09fa2bb023bb22a637f68f27cad05b4cb3940d48a"}, "url": "/docs/compare/?release=18.7#18.7-4a10eee80a97fe79", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0e282f1c8f50838f", "cves": [], "html": "<p>\n      修复 <code>COPY FROM</code> 中遗漏 <code>WHERE</code> 子句预处理的问题（Nathan Bossart）<a href=\"https://postgr.es/c/6b428e47b\">§</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": ["6b428e47b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c6765ce52bb4ac2f5161133c5c2b2af4f0a834833b8e4eb36a18c05141312846", "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": ["6b428e47b"], "source_entry_id": "17.12/changes/102", "db_id": "56e4dce2b9688227f551117ce35a39c4", "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af", "relations": [{"rule": 2, "type": "equivalent", "target": "0ccaee3c3c8b1d50d7707138dec7e2a5", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}}, {"rule": 2, "type": "equivalent", "target": "0e0eac35f5120baf9220e7cb35998eba", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ccaee3c3c8b1d50d7707138dec7e2a5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 COPY FROM 中遗漏 WHERE 子句预处理的问题", "evidence": {"same_day": true, "patch_ids": ["ed60bd8ecd23566def4f299fc29b84bb"], "statement_hash": "e5ac4536af97d9aa6cfeb64e25f1df5f8c7181b06ac2f0a2f3520709a902b5af"}, "url": "/docs/compare/?release=18.7#18.7-4bb04a6e57cab780", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-39d355f0411934e7", "cves": [], "html": "<p>\n      修复 <code>MERGE ... WHEN NOT MATCHED BY SOURCE</code> 对并发删除的处理（Tender Wang）<a href=\"https://postgr.es/c/745152e45\">§</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": ["745152e45"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4e5ac33c3d86793b0da9d4208561673a005ce61d796669927b7431e868ccb563", "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": ["745152e45"], "source_entry_id": "17.12/changes/103", "db_id": "9082ce248f189412d10c5ea38821b0c6", "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca", "relations": [{"rule": 2, "type": "equivalent", "target": "95bfac8efce4e64d648ec24d1a55841d", "evidence": {"same_day": true, "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "95bfac8efce4e64d648ec24d1a55841d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 对并发删除的处理", "evidence": {"same_day": true, "patch_ids": ["a1467cfec49e41beafb3b0a01724f820"], "statement_hash": "5cae689f99e7b13f9507fd149f8f75545b17528b63968aa4b6183b036c79d4ca"}, "url": "/docs/compare/?release=18.7#18.7-666acb3337522dc6", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-2d88435030af2c8b", "cves": [], "html": "<p>\n      修复与 <code>DROP TABLESPACE</code> 相关的竞态条件（Ayush Tiwari）<a href=\"https://postgr.es/c/960b6b532\">§</a>\n</p><p>\n      如果 <code>DROP</code> 与尝试向该表空间添加新对象的命令并发执行，最终可能导致系统目录内容不一致。\n     </p>", "text": "修复与 DROP TABLESPACE 相关的竞态条件（Ayush Tiwari）§ 如果 DROP 与尝试向该表空间添加新对象的命令并发执行，最终可能导致系统目录内容不一致。", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "commits": ["960b6b532"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "3cf805c01c042046c82c468092d74682db6964c94b30ea2ae94a3873b272543e", "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": ["960b6b532"], "source_entry_id": "17.12/changes/104", "db_id": "2ed2c268e92c640bc34d93e141e1f483", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "c51391952e2888f46b383a09bccd3699", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c51391952e2888f46b383a09bccd3699", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复与 DROP TABLESPACE 相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["38fcf224a5dbe12bcc6a6c07eee6e723"], "statement_hash": "ab43c62dd4c1b688f6c648a641774d489b655dedc587d7016f1bdcde9bb8c645"}, "url": "/docs/compare/?release=18.7#18.7-b7f5987376790e4a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-1eb8de072d2f65f1", "cves": [], "html": "<p>\n      在恢复期间明确拒绝对不记录 WAL 的表的操作（Jim Jones）<a href=\"https://postgr.es/c/17f66a681\">§</a><a href=\"https://postgr.es/c/3e53104dc\">§</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": ["17f66a681", "3e53104dc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e6a1c6c70e3817258e7059c84a831cd5d37f957fa6ba1b70abdbf26ff6a605e9", "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": ["17f66a681", "3e53104dc"], "source_entry_id": "17.12/changes/105", "db_id": "b85e80ea3b8b8c54087644ceca45b32d", "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": "e01f69c1f374ef979b173bccc2678a11", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e01f69c1f374ef979b173bccc2678a11", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在恢复期间明确拒绝对不记录 WAL 的表的操作", "evidence": {"same_day": true, "patch_ids": ["86270011f33afe66fb63662bf8223871", "cadea43eaafbee492dbbcc25a2f684ad"], "statement_hash": "7c70411e1fa7bd6c6ff3bec7ea15361e3454fe429a0266021279ba9066fdf9cb"}, "url": "/docs/compare/?release=18.7#18.7-5cffda4cb280816b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-28a16084a8328ed4", "cves": [], "html": "<p>\n      修复角色成员资格变更中不一致的权限检查（ChangAo Chen）<a href=\"https://postgr.es/c/be0076b71\">§</a>\n</p><p>\n      这修复了本应报告权限不足，却报出内部<span>“<span>no possible grantors</span>”</span>错误的情况。\n     </p>", "text": "修复角色成员资格变更中不一致的权限检查（ChangAo Chen）§ 这修复了本应报告权限不足，却报出内部“no possible grantors”错误的情况。", "title": "修复角色成员资格变更中不一致的权限检查", "commits": ["be0076b71"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "2650bfdc8afa8910c6ee42a0b80637bdc7102c887f6cc1a815c2a0b967f26c2a", "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": ["be0076b71"], "source_entry_id": "17.12/changes/106", "db_id": "6ee0fdc1314a5a9eb686105a28af6368", "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": "9527c556531a334f41f0030411c5dab6", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9527c556531a334f41f0030411c5dab6", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复角色成员资格变更中不一致的权限检查", "evidence": {"same_day": true, "patch_ids": ["637f57a5402a658c8b9c61b66d02ac51"], "statement_hash": "832d0cf6777dc8164dfd662cc44950be19009e9ca4da828c8419c15560b28c63"}, "url": "/docs/compare/?release=18.7#18.7-9936417595dcd67d", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-c15ea40ecf377281", "cves": [], "html": "<p>\n      撤销此前对空闲空间映射持久化的更改（Alexander Korotkov）<a href=\"https://postgr.es/c/bee33974e\">§</a>\n</p><p>\n      事实证明，c06d1a4ba 等提交（包含在 2026 年 5 月的版本中）引入的问题比解决的问题更多。\n     </p>", "text": "撤销此前对空闲空间映射持久化的更改（Alexander Korotkov）§ 事实证明，c06d1a4ba 等提交（包含在 2026 年 5 月的版本中）引入的问题比解决的问题更多。", "title": "撤销此前对空闲空间映射持久化的更改", "commits": ["bee33974e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e8b85b654153e8228263c1c0315c5b22c5c7726c35dd2bff0ba464da5ee6d27c", "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": ["bee33974e"], "source_entry_id": "17.12/changes/107", "db_id": "0a4e9af84e520e3ebbf1cb16484be698", "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac", "relations": [{"rule": 2, "type": "equivalent", "target": "157ca9ee866d7920ae2781327f283958", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "157ca9ee866d7920ae2781327f283958", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "撤销此前对空闲空间映射持久化的更改", "evidence": {"same_day": true, "patch_ids": ["26ff8327e94196714a2e82db45cc9b08"], "statement_hash": "f6afa55fa1e0d0791b96ec6f034c408e41241a6f83af9c397d9972c694d8fdac"}, "url": "/docs/compare/?release=18.7#18.7-12c68865000ad83b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-b9023de915d8acaa", "cves": [], "html": "<p>\n      当默认事务模式为 <code>SERIALIZABLE READ ONLY DEFERRABLE</code> 时，避免后端进程退出时在临时表清理中挂起（Andrey Rachitskiy）<a href=\"https://postgr.es/c/4639b6cfe\">§</a>\n</p><p>\n      清理会阻塞，直到并发的可串行化事务完成；如果其中一些是预备事务，等待可能无限持续。\n     </p>", "text": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起（Andrey Rachitskiy）§ 清理会阻塞，直到并发的可串行化事务完成；如果其中一些是预备事务，等待可能无限持续。", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "commits": ["4639b6cfe"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b199809a1051c313eb956cd1d463e0a0c15037985c1b4a44e2043a699c7f5ec2", "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": ["4639b6cfe"], "source_entry_id": "17.12/changes/108", "db_id": "a98b2371e52e0f40728baf1157b615af", "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013", "relations": [{"rule": 2, "type": "equivalent", "target": "19c7a56049c4fc07dc89039662c99cdd", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}, {"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": "d17be9bbf1c3b3d09fc2617772a47459", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "19c7a56049c4fc07dc89039662c99cdd", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "当默认事务模式为 SERIALIZABLE READ ONLY DEFERRABLE 时，避免后端进程退出时在临时表清理中挂起", "evidence": {"same_day": true, "patch_ids": ["725d9c9e6ea92b4402dcf39d559b7978"], "statement_hash": "b64ef0411339b5450a1a9adbe146b38b4ec005c05b505e7bae9c906eaa549013"}, "url": "/docs/compare/?release=18.7#18.7-6ad9d760312d52fe", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-307d12003b765019", "cves": [], "html": "<p>\n      避免描述一个游标已经不存在的 <code>FETCH</code> 语句时崩溃（Dirkjan Bussink）<a href=\"https://postgr.es/c/2affc1964\">§</a>\n</p>", "text": "避免描述一个游标已经不存在的 FETCH 语句时崩溃（Dirkjan Bussink）§", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "commits": ["2affc1964"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b3ad9b43328909b2f59d0b32db579c5ca2110284f5622de5f9187a3bc5f058c2", "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": ["2affc1964"], "source_entry_id": "17.12/changes/109", "db_id": "9e9a0df992fb601ae18beecfb4dec4ac", "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": "1001c953004cd1775510142dc37b9ad5", "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"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1001c953004cd1775510142dc37b9ad5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免描述一个游标已经不存在的 FETCH 语句时崩溃", "evidence": {"same_day": true, "patch_ids": ["b8385ffe6068215880b15b15b0e0c771"], "statement_hash": "5d3378a77971f7745ddb32e01b95a2377bed3b68f44420d25f276bfc568d4e5f"}, "url": "/docs/compare/?release=18.7#18.7-738bb67d08074e43", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-846c17e67ce6ea82", "cves": [], "html": "<p>\n      修复按引用传递的数据类型在 datum 排序中的内存计量（Mario Karuza）<a href=\"https://postgr.es/c/2414028ab\">§</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": ["2414028ab"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "0f1feef89eae17a9841f0a4949e33ea6c2bc30bf02f247fa2499aa2171cc7518", "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": ["2414028ab"], "source_entry_id": "17.12/changes/110", "db_id": "db2201473fe5af20d054493f2dbe7ff1", "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64", "relations": [{"rule": 2, "type": "equivalent", "target": "8324b888c0e4b4932109f2a5dbf15a1c", "evidence": {"same_day": true, "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8324b888c0e4b4932109f2a5dbf15a1c", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复按引用传递的数据类型在 datum 排序中的内存计量", "evidence": {"same_day": true, "patch_ids": ["16b33578bc438d55785917e440b69e71"], "statement_hash": "7babc70d490f9a3490f58352986f21a2dfa3fa06e11b46d8ea8340f38d280c64"}, "url": "/docs/compare/?release=18.7#18.7-3b7c74b66d91d128", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-5a478ec1780c203a", "cves": [], "html": "<p>\n      持有锁时若请求清理延迟休眠，则不休眠（Kevin Rocker，Andrey Borodin，Mostafa）<a href=\"https://postgr.es/c/71d1ace33\">§</a>\n</p><p>\n      同时，将若干已有的延迟调用移到真正可以安全休眠的位置。\n     </p>", "text": "持有锁时若请求清理延迟休眠，则不休眠（Kevin Rocker，Andrey Borodin，Mostafa）§ 同时，将若干已有的延迟调用移到真正可以安全休眠的位置。", "title": "持有锁时若请求清理延迟休眠，则不休眠", "commits": ["71d1ace33"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "531b17f5814cdf187e2e0c7c369ea4b85f0e4703bce8a94e4990c91b928fb6f0", "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": ["71d1ace33"], "source_entry_id": "17.12/changes/111", "db_id": "f5622e9c2c2d0bf2717c024ec65eb2df", "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": "af688d5db0283c3aab99da9516355d26", "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"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "af688d5db0283c3aab99da9516355d26", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "持有锁时若请求清理延迟休眠，则不休眠", "evidence": {"same_day": true, "patch_ids": ["fb3c1e6e1a820a473539bf6da35ce49f"], "statement_hash": "67ac0a8477a85cd4a0889c26f936cf2ab5efe5db13aea69f27f5d3c7d193b7f3"}, "url": "/docs/compare/?release=18.7#18.7-9aa7c41b7cc91129", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-e8e53a1b1d1695cf", "cves": [], "html": "<p>\n      修复并行清理的 I/O 耗时报告（Bharath Rupireddy）<a href=\"https://postgr.es/c/35c508af5\">§</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": ["35c508af5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "390bf0fac18af90e42a54495814db129cf0e8d14be2f68bc5c68273e5551bec4", "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": ["35c508af5"], "source_entry_id": "17.12/changes/112", "db_id": "f1fd1398828354b23a2ebf5f3b684547", "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c", "relations": [{"rule": 2, "type": "equivalent", "target": "de40a735f0b5bda7f49a0835a23e5f8b", "evidence": {"same_day": true, "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "de40a735f0b5bda7f49a0835a23e5f8b", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复并行清理的 I/O 耗时报告", "evidence": {"same_day": true, "patch_ids": ["f10ff0eaaf851b5a4ca7ebf9ec5c9b27"], "statement_hash": "5222e52a4a51f5ba5443acbaa1d75c5fdc22c82cba5f6548b740361adc911b8c"}, "url": "/docs/compare/?release=18.7#18.7-a395680a677c956c", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-925b6648eb578c8c", "cves": [], "html": "<p>\n      如果用于检查外键约束的查询计划仍在使用，则不释放它（Lucas Jeffrey，Trakshan Mishra，Amit Langote）<a href=\"https://postgr.es/c/f3ea7cb46\">§</a>\n</p><p>\n      在刻意构造的情况下可能触发此行为，例如带有执行 DML 的触发器的表上存在自引用的 ON DELETE CASCADE 外键。\n     </p>", "text": "如果用于检查外键约束的查询计划仍在使用，则不释放它（Lucas Jeffrey，Trakshan Mishra，Amit Langote）§ 在刻意构造的情况下可能触发此行为，例如带有执行 DML 的触发器的表上存在自引用的 ON DELETE CASCADE 外键。", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "commits": ["f3ea7cb46"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "cdc5478da74ed10028c2e69bb74d3f7c46e3a283310e209830641f0a4cd3daef", "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": ["f3ea7cb46"], "source_entry_id": "17.12/changes/113", "db_id": "ee14bb01d60626d1dd4abdc1688ec464", "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": "eab0d9cc5002e7b2f9ee257318d67b99", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "eab0d9cc5002e7b2f9ee257318d67b99", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "如果用于检查外键约束的查询计划仍在使用，则不释放它", "evidence": {"same_day": true, "patch_ids": ["a0c0209b5e4a4c2b9391dee6aa0487b2"], "statement_hash": "49afce8dd917c9f43081bf7e6f8d585f865ea40ee12f04a6ba2e0240c69ee2ce"}, "url": "/docs/compare/?release=18.7#18.7-c5cd35bf24913a41", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ecaaa32a57782e9a", "cves": [], "html": "<p>\n      修复 B-树索引中多层页面删除的 WAL 记录（Peter Geoghegan）<a href=\"https://postgr.es/c/eea2ff293\">§</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": ["eea2ff293"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "971f5fe86db45c37e6ac38b3a1782e230d7462edb39d35237cc6a03de68c6204", "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": ["eea2ff293"], "source_entry_id": "17.12/changes/114", "db_id": "e3d5ae87c37b144b46ee3cdb2c852f52", "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": "bfe8c16485014aa821cd70f40c164e44", "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"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bfe8c16485014aa821cd70f40c164e44", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 B-树索引中多层页面删除的 WAL 记录", "evidence": {"same_day": true, "patch_ids": ["2f7e7aab9d1d0340ed49406b7e322ef5"], "statement_hash": "4c6cd2d71f53d008f31d1dfca1a24b8f3b1266ad51c038b75fb6988983c62cd8"}, "url": "/docs/compare/?release=18.7#18.7-94b3d33287f4a2cd", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-8aef86a94b0578f0", "cves": [], "html": "<p>\n      避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查（Greg Burd，Thomas Munro）<a href=\"https://postgr.es/c/fd1f61e43\">§</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": ["fd1f61e43"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9702c77c3fa8faac289b2a814370336af8765cb527e62868ddbcca0b07368b30", "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": ["fd1f61e43"], "source_entry_id": "17.12/changes/115", "db_id": "a12eab31a78afc5c6b9dd68aef44498d", "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3", "relations": [{"rule": 2, "type": "equivalent", "target": "6f185383f22860b50b4d0f8213d3ef48", "evidence": {"same_day": true, "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6f185383f22860b50b4d0f8213d3ef48", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免对仅被钉住而未锁定的缓冲区执行过强的 WAL 一致性检查", "evidence": {"same_day": true, "patch_ids": ["8052f0f9f2f8ce2e6ec55cf4bb5d9cd2"], "statement_hash": "e7d85d834afd8879e56a7716d08981b1de3527b55c741085922a780b2bef52f3"}, "url": "/docs/compare/?release=18.7#18.7-469bad220978adf4", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-54e651a08d06ed50", "cves": [], "html": "<p>\n      确保检查点期间以原子方式写出待处理预备事务的状态文件（Shihao Zhong）<a href=\"https://postgr.es/c/15f57b683\">§</a>\n</p><p>\n      此前，崩溃可能留下无效的状态文件，导致后续数据库启动失败。\n     </p>", "text": "确保检查点期间以原子方式写出待处理预备事务的状态文件（Shihao Zhong）§ 此前，崩溃可能留下无效的状态文件，导致后续数据库启动失败。", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "commits": ["15f57b683"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8fc8e5cb5d851400a53e9d7b5898e715f70de267b13d7548f1c58cb3756303d7", "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": ["15f57b683"], "source_entry_id": "17.12/changes/116", "db_id": "7f7e7c5d9d1791b6a2712288b5f18354", "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": "81ad14b515eaf10678eaa2d1419892fc", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}, {"rule": 2, "type": "equivalent", "target": "9492e8e4ecab255b448741841979aea8", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9492e8e4ecab255b448741841979aea8", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保检查点期间以原子方式写出待处理预备事务的状态文件", "evidence": {"same_day": true, "patch_ids": ["4cd28c30653685e2da3721e5ff1958dd"], "statement_hash": "113e2fe5752bdcfc700f2965d9c125ef6e4407af1792b5b981dc1133aede26cf"}, "url": "/docs/compare/?release=18.7#18.7-31867bfbfd429311", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-e51fec4a531178d6", "cves": [], "html": "<p>\n      不在中止预备事务的中途启动检查点（Shihao Zhong）<a href=\"https://postgr.es/c/56e831ea2\">§</a>\n</p><p>\n      崩溃可能使该事务随后被提交，导致状态不一致。\n     </p>", "text": "不在中止预备事务的中途启动检查点（Shihao Zhong）§ 崩溃可能使该事务随后被提交，导致状态不一致。", "title": "不在中止预备事务的中途启动检查点", "commits": ["56e831ea2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b058048e683ef186fc7cab49c15643460887a28526b5205be485a748e9a7b9d1", "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": ["56e831ea2"], "source_entry_id": "17.12/changes/117", "db_id": "c1e17649de3fc28e8402ebdfb33a93d2", "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": "aee0ffca5c57480169a3c761be03a47e", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aee0ffca5c57480169a3c761be03a47e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "不在中止预备事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["a739a5d00459666b352e9dcbeb929e2d"], "statement_hash": "2c0175173d106239ee08495afdaf9b5edc41a3c3cad2bde839903b5ec563bf96"}, "url": "/docs/compare/?release=18.7#18.7-dfc1275988c096a3", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-b9a6b560c958d1ef", "cves": [], "html": "<p>\n      不在创建多事务的中途启动检查点（Shihao Zhong）<a href=\"https://postgr.es/c/4022edb93\">§</a>\n</p><p>\n      这可以避免随后发生崩溃时可能出现的数据丢失。\n     </p>", "text": "不在创建多事务的中途启动检查点（Shihao Zhong）§ 这可以避免随后发生崩溃时可能出现的数据丢失。", "title": "不在创建多事务的中途启动检查点", "commits": ["4022edb93"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "01a4d4cd4ec0bf88af02a1883dc8435ad0e829bd5938b5751bd5d59fa08da58a", "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": ["4022edb93"], "source_entry_id": "17.12/changes/118", "db_id": "258d3becca7a11f053fefd5f66ba5bb6", "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130", "relations": [{"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": "df3f3730e307259fb2fe71d17cf01aca", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "df3f3730e307259fb2fe71d17cf01aca", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "不在创建多事务的中途启动检查点", "evidence": {"same_day": true, "patch_ids": ["0a527dc53670e6bbd3401354c72bfdec"], "statement_hash": "12c65fe18ce3ff00978d7c3fc430da12298ae27b1a2cceae24b679385b0ec130"}, "url": "/docs/compare/?release=18.7#18.7-ed8346a07a1d0611", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-26d6b24c2c3187d1", "cves": [], "html": "<p>\n      修复被随后中止的子事务更新过的元组可能丢失的问题（Shihao Zhong，Michael Paquier）<a href=\"https://postgr.es/c/08f0cec8f\">§</a>\n</p><p>\n      表重写（例如 <code>CLUSTER</code> 或 <code>VACUUM FULL</code>）可能将此类元组当作无效元组丢弃。\n     </p>", "text": "修复被随后中止的子事务更新过的元组可能丢失的问题（Shihao Zhong，Michael Paquier）§ 表重写（例如 CLUSTER 或 VACUUM FULL）可能将此类元组当作无效元组丢弃。", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "commits": ["08f0cec8f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "f4246febe580330e1026f8d502490e509f5eb8fcac0e66ff6ba05de986972413", "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": ["08f0cec8f"], "source_entry_id": "17.12/changes/119", "db_id": "458d6657ba9dc346bb84961e4debcf97", "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": "8cda53a89b348eb332ca4337693079f2", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8cda53a89b348eb332ca4337693079f2", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复被随后中止的子事务更新过的元组可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["23a4de86a195ed488c3252a89323de39"], "statement_hash": "31af95b75b756d0c7e3ed7aae307a8ab27f400e32c8696888eea348b0f71a3d1"}, "url": "/docs/compare/?release=18.7#18.7-161dc49eb8976f14", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-c64a4b2fee0a0366", "cves": [], "html": "<p>\n      将元组存入元组表槽时不丢失其 <code>tid</code>（Virender Singla，Greg Burd）<a href=\"https://postgr.es/c/7e594c30f\">§</a>\n</p><p>\n      某些代码路径忽略了复制 <code>tid</code> 字段，在特殊情况下可能导致数据损坏或查询结果错误。\n     </p>", "text": "将元组存入元组表槽时不丢失其 tid（Virender Singla，Greg Burd）§ 某些代码路径忽略了复制 tid 字段，在特殊情况下可能导致数据损坏或查询结果错误。", "title": "将元组存入元组表槽时不丢失其 tid", "commits": ["7e594c30f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "07db7f319b3e2c6f88e8852249910e446f7e82f2e60af62bbd6cc22a466e6288", "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": ["7e594c30f"], "source_entry_id": "17.12/changes/120", "db_id": "8f3aa86e3b34206c6e5fe11ace70af89", "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": "81411d80183f3e54f118c59e45492766", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "81411d80183f3e54f118c59e45492766", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "将元组存入元组表槽时不丢失其 tid", "evidence": {"same_day": true, "patch_ids": ["2268908cd04f538fffab063e3954af34"], "statement_hash": "384718ae0c134e6fecfa6a95200f5826e07959a84abb857b0cbcb321749c80db"}, "url": "/docs/compare/?release=18.7#18.7-e6bce66abd099e67", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-7186328979079f72", "cves": [], "html": "<p>\n      避免将分区索引标记为有效时的竞态条件（Andrey Borodin，Kirill Reshke）<a href=\"https://postgr.es/c/bd8070126\">§</a>\n</p><p>\n      例如，这可能使并行 <span>pg_restore</span> 因过早尝试重建外键约束而失败。\n     </p>", "text": "避免将分区索引标记为有效时的竞态条件（Andrey Borodin，Kirill Reshke）§ 例如，这可能使并行 pg_restore 因过早尝试重建外键约束而失败。", "title": "避免将分区索引标记为有效时的竞态条件", "commits": ["bd8070126"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "8c3f9a0b6db8271697defa3b408438dde08aec60d3434321b0d75df11b0afede", "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": ["bd8070126"], "source_entry_id": "17.12/changes/121", "db_id": "be028deda5217a4c39b6b233dd978e85", "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115", "relations": [{"rule": 2, "type": "equivalent", "target": "15f9f1639250c12435614bd0e71fcc81", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}, {"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": "db3c5f42142f27c67b47c475c81a7cd0", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "15f9f1639250c12435614bd0e71fcc81", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免将分区索引标记为有效时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["4b630cc39d49ac0a8c40e8d7421b4c67"], "statement_hash": "995571e185f9e7d113be4eaf6f4d74075deb84d4ea516481cbba6386ac156115"}, "url": "/docs/compare/?release=18.7#18.7-b6e4815c11323dc8", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-2e154f8eabee9d6b", "cves": [], "html": "<p>\n      修复多事务 ID 中对已中止的更新事务的检查（Chee Wooson）<a href=\"https://postgr.es/c/ff9eacc56\">§</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": ["ff9eacc56"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "52b9be2e114909fcbcf467e317de1396965a3065f10d2235c3e4f9b865fd0a7a", "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": ["ff9eacc56"], "source_entry_id": "17.12/changes/122", "db_id": "bb85c2e6e6d069c3db8eb8f6b529d39c", "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": "d6ceb776f9cc41eb13cfffb453645404", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d6ceb776f9cc41eb13cfffb453645404", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复多事务 ID 中对已中止的更新事务的检查", "evidence": {"same_day": true, "patch_ids": ["849924f72f0477ff22a9b3cabcb58d71"], "statement_hash": "72d263c7f84ab01583666cfa26916accd662766b5360e2d9e2be60d43027c8fb"}, "url": "/docs/compare/?release=18.7#18.7-7dada90ad7eea0d0", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4d5c7cf4b9024476", "cves": [], "html": "<p>\n      在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项（Peter Geoghegan，Amit Kapila）<a href=\"https://postgr.es/c/ab2233743\">§</a>\n</p>", "text": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项（Peter Geoghegan，Amit Kapila）§", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "commits": ["ab2233743"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "00ed51d3e47b7a005ff580cc49bd8e48000bf9cbdd07f6f0797e809c0b3dbcfb", "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": ["ab2233743"], "source_entry_id": "17.12/changes/123", "db_id": "05d85187f4fadb8d08b53ec7f4c5ab44", "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c", "relations": [{"rule": 2, "type": "equivalent", "target": "76ced90d4e9c062655129eef8830ac9f", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "76ced90d4e9c062655129eef8830ac9f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在桶分裂期间开始的哈希索引扫描可能漏掉某些索引项", "evidence": {"same_day": true, "patch_ids": ["416c23cc1f08f8b4ea2ce58bdbed83c6"], "statement_hash": "4863aabe895fce9b3770e5c8cdb994f62da6480854eff7f9ed9ad99d6c444b6c"}, "url": "/docs/compare/?release=18.7#18.7-213daacffc21c454", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0d5ec3fc0f1e1e86", "cves": [], "html": "<p>\n      修复 TID 范围扫描中不正确的位置跟踪（Ewan Young，David Rowley）<a href=\"https://postgr.es/c/25ebf0097\">§</a>\n</p><p>\n      先向后提取再向前提取的操作序列，可能无法一直扫描到范围末尾。\n     </p>", "text": "修复 TID 范围扫描中不正确的位置跟踪（Ewan Young，David Rowley）§ 先向后提取再向前提取的操作序列，可能无法一直扫描到范围末尾。", "title": "修复 TID 范围扫描中不正确的位置跟踪", "commits": ["25ebf0097"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "77a9722ed3d56a19dbf8f5555e96bd56a80c9adb710252b14ca50c590f74cc55", "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": ["25ebf0097"], "source_entry_id": "17.12/changes/124", "db_id": "89bc4307584d99486208508ace830c01", "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1", "relations": [{"rule": 2, "type": "equivalent", "target": "15bd84eb3ae3bc46391fdbe19cc9f3f5", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "15bd84eb3ae3bc46391fdbe19cc9f3f5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 TID 范围扫描中不正确的位置跟踪", "evidence": {"same_day": true, "patch_ids": ["a44c89993e8b5700c5f75aa1a36117f2"], "statement_hash": "099d6c77bdd8980f36e3e6d2988da59846462bad45b4e4fc2a7584704943ccf1"}, "url": "/docs/compare/?release=18.7#18.7-2e36c692c0648c2f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-8878daaaf7946efa", "cves": [], "html": "<p>\n      恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定（Melanie Plageman）<a href=\"https://postgr.es/c/5897bd1d8\">§</a>\n</p><p>\n      这可以避免不必要的重放延迟和备库查询取消。\n     </p>", "text": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定（Melanie Plageman）§ 这可以避免不必要的重放延迟和备库查询取消。", "title": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定", "commits": ["5897bd1d8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5c902cd2804acdce9b52728bf88a14c2d8a7c55daf896e00dcdded034af603e9", "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": ["5897bd1d8"], "source_entry_id": "17.12/changes/125", "db_id": "b7af5efc8b792f9e7323cd579478df18", "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818", "relations": [{"rule": 2, "type": "equivalent", "target": "991566466185efe962a9f96debfe5ede", "evidence": {"same_day": true, "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "991566466185efe962a9f96debfe5ede", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "恢复过程重放仅冻结和仅更新 VM 的 WAL 记录时，避免不必要的缓冲区锁定", "evidence": {"same_day": true, "patch_ids": ["6e5a444042cfb00d7fb6acd472013f23"], "statement_hash": "de92e9951f6c37a07cc24c38e8e63ffe300fdef513977bddb1e11659e7bb7818"}, "url": "/docs/compare/?release=18.7#18.7-a26102d487134bfc", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-91e319f43d50782b", "cves": [], "html": "<p>\n      避免在基础备份中读取 <code>pg_control</code> 文件可能发生撕裂的副本（David Steele）<a href=\"https://postgr.es/c/4aeefb26d\">§</a><a href=\"https://postgr.es/c/59bc83d41\">§</a>\n</p><p>\n      对该文件的并发写入可能导致备份包含不一致的数据。\n     </p>", "text": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本（David Steele）§§ 对该文件的并发写入可能导致备份包含不一致的数据。", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "commits": ["4aeefb26d", "59bc83d41"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4ca32f916f801e5fbdfadf589215a2f1b5f922eaa159219d1cf7f62e647f9d69", "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", "4aeefb26d", "59bc83d41"], "source_entry_id": "17.12/changes/126", "db_id": "3c627d49f8238e9507e3aeeb2412bd2f", "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563", "relations": [{"rule": 2, "type": "equivalent", "target": "0b6b28b3d1eafa92c4cd25bdb394968d", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}}, {"rule": 2, "type": "equivalent", "target": "2ff4f11e966f3a1076ce22418e804e3f", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b6b28b3d1eafa92c4cd25bdb394968d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免在基础备份中读取 pg_control 文件可能发生撕裂的副本", "evidence": {"same_day": true, "patch_ids": ["3373b36185c28c4d597b4375b148dcc9", "62d0b680d8e1de98125d26ab47bb7411", "92a7a9785f3fab043296021b2774d746"], "statement_hash": "90871954009010a4cf487e0180542e1be05140bbdc8a9ebd03ccff575577b563"}, "url": "/docs/compare/?release=18.7#18.7-1263f20e0d4082d3", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ba3d47554605f362", "cves": [], "html": "<p>\n      防止在基础备份中错误地复制非关系文件（David Steele）<a href=\"https://postgr.es/c/1fbe31b9d\">§</a>\n</p><p>\n<code>postgresql.auto.conf</code> 等经常通过原子重命名替换的文件，在备份与这种替换并发进行时，可能在备份中被截断或填充零。\n     </p>", "text": "防止在基础备份中错误地复制非关系文件（David Steele）§ postgresql.auto.conf 等经常通过原子重命名替换的文件，在备份与这种替换并发进行时，可能在备份中被截断或填充零。", "title": "防止在基础备份中错误地复制非关系文件", "commits": ["1fbe31b9d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5d890d3822a546658d3c6daf3acc290ed250a8c107f258d9f7a3f47702dc7f71", "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": ["1fbe31b9d"], "source_entry_id": "17.12/changes/127", "db_id": "7f11f2409fc9dcf5206da2380f4934bf", "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": "2e80fd7f96593173e73357157aba6d22", "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"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e80fd7f96593173e73357157aba6d22", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "防止在基础备份中错误地复制非关系文件", "evidence": {"same_day": true, "patch_ids": ["87742c1224efc8286c58bfbfd7dc6f94"], "statement_hash": "ce93bab271fd2a0bdf1fe05980420a4d78bf0b0b4fdff77a694b2aa855361e54"}, "url": "/docs/compare/?release=18.7#18.7-a9844b691748d75f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-48553fa717d2bdf5", "cves": [], "html": "<p>\n      确保基础备份报告仅影响单个页面的校验和失败（Zsolt Parragi）<a href=\"https://postgr.es/c/7f92983dc\">§</a>\n</p><p>\n      由于逻辑错误，只有同一文件中不止一个页面损坏时，<code>pg_stat_database</code> 才会累计校验和失败。\n     </p>", "text": "确保基础备份报告仅影响单个页面的校验和失败（Zsolt Parragi）§ 由于逻辑错误，只有同一文件中不止一个页面损坏时，pg_stat_database 才会累计校验和失败。", "title": "确保基础备份报告仅影响单个页面的校验和失败", "commits": ["7f92983dc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "1a701805874dec7501952edb63cc1937ebf477b480cdbc8d7a609f4ab8c8fe8a", "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": ["7f92983dc"], "source_entry_id": "17.12/changes/128", "db_id": "924044c08c314c992b895bc8045345f0", "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": "f3fd4d5dbd9677dcd03f1d056785dbda", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f3fd4d5dbd9677dcd03f1d056785dbda", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保基础备份报告仅影响单个页面的校验和失败", "evidence": {"same_day": true, "patch_ids": ["96e79e2d63aaf6bef53b662afc6e0df8"], "statement_hash": "84ea99d2f5a32ee1d9b786a117deebcf7bc7f40681bb47620e93c41bd35d6a0b"}, "url": "/docs/compare/?release=18.7#18.7-5e7edcaacf8983b1", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-874cf1929085a45a", "cves": [], "html": "<p>\n      修复堆截断后增量备份中的过时可见性映射（Ke，Fujii Masao，Shihao Zhong）<a href=\"https://postgr.es/c/0733c7219\">§</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": ["0733c7219"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "bf2bae195c45793b477406b15179a59433b5264e06a599e0eff0cbf7fb40d69f", "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": ["0733c7219"], "source_entry_id": "17.12/changes/129", "db_id": "55251aeef18735e9eed582dc6fa3a74a", "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074", "relations": [{"rule": 2, "type": "equivalent", "target": "148cfb8e5266586c1a3bfcf7abc29e47", "evidence": {"same_day": true, "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "148cfb8e5266586c1a3bfcf7abc29e47", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复堆截断后增量备份中的过时可见性映射", "evidence": {"same_day": true, "patch_ids": ["4d870177d0b4812e7d37f17cd82e47cf"], "statement_hash": "abd72898ce91032a4b17b34312f27217bf3586cd73f4c44192b094f3f2e89074"}, "url": "/docs/compare/?release=18.7#18.7-046fc4b23bbd7ce3", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-da17c95b637cc729", "cves": [], "html": "<p>\n      拒绝以历史已发生分叉的备份为基础的增量备份（Sai Pranav，Fujii Masao）<a href=\"https://postgr.es/c/ecb43083f\">§</a>\n</p><p>\n      故障切换后，增量备份可能接受一个 WAL 范围超过新主库离开旧时间线时切换点的先前备份。合并这些备份可能保留已废弃历史中的页面，产生损坏的备份。\n     </p>", "text": "拒绝以历史已发生分叉的备份为基础的增量备份（Sai Pranav，Fujii Masao）§ 故障切换后，增量备份可能接受一个 WAL 范围超过新主库离开旧时间线时切换点的先前备份。合并这些备份可能保留已废弃历史中的页面，产生损坏的备份。", "title": "拒绝以历史已发生分叉的备份为基础的增量备份", "commits": ["ecb43083f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ad1f615a688eebaf07492e5a8730d9a0b64589acf0d7f489f173150c548e3f69", "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": ["ecb43083f"], "source_entry_id": "17.12/changes/130", "db_id": "bedcfe0ee644196ddbffb4102aabb192", "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d", "relations": [{"rule": 2, "type": "equivalent", "target": "aa336c6cef11f10b1ebf3e7a5c4f3f2f", "evidence": {"same_day": true, "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aa336c6cef11f10b1ebf3e7a5c4f3f2f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "拒绝以历史已发生分叉的备份为基础的增量备份", "evidence": {"same_day": true, "patch_ids": ["ab7f10eb47971b3c90f79a3ea26f6ca1"], "statement_hash": "d8559a75c479bb9ab0f3d4a6f3352f2da0f0db976b9f2f25ca3d5f54f1af477d"}, "url": "/docs/compare/?release=18.7#18.7-d6c395d6da9031c9", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-71b82f2414b47253", "cves": [], "html": "<p>\n      确保增量备份按 LSN 顺序合并 WAL 汇总（Ke，Fujii Masao）<a href=\"https://postgr.es/c/9580e29da\">§</a>\n</p><p>\n      此错误可能使合并后的备份包含过时数据。\n     </p>", "text": "确保增量备份按 LSN 顺序合并 WAL 汇总（Ke，Fujii Masao）§ 此错误可能使合并后的备份包含过时数据。", "title": "确保增量备份按 LSN 顺序合并 WAL 汇总", "commits": ["9580e29da"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e85eec4b9a3dfcb87b3da19b4ada9ea16985328a6dcdf4bbe3038053938c1fab", "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": ["9580e29da"], "source_entry_id": "17.12/changes/131", "db_id": "82965f03ebfebf5f37c93e85d6a0b690", "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1", "relations": [{"rule": 2, "type": "equivalent", "target": "31b11550caf62956cd48209f2c49bd42", "evidence": {"same_day": true, "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "31b11550caf62956cd48209f2c49bd42", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保增量备份按 LSN 顺序合并 WAL 汇总", "evidence": {"same_day": true, "patch_ids": ["1eeba52c2e6eaccb23bafe09cfb4f7e7"], "statement_hash": "36178bc84e2499ba626ffc26f036559764b9077a678011cab790873ecb2dabd1"}, "url": "/docs/compare/?release=18.7#18.7-3f474980f5252e3c", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-34bdce732fba4bb9", "cves": [], "html": "<p>\n      修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题（Ayush Tiwari）<a href=\"https://postgr.es/c/ec756e591\">§</a>\n</p><p>\n      此错误可能使合并后的备份包含过时数据。\n     </p>", "text": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题（Ayush Tiwari）§ 此错误可能使合并后的备份包含过时数据。", "title": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题", "commits": ["ec756e591"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "823d50e2271ef3c88a3e5fa01adcc17095cee41aeb81ef7e58e569bfebafb165", "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": ["ec756e591"], "source_entry_id": "17.12/changes/132", "db_id": "e67b36a6904d7321fba0f48eb4ea4af0", "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64", "relations": [{"rule": 2, "type": "equivalent", "target": "f3157c8310c85fa996dd81155f0aada7", "evidence": {"same_day": true, "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f3157c8310c85fa996dd81155f0aada7", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复在边界情况下错误判断何时应将 WAL 汇总纳入增量备份的问题", "evidence": {"same_day": true, "patch_ids": ["826a700f3ac7319959a7caf92dd255de"], "statement_hash": "0797972f81901259b8d7fb0cf0a7e4fd364be35e41e4a555eeb741c2271fbd64"}, "url": "/docs/compare/?release=18.7#18.7-658aa7dd773bd094", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-9668403a9e80d486", "cves": [], "html": "<p>\n      修复增量备份大小估算不正确的问题（Daria Lepikhova）<a href=\"https://postgr.es/c/4c674b952\">§</a>\n</p><p>\n      此问题影响 <span>pg_basebackup</span> 及其他位置的进度报告。\n     </p>", "text": "修复增量备份大小估算不正确的问题（Daria Lepikhova）§ 此问题影响 pg_basebackup 及其他位置的进度报告。", "title": "修复增量备份大小估算不正确的问题", "commits": ["4c674b952"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "103958defa914bff5724c8b8a97fcc40275c5a06afdbbc96816b666b7270c633", "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": ["4c674b952"], "source_entry_id": "17.12/changes/133", "db_id": "c63d3162f4179eb100c3451b55dce343", "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4", "relations": [{"rule": 2, "type": "equivalent", "target": "65fe81f7307f026ca9bf0fd00e437732", "evidence": {"same_day": true, "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "65fe81f7307f026ca9bf0fd00e437732", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复增量备份大小估算不正确的问题", "evidence": {"same_day": true, "patch_ids": ["17645e4da7a4a770356e03d614e617a7"], "statement_hash": "01526d33d240e5a21206b334bf1cac34e32fbdf9da0ef4b4173b2ad2f1648ea4"}, "url": "/docs/compare/?release=18.7#18.7-188debe5bffcb716", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-84f1a0b36c23bb9c", "cves": [], "html": "<p>\n      在为 <code>output_plugin_libraries</code> 参数赋值时验证其语法（Jacob Champion，Hayato Kuroda）<a href=\"https://postgr.es/c/7c78c8cff\">§</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": ["7c78c8cff"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "634b9adf4217fcdcc0905a517c663d7e1a37253516ed31128363a7d5f9fbd42c", "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": ["7c78c8cff"], "source_entry_id": "17.12/changes/134", "db_id": "5f2aecb5f51ffa875d631e8a7e8dd3bd", "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666", "relations": [{"rule": 2, "type": "equivalent", "target": "0e232d04793da5f5ddb01efafcfee3f1", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}, {"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": "61526d11245a8827025848c659c26594", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0e232d04793da5f5ddb01efafcfee3f1", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在为 output_plugin_libraries 参数赋值时验证其语法", "evidence": {"same_day": true, "patch_ids": ["936475e94d21a2a13dbc5632b95bf84b"], "statement_hash": "b3b06ad2376a56e27c32773d5827b9ac927c37b161560ada86406ca8246ca666"}, "url": "/docs/compare/?release=18.7#18.7-1c183732dbdf6e3c", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-0204a8c14c0c0f61", "cves": [], "html": "<p>\n      避免复制槽失效期间错误更新后端状态标志（Vlad Lesin）<a href=\"https://postgr.es/c/295f75b4b\">§</a>\n</p><p>\n      检查点进程等辅助进程执行失效操作时，可能破坏一个无关后端进程的状态字段。后果难以预测，但一种可能性是热备反馈实际上被禁用。\n     </p>", "text": "避免复制槽失效期间错误更新后端状态标志（Vlad Lesin）§ 检查点进程等辅助进程执行失效操作时，可能破坏一个无关后端进程的状态字段。后果难以预测，但一种可能性是热备反馈实际上被禁用。", "title": "避免复制槽失效期间错误更新后端状态标志", "commits": ["295f75b4b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "f4dc99562d56a52e61ea08cde350fe1e75aa408e1165c2939873f8b55df85641", "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": ["295f75b4b"], "source_entry_id": "17.12/changes/135", "db_id": "4672f2d19409d234c8c7565fda4f8b0a", "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895", "relations": [{"rule": 2, "type": "equivalent", "target": "5663bca959f641b531e135399fdf2ab1", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}}, {"rule": 2, "type": "equivalent", "target": "f3e917018c4485e5bdea2670d36405e9", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f3e917018c4485e5bdea2670d36405e9", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免复制槽失效期间错误更新后端状态标志", "evidence": {"same_day": true, "patch_ids": ["273b1e680ae94e425f9414ba273e93c8"], "statement_hash": "540e1507a15873434606b05692defffcd3ae39ccd14a34c4325111f80d6bf895"}, "url": "/docs/compare/?release=18.7#18.7-e2b15e3cb779d260", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-566e65f047f0859a", "cves": [], "html": "<p>\n      在逻辑复制中更好地处理子事务中止（Bingshuai Li，Hayato Kuroda，Zhijie Hou）<a href=\"https://postgr.es/c/624bd2b1f\">§</a>\n</p><p>\n      如果一个更新了系统目录的子事务中止，逻辑解码仍错误地认为该更新有效，可能产生不正确的解码输出。\n     </p>", "text": "在逻辑复制中更好地处理子事务中止（Bingshuai Li，Hayato Kuroda，Zhijie Hou）§ 如果一个更新了系统目录的子事务中止，逻辑解码仍错误地认为该更新有效，可能产生不正确的解码输出。", "title": "在逻辑复制中更好地处理子事务中止", "commits": ["624bd2b1f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b625c13b6656d3d0b7e6d8b99cf253dd4f574f7ef5eca8448803fa05a825481a", "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": ["624bd2b1f"], "source_entry_id": "17.12/changes/136", "db_id": "e23af6dc755b7e04e8b55c527b624158", "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": "e1c507579cb6407c32617c252cf99a13", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e1c507579cb6407c32617c252cf99a13", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在逻辑复制中更好地处理子事务中止", "evidence": {"same_day": true, "patch_ids": ["186564735033be5cde4afee5d66de10e"], "statement_hash": "588eeaee536f63f3840f71dd336fae69cf2c5845e50d63043641c5cc8a7d52ad"}, "url": "/docs/compare/?release=18.7#18.7-6d4cb932c31f2a79", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ea7437f9bd64ed2c", "cves": [], "html": "<p>\n      避免构建初始解码快照时的竞态条件（Antonin Houska，Rui Zhao）<a href=\"https://postgr.es/c/b93df6eac\">§</a>\n</p><p>\n      使用包含已提交但尚未设置 CLOG 状态的事务的快照，存在较小的数据损坏风险。\n     </p>", "text": "避免构建初始解码快照时的竞态条件（Antonin Houska，Rui Zhao）§ 使用包含已提交但尚未设置 CLOG 状态的事务的快照，存在较小的数据损坏风险。", "title": "避免构建初始解码快照时的竞态条件", "commits": ["b93df6eac"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "a76afcddc4486a856b2bb903d8b7e3e63e08745fc0fca0b0240ca51be1168ccf", "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": ["b93df6eac"], "source_entry_id": "17.12/changes/137", "db_id": "c3bca6296e36189deaec675129fadaee", "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": "ce54f9c5fbeb585346cc3c7baaf7802c", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ce54f9c5fbeb585346cc3c7baaf7802c", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免构建初始解码快照时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["1864071459478587da0cb293e0cd341a"], "statement_hash": "721daa49413b179dfdc0880ba30ac09c2b76d758755cea6f6a93ca47582dcb14"}, "url": "/docs/compare/?release=18.7#18.7-2979794f1b523d34", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ed604efc7793bd68", "cves": [], "html": "<p>\n      避免 <code>pgoutput</code> 逻辑复制发送器因复制选项缺少值而发生空指针崩溃（Zhijie Hou）<a href=\"https://postgr.es/c/c3ef3f228\">§</a>\n</p>", "text": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃（Zhijie Hou）§", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "commits": ["c3ef3f228"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "f9abd9fd30f3e2b6293c097c1784045e267d468c3a7647b2058ec9cec60fbf15", "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": ["c3ef3f228"], "source_entry_id": "17.12/changes/138", "db_id": "92c0eb824706b1274c445f1d6206a60d", "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": "839af5bb7ca0a955aa8d65015bf1e7cd", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "839af5bb7ca0a955aa8d65015bf1e7cd", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免 pgoutput 逻辑复制发送器因复制选项缺少值而发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["7dc4ff52e74d48bca188edbec9944692"], "statement_hash": "74ffecb7094d9df430ffa54302b06d0d722c0bb9f3ab86b0098e42e3290fa44b"}, "url": "/docs/compare/?release=18.7#18.7-760e55cf0b5c2ef9", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4ba3167ecab6f895", "cves": [], "html": "<p>\n      修复 <span>pgoutput</span> 处理流式传输的预备事务时的少量内存泄漏（Ayush Tiwari）<a href=\"https://postgr.es/c/3d6a4a582\">§</a>\n</p>", "text": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏（Ayush Tiwari）§", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "commits": ["3d6a4a582"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ebf4e4007b7eab3354189397d5825ab06ee92ace6f3993d90eafd7db8e9f2241", "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": ["3d6a4a582"], "source_entry_id": "17.12/changes/139", "db_id": "7edd0605b433a49b537a0cb726b54654", "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea", "relations": [{"rule": 2, "type": "equivalent", "target": "6bd95eb8643efa400975e52677716c3a", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6bd95eb8643efa400975e52677716c3a", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pgoutput 处理流式传输的预备事务时的少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["9c88bd7f518acf6c8bb19215d29ff741"], "statement_hash": "70ba19d70cf4eb34a3294e41067b2d415f4096fe0773f7eaef4d4733ba233cea"}, "url": "/docs/compare/?release=18.7#18.7-ad0e6299659e360b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-179ce9f3d77d1b92", "cves": [], "html": "<p>\n      修复物理 WAL 发送器丢失唤醒的问题（Alex Speller）<a href=\"https://postgr.es/c/6d34d5500\">§</a>\n</p><p>\n      此修复更正了 WAL 发送进程在已有待发送数据时仍可能休眠的某些情况。\n     </p>", "text": "修复物理 WAL 发送器丢失唤醒的问题（Alex Speller）§ 此修复更正了 WAL 发送进程在已有待发送数据时仍可能休眠的某些情况。", "title": "修复物理 WAL 发送器丢失唤醒的问题", "commits": ["6d34d5500"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "7fb577735e7d31db1a550283a9e94e851b2a1dddb63925ae90a4400dee1021d1", "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": ["6d34d5500"], "source_entry_id": "17.12/changes/140", "db_id": "0d2bfd1f758bb0d0953901b1b4c9b105", "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570", "relations": [{"rule": 2, "type": "equivalent", "target": "20f4ebd7e40d2687a8c668b3b322a5f0", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}}, {"rule": 2, "type": "equivalent", "target": "f726f077f739ed9a565ebd5921c0c54d", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f726f077f739ed9a565ebd5921c0c54d", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复物理 WAL 发送器丢失唤醒的问题", "evidence": {"same_day": true, "patch_ids": ["07b754dc9de5ea0f99aaa5e191f62c7a"], "statement_hash": "c41e35ff3adcbde8fcc9a69780f0fbe4be1f90bbcd36d7835fa31452c0fc7570"}, "url": "/docs/compare/?release=18.7#18.7-2fc712df3ac25684", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-9301abf684458007", "cves": [], "html": "<p>\n      修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题（ChangAo Chen）<a href=\"https://postgr.es/c/4c8fa02c5\">§</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": ["4c8fa02c5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "56f5d71387960629dde563a3ca111ebadb059b6f0b12afe50ba22ee1b8e3a3d6", "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": ["4c8fa02c5"], "source_entry_id": "17.12/changes/141", "db_id": "c304f906278ce46a351d0436848b95bd", "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": "e276096cd22348dfca39b41e58e027a8", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e276096cd22348dfca39b41e58e027a8", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 WAL 接收器跟随时间线切换时重复创建临时复制槽的问题", "evidence": {"same_day": true, "patch_ids": ["bade03bc5ad49066d97087176b0345c1"], "statement_hash": "56f795b46867ce1f7fbfedde64de3d6b3cf0eb0a8d1ab7226ed8abe4d3461082"}, "url": "/docs/compare/?release=18.7#18.7-5fdc5664587a39de", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ba51ca28c87246a2", "cves": [], "html": "<p>\n      修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件（Mikhail Nikalayeu，Vignesh C）<a href=\"https://postgr.es/c/0405dcf7c\">§</a>\n</p><p>\n      更改复制目标关系的主键索引或复制标识索引的状态，可能使复制应用逻辑漏掉匹配行（但每次此类事件最多漏掉一次）。\n     </p>", "text": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件（Mikhail Nikalayeu，Vignesh C）§ 更改复制目标关系的主键索引或复制标识索引的状态，可能使复制应用逻辑漏掉匹配行（但每次此类事件最多漏掉一次）。", "title": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件", "commits": ["0405dcf7c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "33e411d1e687deb8cb6ccb3fb8baa5da0947ba134dce2998c7395e6f00c240a1", "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": ["0405dcf7c"], "source_entry_id": "17.12/changes/142", "db_id": "4cbbdf507d529ec9d16b047f3d357e34", "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": "c7db623c2a89ab0d1b135a4645ff9852", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c7db623c2a89ab0d1b135a4645ff9852", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复逻辑复制订阅者与并发索引 DDL 之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0b3f9c0dddb734edb76f938b6647c808"], "statement_hash": "284781f9f12850f20bf55e943d4017b3397ad58e675f23ba7b306c01b21901ee"}, "url": "/docs/compare/?release=18.7#18.7-6c97434d04e1c304", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-17a98b05e45805d7", "cves": [], "html": "<p>\n      修复 WAL 解码错误消息中不正确的 LSN（Rahul Yadav）<a href=\"https://postgr.es/c/5f472ab56\">§</a>\n</p><p>\n      这些错误消息所报告的 LSN，对应的并不是实际引发报错的那条 WAL 记录。\n     </p>", "text": "修复 WAL 解码错误消息中不正确的 LSN（Rahul Yadav）§ 这些错误消息所报告的 LSN，对应的并不是实际引发报错的那条 WAL 记录。", "title": "修复 WAL 解码错误消息中不正确的 LSN", "commits": ["5f472ab56"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "20cefcc86b0673645f61a46bdf1fc42a9b1a345160057377979106094a7ec5c5", "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": ["5f472ab56"], "source_entry_id": "17.12/changes/143", "db_id": "559ba3e769fdcaab3c59134f56067a2d", "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": "7f8734d62ded737823a12cec001a0f15", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f8734d62ded737823a12cec001a0f15", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 WAL 解码错误消息中不正确的 LSN", "evidence": {"same_day": true, "patch_ids": ["e65f7ea2c8abd28e7baefdef8289d283"], "statement_hash": "8d16ff2dae8f07afe616ba0fb1ceb7b359fcded6e03bd5dfc60b7b1acce40abc"}, "url": "/docs/compare/?release=18.7#18.7-b6b26d3aafc30bd5", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ccd7015599651bdc", "cves": [], "html": "<p>\n      不允许 <code>REPLICA IDENTITY FULL</code> 查找选择无效索引（Mikhail Nikalayeu）<a href=\"https://postgr.es/c/92c018214\">§</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": ["92c018214"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "769cd0768c1c39341ef6d784a593f058ad4e69e7b63f31a58e3015a7e6e46144", "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": ["92c018214"], "source_entry_id": "17.12/changes/144", "db_id": "8cdd997ab592cc0e6fdfba3200d02a40", "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1", "relations": [{"rule": 2, "type": "equivalent", "target": "b3fdcc9210176da21b7b7b0ebbf30057", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3fdcc9210176da21b7b7b0ebbf30057", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "不允许 REPLICA IDENTITY FULL 查找选择无效索引", "evidence": {"same_day": true, "patch_ids": ["4dfaa86ca3148031f3cbed288c0d95d0"], "statement_hash": "1f9fbb220795006e2c5ae21b3dce402ab38ea0708004206fec60463c7146f4a1"}, "url": "/docs/compare/?release=18.7#18.7-a13d3bc36473a34b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-9d7512c3c454b2f8", "cves": [], "html": "<p>\n      修复 WAL 发送器中可能出现的释放后使用内存问题（Ayush Tiwari）<a href=\"https://postgr.es/c/39173a9bd\">§</a>\n</p>", "text": "修复 WAL 发送器中可能出现的释放后使用内存问题（Ayush Tiwari）§", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "commits": ["39173a9bd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "17077bd1b19f9d630dbf91fcbadda6b9b96f1b045db772ac9b3b2faf57005867", "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": ["39173a9bd"], "source_entry_id": "17.12/changes/145", "db_id": "c62bec644269f66703619760505bdfac", "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347", "relations": [{"rule": 2, "type": "equivalent", "target": "0682ae231f8b016438748e6b7ebafa60", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}, {"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": "cd77b91a8fea0b4c57471aa4bc4efb57", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0682ae231f8b016438748e6b7ebafa60", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 WAL 发送器中可能出现的释放后使用内存问题", "evidence": {"same_day": true, "patch_ids": ["26f0d43cf432ca828f98eed8efc8d2e2"], "statement_hash": "da13257372839f580a042d676773fb87113f12d1a52571abce49803494925347"}, "url": "/docs/compare/?release=18.7#18.7-07a4b5d196e81ee7", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-24c030ba6b8be5f6", "cves": [], "html": "<p>\n      避免 <code>jsonb_set_lax()</code> 中释放后使用内存的问题（John Naylor）<a href=\"https://postgr.es/c/723075b03\">§</a>\n</p>", "text": "避免 jsonb_set_lax() 中释放后使用内存的问题（John Naylor）§", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "commits": ["723075b03"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "f3bb34c87b772f90c039a12a1719f7fbe72e31876eebe6a932cf2fecb4a91a9f", "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": ["723075b03"], "source_entry_id": "17.12/changes/146", "db_id": "f596982a936964862a6d5f913d8c6fb4", "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": "d2e45cc229be40881b6b6603deca3ceb", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d2e45cc229be40881b6b6603deca3ceb", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免 jsonb_set_lax() 中释放后使用内存的问题", "evidence": {"same_day": true, "patch_ids": ["0e85fd9222162c20f8cac0355f09c0be"], "statement_hash": "9a124921d9b159fea7d3f82f0fb6120beca25aa9412663dd9a256582790f8677"}, "url": "/docs/compare/?release=18.7#18.7-054c00ba2ab6a83a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-783da0cd3f3a8dca", "cves": [], "html": "<p>\n      修复 <code>XMLSERIALIZE(... INDENT)</code> 输出超过 1GB 时的重复释放（Jim Jones）<a href=\"https://postgr.es/c/7fa0a5f21\">§</a>\n</p>", "text": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放（Jim Jones）§", "title": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放", "commits": ["7fa0a5f21"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "253c0741603f56aab02f56b904f24f989011ef255ddff737c78cb5c6b7b3e645", "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": ["7fa0a5f21"], "source_entry_id": "17.12/changes/147", "db_id": "d50a7b075e20a9e75a8ad75f5ff1f3ca", "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": "d2337a59deb84f1e4eb5035d46f4885e", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d2337a59deb84f1e4eb5035d46f4885e", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 XMLSERIALIZE(... INDENT) 输出超过 1GB 时的重复释放", "evidence": {"same_day": true, "patch_ids": ["d57ac6d326816394531103777783dc34"], "statement_hash": "3a868a392aba81345dd658010c1e3871bde002596cbf0c2321e43251b35d6b00"}, "url": "/docs/compare/?release=18.7#18.7-08c629a5b5f43da0", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-fac6612a0b8673f7", "cves": [], "html": "<p>\n      修复并发删除模式时可能发生的空指针解引用（Baji Shaik）<a href=\"https://postgr.es/c/f1ba2b826\">§</a>\n</p>", "text": "修复并发删除模式时可能发生的空指针解引用（Baji Shaik）§", "title": "修复并发删除模式时可能发生的空指针解引用", "commits": ["f1ba2b826"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e7e97ddfc5605dad136c3053ee3bbd504eff5792f13c1a9b20a757113771ec91", "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": ["f1ba2b826"], "source_entry_id": "17.12/changes/148", "db_id": "82b2fa301103b4b2c9d5bafecf1ce5ee", "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": "7fb16367ee7658fbed2ed5d00b83a3e6", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7fb16367ee7658fbed2ed5d00b83a3e6", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复并发删除模式时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["988ebcdba583c4618b3fdc0fce01e35c"], "statement_hash": "3a4dc16e146177dd83a02099a453f6b7b2ac8031e0ea857fac91d757410a020a"}, "url": "/docs/compare/?release=18.7#18.7-f2536f0603681300", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-19a82cce19d63273", "cves": [], "html": "<p>\n      避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃（Satyanarayana Narlapuram，Bharath Rupireddy）<a href=\"https://postgr.es/c/ebf7971da\">§</a>\n</p>", "text": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃（Satyanarayana Narlapuram，Bharath Rupireddy）§", "title": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃", "commits": ["ebf7971da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "53e4349d3389c8617baaada3d43c64f81bc08db9ad1ef5a1bf3f4b12510ef704", "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": ["ebf7971da"], "source_entry_id": "17.12/changes/149", "db_id": "b45351dcea07a143a7ce5a28690ae7c9", "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed", "relations": [{"rule": 2, "type": "equivalent", "target": "395ca584c6198a9a48abe12d4bea4cc9", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "395ca584c6198a9a48abe12d4bea4cc9", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免逻辑订阅刷新过程中相关关系被并发删除时发生空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["e4fba28f8d4aab399fe3451e82abdd91"], "statement_hash": "58957424fd4d2d4e764d083bad84685d73b386a0dade8e886c515d4ee2ade8ed"}, "url": "/docs/compare/?release=18.7#18.7-8415492c31d2018b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-015077b13aeb7264", "cves": [], "html": "<p>\n      修复为表达式构建扩展统计信息时可能发生的空指针解引用（Shihao Zhong，Michael Paquier）<a href=\"https://postgr.es/c/8b517a30c\">§</a>\n</p><p>\n      只有自定义 <code>typanalyze</code> 函数表现出意外（但合法）的行为时，才可能触发此错误。\n     </p>", "text": "修复为表达式构建扩展统计信息时可能发生的空指针解引用（Shihao Zhong，Michael Paquier）§ 只有自定义 typanalyze 函数表现出意外（但合法）的行为时，才可能触发此错误。", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "commits": ["8b517a30c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ff1430246115a3406f3804c32d608e43e13707b01fc9275290ef0bd5a7f1b04b", "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": ["8b517a30c"], "source_entry_id": "17.12/changes/150", "db_id": "4f4f4fc7b81c42dce7e0738fc4712c49", "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5", "relations": [{"rule": 2, "type": "equivalent", "target": "2b59274aafd0ddb8638e6460ee94da67", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b59274aafd0ddb8638e6460ee94da67", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复为表达式构建扩展统计信息时可能发生的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["808895e72aabeb43ef71075fa26df332"], "statement_hash": "51fba80a00a137cc9bd8450e84ce8869eaaaea66d2de301593338c8f6f4fdea5"}, "url": "/docs/compare/?release=18.7#18.7-cd76d795ddd13016", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4f880da791936e36", "cves": [], "html": "<p>\n      修复 <code>pg_locks</code>.<code>waitstart</code> 的值可能过时的问题（Shihao Zhong）<a href=\"https://postgr.es/c/0165f38d1\">§</a>\n</p>", "text": "修复 pg_locks.waitstart 的值可能过时的问题（Shihao Zhong）§", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "commits": ["0165f38d1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b9fa5d2802c5a7f417238ab78506e7d16abda95d2eb36379cce3ceac654cb33f", "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": ["0165f38d1"], "source_entry_id": "17.12/changes/151", "db_id": "570975425adc6c81890eb483a4df44ca", "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": "81d8b71ca77a804dc7afe2ffe714a8f0", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}}, {"rule": 2, "type": "equivalent", "target": "a7233851d4d9f9b809896dbdac548ae0", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a7233851d4d9f9b809896dbdac548ae0", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 pg_locks.waitstart 的值可能过时的问题", "evidence": {"same_day": true, "patch_ids": ["728b66d12fadbb710c8c81b49e4734c4"], "statement_hash": "2cad476ca6af70f4ef3ae1ed2ca2e37c792ca377797142f1a4083c31d397be3a"}, "url": "/docs/compare/?release=18.7#18.7-5da96f9b3393c924", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4bc572abd8619123", "cves": [], "html": "<p>\n      增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护（Michael Paquier）<a href=\"https://postgr.es/c/6e0011596\">§</a>\n</p>", "text": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护（Michael Paquier）§", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "commits": ["6e0011596"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "369c6e571b814f6e29f540d9d13ad9c1e8fae0733c3ac03c049b91cd71d3106e", "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": ["6e0011596"], "source_entry_id": "17.12/changes/152", "db_id": "aaea85d0a11f9a9f3366c8fcac4c7f83", "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e", "relations": [{"rule": 2, "type": "equivalent", "target": "b8d4141b9fc98c19e2130a0fbd494a53", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}}, {"rule": 2, "type": "equivalent", "target": "dd373a48afead4838bfe44a249288f63", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "dd373a48afead4838bfe44a249288f63", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "增强 pgstats 代码对仅部分完成的本地 pgstats 表项的防护", "evidence": {"same_day": true, "patch_ids": ["58ba9e4ad4910f6ca1493407ab242fe4"], "statement_hash": "e06ee24053670d99c26fb1dd37983d818a4749bfa68216ed32184651c6efee7e"}, "url": "/docs/compare/?release=18.7#18.7-d7ecec7fcbbeb16c", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-5c5fd2200f198c83", "cves": [], "html": "<p>\n      修复复用的 pgstats 表项的清理（Michael Paquier）<a href=\"https://postgr.es/c/1613efa1a\">§</a>\n</p><p>\n      此错误导致 pgstats 表项泄漏，可能在后端进程退出或数据库关闭时引发错误。\n     </p>", "text": "修复复用的 pgstats 表项的清理（Michael Paquier）§ 此错误导致 pgstats 表项泄漏，可能在后端进程退出或数据库关闭时引发错误。", "title": "修复复用的 pgstats 表项的清理", "commits": ["1613efa1a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b1e17e2f24097521c9a7baa6fdee0c21bd48b00a627633cebcf8b1f838abfc56", "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": ["1613efa1a"], "source_entry_id": "17.12/changes/153", "db_id": "789758959bc3f7166e4e505560e166a6", "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "f2141d904b3ea7fff07486c4c48b4ea3", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f2141d904b3ea7fff07486c4c48b4ea3", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复复用的 pgstats 表项的清理", "evidence": {"same_day": true, "patch_ids": ["2a9a9e725350c77c3b721476bf0f6c24"], "statement_hash": "3847fa67249bb10a0fa0da10ad954ac7319ea9f1dcb32520fa58c49c521e8ace"}, "url": "/docs/compare/?release=18.7#18.7-3b33b012d24a626b", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-44b4705e20668f36", "cves": [], "html": "<p>\n      修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏（Tomás Senart）<a href=\"https://postgr.es/c/aa6f14da4\">§</a>\n</p><p>\n      在许多情况下，这一遗漏影响不大，因为其所在内存上下文很快就会被重置或删除。但某些情况下可能导致长期的内存膨胀，尤其是在检查点进程中。\n     </p>", "text": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏（Tomás Senart）§ 在许多情况下，这一遗漏影响不大，因为其所在内存上下文很快就会被重置或删除。但某些情况下可能导致长期的内存膨胀，尤其是在检查点进程中。", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "commits": ["aa6f14da4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c8cb88222a5e79e69a38cd7f958350b82c274486412cab285e435dd11ca444a5", "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": ["aa6f14da4"], "source_entry_id": "17.12/changes/154", "db_id": "2cc0d17054145e2841e37d76e6941018", "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e", "relations": [{"rule": 2, "type": "equivalent", "target": "81980902231ac591ae7e00935ebe4d8b", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}}, {"rule": 2, "type": "equivalent", "target": "85885f4682ba476235c8c3f65574a4a0", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "85885f4682ba476235c8c3f65574a4a0", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复未释放 WAL 读取器关联的全部数据所导致的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d68d454874083b6ca46958844b854c68"], "statement_hash": "b6187e073be1cabe93580b0d5989871ac5d807664e8941ed059570ed52ecfd1e"}, "url": "/docs/compare/?release=18.7#18.7-3c401b8a82a750fa", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-e4ff5b85edb1c9ae", "cves": [], "html": "<p>\n      避免跨许多列计算 <code>ndistinct</code> 扩展统计信息时的内存膨胀（Ilia Evdokimov）<a href=\"https://postgr.es/c/a8c98c884\">§</a>\n</p>", "text": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀（Ilia Evdokimov）§", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "commits": ["a8c98c884"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "10a704034073bbe6a1c2ed7b0b1da856b6f3a34db2ac6b24238d23d2d835ec61", "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": ["a8c98c884"], "source_entry_id": "17.12/changes/155", "db_id": "81edec36a8bd6d5cf5fa8278f34d6e2f", "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": "fabbc3c17f5b10fcd4419084f874932b", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}, {"rule": 2, "type": "equivalent", "target": "fced12e257fe26a81ef9c28ca671d9cb", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "fced12e257fe26a81ef9c28ca671d9cb", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免跨许多列计算 ndistinct 扩展统计信息时的内存膨胀", "evidence": {"same_day": true, "patch_ids": ["339530573857fc1c92fbaa0426ecacc6"], "statement_hash": "15682d2a2b9abb33099be8826d8b5b43b0ef90706e82176b6ed6394027479d27"}, "url": "/docs/compare/?release=18.7#18.7-a74fd3cefede6b96", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-d43e4f978ee982ab", "cves": [], "html": "<p>\n      修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题（Peter Geoghegan）<a href=\"https://postgr.es/c/b57161883\">§</a>\n</p><p>\n      这一编码错误的后果仅限于资源泄漏警告。\n     </p>", "text": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题（Peter Geoghegan）§ 这一编码错误的后果仅限于资源泄漏警告。", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "commits": ["b57161883"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "50dc54a1f08492a77bcd436f04d5e711c2a4b8d36df60c36d0224269bb6ce2fc", "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": ["b57161883"], "source_entry_id": "17.12/changes/156", "db_id": "0c966e575f36d75a0bc4fe46df5b8671", "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4", "relations": [{"rule": 2, "type": "equivalent", "target": "579890f7c8e6c40378a188b0f8771dc4", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "579890f7c8e6c40378a188b0f8771dc4", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复哈希索引桶分裂清理失败后缓冲区钉住计数泄漏的问题", "evidence": {"same_day": true, "patch_ids": ["5824ecf4b9f52e1dfa1292f7df9969bb"], "statement_hash": "2b6a54b8f3714e5ef809829e0ccaa906c3aa62f732f10901765d3cd5d73a49b4"}, "url": "/docs/compare/?release=18.7#18.7-b3e2a172aba459aa", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4293a17fa1099185", "cves": [], "html": "<p>\n      确保为 <code>AFTER</code> 触发器打开的所有关系都被重新关闭（Hayato Kuroda，David Rowley）<a href=\"https://postgr.es/c/70d5b0668\">§</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": ["70d5b0668"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "7190021991f2598d61bcfd1d53d4ed541ebf1e04dfa07c24df5b7682613d35da", "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": ["70d5b0668"], "source_entry_id": "17.12/changes/157", "db_id": "c8a254669bab707a211b8a182c570059", "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": "a1be41b34aafe54a763fd355aa031187", "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"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a1be41b34aafe54a763fd355aa031187", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保为 AFTER 触发器打开的所有关系都被重新关闭", "evidence": {"same_day": true, "patch_ids": ["cd9e90a1d76051395e92af25aca21a12"], "statement_hash": "9665107016d691538e7873c8c0fd659c42b9afd3ad2da9820916009ff61f0a49"}, "url": "/docs/compare/?release=18.7#18.7-f99fd23f8e35c514", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-8e5d05b66485e92d", "cves": [], "html": "<p>\n      修复 PL/pgSQL 对 <code>anycompatiblemultirange</code> 参数和结果的处理（Jeevan Chalke）<a href=\"https://postgr.es/c/fa10d961d\">§</a>\n</p><p>\n      PL/pgSQL 的多态类型识别中未加入此类型，导致尝试创建或使用以该类型声明的函数时报错。\n     </p>", "text": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理（Jeevan Chalke）§ PL/pgSQL 的多态类型识别中未加入此类型，导致尝试创建或使用以该类型声明的函数时报错。", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "commits": ["fa10d961d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "89024f6eeb42c4c36fcf036da29d735d834c091c768a608b226ef265cb780ecf", "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": ["fa10d961d"], "source_entry_id": "17.12/changes/158", "db_id": "38494a745389d51e582ae14c270c4b5e", "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": "a33327622d477970bb4fdbfc9295146b", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}}, {"rule": 2, "type": "equivalent", "target": "bc8605af13a004784f9b0b025800ee99", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bc8605af13a004784f9b0b025800ee99", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 PL/pgSQL 对 anycompatiblemultirange 参数和结果的处理", "evidence": {"same_day": true, "patch_ids": ["0071ebd8f09746669f90f80cf6bcab46"], "statement_hash": "d2f961463a1bee2240f4af36619271415b9c85004c73229d2a9573caab8dc3e8"}, "url": "/docs/compare/?release=18.7#18.7-973d6f0335a2abfd", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-bb899e2bdfffd72d", "cves": [], "html": "<p>\n      增强 PL/Perl 和相关 contrib 模块对<span>“<span>绑定</span>”</span>的 Perl 哈希与数组的防护（Tom Lane）<a href=\"https://postgr.es/c/3c4d77480\">§</a><a href=\"https://postgr.es/c/2860d322a\">§</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": ["2860d322a", "3c4d77480"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "98a5c791873eb197099a4a601b6905f4cea34dd80cf498689e324b5cc4bc19fa", "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": ["2860d322a", "3c4d77480"], "source_entry_id": "17.12/changes/159", "db_id": "5bcf36aa4705757a66f06a329a5c12b1", "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90", "relations": [{"rule": 2, "type": "equivalent", "target": "4db93383a6bf5d3a0447becc0c6298c8", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4db93383a6bf5d3a0447becc0c6298c8", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "增强 PL/Perl 和相关 contrib 模块对“绑定”的 Perl 哈希与数组的防护", "evidence": {"same_day": true, "patch_ids": ["8a84b74e46a4e04d3cf4a07cdaae2ac3", "bd0e98174acd25421a97f74e0e3e4a5c"], "statement_hash": "202aa0aa9cd657cc7e08d4fc3d4bce3db16e687888316ec6e2e6e5c1efc22a90"}, "url": "/docs/compare/?release=18.7#18.7-daceacddc2737192", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-4f004c5099aff8f0", "cves": [], "html": "<p>\n      避免 <span>libpq</span> 重复建立 GSS 连接时的内存泄漏（Matt Carter，Tom Lane）<a href=\"https://postgr.es/c/df9e6d7c7\">§</a>\n</p>", "text": "避免 libpq 重复建立 GSS 连接时的内存泄漏（Matt Carter，Tom Lane）§", "title": "避免 libpq 重复建立 GSS 连接时的内存泄漏", "commits": ["df9e6d7c7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "4cf50ca0e877d8e272dc5752759f26c548db2f7de5b93b3f9884faf01afee255", "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": ["df9e6d7c7"], "source_entry_id": "17.12/changes/160", "db_id": "32d4f14b816b99f52b259ee38844173c", "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6", "relations": [{"rule": 2, "type": "equivalent", "target": "73e932f806b9f034f51f00194baf57a7", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}}, {"rule": 2, "type": "equivalent", "target": "e03a7778db9fd1b606598eca8d5583b3", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e03a7778db9fd1b606598eca8d5583b3", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免 libpq 重复建立 GSS 连接时的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["5f150c4bf2c11a3976ddc935a3bf24b9"], "statement_hash": "cc0b074f3f55b065f0653ebe08252d4b632922572cff3d5089e96b466fa9ebd6"}, "url": "/docs/compare/?release=18.7#18.7-feaae5d4f6d588dd", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-58b821fcb5f70d7c", "cves": [], "html": "<p>\n      避免 <code>getopt_long()</code> 重新排列程序命令行参数时出现不正确的行为（Sehrope Sarkuni）<a href=\"https://postgr.es/c/a11bce64a\">§</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": ["a11bce64a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "524036ffa4720b8008ceb506d616a90ee96ce7a1d9f9cfe66760cce4fa7de6e8", "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": ["a11bce64a"], "source_entry_id": "17.12/changes/161", "db_id": "3b1742af7661d43f8c09a5bf80070eaf", "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193", "relations": [{"rule": 2, "type": "equivalent", "target": "2eec143621d677c65219a9dadada4d8f", "evidence": {"same_day": true, "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2eec143621d677c65219a9dadada4d8f", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "避免 getopt_long() 重新排列程序命令行参数时出现不正确的行为", "evidence": {"same_day": true, "patch_ids": ["57b8fc6f30ffecb8e7c4eebd42e7c383"], "statement_hash": "3778b15e4f60c4c959ed68fa14211eec4925fc25c7adf03f1da35ed8bcf33193"}, "url": "/docs/compare/?release=18.7#18.7-9a43491e44e71849", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-9d076c0a4147633b", "cves": ["CVE-2026-6464"], "html": "<p>\n      确保 <span>psql</span> 统计多查询命令字符串中出现的所有 <code>COPY FROM STDIN</code> 命令（Zsolt Parragi）<a href=\"https://postgr.es/c/3828ab704\">§</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": ["3828ab704"], "section": "变更", "category": "security", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "c3aaf09ea693422c222f8c4b7c8a0a08f97e65df952230915077b1ff96a95966", "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": ["3828ab704"], "source_entry_id": "17.12/changes/162", "db_id": "f19be8a0277f611f72d7889f813790a3", "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": "d6f3b68a72aec2332c987eabc37608c4", "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": "17.12", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d6f3b68a72aec2332c987eabc37608c4", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "确保 psql 统计多查询命令字符串中出现的所有 COPY FROM STDIN 命令", "evidence": {"same_day": true, "patch_ids": ["ee4c428e14ee3b6f27897b6c54c93d25"], "statement_hash": "78a6ad7ceb1800de01da5f21abe870389c2ae580565c07887ee29d2aac49082f"}, "url": "/docs/compare/?release=18.7#18.7-65fa7a92b71aca0a", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-77ed8b762265bd6c", "cves": [], "html": "<p>\n      改善 <span>psql</span> 在处理反斜杠命令时对内存耗尽的应对（Fujii Masao）<a href=\"https://postgr.es/c/ab001a3a6\">§</a><a href=\"https://postgr.es/c/d2e19268d\">§</a>\n</p>", "text": "改善 psql 在处理反斜杠命令时对内存耗尽的应对（Fujii Masao）§§", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "commits": ["ab001a3a6", "d2e19268d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ddd12694b183e36efecd7e4e0f92cbc4ddab92e41a7fc77bfe169663a6cb7c11", "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": ["ab001a3a6", "d2e19268d"], "source_entry_id": "17.12/changes/163", "db_id": "b6355a96a806c7267eeba418bc52de66", "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": "b91da079677a1bde53bc8044b3150f54", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b91da079677a1bde53bc8044b3150f54", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "改善 psql 在处理反斜杠命令时对内存耗尽的应对", "evidence": {"same_day": true, "patch_ids": ["6fef80d50472722da62a3dcc38fd4ddc", "7405232fc64da7cb3c091e3aac37b320"], "statement_hash": "254afc79090f24bdde3a90bedf05b0f34bec406d0c72467e40d1e1fc36aa453f"}, "url": "/docs/compare/?release=18.7#18.7-559ea61ffb5a2f2e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-e73d2c0d532cc6e4", "cves": [], "html": "<p>\n      修复 <span>psql</span> 中少量内存泄漏（Fujii Masao）<a href=\"https://postgr.es/c/4c5485aed\">§</a>\n</p>", "text": "修复 psql 中少量内存泄漏（Fujii Masao）§", "title": "修复 psql 中少量内存泄漏", "commits": ["4c5485aed"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "9ce1581bf624d75de7ffbc9061b2ba4d2659416ab459ad0efd3cbe6abde2b1f6", "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": ["4c5485aed"], "source_entry_id": "17.12/changes/164", "db_id": "bd14c8654f7df3c122936d60d99d0925", "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540", "relations": [{"rule": 2, "type": "equivalent", "target": "088785e33ed48aa014abc8d944b5f8cf", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}, {"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": "fb14ee64d5aee045fb703db47ca3a1b0", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "088785e33ed48aa014abc8d944b5f8cf", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 psql 中少量内存泄漏", "evidence": {"same_day": true, "patch_ids": ["c63ec47d3d9e490e5114add36adf2ef0"], "statement_hash": "794827cbc3bb6d9bb1c60ed59023a40ef24bc57d6ba720ee6676b93356cf0540"}, "url": "/docs/compare/?release=18.7#18.7-71e3fdf3db65a1e4", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-74f262f2f1848ffc", "cves": [], "html": "<p>\n      在 <span>pg_combinebackup</span> 中拒绝增量备份文件里超出范围的块号（Peter Eisentraut）<a href=\"https://postgr.es/c/0bffea8f6\">§</a>\n</p><p>\n      这一遗漏使 <span>pg_combinebackup</span> 可能因损坏的输入而崩溃。\n     </p>", "text": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号（Peter Eisentraut）§ 这一遗漏使 pg_combinebackup 可能因损坏的输入而崩溃。", "title": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号", "commits": ["0bffea8f6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "46bbc08d8f8e001d3c14990c6efb3e3328b191683fcda5574510208dd6662cbd", "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": ["0bffea8f6"], "source_entry_id": "17.12/changes/165", "db_id": "18031f600cbdbfb94bc29513b5d9884e", "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b", "relations": [{"rule": 2, "type": "equivalent", "target": "62f2df591f0f27209a1140c7ae423f33", "evidence": {"same_day": true, "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "62f2df591f0f27209a1140c7ae423f33", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 pg_combinebackup 中拒绝增量备份文件里超出范围的块号", "evidence": {"same_day": true, "patch_ids": ["c9c755b8a16b13f73f41c56eb2b30392"], "statement_hash": "1952124c158db6d822e90a55778f8e74f31cb17cb12e0151446c8eabd6f27e7b"}, "url": "/docs/compare/?release=18.7#18.7-da932650a2716f72", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-b6b2c8fccfdf6a4c", "cves": [], "html": "<p>\n      使 <span>pg_dump</span> 转储用于支持约束的索引的列统计目标（Zsolt Parragi）<a href=\"https://postgr.es/c/5e158a2e4\">§</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": ["5e158a2e4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "21322337f745795226f719499feb075cd475123e844f9cd7d7b374a50189b765", "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": ["5e158a2e4"], "source_entry_id": "17.12/changes/166", "db_id": "253da4a9237dd2fe31aca19fd6834dd2", "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": "b7ab495c4cec6f89aae8d116dcd452b8", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b7ab495c4cec6f89aae8d116dcd452b8", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "使 pg_dump 转储用于支持约束的索引的列统计目标", "evidence": {"same_day": true, "patch_ids": ["04fcdf288bf5f01cf38a82b46f68e6d4"], "statement_hash": "52cbf2b1ecd7bfbd622bae512e378c7e410e23ba871405ad7f62015ab333ef5b"}, "url": "/docs/compare/?release=18.7#18.7-c950a7d8e36a835f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-ee71b3e48a71eb7f", "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/45fc3ce22\">§</a>\n</p>", "text": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令（Pavel Kopylov）§", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "commits": ["45fc3ce22"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "166a46d38102521207f3ce451bc0db3c76c52bb405ee77c0c9c68cee8a5ec864", "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": ["45fc3ce22"], "source_entry_id": "17.12/changes/167", "db_id": "e3c682df84ee88941d076e51eeab08f8", "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": "c45ea06c5bf0593964d7a9acd22dbbca", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c45ea06c5bf0593964d7a9acd22dbbca", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "在 pg_dump 的 tar 格式输出中，不向 restore.sql tar 成员写入无效的 \\restrict/\\unrestrict 命令", "evidence": {"same_day": true, "patch_ids": ["a3a953242fb27600819b6e1a51a20f13"], "statement_hash": "d11a209680f5e3d7fd7db4b90e7f9bd9f2ec3b1ad3a747b0944edf4952a9e077"}, "url": "/docs/compare/?release=18.7#18.7-eb81cd9b97914c23", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-23458a9fd3799f02", "cves": [], "html": "<p>\n      使 <span>pg_walsummary</span> 的 <code>--quiet</code> 开关抑制界限块的输出（Koshi Shibagaki）<a href=\"https://postgr.es/c/d843a801b\">§</a>\n</p>", "text": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出（Koshi Shibagaki）§", "title": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出", "commits": ["d843a801b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "1d779ca46b82df0b9674a18bbd7684f6294712a914dd1e1a3b09c9d752fd5020", "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": ["d843a801b"], "source_entry_id": "17.12/changes/168", "db_id": "5226955280907f679ba8ef8ad966c820", "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8", "relations": [{"rule": 2, "type": "equivalent", "target": "a34721a9ae74f19958ed080b891d777b", "evidence": {"same_day": true, "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a34721a9ae74f19958ed080b891d777b", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "使 pg_walsummary 的 --quiet 开关抑制界限块的输出", "evidence": {"same_day": true, "patch_ids": ["b937822fdaff14356bcae622372da90c"], "statement_hash": "c5c0e70393268c5eb041e79a17320ad51dc8d8b1f2204eb90e5dad2458d79ae8"}, "url": "/docs/compare/?release=18.7#18.7-faf491db4ffe4116", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-d5aa0afc67310f89", "cves": [], "html": "<p>\n      如果以多个作业请求索引级 <code>REINDEX CONCURRENTLY</code>，则使 <span>reindexdb</span> 明确报错退出（Kirill Reshke）<a href=\"https://postgr.es/c/869c53ff8\">§</a>\n</p><p>\n      此前，这种选项组合会导致服务器端报错，指出 <code>REINDEX CONCURRENTLY</code> 不能在事务块内运行。\n     </p>", "text": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出（Kirill Reshke）§ 此前，这种选项组合会导致服务器端报错，指出 REINDEX CONCURRENTLY 不能在事务块内运行。", "title": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出", "commits": ["869c53ff8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "ca04478d990e1d100dcdb5d32b3f6023b0788a122766050430234dc0c024cea6", "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": ["869c53ff8"], "source_entry_id": "17.12/changes/169", "db_id": "a3fc30a290da0b93f1ffb37136166c3f", "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479", "relations": [{"rule": 2, "type": "equivalent", "target": "ec5cb92096d6443c3f8e6133d5d988cb", "evidence": {"same_day": true, "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ec5cb92096d6443c3f8e6133d5d988cb", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "如果以多个作业请求索引级 REINDEX CONCURRENTLY，则使 reindexdb 明确报错退出", "evidence": {"same_day": true, "patch_ids": ["e3d9c55fed73fda7716f6b23d6f0b5af"], "statement_hash": "5e3dcb061c4de7637e90174eb5a90b64059f48baef2e0cec8db0b672c6dd0479"}, "url": "/docs/compare/?release=18.7#18.7-63a9ddac30f98b86", "source_url": "/docs/release/18.7/#RELEASE-18-7-CHANGES"}]}, {"id": "17.12-019fe8054266019e", "cves": [], "html": "<p>\n      修复表带有列默认值子句时 <code>contrib/file_fdw</code> 在 <code>ANALYZE</code> 中崩溃的问题（Fujii Masao）<a href=\"https://postgr.es/c/b2b1910d9\">§</a>\n</p>", "text": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题（Fujii Masao）§", "title": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题", "commits": ["b2b1910d9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "e4fc018e384a95da9ea000938f88853679cb285b969b4cc9210cc9d08d91e5fc", "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": ["b2b1910d9"], "source_entry_id": "17.12/changes/170", "db_id": "c0db90aee7ae325abf520882996cd0ba", "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": "6e1d2efbfb0e2c354180b3257852f425", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6e1d2efbfb0e2c354180b3257852f425", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复表带有列默认值子句时 contrib/file_fdw 在 ANALYZE 中崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["8e9e1d8f8f9cb8ca4fbf9ce76750ea64"], "statement_hash": "87c7682e1d9f38aaf1d1ccc3ea01fbac01876ab8d41f98dee3a9375c6a91a816"}, "url": "/docs/compare/?release=18.7#18.7-d3c2d73bb2487327", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-3b7e5df3a6ac4807", "cves": [], "html": "<p>\n      修复 <code>contrib/pg_trgm</code> GiST 索引可能损坏的问题（Nate Clark）<a href=\"https://postgr.es/c/145a7175e\">§</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": ["145a7175e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "187470eb56f7e7c78d13e88bd83fb3dd42be33edec9b4b5f5d59eff225a8a1f2", "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": ["145a7175e"], "source_entry_id": "17.12/changes/171", "db_id": "fc0d47c96aa36d25ae7635a0baa0fa0d", "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": "952c8d5300c350d5ec39255e3530ae31", "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"}}], "version": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "952c8d5300c350d5ec39255e3530ae31", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 contrib/pg_trgm GiST 索引可能损坏的问题", "evidence": {"same_day": true, "patch_ids": ["5728f39037463dbb8a6926bbcda4409e"], "statement_hash": "511dfbad2b016fae3186d526934994c28688b2ad9d841640fef529ca055b37f4"}, "url": "/docs/compare/?release=18.7#18.7-e7443f7a1163ff0e", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-9ce1ebb1675f6bf4", "cves": [], "html": "<p>\n      修复 Windows 上设置计时器时的错误检查（Sehrope Sarkuni）<a href=\"https://postgr.es/c/2bc73b3e8\">§</a>\n</p><p>\n      未能检测到创建超时管理线程失败，导致后续超时请求悄然失效。\n     </p>", "text": "修复 Windows 上设置计时器时的错误检查（Sehrope Sarkuni）§ 未能检测到创建超时管理线程失败，导致后续超时请求悄然失效。", "title": "修复 Windows 上设置计时器时的错误检查", "commits": ["2bc73b3e8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b009f634930faa751883c05cf5d7e6b60736259ec83324627d50257134e565ee", "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": ["2bc73b3e8"], "source_entry_id": "17.12/changes/172", "db_id": "5b3f758c128a9b342d0a1e4f72cdda03", "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222", "relations": [{"rule": 2, "type": "equivalent", "target": "39c46e19b9322502af2c30a475757b49", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}}, {"rule": 2, "type": "equivalent", "target": "3c331d2b5034c1645c9a08a3652c83cc", "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": "17.12", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "39c46e19b9322502af2c30a475757b49", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "修复 Windows 上设置计时器时的错误检查", "evidence": {"same_day": true, "patch_ids": ["488b8e20f02334fc89a13044fe467331"], "statement_hash": "b6143b0db76ef6c728ddc8bb3730a23835e7d8f0e44dd73257b4b65d4eb93222"}, "url": "/docs/compare/?release=18.7#18.7-38d8adaefa537462", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.12-97eefe5d6eafff0d", "cves": [], "html": "<p>\n      在 AArch64 上的 TAS_SPIN 中使用不加锁的初始测试（Nathan Bossart）<a href=\"https://postgr.es/c/e10dc5b85\">§</a>\n</p><p>\n      这项代码更改已被证明能提高多核 AArch64 机器的性能，同时不会损害核心数较少的机器的性能；此外，它还避免了较新 Linux 内核带来的性能回归。\n     </p>", "text": "在 AArch64 上的 TAS_SPIN 中使用不加锁的初始测试（Nathan Bossart）§ 这项代码更改已被证明能提高多核 AArch64 机器的性能，同时不会损害核心数较少的机器的性能；此外，它还避免了较新 Linux 内核带来的性能回归。", "title": "在 AArch64 上的 TAS_SPIN 中使用不加锁的初始测试", "commits": ["e10dc5b85"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "b63d541884c26f2c63452d7921e7306fdc2f2986bc283e9cd7a255ce2c0c2976", "section_path": ["变更"], "commit_groups": [["a8e7b27e3", "d45816c24", "e10dc5b85"]], "identity_text": "Use a non-locking initial test in TAS_SPIN on AArch64 (Nathan Bossart) This code change has been shown to improve performance on many-core AArch64 machines while not hurting performance on smaller ones; moreover, it avoids a performance regression with newer Linux kernels.", "commit_aliases": ["a8e7b27e3", "d45816c24", "e10dc5b85"], "source_commits": ["e10dc5b85"], "source_entry_id": "17.12/changes/173", "db_id": "ddd0dc3226a7ec6942c1980e91916a2c", "patch_ids": ["4b86daf3e1e699b4d5bc30347cdb846e"], "statement_hash": "1983769fd23790a8df28575bd6090d200aef24607745bf92e5913dbf2d95bafa", "relations": [{"rule": 2, "type": "equivalent", "target": "08c496e7ce2fbb3daf017269b3c216ee", "evidence": {"same_day": true, "patch_ids": ["4b86daf3e1e699b4d5bc30347cdb846e"], "statement_hash": "1983769fd23790a8df28575bd6090d200aef24607745bf92e5913dbf2d95bafa"}}, {"rule": 2, "type": "equivalent", "target": "542b4d1ce1af5600dac76767864f8738", "evidence": {"same_day": true, "patch_ids": ["4b86daf3e1e699b4d5bc30347cdb846e"], "statement_hash": "1983769fd23790a8df28575bd6090d200aef24607745bf92e5913dbf2d95bafa"}}], "version": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "542b4d1ce1af5600dac76767864f8738", "kind": "equivalent", "version": "16.16", "label": "16.16", "title": "在 AArch64 上的 TAS_SPIN 中使用不加锁的初始测试", "evidence": {"same_day": true, "patch_ids": ["4b86daf3e1e699b4d5bc30347cdb846e"], "statement_hash": "1983769fd23790a8df28575bd6090d200aef24607745bf92e5913dbf2d95bafa"}, "url": "/docs/compare/?release=16.16#16.16-d1008d8cb9223ecd", "source_url": "/docs/release/16.16/#RELEASE-16-16-CHANGES"}, {"db_id": "08c496e7ce2fbb3daf017269b3c216ee", "kind": "equivalent", "version": "15.20", "label": "15.20", "title": "在 AArch64 上的 TAS_SPIN 中使用不加锁的初始测试", "evidence": {"same_day": true, "patch_ids": ["4b86daf3e1e699b4d5bc30347cdb846e"], "statement_hash": "1983769fd23790a8df28575bd6090d200aef24607745bf92e5913dbf2d95bafa"}, "url": "/docs/compare/?release=15.20#15.20-f8b9419c90d26eaa", "source_url": "/docs/release/15.20/#RELEASE-15-20-CHANGES"}]}, {"id": "17.12-15f31cf46a4e8291", "cves": [], "html": "<p>\n      将时区数据文件更新至 <span>tzdata</span> 2026f 版本（Tom Lane）<a href=\"https://postgr.es/c/1ad631142\">§</a><a href=\"https://postgr.es/c/8e1414de3\">§</a><a href=\"https://postgr.es/c/5f0f69019\">§</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": ["1ad631142", "5f0f69019", "8e1414de3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.12/#RELEASE-17-12-CHANGES", "source_hash": "5a8ea6ac85df48872879cfc863efba8b91fbfd9bbd033927c9b4b71c16853b00", "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": ["1ad631142", "5f0f69019", "8e1414de3"], "source_entry_id": "17.12/changes/174", "db_id": "0651da71ac979673aa333048a6e43306", "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023", "relations": [{"rule": 2, "type": "equivalent", "target": "1bead1305f9b417b1c629deccecbf1ba", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}}, {"rule": 2, "type": "equivalent", "target": "21af21dd87f177872b04e5106ba58bf5", "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": "17.12", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "21af21dd87f177872b04e5106ba58bf5", "kind": "equivalent", "version": "18.7", "label": "18.7", "title": "将时区数据文件更新至 tzdata 2026f 版本", "evidence": {"same_day": true, "patch_ids": ["2bfbd6750ac0c5ef395b8ddf2df5c986", "7c377c0a8dab227b2c63ec8a25640900", "c38df09d9b7f7f79d6776407fa3562bd"], "statement_hash": "4d9ba8bb141746bbad0ddc64a98db097ec244ebaa0f81c7220f0f7b0559c3023"}, "url": "/docs/compare/?release=18.7#18.7-88d1086dfffba39f", "source_url": "/docs/release/18.7/#RELEASE-18-7-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": "17.11", "major": "17", "minor": 11, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.11", "eol_date": "2029-11-08", "date_text": "2026-08-13", "supported": true, "manual_url": "/docs/17/release-17-11.html", "source_url": "/docs/release/17.11/", "entry_count": 109, "placeholder": false, "content_hash": "da75a99448c97628f2ccc6ab712a2ef8a323b11346c9a01cb7ca6ad7d2e0ed77", "manual_build": "17.12", "source_as_of": "", "changes_count": 109, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>但是，下面前三个安全条目描述了更新后可能需要进行的配置调整和数据清理。</p>\n<p>此外，如果使用 <code>contrib/btree_gist</code> 或 <code>contrib/ltree</code>，可能需要为这些扩展创建的索引重建索引；请参见下面的相关条目。</p>\n<p>此外，如果是从早于 17.6 的版本升级，请参见<a href=\"/docs/17/release-17-6.html\" title=\"E.6. 17.6 发布\">第 E.6 节</a>。</p>", "compatibility_count": 0, "label": "17.11", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 93, "support_days": 1090, "entries": [{"id": "17.11-ccab0c809e14d029", "cves": ["CVE-2026-6471"], "html": "<p>将逻辑解码输出插件限制为新服务器参数 <code>output_plugin_libraries</code> 指定的集合（Jacob Champion）<a href=\"https://postgr.es/c/01992176e\">§</a> <a href=\"https://postgr.es/c/4fcccea97\">§</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": ["01992176e", "4fcccea97"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "e647da816fe9b0fcbfcecd952c47187db1a2be508ae8f7d1877872c29d0f7de6", "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": ["01992176e", "4fcccea97"], "source_entry_id": "17.11/changes/001", "db_id": "549fb97375289bbc21d70209d1e5e9a8", "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212", "relations": [{"rule": 2, "type": "equivalent", "target": "2ed41f6adf451dd977da156f72190023", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2ed41f6adf451dd977da156f72190023", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "将逻辑解码输出插件限制为新服务器参数 output_plugin_libraries 指定的集合", "evidence": {"same_day": true, "patch_ids": ["29a8e1db1536ed40c71312e7d2015c9e", "bcbaedd0455bfc84b87ba56b7f4aba2c"], "statement_hash": "66cffd63e622afc809ffcea154c77acb7025871176da7689b08b6db15ff40212"}, "url": "/docs/compare/?release=18.6#18.6-76e8d95ade6e17d6", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-165fa935d28df7f1", "cves": ["CVE-2026-14663"], "html": "<p>修复 <code>contrib/pgcrypto</code> 的 PGP 加密，使其能够检测不受支持的密码算法（Daniel Gustafsson）<a href=\"https://postgr.es/c/b05cfc693\">§</a> <a href=\"https://postgr.es/c/7eed42aa8\">§</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": ["7eed42aa8", "b05cfc693"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c131d453f626b34f3771dc3dfb482d0d12e4d08421871d685142d70b7b145c7e", "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": ["7eed42aa8", "b05cfc693"], "source_entry_id": "17.11/changes/002", "db_id": "379745809d65e827e6739e3818394675", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "e8d5337224696bc194016b8a5269940d", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e8d5337224696bc194016b8a5269940d", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/pgcrypto 的 PGP 加密，使其能够检测不受支持的密码算法", "evidence": {"same_day": true, "patch_ids": ["0c0f3075fa6d42cb4f237a14111f3f86", "94579ce6ea64094f97312d8046fcb082"], "statement_hash": "f9b50dfe772a85830e7ce5570ba2e751618ceca0e1ebf0653490632965de190f"}, "url": "/docs/compare/?release=18.6#18.6-bfaa3421904d3a41", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8dd81897faaffe37", "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/46fa1f6f3\">§</a> <a href=\"https://postgr.es/c/dca6627de\">§</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": ["46fa1f6f3", "dca6627de"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "b3f28a7521c132d0240d2e41137917fd177fc3a94e6b3acb5bd0a9630eb7a4b2", "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": ["46fa1f6f3", "dca6627de"], "source_entry_id": "17.11/changes/003", "db_id": "df55d2444f4fc088a4a59341aed77733", "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225", "relations": [{"rule": 2, "type": "equivalent", "target": "3c7601286aa0c9239f3cd6933eeddc1f", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}, {"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": "ea96c547a98f3910bcd150ec7a9bb871", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "3c7601286aa0c9239f3cd6933eeddc1f", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 psql：跳过脚本中的 COPY ... FROM STDIN 命令后面的内联数据，即使 COPY 在发送 PGRES_COPY_IN 前失败", "evidence": {"same_day": true, "patch_ids": ["bb5ab12243a3045680f47ff1cb2c8480", "ecf5b4358ac3d55d48e5c5a6cf618bc5"], "statement_hash": "76e8147c7ad5a98f52d6ef02172b79adbee8009366c00ae89f0a205215b4b225"}, "url": "/docs/compare/?release=18.6#18.6-7711e8f6ad16c5dd", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-b9a0ccf8cc602cca", "cves": ["CVE-2026-16239"], "html": "<p>交叉检查运行 <code>EXECUTE</code> 或 <code>FETCH</code> 的 portal 的输出行类型（Robert Haas）<a href=\"https://postgr.es/c/60887d348\">§</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": ["60887d348"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "d4a4a73c08aaccd5e19ce6f5b5e250a10e4ef195435dfd65da03edd9f7b7915c", "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": ["60887d348"], "source_entry_id": "17.11/changes/004", "db_id": "3ec84f87545930ce1036d071dad3e665", "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": "5b8818230400246029db8b181a69938c", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "5b8818230400246029db8b181a69938c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "交叉检查运行 EXECUTE 或 FETCH 的 portal 的输出行类型", "evidence": {"same_day": true, "patch_ids": ["bca9a8aea055bf40b974631f891c3459"], "statement_hash": "6bfdff724b157ff6ff7a59fd5879e05c524cc0a5a96ac58a33fa9750cc2db073"}, "url": "/docs/compare/?release=18.6#18.6-cdf902a8952d780f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-9aaf551ddc6d8e1b", "cves": ["CVE-2026-14669"], "html": "<p>修复 <code>to_char()</code> 处理过长时区缩写时发生的缓冲区越界写入（Tom Lane）<a href=\"https://postgr.es/c/12a620686\">§</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": ["12a620686"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "e48e09d9e3c9a825e6ba8cae1c58c126b12b0aa1fb2f25d571ebc8683cc7915c", "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": ["12a620686", "5dbeb69bc"], "source_entry_id": "17.11/changes/005", "db_id": "bf82a2510c4dfe4309435e9bce0ab3a4", "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": "equivalent", "target": "1b34d3e2b18d75096fd2914d3673446c", "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": "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": "17.11", "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": "1b34d3e2b18d75096fd2914d3673446c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 to_char() 处理过长时区缩写时发生的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9", "f6e281e04c97bcdc5fa29a25f60517ca"], "statement_hash": "07a38d896c94ef2711ebb1c7c66bf1537f00d81b7488271a922229ab5b8f1962", "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": "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": "17.11-cb1b743a0208c3c0", "cves": ["CVE-2026-14664"], "html": "<p>修复正则表达式匹配/拆分函数中的缓冲区越界写入（Masahiko Sawada）<a href=\"https://postgr.es/c/e91dcfcca\">§</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": ["e91dcfcca"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "bf5c77bf66898797fd437c8fb0f97f830ad88679a21767983bbe1e8a9b0d2940", "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": ["e91dcfcca"], "source_entry_id": "17.11/changes/006", "db_id": "ee60c1b700f965a0913e70294c9927f5", "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": "31c6d0327b9be4008171a2064e268f6c", "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"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "31c6d0327b9be4008171a2064e268f6c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复正则表达式匹配/拆分函数中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["0cfa785ead8bfc886613fffe5a36e1bc"], "statement_hash": "966f554e1e936775481250a24075b22027e89685eec1e0c08a9bfd4f761ad444"}, "url": "/docs/compare/?release=18.6#18.6-94204615ddc5390c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-e6de3d1ea5ee5a52", "cves": ["CVE-2026-18024"], "html": "<p>增强 <code>ascii()</code> 函数对无效输入的防护（Michael Paquier）<a href=\"https://postgr.es/c/849da8210\">§</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": ["849da8210"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "4b6d84db9304a6c8fbc7182e7b84611ba213108b7e06f7b9941c114487a2e63f", "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": ["849da8210"], "source_entry_id": "17.11/changes/007", "db_id": "12383fa89e42b03b68791e4222af5d42", "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3", "relations": [{"rule": 2, "type": "equivalent", "target": "28116a0caca0f02980e6eaa33ad62878", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "28116a0caca0f02980e6eaa33ad62878", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "增强 ascii() 函数对无效输入的防护", "evidence": {"same_day": true, "patch_ids": ["55b264296776b9b13ab6e5f986e375f2"], "statement_hash": "30f93fe9d01d5c3e7f51b7ee86b38f0ddd66109774cc7f5bd732db874c26c1a3"}, "url": "/docs/compare/?release=18.6#18.6-4a45e658fb69cefb", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-5d9a6f9f262886ec", "cves": ["CVE-2026-16238"], "html": "<p>修复 <code>pg_restore_attribute_stats()</code> 对多范围类型的处理（OpenAI Security Research Team）</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": [], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "307fae39b42e66fdb916abdaa0d4a62270ca6fbb1038040ff752f2c348b63a99", "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": ["57835938f", "8d428c6e6"], "source_entry_id": "17.11/changes/008", "db_id": "c02d2730726a9bba001c3dcad007a406", "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": "b73333feb74980fc954bc5f235124549", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "b73333feb74980fc954bc5f235124549", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 pg_restore_attribute_stats() 对多范围类型的处理", "evidence": {"same_day": true, "patch_ids": ["d27616df77f838ec6d65ceac3dab4d29", "e919d719afc48bf0f48ebde0e7586d45"], "statement_hash": "6c702ad16b71228cee81cbc85de20c25fe06c4ec29202dc0be958c9f409a702d"}, "url": "/docs/compare/?release=18.6#18.6-61ef917ba36ebc0f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3000fb5c37bacd7b", "cves": ["CVE-2026-14668"], "html": "<p>让 <code>scalarineqsel()</code> 检查预期为 <code>tid</code> 类型的常量是否确实属于该类型（Tom Lane）<a href=\"https://postgr.es/c/0ebf896f4\">§</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": ["0ebf896f4"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "fea9adf48b6705a5dee73365d4727814d5833aa6308cbeefe9a3ec34e67e1f78", "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": ["0ebf896f4"], "source_entry_id": "17.11/changes/009", "db_id": "7cbf7cb5e5571e3fde38e116219b7ff1", "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": "8e21096b01a0beb228febdc9d9b21e1a", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}}, {"rule": 2, "type": "equivalent", "target": "97ac47be877760addc2f5b0afd4a077b", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "97ac47be877760addc2f5b0afd4a077b", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "让 scalarineqsel() 检查预期为 tid 类型的常量是否确实属于该类型", "evidence": {"same_day": true, "patch_ids": ["de7610ed8a59864556ff1fc7a996e26b"], "statement_hash": "9af3f49dfa69a353a456c0aa2751b844ae492634dd94bd7ac2ae7a38d22121ba"}, "url": "/docs/compare/?release=18.6#18.6-d63d1269e786113b", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-730aec962ef92894", "cves": ["CVE-2026-14662"], "html": "<p>增强 <code>tsvector</code> 和 <code>tsquery</code> 代码对超长值的防护（包括单个词位以及向量/查询的总长度）（Tom Lane）<a href=\"https://postgr.es/c/fe0b5bd6d\">§</a> <a href=\"https://postgr.es/c/8e87bd473\">§</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": ["8e87bd473", "fe0b5bd6d"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "8f281fd686eb18875b2d4525794b394e15f384a5b767df44ee9619280eb6c55c", "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": ["8e87bd473", "fe0b5bd6d"], "source_entry_id": "17.11/changes/010", "db_id": "aa4dcca3c56a82ca052b2bdbc7e68c1b", "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": "e8daa5e986b5139aa334ffb65fe716c9", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e8daa5e986b5139aa334ffb65fe716c9", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "增强 tsvector 和 tsquery 代码对超长值的防护（包括单个词位以及向量/查询的总长度）", "evidence": {"same_day": true, "patch_ids": ["5d937de349e172af32f322b84994627c", "8594911de53a70a64ff7a92a7e2e7410"], "statement_hash": "58ee7f5cd2b407484897fe1a7e956c16ce0212b7ffe535ead9c50c21ba819c1e"}, "url": "/docs/compare/?release=18.6#18.6-774bcf033add5976", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-dd9a429d3ce13500", "cves": ["CVE-2026-14679"], "html": "<p>修复多处错误地假定无需处理超过 <code>FUNC_MAX_ARGS</code> 个函数参数的问题（Tom Lane）<a href=\"https://postgr.es/c/797e3cc4c\">§</a> <a href=\"https://postgr.es/c/8a40f4b09\">§</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": ["797e3cc4c", "8a40f4b09"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "f57d4abf105f0fec4b0d28877da96f907aef7d6bddae32943cf12a3d8be703af", "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": ["797e3cc4c", "8a40f4b09"], "source_entry_id": "17.11/changes/011", "db_id": "349adc6ad9cc12d1c04aad6e3d659917", "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f", "relations": [{"rule": 2, "type": "equivalent", "target": "41c6f110168cdb7324811a04a2654cf2", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}}, {"rule": 2, "type": "equivalent", "target": "4a55b4d9f252330dd0f0f94102631952", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a55b4d9f252330dd0f0f94102631952", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复多处错误地假定无需处理超过 FUNC_MAX_ARGS 个函数参数的问题", "evidence": {"same_day": true, "patch_ids": ["9c4aca692d373e760403997525c9e073", "ea0a783b3715942dc32c661399220cb1"], "statement_hash": "41c4e79daa1ea65508b91d04fa5138fb9c313606a4ceade697072cb89843941f"}, "url": "/docs/compare/?release=18.6#18.6-fe89a6f688a29e60", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ea70ef62a58da283", "cves": ["CVE-2026-14680"], "html": "<p>拒绝从 SQL 调用接受或返回 <code>internal</code> 类型的函数（Tom Lane）<a href=\"https://postgr.es/c/eb9e55297\">§</a> <a href=\"https://postgr.es/c/83d0a083f\">§</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": ["83d0a083f", "eb9e55297"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "ae4171aaf8d9bbcd124f261add6cee148e157d2e18be17150cce5df8f8e0a3d0", "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": ["83d0a083f", "eb9e55297"], "source_entry_id": "17.11/changes/012", "db_id": "42aa2e3353b4536c48a5271f47f0eb90", "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f", "relations": [{"rule": 2, "type": "equivalent", "target": "02bb5a11139923dd7f170a94556495c3", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "02bb5a11139923dd7f170a94556495c3", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "拒绝从 SQL 调用接受或返回 internal 类型的函数", "evidence": {"same_day": true, "patch_ids": ["8b623dad3bf883bcb9bd41023fc8f168", "b94f9935e7be4a2be88c49eae8a6ae70"], "statement_hash": "713f97bceae2187dec2f42b397097077fb7eec20b6eddb9a6fb32f8878d44f9f"}, "url": "/docs/compare/?release=18.6#18.6-a8d1f97d70d85295", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-50a00c5a01592c04", "cves": ["CVE-2026-6469"], "html": "<p>在 <code>ALTER TABLE</code> 重建扩展统计信息对象时保留其所有权（Masahiko Sawada）<a href=\"https://postgr.es/c/75a03c569\">§</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": ["75a03c569"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "b343ca503a0d824e36e767e15a33bd5faea3c4e58b41fa64d84f9b10e771142d", "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": ["75a03c569"], "source_entry_id": "17.11/changes/013", "db_id": "a511c71fb1c56e7bba21699bf176d02f", "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6", "relations": [{"rule": 2, "type": "equivalent", "target": "4ce18d2a1cf23ef6c7ff55c667d59eae", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}}, {"rule": 2, "type": "equivalent", "target": "a45d7275fb35413aaeeb017f13dfbf83", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4ce18d2a1cf23ef6c7ff55c667d59eae", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 ALTER TABLE 重建扩展统计信息对象时保留其所有权", "evidence": {"same_day": true, "patch_ids": ["c847f131eaad282f5fa724ff040f1fc2"], "statement_hash": "855872db5602ac9ec63e8c9b362b906eef0f29c2ae3da9a0473220149fc815a6"}, "url": "/docs/compare/?release=18.6#18.6-c42539c16ee68f2f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-2bafbd49437d6dde", "cves": ["CVE-2026-15741"], "html": "<p>逆解析 <code>EXTRACT()</code> 函数调用时，按需为字段名加引号（Nathan Bossart）<a href=\"https://postgr.es/c/5981fe370\">§</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": ["5981fe370"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "d70a69903555490b6f656724c94b3a0adbc04a328180d90cacd3913e5c170033", "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": ["5981fe370"], "source_entry_id": "17.11/changes/014", "db_id": "9677e1d0e314b1250191bf908cc27099", "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": "57a69063ff0b7f44b253f158536bbc64", "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"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "57a69063ff0b7f44b253f158536bbc64", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "逆解析 EXTRACT() 函数调用时，按需为字段名加引号", "evidence": {"same_day": true, "patch_ids": ["f0b1d31c8ffb5349b650b0e3b88706ad"], "statement_hash": "8fb62033eeb6ede7911fce4b990d20a94bf88226d146867552627bcce9f533ef"}, "url": "/docs/compare/?release=18.6#18.6-323a1fc7b03b6859", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-575634f97737603c", "cves": ["CVE-2026-6470"], "html": "<p>在此前漏检的场景中检查数据类型的 <code>USAGE</code> 权限（Nathan Bossart）<a href=\"https://postgr.es/c/fd6d3e7e9\">§</a> <a href=\"https://postgr.es/c/671359605\">§</a> <a href=\"https://postgr.es/c/d1c8aa0b0\">§</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": ["671359605", "d1c8aa0b0", "fd6d3e7e9"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c9caf2b030187d7cd06db477690c1a9948b3cc6e98cb1da81afc68603aea8eb1", "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": ["671359605", "d1c8aa0b0", "fd6d3e7e9"], "source_entry_id": "17.11/changes/015", "db_id": "e50027af5564cb33c0ec80ab0f86e1a9", "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068", "relations": [{"rule": 2, "type": "equivalent", "target": "56232d6e6345f5c09340b72ed581eb4d", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}}, {"rule": 2, "type": "equivalent", "target": "8c93b6ddad829461b98126755a87488f", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "56232d6e6345f5c09340b72ed581eb4d", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在此前漏检的场景中检查数据类型的 USAGE 权限", "evidence": {"same_day": true, "patch_ids": ["2470df146b9201b14de19f772c90d867", "2de75ceea92e216f0b0f3ec035342d7e", "76d1b8b6ad0cee83e43cc4a88d123867"], "statement_hash": "f6ec51b2de1a066951596511e998a5e51ac29a83e3c8e018df4d6e981ebe7068"}, "url": "/docs/compare/?release=18.6#18.6-0b5cda175039a2c3", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-43977a837123cada", "cves": ["CVE-2026-14666"], "html": "<p>角色发生变更后使依赖角色的缓存计划失效（Ilya Staroverov、Shinya Kato、Nathan Bossart）<a href=\"https://postgr.es/c/1974acf23\">§</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": ["1974acf23"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "db95b8767b3fdb62db67d479cf3d6de2dfd9db45e0c156d1ccffa4b66d024f0b", "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": ["1974acf23"], "source_entry_id": "17.11/changes/016", "db_id": "49941507efa272e723ff0698b2236a6e", "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": "0e200ae2afa3db031ffa07314f2deab2", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0e200ae2afa3db031ffa07314f2deab2", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "角色发生变更后使依赖角色的缓存计划失效", "evidence": {"same_day": true, "patch_ids": ["7a5d6580a542a5467ce64bfd9ad2b724"], "statement_hash": "b27f8aace3b388937c6e28c9f1ede652d42059e6b0a2111846c88a4b39769432"}, "url": "/docs/compare/?release=18.6#18.6-ad01030c7fc964f1", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-1d103f53312d0305", "cves": ["CVE-2026-14681"], "html": "<p>在直接 SSL 连接之后拒绝 GSSEncRequest（Michael Paquier）<a href=\"https://postgr.es/c/067a64d40\">§</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": ["067a64d40"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "7dfebd0245b93195f1e31d3f04137c86b77a8c717e793ea8b7a75b2589d79c08", "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": ["067a64d40"], "source_entry_id": "17.11/changes/017", "db_id": "55da165c3ced2d17689a546cd13a10f8", "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620", "relations": [{"rule": 2, "type": "equivalent", "target": "bdd453999af206604b4ae0c623733bc5", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}}, {"rule": 2, "type": "equivalent", "target": "deae128594614e84894b8e7a7062759f", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "deae128594614e84894b8e7a7062759f", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在直接 SSL 连接之后拒绝 GSSEncRequest", "evidence": {"same_day": true, "patch_ids": ["0a86d0c924c70e8b47408f823a77a964"], "statement_hash": "f08040a4f6b5dfe94a4b30090677fd13c199828e108149421fa23eaa60d5f620"}, "url": "/docs/compare/?release=18.6#18.6-ed40b113af1a65e3", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f319d2c2bdee8718", "cves": ["CVE-2026-14672"], "html": "<p>让模拟的 SCRAM secret 更可信（Nathan Bossart）<a href=\"https://postgr.es/c/dec60e8ad\">§</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": ["dec60e8ad"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "e234a260ae93da3adc54bf5aeceed9efbd11cfe39b1ad1732f19eacd17d41e4e", "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": ["dec60e8ad"], "source_entry_id": "17.11/changes/018", "db_id": "465da641b2ad8e32d9b3eff9044cfd21", "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": "360618cf2b5023ffb07258f47a407319", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "360618cf2b5023ffb07258f47a407319", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "让模拟的 SCRAM secret 更可信", "evidence": {"same_day": true, "patch_ids": ["b915b0f76ef63e3fd030de3a5e4052c7"], "statement_hash": "76daff375fab06e676eed2c7ce655a806a67e546c22e89cce3f2506387c91178"}, "url": "/docs/compare/?release=18.6#18.6-bb742148aa1ab70a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-368d04431d80a7fd", "cves": ["CVE-2026-16241"], "html": "<p>修复 <span>ecpg</span> 应用程序因接收服务器返回的无效 <code>bytea</code> 数据而发生的越界写入（Michael Paquier）<a href=\"https://postgr.es/c/c3c830272\">§</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": ["c3c830272"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "248ee77755f6e301b2165ca0643d1f7f5718db2fb844272d0a7d31fbfed01d01", "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": ["c3c830272"], "source_entry_id": "17.11/changes/019", "db_id": "4fb7c5910a0436ce3e2bb2ab88b25a87", "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": "7393e9b24b9abe3400e3f04577d58cba", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}}, {"rule": 2, "type": "equivalent", "target": "c7e226410c72dad9c39b76d880e2f2a5", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c7e226410c72dad9c39b76d880e2f2a5", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 ecpg 应用程序因接收服务器返回的无效 bytea 数据而发生的越界写入", "evidence": {"same_day": true, "patch_ids": ["eda4e515c03b7210bd33a13cc191c754"], "statement_hash": "ef3db74c8b626f19d33ecc7d3b8e292c1e11cd1089b59edbc38f72bd729fe946"}, "url": "/docs/compare/?release=18.6#18.6-2d9ddb6163eca29a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-7f417b32587acff8", "cves": ["CVE-2025-8714", "CVE-2026-18408"], "html": "<p>不要对 <span>psql</span> 的 <code>\\unrestrict</code> 命令参数执行反引号扩展（Nathan Bossart）<a href=\"https://postgr.es/c/0bfac9e1f\">§</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": ["0bfac9e1f"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "0fcd9304aa4a7758c0fbb2a24b5eb84dfe82f1d90a8751cebdcffe819d246f50", "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": ["0bfac9e1f"], "source_entry_id": "17.11/changes/020", "db_id": "56ffc2f53e9a050b5de71327d3cef06f", "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b", "relations": [{"rule": 2, "type": "equivalent", "target": "36ccc2b6f4b04376dc6bf74ae3d2f6de", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}, {"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": "7a747536f32a440151dcb2b04ac4e968", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "36ccc2b6f4b04376dc6bf74ae3d2f6de", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "不要对 psql 的 \\unrestrict 命令参数执行反引号扩展", "evidence": {"same_day": true, "patch_ids": ["061af71132ccdfb4f1bbeed893be595c"], "statement_hash": "3a14df9ccfd7372d3dac771a23f52e41c3376ea71cf1946e2c9e95f97d2b5d3b"}, "url": "/docs/compare/?release=18.6#18.6-2227ccac7ef5135c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f6aaa44b60ea5479", "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/c2b16f5d4\">§</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": ["c2b16f5d4"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "b69b3cc938ddb8801e1017e3d9249f848f7c98fe1e49ce6583576842ef58e7be", "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": ["c2b16f5d4"], "source_entry_id": "17.11/changes/021", "db_id": "63fc39b2fe0a2553fb195650ae6915cb", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "f91d32a8c03492afba6d7ba835690a32", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f91d32a8c03492afba6d7ba835690a32", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "移除 pg_dump 关于 pg_proc.protrftypes 不可能包含超过 FUNC_MAX_ARGS 个条目的假设", "evidence": {"same_day": true, "patch_ids": ["185500373cc27d3d610be991561eb522"], "statement_hash": "0503fb690855a4bf21f955b8b62af71583c422a4e69c4c228faea1f3e3f8b84b"}, "url": "/docs/compare/?release=18.6#18.6-d40f8de8e21a4c6f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-58243a045a5d2555", "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/2d78c34f8\">§</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": ["2d78c34f8"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c59b9a4c9f518a56661f6980580f4e6f93d911e4f39ce2ce6c335e80efe0d521", "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": ["2d78c34f8"], "source_entry_id": "17.11/changes/022", "db_id": "59a40e9cc2306d6e115d10b26c7b6d9e", "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": "45822fd5bc04f9bc7cd5310ebd922c61", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "45822fd5bc04f9bc7cd5310ebd922c61", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "增强 PL/Perl 对 “tied” Perl 数组和 hash 的防护", "evidence": {"same_day": true, "patch_ids": ["5749c355b8bd5a5f2a0f8679d48902f9"], "statement_hash": "e681b36f925829491afb4aaf1536bea68f7b5021f6e0ea3fdb126ffd69367fa0"}, "url": "/docs/compare/?release=18.6#18.6-6d183d795dd4fadd", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-7026dc1b76714418", "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/b56cc7deb\">§</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": ["b56cc7deb"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "13f2c6dea82fedf9149d8a10b3ebcc76189f78ce75fd185d84fcbea134962fcb", "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": ["b56cc7deb"], "source_entry_id": "17.11/changes/023", "db_id": "a110c06ad7fd7a9c4f063b051daf6836", "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4", "relations": [{"rule": 2, "type": "equivalent", "target": "238a2ce678961ff0ad08154da3915f04", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}}, {"rule": 2, "type": "equivalent", "target": "4cc223998ff4d5b7cf50efd21e2284b1", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "238a2ce678961ff0ad08154da3915f04", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 PL/Perl 和 PL/Tcl 内存分配计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["551a41f04d69f180135194c24f4907fb"], "statement_hash": "b56f55f83d652a2d7354185c8891454536092c27a727aecc0b21ea91949626f4"}, "url": "/docs/compare/?release=18.6#18.6-16cede7597f41368", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ee34ba8ba8f4fa3d", "cves": ["CVE-2026-14673"], "html": "<p>确保 <code>contrib/amcheck</code> 函数在执行索引表达式前限制 <code>search_path</code>（Noah Misch）<a href=\"https://postgr.es/c/e41c72aff\">§</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": ["e41c72aff"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "a8007a40ebe9e29c26d395f6106499df5eab5cae15827adc996ea56fab8e3b88", "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": ["e41c72aff"], "source_entry_id": "17.11/changes/024", "db_id": "2c238928eeda3326738ac133c3580936", "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "cb5c4637df879fb88877a760ee0058f9", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb5c4637df879fb88877a760ee0058f9", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "确保 contrib/amcheck 函数在执行索引表达式前限制 search_path", "evidence": {"same_day": true, "patch_ids": ["5c909624ee89c6ad2350bdeebaf3e414"], "statement_hash": "659077ecd2d4227788959afddf19d4e415449e3189a19ba0beb867937958bff6"}, "url": "/docs/compare/?release=18.6#18.6-64ea1ee53902ffcc", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8ee281616fb9fd49", "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/c4d51b627\">§</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": ["c4d51b627"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "9e4881f79518e1eea0310ecee55fe49f8fdc9c422154651bfd317731be7a452a", "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": ["c4d51b627"], "source_entry_id": "17.11/changes/025", "db_id": "6cca8c3102c334bca04243a3114f48fe", "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5", "relations": [{"rule": 2, "type": "equivalent", "target": "1e5eda106e8fd11472d74f91bffc2ff0", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}}, {"rule": 2, "type": "equivalent", "target": "24d49d08ad8dddbb2e9b85283621ee67", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1e5eda106e8fd11472d74f91bffc2ff0", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/fuzzystrmatch 的 levenshtein() 和 levenshtein_less_equal() 函数中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["b6a4ec5efdc01505934fe024a8a4270f"], "statement_hash": "f6379cf73e457381cf432fa9add17bfe91f2d96391011c3fe8081ecbbd13eff5"}, "url": "/docs/compare/?release=18.6#18.6-9f4c551d8e885121", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-c47a9a8863c0fc6e", "cves": ["CVE-2026-14676"], "html": "<p>修复 <code>contrib/pg_stat_statements</code> 中的缓冲区越界写入（Álvaro Herrera）</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": [], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "ca48f4077f77c6c16b1f3b54ed2340924f89b69f65b4efb2a69cd24757c7f56b", "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": ["1e2795dde"], "source_entry_id": "17.11/changes/026", "db_id": "d7011cf7f02dec0d6f5320d50f1060d7", "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": "d8f3c95effa66c9d7648ed329303a70e", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}, {"rule": 2, "type": "equivalent", "target": "e84c1b71b1c15bae4e222a2f72d84864", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e84c1b71b1c15bae4e222a2f72d84864", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/pg_stat_statements 中的缓冲区越界写入", "evidence": {"same_day": true, "patch_ids": ["ff92e3cbebc5005b0bef45f9f1d8d30a"], "statement_hash": "9ccd331655eef445554d4bf3ba5a781e3ca80ec62b9fce48b4cf6f7177789b22"}, "url": "/docs/compare/?release=18.6#18.6-c2bc95cc72b98750", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-caca197ce0ba4b3f", "cves": ["CVE-2026-14678"], "html": "<p>修复 <code>contrib/pg_trgm</code> 的 GiST picksplit 函数中的数据类型错误（Heikki Linnakangas）<a href=\"https://postgr.es/c/1af08af69\">§</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": ["1af08af69"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "fee62153a84717bd66c9a2e86069663878d5ffec8dc78dd45171f81608712b1a", "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": ["1af08af69"], "source_entry_id": "17.11/changes/027", "db_id": "007e7b20002c9154a7b78500dad11fde", "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474", "relations": [{"rule": 2, "type": "equivalent", "target": "0bc10887e786dd035f4571e42ea848b8", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0bc10887e786dd035f4571e42ea848b8", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/pg_trgm 的 GiST picksplit 函数中的数据类型错误", "evidence": {"same_day": true, "patch_ids": ["e6003b6617841df26303992ba1215f03"], "statement_hash": "b75b9d4c297e71b80fedfe6eeb16417da2cd09f4baa7f5d2b7d3f4d2495f3474"}, "url": "/docs/compare/?release=18.6#18.6-b960de4f8267096f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-9677b8014f265a17", "cves": ["CVE-2026-14671"], "html": "<p>移除 <code>contrib/refint</code> 中的计划缓存（Ayush Tiwari）<a href=\"https://postgr.es/c/66a5146dc\">§</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": ["66a5146dc"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "52c4cc3dc614844c489b451015bc81f1f2dd42292c727b471d2a8d87081c49ba", "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": ["66a5146dc"], "source_entry_id": "17.11/changes/028", "db_id": "aca3bdc694388071f82dcc5eb7deb70d", "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": "139a1ada6baf2bae757b6a1a97ee7f41", "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": "ddbe7d30f92efca35dca583745e7a91a", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}}], "version": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "139a1ada6baf2bae757b6a1a97ee7f41", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "移除 contrib/refint 中的计划缓存", "evidence": {"same_day": true, "patch_ids": ["1a32666836cb434aea5b3cbd8282c9f7"], "statement_hash": "b8e6fe77ce440b33c793882e33b84a13458e57df19432239a74f731dbb6496f9"}, "url": "/docs/compare/?release=18.6#18.6-2fe39251a9e1874e", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3e22bb5ab29aa62e", "cves": [], "html": "<p>修复重新扫描异步 Append 计划节点时异步读取处理不当的问题（Alexander Korotkov、Gleb Kashkin、Etsuro Fujita）<a href=\"https://postgr.es/c/3704870b2\">§</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": ["3704870b2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "cee4208dfae98b703b22ff8efe185c1821be0cb02e1215e5dfa484969b251c11", "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": ["3704870b2"], "source_entry_id": "17.11/changes/029", "db_id": "308bf9c42c99219ddb3217fdf72c3cc2", "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156", "relations": [{"rule": 2, "type": "equivalent", "target": "14a676aedb1f7035485b3957b6cdb1d3", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "14a676aedb1f7035485b3957b6cdb1d3", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复重新扫描异步 Append 计划节点时异步读取处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["9c0723170572c08606a9295f60002d24"], "statement_hash": "63920dc25b666a17f0abbbd9dbd5d73e39729a95414c23162e2eef52f54e0156"}, "url": "/docs/compare/?release=18.6#18.6-ac95828b13f18d05", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ae4f5cd546a7dc28", "cves": [], "html": "<p>修复 RANGE 分区表的分区剪枝错误（David Rowley）<a href=\"https://postgr.es/c/31f2acde5\">§</a></p>\n<p>在某些情况下，本不应跳过的 DEFAULT 分区会被跳过，这可能导致查询结果中缺少行。</p>", "text": "修复 RANGE 分区表的分区剪枝错误（David Rowley）§ 在某些情况下，本不应跳过的 DEFAULT 分区会被跳过，这可能导致查询结果中缺少行。", "title": "修复 RANGE 分区表的分区剪枝错误", "commits": ["31f2acde5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "49a261d1bad9a876ceb1047967d2ad2fb36b3e1348f6947c949ecf3ba15c31af", "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": ["31f2acde5"], "source_entry_id": "17.11/changes/030", "db_id": "199c05dd5ca242a1207113d841920d91", "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23", "relations": [{"rule": 2, "type": "equivalent", "target": "128f5b0ef464d5fb3f9f8de9b62b5b0c", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "128f5b0ef464d5fb3f9f8de9b62b5b0c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 RANGE 分区表的分区剪枝错误", "evidence": {"same_day": true, "patch_ids": ["07f80c898c23577b927785baf5699ba6"], "statement_hash": "e3e0e32dc70a802e15316cd723301dfb9165a361cfaaa3eaebb6138320570c23"}, "url": "/docs/compare/?release=18.6#18.6-1c1bf5522234d430", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-0179d9549f7c629e", "cves": [], "html": "<p>修复规划器对 <code><em><code>value</code></em> IN (<em><code>array</code></em>)</code> 表达式所做的可空性和严格性检查（Ayush Tiwari）<a href=\"https://postgr.es/c/26d6b7dc9\">§</a></p>\n<p>只有在已知数组操作数非空时，这些检查才应成功，但此前遗漏了这项考虑，因而可能应用本不该采用的优化。如果数组实际为空，这可能导致查询结果错误。</p>", "text": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查（Ayush Tiwari）§ 只有在已知数组操作数非空时，这些检查才应成功，但此前遗漏了这项考虑，因而可能应用本不该采用的优化。如果数组实际为空，这可能导致查询结果错误。", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "commits": ["26d6b7dc9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "823d5a484e15b4b5bf44314b5c2ae24d9cec0e9be4afe1d31de6980f3782060a", "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": ["26d6b7dc9"], "source_entry_id": "17.11/changes/031", "db_id": "53fcc801e2a78a55196f6122abbd7a01", "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": "8c22785dc1e64a0a8f07acd08ee8695d", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}}, {"rule": 2, "type": "equivalent", "target": "ad3ee3744d12ed87e41b743df908a973", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ad3ee3744d12ed87e41b743df908a973", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复规划器对 value IN (array) 表达式所做的可空性和严格性检查", "evidence": {"same_day": true, "patch_ids": ["df435503db83a1e14391340c77582135"], "statement_hash": "2d92bc3cfa84bb56afc5d1f1b3a42de958d5476b1ad5c8eeac46ecc8e878ca25"}, "url": "/docs/compare/?release=18.6#18.6-7f07d942a2dc7fb3", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8ac984b046b9e22d", "cves": [], "html": "<p>修复错误的连接移除逻辑（Matheus Alcantara、Richard Guo）<a href=\"https://postgr.es/c/cdcec567d\">§</a> <a href=\"https://postgr.es/c/b308eb366\">§</a></p>\n<p>在边缘情况下，来自外连接可空侧内部的常量输出值可能在应替换为 NULL 时未被替换。</p>", "text": "修复错误的连接移除逻辑（Matheus Alcantara、Richard Guo）§ § 在边缘情况下，来自外连接可空侧内部的常量输出值可能在应替换为 NULL 时未被替换。", "title": "修复错误的连接移除逻辑", "commits": ["b308eb366", "cdcec567d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "f147f6d6798bd9d42cab88c16b04ca61a87728d1a38310f0f1bacfe10a8906ef", "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": ["b308eb366", "cdcec567d"], "source_entry_id": "17.11/changes/032", "db_id": "d46715d5dbb4902eaecdcfe45967fd74", "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d", "relations": [{"rule": 2, "type": "equivalent", "target": "4f181419572dec31c7f8a0612a21f555", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}}, {"rule": 2, "type": "equivalent", "target": "86a9304ee897d487f2f08fdf6cd5a298", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4f181419572dec31c7f8a0612a21f555", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复错误的连接移除逻辑", "evidence": {"same_day": true, "patch_ids": ["1e12745a4a72c22047b3d9e8c13b8fb6", "dabc0be4437bfea2c9473e4b0cbd7ede"], "statement_hash": "66372d30c157ceb2f0f88f6e5275d315accebe006eebab6de4089f55d7597b5d"}, "url": "/docs/compare/?release=18.6#18.6-8445b59319518d4d", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f6f35a5c24f27bf2", "cves": [], "html": "<p>补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查（Andrei Lepikhov、Tom Lane）<a href=\"https://postgr.es/c/19152e3c2\">§</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": ["19152e3c2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "ed1b083f70dd885d06cba5c3e3297dea257d7bf0de2cbfb69769fe833135afbc", "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": ["19152e3c2"], "source_entry_id": "17.11/changes/033", "db_id": "4de85f9df67410e6ee11d61a4934c2dd", "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9", "relations": [{"rule": 2, "type": "equivalent", "target": "8f291081d50c65368eaa75ffccbfb916", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}}, {"rule": 2, "type": "equivalent", "target": "b401153415d6c7495b085ccde803a0bc", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b401153415d6c7495b085ccde803a0bc", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "补上对容器数据类型（数组、复合类型、范围类型）的等值比较是否支持 hash 运算的检查", "evidence": {"same_day": true, "patch_ids": ["f162e2041e91d006f552b603fcf44b0b"], "statement_hash": "b7a7a5b48bc59370b10583c89b44b2318a828907126bcf1f7993377c9815a9e9"}, "url": "/docs/compare/?release=18.6#18.6-7bb42265442bdc48", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-c7bededba93f5fa4", "cves": [], "html": "<p>修复 <code>COUNT</code> 窗口函数的错误优化：这些函数带有 <code>EXCLUDE</code> 子句或缺少 <code>ORDER BY</code>（Chengpeng Yan、David Rowley）<a href=\"https://postgr.es/c/be63b285e\">§</a></p>\n<p>这些窗口函数在不应被视为单调函数的情况下被当成单调函数处理，因而可能计算出错误答案。</p>", "text": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY（Chengpeng Yan、David Rowley）§ 这些窗口函数在不应被视为单调函数的情况下被当成单调函数处理，因而可能计算出错误答案。", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "commits": ["be63b285e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "6de80c9b10cf3770ebaace3062e8410a2e5aabc7e2c93e7048cd8a74d929c839", "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": ["be63b285e"], "source_entry_id": "17.11/changes/034", "db_id": "40a7c9c1b0ba3bb62e973869e4377d48", "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": "ddf83605232b0de3c591e0caa7a88605", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ddf83605232b0de3c591e0caa7a88605", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 COUNT 窗口函数的错误优化：这些函数带有 EXCLUDE 子句或缺少 ORDER BY", "evidence": {"same_day": true, "patch_ids": ["28e51714721f6a824be654de7f6357bc"], "statement_hash": "6285e56236281de47720490e02f655ef1c492df7841c118242cef65b8c828aa3"}, "url": "/docs/compare/?release=18.6#18.6-88417491cf3856e5", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-aa9ce164073e6fc7", "cves": [], "html": "<p>修复 <code>ALTER COLUMN ... DROP EXPRESSION</code> 在存在多级分区时无法正常工作的问题（Alberto Piai）<a href=\"https://postgr.es/c/18006c1bd\">§</a></p>", "text": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题（Alberto Piai）§", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "commits": ["18006c1bd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "fdb7bed2467064d6055ef15e2155f6cbef11a4b750d667bebbaa1a3e5f3e6f80", "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": ["18006c1bd"], "source_entry_id": "17.11/changes/035", "db_id": "644f498dfc902b8478cebc735019df44", "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": "481ba0dce2331491936d08937b509331", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "481ba0dce2331491936d08937b509331", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 ALTER COLUMN ... DROP EXPRESSION 在存在多级分区时无法正常工作的问题", "evidence": {"same_day": true, "patch_ids": ["eb3e04d63883499b6a42a7149830218b"], "statement_hash": "a9426a4c530fee747811532ad11a1324dac241e961f27f70d5a140fa9110019f"}, "url": "/docs/compare/?release=18.6#18.6-14a8792e9a6b6b0c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-82cead6257dcd50a", "cves": [], "html": "<p>修复为排他约束索引附加分区的问题（Japin Li）<a href=\"https://postgr.es/c/1d6c654c8\">§</a></p>\n<p>值得注意的是，这一疏漏破坏了分区排他约束的导出/恢复。</p>", "text": "修复为排他约束索引附加分区的问题（Japin Li）§ 值得注意的是，这一疏漏破坏了分区排他约束的导出/恢复。", "title": "修复为排他约束索引附加分区的问题", "commits": ["1d6c654c8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "63d1e468487adae52c7f6fb6b69260eceaa16a0e63714653cd0ed8ce8013ae13", "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": ["1d6c654c8"], "source_entry_id": "17.11/changes/036", "db_id": "93afcbc160733050810dc157756fa912", "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab", "relations": [{"rule": 2, "type": "equivalent", "target": "5c4182efd803f6d6d6537714c7bd42b7", "evidence": {"same_day": true, "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5c4182efd803f6d6d6537714c7bd42b7", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复为排他约束索引附加分区的问题", "evidence": {"same_day": true, "patch_ids": ["32801b307162bd0744d51d9ca6c96a29"], "statement_hash": "a43e644386fbc7d5b0bbee11dd34413bc9867bd3e1172c28e5ef212327072aab"}, "url": "/docs/compare/?release=18.6#18.6-e8b58d1d4a2ada71", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-d462466d836ceca5", "cves": [], "html": "<p>禁止将规则重命名为 <code>_RETURN</code>（Tom Lane）<a href=\"https://postgr.es/c/e99fb3262\">§</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": ["e99fb3262"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "f5edb2ee09b38edc6529b8fbfc681762178761259f48d639c03cc1302f940ad9", "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": ["e99fb3262"], "source_entry_id": "17.11/changes/037", "db_id": "9cce45b7be8c80c09abfde1a981ce88a", "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": "7fcd70e80ad8fcb50e2d2e784c2f096a", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7fcd70e80ad8fcb50e2d2e784c2f096a", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "禁止将规则重命名为 _RETURN", "evidence": {"same_day": true, "patch_ids": ["f0349091818c90f9895303f6c726eb25"], "statement_hash": "b2ef150a28cd11b0518b82c8e6876301cd0c2355969ae6477b6742e468bce526"}, "url": "/docs/compare/?release=18.6#18.6-7007f0ab50735ceb", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3e140cc33315fc88", "cves": [], "html": "<p>修复 <code>DROP OWNED BY</code> 中角色成员资格授权未释放锁的问题（Jeff Davis）<a href=\"https://postgr.es/c/25e54cec7\">§</a></p>\n<p>这一疏漏会产生警告消息，随后成员资格授权上的锁会一直保留到事务结束。</p>", "text": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题（Jeff Davis）§ 这一疏漏会产生警告消息，随后成员资格授权上的锁会一直保留到事务结束。", "title": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题", "commits": ["25e54cec7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "59a05a9bc2ca3c34ecdcb3aa6d6f22b6869e15248b1531518a147ab7d03eb571", "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": ["25e54cec7"], "source_entry_id": "17.11/changes/038", "db_id": "f38a9d64af080b972d55091afa2b7167", "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": "5ac990e6d8ae4f5c9facf9044c23d6c9", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ac990e6d8ae4f5c9facf9044c23d6c9", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 DROP OWNED BY 中角色成员资格授权未释放锁的问题", "evidence": {"same_day": true, "patch_ids": ["366a54c27360ab3839f71c858dc847c7"], "statement_hash": "c3d8dda4db627322e27465f2a355faabf29a98b7c4ddfd870cf46d4fa9b704f9"}, "url": "/docs/compare/?release=18.6#18.6-b6f7587292fb4dc6", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-df483e133aa49926", "cves": [], "html": "<p>修复 <code>EXPLAIN</code> 在逆解析 <code>SQL/JSON</code> 聚合时失败的问题（Richard Guo）<a href=\"https://postgr.es/c/dcda1f07d\">§</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": ["dcda1f07d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "4efe05a3106b28a4fe5a7dcb47b44c2d7a4e5ff745ca208c58dfbb535ee87289", "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": ["dcda1f07d"], "source_entry_id": "17.11/changes/039", "db_id": "76da1bf58091a36c27ddeecb07c72440", "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2", "relations": [{"rule": 2, "type": "equivalent", "target": "9796917e37d7742de7735ae20dbc9e8c", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}}, {"rule": 2, "type": "equivalent", "target": "9bd2c80a3ef9ebab0fa8c15b085cb9d4", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9bd2c80a3ef9ebab0fa8c15b085cb9d4", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 EXPLAIN 在逆解析 SQL/JSON 聚合时失败的问题", "evidence": {"same_day": true, "patch_ids": ["60000a6e62ddc3ae0c3b7ef80802ee71"], "statement_hash": "6a7283c8b92d0663e05728d26d406516f01a522c2433821f328a072f69e8d6c2"}, "url": "/docs/compare/?release=18.6#18.6-604b807a12c59a87", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-5f6921ca5abdfb75", "cves": [], "html": "<p>修复 <code>REINDEX CONCURRENTLY</code> 与可延迟唯一约束一起使用时的问题（Nitin Motiani）<a href=\"https://postgr.es/c/28269fed6\">§</a></p>\n<p>在 <code>REINDEX CONCURRENTLY</code> 期间创建的临时索引副本被错误地标记为强制立即满足唯一性，导致虚假的约束违例报告。</p>", "text": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题（Nitin Motiani）§ 在 REINDEX CONCURRENTLY 期间创建的临时索引副本被错误地标记为强制立即满足唯一性，导致虚假的约束违例报告。", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "commits": ["28269fed6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "3f188b9983730ccd16b059ec390b4fce171aaf6d02f675471061a2d81aa680cb", "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": ["28269fed6"], "source_entry_id": "17.11/changes/040", "db_id": "cb00c5a92a3128a4094b82f1499aa619", "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e", "relations": [{"rule": 2, "type": "equivalent", "target": "69bafedd5508b393bd3564acfc03f161", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}}, {"rule": 2, "type": "equivalent", "target": "8c14bd88ba60ce9fdffdf9d72dd6da15", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "69bafedd5508b393bd3564acfc03f161", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 REINDEX CONCURRENTLY 与可延迟唯一约束一起使用时的问题", "evidence": {"same_day": true, "patch_ids": ["aa2c8d3131ec8ded09af11b556aef077"], "statement_hash": "783702d713b28b6565831a41c965e36e4f1f58ce03f4dd140c2304c8f02a319e"}, "url": "/docs/compare/?release=18.6#18.6-8283ac4f7a0c7e8e", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8557fc5fb2204540", "cves": [], "html": "<p>修复 <code>to_date()</code> 对本地化月份名和星期名的匹配（Heikki Linnakangas）<a href=\"https://postgr.es/c/8acfaa12a\">§</a></p>\n<p>当大小写折叠改变字符串的字节长度时，匹配逻辑会出现错误行为。</p>", "text": "修复 to_date() 对本地化月份名和星期名的匹配（Heikki Linnakangas）§ 当大小写折叠改变字符串的字节长度时，匹配逻辑会出现错误行为。", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "commits": ["8acfaa12a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "348e3f6e7d65bcfa35e478707a8ff7f2a921b6fad5c9c645a9afc3aba7b4bad2", "section_path": ["变更"], "commit_groups": [["011384ba4", "0de744cd5", "49a712f32", "55ea76426", "8acfaa12a", "b594efe52", "fd2b89854"]], "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", "8acfaa12a", "b594efe52", "fd2b89854"], "source_commits": ["8acfaa12a"], "source_entry_id": "17.11/changes/041", "db_id": "b0d8986fede0f1216361d5a43a076e4e", "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da", "relations": [{"rule": 2, "type": "equivalent", "target": "0800233346f3a252c62d9a6f579d5573", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "equivalent", "target": "08bd69e7cd8f7b8bd4623958f924ac19", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "equivalent", "target": "d3800c6695b429dd746c574f0d0d93e5", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}, {"rule": 2, "type": "related", "target": "eb74da46a95f0db0c15adface2feaffa", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "eb74da46a95f0db0c15adface2feaffa", "kind": "related", "version": "18.6", "label": "18.6", "title": "修复 to_date() 对本地化月份名和星期名的匹配", "evidence": {"same_day": true, "patch_ids": ["b8ca654311e23485845960b9d01e76fc"], "statement_hash": "ef6d4c6554fba5da9f815beec3f0b6e84e2334ba9bd093035db08b8e3c61e1da"}, "url": "/docs/compare/?release=18.6#18.6-937d0b3149314116", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}, {"db_id": "08bd69e7cd8f7b8bd4623958f924ac19", "kind": "equivalent", "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": "equivalent", "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": "equivalent", "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": "17.11-ed1426e8e931d4ba", "cves": [], "html": "<p>修复谚文 U+11A7 (TBASE) 的 NFC 重组错误（Diego Frias、Michael Paquier）<a href=\"https://postgr.es/c/0c9cbbfb5\">§</a></p>\n<p>该字符被当作有效的 T 音节，但实际上并非如此，因此在规范化过程中被悄然吞掉。</p>", "text": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误（Diego Frias、Michael Paquier）§ 该字符被当作有效的 T 音节，但实际上并非如此，因此在规范化过程中被悄然吞掉。", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "commits": ["0c9cbbfb5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "241cb4b168670c1d28f9f1ac0fe24db0eb422b121b343451a6ba6865e0e9e9f2", "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": ["0c9cbbfb5"], "source_entry_id": "17.11/changes/042", "db_id": "955b29dab0dd740875781e1df1992bdc", "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717", "relations": [{"rule": 2, "type": "equivalent", "target": "3a6050c2cb2fe8b496eaa4963a657d6a", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}}, {"rule": 2, "type": "equivalent", "target": "3ca62c531cc3952831a57b828ba3be6f", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a6050c2cb2fe8b496eaa4963a657d6a", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复谚文 U+11A7 (TBASE) 的 NFC 重组错误", "evidence": {"same_day": true, "patch_ids": ["725250db9eb55dab240d380ece2a835b"], "statement_hash": "0790cf6e3b0bbc225a449fee5cfdf5d70b4c6b23cc6777393156d83479c1c717"}, "url": "/docs/compare/?release=18.6#18.6-bad72301bf213a01", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-a4695342e5fc0fc7", "cves": [], "html": "<p>避免不区分大小写的 <code>synonym</code> 词典可能截断输出词位（Jeff Davis）<a href=\"https://postgr.es/c/3805641cb\">§</a></p>\n<p>如果折叠为小写增加了词位的字节长度，输出时会错误地将其截断为原来的字节长度。</p>", "text": "避免不区分大小写的 synonym 词典可能截断输出词位（Jeff Davis）§ 如果折叠为小写增加了词位的字节长度，输出时会错误地将其截断为原来的字节长度。", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "commits": ["3805641cb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "66e2b6adec42f13c510c1db797df58f5492f8a61a733f418ff93abfdf900b2c1", "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": ["3805641cb"], "source_entry_id": "17.11/changes/043", "db_id": "a4a88f042e4bc74a3646ee98fc6e3a95", "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": "347d8e16786f9262348eddb4e4ab7132", "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": "ae43518b0809db4841928b42a3de5142", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "347d8e16786f9262348eddb4e4ab7132", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免不区分大小写的 synonym 词典可能截断输出词位", "evidence": {"same_day": true, "patch_ids": ["751e547292fa99c95c843d27d6c9593a"], "statement_hash": "c66911e6e36c7126e1b585143d9e9b87d38db4e29cfb38c6987eff4e2c4f70d3"}, "url": "/docs/compare/?release=18.6#18.6-3c978527782bcd11", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-650fe2adca4c15c7", "cves": [], "html": "<p>增强大小写转换逻辑对截断 UTF-8 字符的防护（Jeff Davis）<a href=\"https://postgr.es/c/5e78ebca5\">§</a></p>", "text": "增强大小写转换逻辑对截断 UTF-8 字符的防护（Jeff Davis）§", "title": "增强大小写转换逻辑对截断 UTF-8 字符的防护", "commits": ["5e78ebca5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "48a51008dbe99f8b52625a5ae5387900f6f57b45d11f312d8b6b0bbfee67b74e", "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": ["5e78ebca5"], "source_entry_id": "17.11/changes/044", "db_id": "6587fa053296846f315df1024b486ffb", "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59", "relations": [{"rule": 2, "type": "equivalent", "target": "fbf07b5b0ddd47273177153e01d4ca58", "evidence": {"same_day": true, "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "fbf07b5b0ddd47273177153e01d4ca58", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "增强大小写转换逻辑对截断 UTF-8 字符的防护", "evidence": {"same_day": true, "patch_ids": ["70ade08782c5c0086629edb156a1a000"], "statement_hash": "b8ea4712aa3d1f59707ea58deb088497b6eb664982552c1833b1fdb40b14fc59"}, "url": "/docs/compare/?release=18.6#18.6-fcede1358593efe6", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-f5ccad03da59d5de", "cves": [], "html": "<p>修复 <code>hash_record_extended()</code> 中的拼写错误（Man Zeng）<a href=\"https://postgr.es/c/203e238bb\">§</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": ["203e238bb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "0e5e11d9cc03c9dcc0a06a3b37befd2adc81d3578abd89ed14cf31e24e75a290", "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": ["203e238bb"], "source_entry_id": "17.11/changes/045", "db_id": "5f9c74e8a3fc194bfa4ae79b3e4f07c7", "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30", "relations": [{"rule": 2, "type": "equivalent", "target": "1a54434973bf348ac56bbd357db25e7a", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}, {"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": "ece2673fe4b30003bf5bf840a25f59a4", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1a54434973bf348ac56bbd357db25e7a", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 hash_record_extended() 中的拼写错误", "evidence": {"same_day": true, "patch_ids": ["29a84f83d9835258ff987caab51900d5"], "statement_hash": "6a481541d5459f5a423fe86368ee4362d85dac47eaf33158755dd903beff8a30"}, "url": "/docs/compare/?release=18.6#18.6-07aee184fcf9a835", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-a3d6c74423b0a5d4", "cves": [], "html": "<p>修复 <code>pg_get_publication_tables()</code> 在可发布表被并发删除时失败的问题（Bharath Rupireddy）<a href=\"https://postgr.es/c/dcbc96685\">§</a></p>", "text": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题（Bharath Rupireddy）§", "title": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题", "commits": ["dcbc96685"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "82abf2597393ae8e291fc69cbec3681b2e311d999987c9bf58dc3ae0d65aa0ea", "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": ["dcbc96685"], "source_entry_id": "17.11/changes/046", "db_id": "e740f6073746bb56668a4a47edba21d2", "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": "5cf6a04270abb8d2d149dfad435adf07", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5cf6a04270abb8d2d149dfad435adf07", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 pg_get_publication_tables() 在可发布表被并发删除时失败的问题", "evidence": {"same_day": true, "patch_ids": ["d3e55b796cea940a071bce62c2044e17"], "statement_hash": "ab1fb78f736632c66a87ee6397f802a5788855b6c355948e078a57aaab77b53e"}, "url": "/docs/compare/?release=18.6#18.6-07cb6565704cd80c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f0697d05fabe6ce7", "cves": [], "html": "<p>防止 <code>satisfies_hash_partition()</code> 在使用 <code>VARIADIC NULL</code> 时崩溃（Robert Haas）<a href=\"https://postgr.es/c/52af6fef4\">§</a></p>", "text": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃（Robert Haas）§", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "commits": ["52af6fef4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "a740d2584054edcb559e6e4a8b544b1d869f876c36c7e7b2f26f6fd29d0a1bc1", "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": ["52af6fef4"], "source_entry_id": "17.11/changes/047", "db_id": "393be0bc06aa5c29057eb4def7239bd8", "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": "588ad857d225574ba2a655f6d141dfd0", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}, {"rule": 2, "type": "equivalent", "target": "aca7b7cc0c6297fb6f870b60ad6c6eb2", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "aca7b7cc0c6297fb6f870b60ad6c6eb2", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "防止 satisfies_hash_partition() 在使用 VARIADIC NULL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["a1fff8ec6956e6fe697219d698fc333c"], "statement_hash": "2c10eabfd2357642afd00af080282da33e338699d23c4fd63ebce1ed6b5d3de6"}, "url": "/docs/compare/?release=18.6#18.6-8e6a8684fc76928f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-39600e2a322b65b2", "cves": [], "html": "<p>使 <code>tsvector_filter()</code> 及相关函数以更清晰且一致的方式报告无效权重错误（Ewan Young）<a href=\"https://postgr.es/c/0626fbfeb\">§</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": ["0626fbfeb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "3d9467190f4f836c7fff815a907772cef40d1acd40ce980ec5edeb0cfe0c2574", "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": ["0626fbfeb"], "source_entry_id": "17.11/changes/048", "db_id": "4d393fd29403237b560622e62e4ee4e1", "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": "7d5a91e54ac5103d6bf03024f3af935e", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7d5a91e54ac5103d6bf03024f3af935e", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "使 tsvector_filter() 及相关函数以更清晰且一致的方式报告无效权重错误", "evidence": {"same_day": true, "patch_ids": ["108ef859ecda6eaa371bc79609379d31"], "statement_hash": "b23812182f466ab2843cf43ee7c0e1ecacecfe15dece91513947714713458af8"}, "url": "/docs/compare/?release=18.6#18.6-9981c3dd5925e5fe", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-aea52062a31be5cf", "cves": [], "html": "<p>修复 <code>xpath()</code> 对命名空间节点处理不当的问题（Michael Paquier）<a href=\"https://postgr.es/c/6c08cbb7a\">§</a> <a href=\"https://postgr.es/c/940916549\">§</a></p>\n<p>此修复避免了意外的 <span>“<span>could not copy node</span>”</span> 错误。</p>", "text": "修复 xpath() 对命名空间节点处理不当的问题（Michael Paquier）§ § 此修复避免了意外的 “could not copy node” 错误。", "title": "修复 xpath() 对命名空间节点处理不当的问题", "commits": ["6c08cbb7a", "940916549"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "3da81505d192ba36c6aad7605ecf403ed2f7cca793a8b78dd2ad9c1cdc52ec2f", "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": ["6c08cbb7a", "940916549"], "source_entry_id": "17.11/changes/049", "db_id": "a3cd7c73a5609ef9df5a2f2035307742", "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37", "relations": [{"rule": 2, "type": "equivalent", "target": "9d61a6c023f441c2a3883f44804564ca", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9d61a6c023f441c2a3883f44804564ca", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 xpath() 对命名空间节点处理不当的问题", "evidence": {"same_day": true, "patch_ids": ["702367d070cdeca227ba0e4197a518e9", "7df9ed5e8663765f5ca836c89d33f03d"], "statement_hash": "2ab954d63190bf0ecdc409c287a734a5049667a3d9db9dc5337f82a35275db37"}, "url": "/docs/compare/?release=18.6#18.6-a9563797105c5be3", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3a52211bf75efb3d", "cves": [], "html": "<p>修复 <code>jsonpath</code> 的 <code>.decimal</code> 方法对无效精度或小数位数抛出硬错误的问题（Ewan Young）<a href=\"https://postgr.es/c/ab35b8d25\">§</a> <a href=\"https://postgr.es/c/c768637d6\">§</a></p>\n<p>静默模式本应抑制这些错误，但未能做到。</p>", "text": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题（Ewan Young）§ § 静默模式本应抑制这些错误，但未能做到。", "title": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题", "commits": ["ab35b8d25", "c768637d6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "4f788c13d3cf913c1bb1475ae9a6bc40fbddb908b558c8cf27ad78f08366da26", "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": ["ab35b8d25", "c768637d6"], "source_entry_id": "17.11/changes/050", "db_id": "151967124db1018c14bba6aaa8fb0531", "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972", "relations": [{"rule": 2, "type": "equivalent", "target": "e2b61ba2f7f1acf6259668e5028c0d3a", "evidence": {"same_day": true, "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e2b61ba2f7f1acf6259668e5028c0d3a", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 jsonpath 的 .decimal 方法对无效精度或小数位数抛出硬错误的问题", "evidence": {"same_day": true, "patch_ids": ["154a264168d2701e57e668c30f8c6672", "a933e072e485a711920d54cb328279be"], "statement_hash": "c504d01401e67b15f04b83edbe81331d59a4135c0f6c1aae9aeea83bf5ceb972"}, "url": "/docs/compare/?release=18.6#18.6-9490e3fbcfd0ff13", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-b72bd4ebdcd34344", "cves": [], "html": "<p>修复 <code>IS JSON</code> 或类似构造的参数属于字符串类别但缺少到 <code>text</code> 类型的类型转换时发生的空指针崩溃（Ayush Tiwari）<a href=\"https://postgr.es/c/d0acd2535\">§</a></p>\n<p><span>PostgreSQL</span> 核心中没有这种数据类型，但某些扩展类型可以触发该问题。</p>", "text": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃（Ayush Tiwari）§ PostgreSQL 核心中没有这种数据类型，但某些扩展类型可以触发该问题。", "title": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃", "commits": ["d0acd2535"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "228c48e005653d221e7d0cff48629b67824ecd5d1047ae2ccb291a194b6b3609", "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": ["d0acd2535"], "source_entry_id": "17.11/changes/051", "db_id": "79cd8a83e8bf1bc35f530164bf6860b4", "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70", "relations": [{"rule": 2, "type": "equivalent", "target": "2fbf45f00e42445fcae00d71cbf1f0dc", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2fbf45f00e42445fcae00d71cbf1f0dc", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 IS JSON 或类似构造的参数属于字符串类别但缺少到 text 类型的类型转换时发生的空指针崩溃", "evidence": {"same_day": true, "patch_ids": ["96b46719db446e88ef3c60d115404730"], "statement_hash": "ea987d289e305c0b161cfa39b9d0169ba382dac0fa72d5593a7a281f289b9a70"}, "url": "/docs/compare/?release=18.6#18.6-2abf51fa81b5fec1", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-17dc3fca15a1c17a", "cves": [], "html": "<p>确保 <code>SQL/JSON</code> 的 <code>ON EMPTY / ON ERROR DEFAULT</code> 值按正确的 typmod 进行强制转换（Ewan Young）<a href=\"https://postgr.es/c/71cd10cd2\">§</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": ["71cd10cd2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "5bbdfaafafff32882afa980f1064577f1416f9e038e4b31cfc87505d3b875cb1", "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": ["71cd10cd2"], "source_entry_id": "17.11/changes/052", "db_id": "46a8087a2739fb6992db3b87c3ffba3b", "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e", "relations": [{"rule": 2, "type": "equivalent", "target": "5ee1791684a43e69ac4ed959f3852d47", "evidence": {"same_day": true, "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ee1791684a43e69ac4ed959f3852d47", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "确保 SQL/JSON 的 ON EMPTY / ON ERROR DEFAULT 值按正确的 typmod 进行强制转换", "evidence": {"same_day": true, "patch_ids": ["b9ce697f680c880e4c53a6fd83dff066"], "statement_hash": "84e0e04519fd346f18f4cc46eecce1f970b11e003a6a36e9e143044837d8e75e"}, "url": "/docs/compare/?release=18.6#18.6-e111e1506709b495", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-7b7ee8e84aced4b2", "cves": [], "html": "<p>避免将最小的 <code>money</code> 值除以 -1 时出现依赖机器的行为（Andrey Rachitskiy）<a href=\"https://postgr.es/c/1416f304d\">§</a></p>", "text": "避免将最小的 money 值除以 -1 时出现依赖机器的行为（Andrey Rachitskiy）§", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "commits": ["1416f304d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "cc2565f11ca642c0599654650654c43a438e2dcfc1d0476339a4b55ef6b50044", "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": ["1416f304d"], "source_entry_id": "17.11/changes/053", "db_id": "ab04f82d05155d2f24611a645ef67570", "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": "ad37c4809a78b0946b550655ff98efbb", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}, {"rule": 2, "type": "equivalent", "target": "ee7676270a36bf258a65c89f89fa44af", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ee7676270a36bf258a65c89f89fa44af", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免将最小的 money 值除以 -1 时出现依赖机器的行为", "evidence": {"same_day": true, "patch_ids": ["fe8aedb6e19e256e063c5525f5021a96"], "statement_hash": "5be6e13596b05605cc072eb289af3ca913d55550b31c1733b3d9a107ef4f6567"}, "url": "/docs/compare/?release=18.6#18.6-da37578bb1901f30", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-84e7ed3f45fec194", "cves": [], "html": "<p>修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃（Tom Lane）<a href=\"https://postgr.es/c/634a8dcb8\">§</a></p>", "text": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃（Tom Lane）§", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "commits": ["634a8dcb8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "5b9c86df2c8762e49471474a954be9307c93ae26311f16e3f1e558492aae80cf", "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": ["634a8dcb8"], "source_entry_id": "17.11/changes/054", "db_id": "b1fc0de5d2d692ed4af6bcafccb53961", "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": "c02824b6af588491530569e4ec99fe1c", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c02824b6af588491530569e4ec99fe1c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复为文本检索词典创建缓存条目的过程中发生内存不足后导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["3c3b45b5ca2c2212b9a36ad4558d619a"], "statement_hash": "bba5519e5078b4a32c843646cda9fbb9119cc591d67acb786924d35be185c1e2"}, "url": "/docs/compare/?release=18.6#18.6-8f91828547f09bb4", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ce317c73e36b1b1b", "cves": [], "html": "<p>修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷（Andrey Rachitskiy）<a href=\"https://postgr.es/c/5fdea3aa3\">§</a></p>", "text": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷（Andrey Rachitskiy）§", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "commits": ["5fdea3aa3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "3b27aef597df5be32f06c53b78faee630d6e95eb5e6631a2972738395a8e7dca", "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": ["5fdea3aa3"], "source_entry_id": "17.11/changes/055", "db_id": "5e12745b9a23fea83bd8ffdb594c44cb", "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944", "relations": [{"rule": 2, "type": "equivalent", "target": "704f65f60aac8a5ed9ba34cc041d5717", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "704f65f60aac8a5ed9ba34cc041d5717", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复处理格式错误的 ispell/hunspell 词典文件时的内存安全缺陷", "evidence": {"same_day": true, "patch_ids": ["a2481aa7491246722b292cb1e96c16e2"], "statement_hash": "188f51f4de54b27a68f6be9927610ed299c71a8aed01714563e401acac778944"}, "url": "/docs/compare/?release=18.6#18.6-df42fd80a3fef364", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-712f69030e2d06d3", "cves": [], "html": "<p>禁止访问其他会话的临时表（Jim Jones、Daniil Davydov、Alexander Korotkov）<a href=\"https://postgr.es/c/4dfae59a1\">§</a> <a href=\"https://postgr.es/c/4e49f68b7\">§</a></p>\n<p>某些代码路径未能阻止这种访问，导致在没有报错的情况下得到错误（不一致）的结果。</p>", "text": "禁止访问其他会话的临时表（Jim Jones、Daniil Davydov、Alexander Korotkov）§ § 某些代码路径未能阻止这种访问，导致在没有报错的情况下得到错误（不一致）的结果。", "title": "禁止访问其他会话的临时表", "commits": ["4dfae59a1", "4e49f68b7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "82c09e0dde655494aedd8ccdbdd43eedea0cdb499803ce376a8aabe1d101e34f", "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": ["4dfae59a1", "4e49f68b7"], "source_entry_id": "17.11/changes/056", "db_id": "446bb0cc48d437fdbe5c1c4d4b77a47b", "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3", "relations": [{"rule": 2, "type": "equivalent", "target": "2b3bc99c3e3caa8f2f62effa65bfd425", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b3bc99c3e3caa8f2f62effa65bfd425", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "禁止访问其他会话的临时表", "evidence": {"same_day": true, "patch_ids": ["05c640bb8e2093f6ab8c82eace31d407", "78047299bcd9d41b99e91dfc8ff6128f"], "statement_hash": "bfbfb8f49eb1b9a9eeed9932c828c7ac49f313cc1b97070b91d77b3a11bb80b3"}, "url": "/docs/compare/?release=18.6#18.6-90e78edb7a08a279", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-e7e74333c130ff46", "cves": [], "html": "<p>修复自动清理处理数据库的顺序（Rustam Khamidullin）<a href=\"https://postgr.es/c/288d4e83f\">§</a></p>\n<p>它无意中按评分从低到高处理数据库，而正确顺序应当相反。</p>", "text": "修复自动清理处理数据库的顺序（Rustam Khamidullin）§ 它无意中按评分从低到高处理数据库，而正确顺序应当相反。", "title": "修复自动清理处理数据库的顺序", "commits": ["288d4e83f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "edd2876c8c61c0441cf1662985fa9d7329083f7194915b70c6c6fae49cc9d051", "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": ["288d4e83f"], "source_entry_id": "17.11/changes/057", "db_id": "7e5aa2c0c13918b50520756d59c3270c", "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d", "relations": [{"rule": 2, "type": "equivalent", "target": "b9d8f2a43e4df58e7a17df3fbade9bf4", "evidence": {"same_day": true, "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b9d8f2a43e4df58e7a17df3fbade9bf4", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复自动清理处理数据库的顺序", "evidence": {"same_day": true, "patch_ids": ["42b814ceb732c97aa3c3a526508d3abb"], "statement_hash": "c6cdd05a4bedc5971c267480385958b00c43f204b53e4cc0fe52b1e5bf13ea9d"}, "url": "/docs/compare/?release=18.6#18.6-8f425dbb364b3d86", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-94146e86474835ca", "cves": [], "html": "<p>修复并行清理工作进程中的内存泄漏（Baji Shaik）<a href=\"https://postgr.es/c/8ad414831\">§</a></p>\n<p>并行工作进程每次生成进度报告时都会泄漏约 1kB 内存，浪费的内存在该工作进程的整个生命周期内不断累积。</p>", "text": "修复并行清理工作进程中的内存泄漏（Baji Shaik）§ 并行工作进程每次生成进度报告时都会泄漏约 1kB 内存，浪费的内存在该工作进程的整个生命周期内不断累积。", "title": "修复并行清理工作进程中的内存泄漏", "commits": ["8ad414831"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "d04e192c608871dfac9152f0aa7f703c04def273a778244db5d077ee622f830e", "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": ["8ad414831"], "source_entry_id": "17.11/changes/058", "db_id": "12d3079ba949a43359b006c455b1a4d0", "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705", "relations": [{"rule": 2, "type": "equivalent", "target": "7610626b7c4fe5c411f6eaf69975db96", "evidence": {"same_day": true, "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7610626b7c4fe5c411f6eaf69975db96", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复并行清理工作进程中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["d49aabf7256557adc98b6cb3284f6aaa"], "statement_hash": "568c6bb4288fdf9897eb84891ce83a70e68203e76785f837606ed060e05d9705"}, "url": "/docs/compare/?release=18.6#18.6-cf57ab07d77fbdf9", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-69bd1a00ee81086e", "cves": [], "html": "<p>在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟（Paul Kim、Alexander Korotkov）<a href=\"https://postgr.es/c/ba5e46329\">§</a></p>\n<p>常见值的倒排树可能很大，因此遗漏这项检查可能导致清理运行很长时间后才注意到中断。</p>", "text": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟（Paul Kim、Alexander Korotkov）§ 常见值的倒排树可能很大，因此遗漏这项检查可能导致清理运行很长时间后才注意到中断。", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "commits": ["ba5e46329"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "3eea2875de6c4212c7db93785d9c5dcdfc66d7e323d58f953b2ba0bc704e7227", "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": ["ba5e46329"], "source_entry_id": "17.11/changes/059", "db_id": "95dd23cd66ca5f13741dbc751bd94f78", "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": "5ae3f0e86d0ce40099b20e708d75c4df", "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"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ae3f0e86d0ce40099b20e708d75c4df", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在清理 GIN 索引倒排树期间响应查询取消并遵守清理延迟", "evidence": {"same_day": true, "patch_ids": ["5737ead0e5ff1d380903a73cc5289899"], "statement_hash": "dbe0ee194244f00d3dbdcf97c73698ed65ff34b62bead922d8670ce2d3ad820b"}, "url": "/docs/compare/?release=18.6#18.6-06642c9e897515be", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-7b0787620962198f", "cves": [], "html": "<p>修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题（Peter Geoghegan）<a href=\"https://postgr.es/c/355faed5a\">§</a></p>\n<p>此错误可能导致仅索引扫描计划输出损坏的数据。唯一受影响的核心操作符类是 GiST 的 range_ops，并且只有当范围列不是第一个索引列时才可能出错。</p>", "text": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题（Peter Geoghegan）§ 此错误可能导致仅索引扫描计划输出损坏的数据。唯一受影响的核心操作符类是 GiST 的 range_ops，并且只有当范围列不是第一个索引列时才可能出错。", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "commits": ["355faed5a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "4afe662dba3747d0a927881acbc62385267bccaf68bb69e765dc4f3c5a2d2455", "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": ["355faed5a"], "source_entry_id": "17.11/changes/060", "db_id": "7639c43a8df152827beb0f3c4e7cfc7b", "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": "ae38912b977aee6ba812c2a99322b4ad", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ae38912b977aee6ba812c2a99322b4ad", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 GiST 和 SP-GiST 仅索引扫描期间可能错误解码索引元组的问题", "evidence": {"same_day": true, "patch_ids": ["7ca370d11dfae190ad9f8fa921a2ad3d"], "statement_hash": "9efc8088134be1c1e73efd8706fe30257c8c7003aa683976e4455f175426f7c5"}, "url": "/docs/compare/?release=18.6#18.6-5a9e09abedfed179", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3992304d0ec9fe22", "cves": [], "html": "<p>确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射（Jingtang Zhang）<a href=\"https://postgr.es/c/768ae083e\">§</a></p>\n<p>一个差一错误导致多块表扩展的最后一个块未在映射中标记为空闲。清理最终会纠正此问题，但在此之前这部分空间无法使用。</p>", "text": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射（Jingtang Zhang）§ 一个差一错误导致多块表扩展的最后一个块未在映射中标记为空闲。清理最终会纠正此问题，但在此之前这部分空间无法使用。", "title": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射", "commits": ["768ae083e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "2de218225a99892d804a478d9e0685586a9605372f1e0b2e1abf7ba7f95506a4", "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": ["768ae083e"], "source_entry_id": "17.11/changes/061", "db_id": "5a75bdb8448ae2da9b4ee0c1b6cfc0ec", "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": "edf9c4cb86d4f9c68eb8b2fe8ad0b5d1", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "edf9c4cb86d4f9c68eb8b2fe8ad0b5d1", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "确保批量扩展的表中新出现的最后一个块被及时加入其空闲空间映射", "evidence": {"same_day": true, "patch_ids": ["a01b2fa451eb1e57f308131966fdbfa3"], "statement_hash": "86a67f4007c63f314fcd3fa59706655774d99e6653a04f11b106c0666d4ea725"}, "url": "/docs/compare/?release=18.6#18.6-27ff2778a5384e11", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-bc733642b8318e02", "cves": [], "html": "<p>避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环（Tom Lane）<a href=\"https://postgr.es/c/011eedcdc\">§</a></p>", "text": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环（Tom Lane）§", "title": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环", "commits": ["011eedcdc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "a62c95dfc76285a1472a5200e7c2ce837b6b91150ccf73dc23fb8926d14cd9cf", "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": ["011eedcdc"], "source_entry_id": "17.11/changes/062", "db_id": "c57cf207c2d63b373be8c9b4e51bf8b0", "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4", "relations": [{"rule": 2, "type": "equivalent", "target": "1c2d5d9905bd8e6369c82b7ef237290e", "evidence": {"same_day": true, "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1c2d5d9905bd8e6369c82b7ef237290e", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免事务中止期间资源清理中可能发生的双重释放或无限错误恢复循环", "evidence": {"same_day": true, "patch_ids": ["952c61c83d0d5caa000ecdb0d8cb575f"], "statement_hash": "0a5717b9df09bcb1cf776219cba662308d08a453587910b5eb52fcd98913cda4"}, "url": "/docs/compare/?release=18.6#18.6-0c1c452c86d77ab6", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-13269e0439b17ec9", "cves": [], "html": "<p>创建目录时，容忍同一目录被并发创建（Andrew Dunstan、Tom Lane）<a href=\"https://postgr.es/c/f0a831ef3\">§</a></p>", "text": "创建目录时，容忍同一目录被并发创建（Andrew Dunstan、Tom Lane）§", "title": "创建目录时，容忍同一目录被并发创建", "commits": ["f0a831ef3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "6894d6605ac0e89a218e2358f689ba8f5f20534ff06369a61a4df288b32f629c", "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": ["f0a831ef3"], "source_entry_id": "17.11/changes/063", "db_id": "0c17e02f698dc60a4c3ff762796f0a7f", "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb", "relations": [{"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": "7b3923b1add1cfb8cc243430e7e7769f", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7b3923b1add1cfb8cc243430e7e7769f", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "创建目录时，容忍同一目录被并发创建", "evidence": {"same_day": true, "patch_ids": ["be8272a81c28ebdf12c66d1c6ab05685"], "statement_hash": "abc7e610f491a4ce631c4e62316b1f9bd718c7e9e581a2f07ba12774f5db10eb"}, "url": "/docs/compare/?release=18.6#18.6-67b85199c3f22fc0", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3ecac11b2752e81b", "cves": [], "html": "<p>通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系（Bertrand Drouvot）<a href=\"https://postgr.es/c/3a9909eda\">§</a> <a href=\"https://postgr.es/c/c1588f92a\">§</a></p>\n<p>该共享锁会与任何删除被依赖对象的尝试冲突，从而消除之前存在的竞态条件。例如，如果一个会话删除一个在其看来为空的模式，同时另一个会话在该模式中创建函数，此前两个事务都可能提交，并留下无效的函数定义。现在，其中一个事务会失败。</p>", "text": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系（Bertrand Drouvot）§ § 该共享锁会与任何删除被依赖对象的尝试冲突，从而消除之前存在的竞态条件。例如，如果一个会话删除一个在其看来为空的模式，同时另一个会话在该模式中创建函数，此前两个事务都可能提交，并留下无效的函数定义。现在，其中一个事务会失败。", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "commits": ["3a9909eda", "c1588f92a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "93f88d140043234718983a18466fde4c46d2c31f3617639bd44d955813c3f8e9", "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": ["3a9909eda", "c1588f92a"], "source_entry_id": "17.11/changes/064", "db_id": "e1119f78a9d166b823f798e0194d35f4", "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": "a34abdf13c3a75b01325176fd494ce54", "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": "e811cff0335c3ca435753578de40cbd3", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a34abdf13c3a75b01325176fd494ce54", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "通过在任何被依赖对象上取得共享锁，防止创建悬空的对象依赖关系", "evidence": {"same_day": true, "patch_ids": ["6536cf91f14cf539ab4bd08602032b89", "aca7f5e76462423a64bce89519f8b4ca"], "statement_hash": "aabd3d9b6b1a0460624c086ca1a5f2223aec25bb342c2883b18a435de52ba98c"}, "url": "/docs/compare/?release=18.6#18.6-04ef095d0d14ee39", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-869506b0934d2991", "cves": [], "html": "<p>修复 <code>SERIALIZABLE</code> 隔离模式中冲突检测的竞态条件（Peter Geoghegan）<a href=\"https://postgr.es/c/8434c9385\">§</a></p>\n<p>检查最初为空的 B-树索引时可能漏掉冲突，因错误地允许冲突事务提交而破坏可串行性。</p>", "text": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件（Peter Geoghegan）§ 检查最初为空的 B-树索引时可能漏掉冲突，因错误地允许冲突事务提交而破坏可串行性。", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "commits": ["8434c9385"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "9c6559cb916c9f1a8ddf0bc74a8d10fa6ce6756752ba65dc0b208f71d091442d", "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": ["8434c9385"], "source_entry_id": "17.11/changes/065", "db_id": "06c841c7e97c29498c3c18507b648e43", "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": "37ab9407c7a4720c042c3c30e616b840", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "37ab9407c7a4720c042c3c30e616b840", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 SERIALIZABLE 隔离模式中冲突检测的竞态条件", "evidence": {"same_day": true, "patch_ids": ["76d6d81d4ce8e28654632817bbc18838"], "statement_hash": "08b20f0b0cc877fd90cf1664195b8bfe906cd38aa76d41fb6a77cbb2ead17297"}, "url": "/docs/compare/?release=18.6#18.6-020cfc417a109d87", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-0e94152c02ef540a", "cves": [], "html": "<p>修复 ProcSignalBarrier 代码中的竞态条件（Masahiko Sawada）<a href=\"https://postgr.es/c/a651b8a89\">§</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": ["a651b8a89"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "5d8a98df32079a449f720f6b8d7bae169806751eac07750521db192d7b18da02", "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": ["a651b8a89"], "source_entry_id": "17.11/changes/066", "db_id": "57a0c23144670659c08e95957bcb21e4", "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": "52661089ee9f32f8c69e8b167606de61", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "52661089ee9f32f8c69e8b167606de61", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 ProcSignalBarrier 代码中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["06cafa4f9024a581dc7df9ac57c28b87"], "statement_hash": "b132ddc69a814c78bb0d80a016bd542d646f004f2e81d83ff063e175b8923180"}, "url": "/docs/compare/?release=18.6#18.6-814e47a6c0f16883", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-31516fe59eede273", "cves": [], "html": "<p>修复属于同一锁组的一组进程同时退出时的竞态条件（Vlad Lesin）<a href=\"https://postgr.es/c/d489c4439\">§</a> <a href=\"https://postgr.es/c/e14b4ea4a\">§</a></p>\n<p>这些错误可能导致 PANIC 中止，并出现 <span>“<span>latch already owned</span>”</span> 等消息。普通并行查询通常不会出现此问题，因为领导者在看到其工作进程结束之前不会退出；但某些扩展会触发此问题。</p>", "text": "修复属于同一锁组的一组进程同时退出时的竞态条件（Vlad Lesin）§ § 这些错误可能导致 PANIC 中止，并出现 “latch already owned” 等消息。普通并行查询通常不会出现此问题，因为领导者在看到其工作进程结束之前不会退出；但某些扩展会触发此问题。", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "commits": ["d489c4439", "e14b4ea4a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "1b8d14e0094b12a5b68a920ce6d25b422beb7f4dd657708ccfcc710756c6404f", "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": ["d489c4439", "e14b4ea4a"], "source_entry_id": "17.11/changes/067", "db_id": "62cbccb23171427808fec1301b0ac804", "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": "5b2fc7485dc383d08b3d68f5272b2a11", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5b2fc7485dc383d08b3d68f5272b2a11", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复属于同一锁组的一组进程同时退出时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["879e5bd994847bca2264dea6ae8e7636", "deebb0acfe2f0b111568661ecf5bdaeb"], "statement_hash": "8d70122ebcc8b017ec76eed632b4e53a2f4e86497efb77268f99f3855284c592"}, "url": "/docs/compare/?release=18.6#18.6-25e5a2422482dd1c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3f8c2715fb02eef2", "cves": [], "html": "<p>修复表可见性映射清位操作的 WAL 日志记录（Melanie Plageman、Andres Freund）<a href=\"https://postgr.es/c/7edec8b57\">§</a> <a href=\"https://postgr.es/c/c0d9864f5\">§</a> <a href=\"https://postgr.es/c/067213430\">§</a></p>\n<p>WAL 汇总器漏掉了这类可见性映射变更，可能导致错误的增量备份。我们也没有在需要时记录这类可见性映射页的整页镜像，因而可能无法纠正撕裂页写入。这可能造成后续行为异常，例如仅索引扫描返回错误结果。</p>", "text": "修复表可见性映射清位操作的 WAL 日志记录（Melanie Plageman、Andres Freund）§ § § WAL 汇总器漏掉了这类可见性映射变更，可能导致错误的增量备份。我们也没有在需要时记录这类可见性映射页的整页镜像，因而可能无法纠正撕裂页写入。这可能造成后续行为异常，例如仅索引扫描返回错误结果。", "title": "修复表可见性映射清位操作的 WAL 日志记录", "commits": ["067213430", "7edec8b57", "c0d9864f5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "845e5e3ac1a228c732bd68692277c3a679de0f24a3c7ba70ae07ad6318617a7b", "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": ["067213430", "7edec8b57", "c0d9864f5"], "source_entry_id": "17.11/changes/068", "db_id": "4def260cbd8a4182ec017b70a81b56f5", "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3", "relations": [{"rule": 2, "type": "equivalent", "target": "9fb751cb38bcd179121b328ba031747e", "evidence": {"same_day": true, "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9fb751cb38bcd179121b328ba031747e", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复表可见性映射清位操作的 WAL 日志记录", "evidence": {"same_day": true, "patch_ids": ["34adf46d69ca32061b06da3d079a7069", "41df06de615aa532015928409cff3d95", "892803f446e66b4cc097d23f3797a918"], "statement_hash": "06aadf1e9f9cee9405150393ea42bc91f00a02570025c6028daa277cee57c7f3"}, "url": "/docs/compare/?release=18.6#18.6-591cce0db8214715", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-aa32892bb54c9a4c", "cves": [], "html": "<p>防止 WAL 汇总进程在时间线切换时卡住（Robert Haas）<a href=\"https://postgr.es/c/499d9eabb\">§</a> <a href=\"https://postgr.es/c/d28cdf46e\">§</a></p>", "text": "防止 WAL 汇总进程在时间线切换时卡住（Robert Haas）§ §", "title": "防止 WAL 汇总进程在时间线切换时卡住", "commits": ["499d9eabb", "d28cdf46e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "7fa465b27ef0d5c770984937315a722c131767ff6b02e3f6a1a7e2a419d0fcce", "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": ["499d9eabb", "d28cdf46e"], "source_entry_id": "17.11/changes/069", "db_id": "6c5349d1b6e45948404ea7876a48dcf9", "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9", "relations": [{"rule": 2, "type": "equivalent", "target": "3173f4833a6a0aae8a455f45a5a4568e", "evidence": {"same_day": true, "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3173f4833a6a0aae8a455f45a5a4568e", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "防止 WAL 汇总进程在时间线切换时卡住", "evidence": {"same_day": true, "patch_ids": ["508495a1aeae90a13092582478007f0c", "99c5fedfb753eda3ff5558c646f420a7"], "statement_hash": "693f186e16744df775e9c612662444e181a78d71562335513f419c84cb3c35b9"}, "url": "/docs/compare/?release=18.6#18.6-2ef24f05b5bd445d", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-563becf7bc3e6dcf", "cves": [], "html": "<p>修复备库提升期间逻辑解码选择时间线时的竞态条件（Bertrand Drouvot）<a href=\"https://postgr.es/c/16b89ff04\">§</a> <a href=\"https://postgr.es/c/ab5334d8b\">§</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": ["16b89ff04", "ab5334d8b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "719875361b89ef78cebe25542fa6a933e5a27380d737eda91cdb6f9d9e352b13", "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": ["16b89ff04", "ab5334d8b", "d9b49e5b4"], "source_entry_id": "17.11/changes/070", "db_id": "d6f8670170e47d169eec30b65187d2c4", "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": "cfd9fb4fa936abb9c7ef216b4854fb3c", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cfd9fb4fa936abb9c7ef216b4854fb3c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复备库提升期间逻辑解码选择时间线时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0baec0cbb6545813886061f478d7fe09", "1bbd3b28c72161d54ff8850fb5990a90", "afe572d50b5aa93a1a43ac975df96fa6"], "statement_hash": "b5c88f0e08517e3cf00dd9b3461ec817031530e9f8f05c2cde86c91f4ec8fc51"}, "url": "/docs/compare/?release=18.6#18.6-c988b88dbd957c88", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-1e3e950c5c9035d8", "cves": [], "html": "<p>避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串（Chao Li）<a href=\"https://postgr.es/c/c89499a79\">§</a></p>\n<p><code>pg_stat_wal_receiver</code> 视图应显示不含敏感数据的脱敏连接字符串。但复用现有 WAL 接收进程时，它会短暂显示完整字符串。</p>", "text": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串（Chao Li）§ pg_stat_wal_receiver 视图应显示不含敏感数据的脱敏连接字符串。但复用现有 WAL 接收进程时，它会短暂显示完整字符串。", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "commits": ["c89499a79"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c6b60db06cf37ea39b0031235fce3d8b66c45b845835cbc84c34ec742be9cc54", "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": ["c89499a79"], "source_entry_id": "17.11/changes/071", "db_id": "37402bbf4de6b9a68bc1b26a7f9417b9", "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": "5ea87a1c210c433da8cd395769d7ef5a", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}}, {"rule": 2, "type": "equivalent", "target": "cd98d8763a77664800622e26ed44bfce", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cd98d8763a77664800622e26ed44bfce", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免在时间线跳转期间暴露 WAL 接收进程的完整连接字符串", "evidence": {"same_day": true, "patch_ids": ["625ea274df56e79c48b28c2ef1353303"], "statement_hash": "127370516df3531677f14f892409223ad12c32539de2175c8aa26416b2e1cb64"}, "url": "/docs/compare/?release=18.6#18.6-afb05b61d5152a3a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-83651d53e036fd59", "cves": [], "html": "<p>使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数（Varik Matevosyan）<a href=\"https://postgr.es/c/15f4e3d0c\">§</a></p>\n<p>恶意或有缺陷的发布者可能发送列数不一致的数据。虽然尚未找到会因此产生严重不良后果的场景，但额外谨慎似乎是必要的。</p>", "text": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数（Varik Matevosyan）§ 恶意或有缺陷的发布者可能发送列数不一致的数据。虽然尚未找到会因此产生严重不良后果的场景，但额外谨慎似乎是必要的。", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "commits": ["15f4e3d0c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "7162358923c6dcddd61b47a94ddca4dda93b01e9baf24f85076ce43a6bd254d7", "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": ["15f4e3d0c"], "source_entry_id": "17.11/changes/072", "db_id": "52499b2c374ab99a8520d4e208b224ca", "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215", "relations": [{"rule": 2, "type": "equivalent", "target": "29b7d5b8d289c2e83357b4b3887c6ece", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}, {"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": "b984d160c74d462df46c0818a7351ddb", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "29b7d5b8d289c2e83357b4b3887c6ece", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "使用运行时检查而不只是 Asserts，验证逻辑复制期间接收的元组具有正确的列数", "evidence": {"same_day": true, "patch_ids": ["8665f0efb53857b1f65d3aab55fce701"], "statement_hash": "ccb9933f82e897841fcc7799b27c7cb46784658d50590f121d691ba4eb1ab215"}, "url": "/docs/compare/?release=18.6#18.6-842cc1f1f4a2405b", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f6a7585b485a41e6", "cves": [], "html": "<p>改进构造的复制命令中字符串参数的引用处理（Tom Lane）<a href=\"https://postgr.es/c/14810cc0d\">§</a></p>\n<p>多处生成复制命令的代码在引用复制槽名称及其他需要插入命令的参数时不够谨慎。这可能导致命令出现意外的语法错误。原则上，精心构造的复制槽名称可能导致 SQL 注入；但这种场景在实践中似乎极不可能发生，因为只有高权限用户才能调用复制操作，而且他们没有理由使用来自不可信来源的槽名称。</p>", "text": "改进构造的复制命令中字符串参数的引用处理（Tom Lane）§ 多处生成复制命令的代码在引用复制槽名称及其他需要插入命令的参数时不够谨慎。这可能导致命令出现意外的语法错误。原则上，精心构造的复制槽名称可能导致 SQL 注入；但这种场景在实践中似乎极不可能发生，因为只有高权限用户才能调用复制操作，而且他们没有理由使用来自不可信来源的槽名称。", "title": "改进构造的复制命令中字符串参数的引用处理", "commits": ["14810cc0d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "bc13bf78e55f7150277f4eda67e7faf2b5de10c798467c0e900147f8c9f3d7b9", "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": ["14810cc0d"], "source_entry_id": "17.11/changes/073", "db_id": "de678a747a30bf549de927b53ebbc3e7", "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa", "relations": [{"rule": 2, "type": "equivalent", "target": "1ef980c1780b85528850bbdd9466fa41", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}}, {"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"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1ef980c1780b85528850bbdd9466fa41", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "改进构造的复制命令中字符串参数的引用处理", "evidence": {"same_day": true, "patch_ids": ["32ecc5c79c988e036daa92766ab9c826"], "statement_hash": "247fbb71eedfaa36fb21d3377adab99beeefb9b4863ba98c464369fe5a6bc0fa"}, "url": "/docs/compare/?release=18.6#18.6-9e33f830eed35c6f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-4fcd3ca4da51d952", "cves": [], "html": "<p>修复对空预备事务的逻辑解码（Masahiko Sawada）<a href=\"https://postgr.es/c/8c4519c71\">§</a></p>\n<p>未产生任何可解码更新的预备事务可能导致向输出插件发送 <code>COMMIT/ROLLBACK PREPARED</code>，而之前没有发送 <code>PREPARE</code>。对于内置订阅者，这会破坏复制，其他插件很可能也无法正确处理。</p>", "text": "修复对空预备事务的逻辑解码（Masahiko Sawada）§ 未产生任何可解码更新的预备事务可能导致向输出插件发送 COMMIT/ROLLBACK PREPARED，而之前没有发送 PREPARE。对于内置订阅者，这会破坏复制，其他插件很可能也无法正确处理。", "title": "修复对空预备事务的逻辑解码", "commits": ["8c4519c71"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "01740a0e2a13273630b8f3e7c5366790c5e58e1cf76de52a10af68efbaae62f7", "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": ["8c4519c71"], "source_entry_id": "17.11/changes/074", "db_id": "a16d1f65cf232982fca81254425fea0a", "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": "bcdae249049162a8ecdfc761f53a6e97", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}}, {"rule": 2, "type": "equivalent", "target": "dc4b173044afd038ad380964a01eea2b", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "dc4b173044afd038ad380964a01eea2b", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复对空预备事务的逻辑解码", "evidence": {"same_day": true, "patch_ids": ["250335f2e4b78140436eb50ee72b3519"], "statement_hash": "c36e39e101cb85a94e4121d8d84d1da47f5f96917db16c284ba7e090b292fe31"}, "url": "/docs/compare/?release=18.6#18.6-9c7f709d1f862457", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-bbdd9aa8c76021bc", "cves": [], "html": "<p>修复备库提升后不记录 WAL 的序列损坏的问题（Fujii Masao）<a href=\"https://postgr.es/c/a1ed6a9a0\">§</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": ["a1ed6a9a0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "56b2da6b25964fdf7de9d7c75d5d514f8df633b0e0135487a0b379385f9da887", "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": ["a1ed6a9a0"], "source_entry_id": "17.11/changes/075", "db_id": "04e99de2d6b9c7c2dbe0bac4e30b6b62", "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462", "relations": [{"rule": 2, "type": "equivalent", "target": "1ce08b2128763f685c989c7f545e1b3e", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}}, {"rule": 2, "type": "equivalent", "target": "7c75fcad7f434b0760cdb29e86f36c46", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7c75fcad7f434b0760cdb29e86f36c46", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复备库提升后不记录 WAL 的序列损坏的问题", "evidence": {"same_day": true, "patch_ids": ["0c00c75b81c9cf4e2c7dd727d7f47148"], "statement_hash": "6ef22cc70bed7a3bdbb01c79c02e183283e72e3ea1060f614fc65f0d30467462"}, "url": "/docs/compare/?release=18.6#18.6-a4136eca0096397b", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8291f394c20dacdc", "cves": [], "html": "<p>修复回退到归档后级联备库无法重新连接的问题（Marco Nenciarini）<a href=\"https://postgr.es/c/2cf28d1b9\">§</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": ["2cf28d1b9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "b4b13703ffe24452dbaaf532d75735c681518fbf7e5f738b18bd03a43cd757c0", "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": ["2cf28d1b9"], "source_entry_id": "17.11/changes/076", "db_id": "b17ef22f538327cabf0726e1b3f902cc", "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": "equivalent", "target": "1ba572e4a9f5584ecce320e293d4b258", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "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": "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1ba572e4a9f5584ecce320e293d4b258", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复回退到归档后级联备库无法重新连接的问题", "evidence": {"same_day": true, "patch_ids": ["8d6dc29f16ca43220ac734ee400f5ee9"], "statement_hash": "fb1d8ff1de50924ae1113199938a0ff6d45296b275bab29a749f5176ddbc64ad", "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": "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": "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": "17.11-4ea3a29628f7f415", "cves": [], "html": "<p>不要尝试在备库本地清除 <code>pg_database</code>.<code>dathasloginevt</code>（Ayush Tiwari）<a href=\"https://postgr.es/c/4a375527a\">§</a></p>\n<p>事件触发器清理尝试在备库和主库上都执行该操作。它在备库上无法奏效，而且没有必要，因为重放主库的数据库变更很快就会修复该值。</p>", "text": "不要尝试在备库本地清除 pg_database.dathasloginevt（Ayush Tiwari）§ 事件触发器清理尝试在备库和主库上都执行该操作。它在备库上无法奏效，而且没有必要，因为重放主库的数据库变更很快就会修复该值。", "title": "不要尝试在备库本地清除 pg_database.dathasloginevt", "commits": ["4a375527a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "9160c7de11017a80cbf5cbefd5227ca3dd33e37c025bd13302c0e5ae5d07aae8", "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": ["4a375527a"], "source_entry_id": "17.11/changes/077", "db_id": "2652e45990dd9ead74f7cb1a60cd06ae", "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755", "relations": [{"rule": 2, "type": "equivalent", "target": "c7c89eea0ca114afbedbf0cfbae711f9", "evidence": {"same_day": true, "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c7c89eea0ca114afbedbf0cfbae711f9", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "不要尝试在备库本地清除 pg_database.dathasloginevt", "evidence": {"same_day": true, "patch_ids": ["4ce4f54c8bf735435a0cd83d5e3fd94c"], "statement_hash": "ccdeea440cff75c363fd3daa73d137e4deed890abd48b629fa6387377abac755"}, "url": "/docs/compare/?release=18.6#18.6-d53aeb4078876f26", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-5aeb772ab7b96772", "cves": [], "html": "<p>避免删除过时复制槽时的竞态条件（Xuneng Zhou）<a href=\"https://postgr.es/c/ea834d747\">§</a></p>\n<p>如果另一个会话立即复用了已删除复制槽的共享内存条目，可能会错误地执行解锁并输出不正确的日志消息。</p>", "text": "避免删除过时复制槽时的竞态条件（Xuneng Zhou）§ 如果另一个会话立即复用了已删除复制槽的共享内存条目，可能会错误地执行解锁并输出不正确的日志消息。", "title": "避免删除过时复制槽时的竞态条件", "commits": ["ea834d747"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "358499c168613fabbb13a197047b85f06acb371e9aac3720db37e8040a5d0109", "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": ["ea834d747"], "source_entry_id": "17.11/changes/078", "db_id": "2724a08367b4dc82b3441236c9f9b14b", "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62", "relations": [{"rule": 2, "type": "equivalent", "target": "3dd18331742596637d053910b38a1f16", "evidence": {"same_day": true, "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3dd18331742596637d053910b38a1f16", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免删除过时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["c73474c335bb9d2b86b6bc7565e6f72b"], "statement_hash": "14c10b585f72cec70dc64da094d3d2d2e80cef7b71ab92442a40f2f70c386a62"}, "url": "/docs/compare/?release=18.6#18.6-da8598a35476aae4", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-1bc3f286c6ac2176", "cves": [], "html": "<p>避免删除临时复制槽时的竞态条件（Zhijie Hou）<a href=\"https://postgr.es/c/080d61f07\">§</a></p>\n<p>释放槽的代码在释放复制槽后，还会对该槽的共享内存条目执行一些额外更新。这并不安全，因为另一个会话可能立即复用已删除槽的共享内存条目。对于临时槽，现跳过这些更新。</p>", "text": "避免删除临时复制槽时的竞态条件（Zhijie Hou）§ 释放槽的代码在释放复制槽后，还会对该槽的共享内存条目执行一些额外更新。这并不安全，因为另一个会话可能立即复用已删除槽的共享内存条目。对于临时槽，现跳过这些更新。", "title": "避免删除临时复制槽时的竞态条件", "commits": ["080d61f07"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "46a96c9ba707acfa5dec271620cc9f7bb02a25ab0af69b1009844fd569044c2f", "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": ["080d61f07"], "source_entry_id": "17.11/changes/079", "db_id": "56d06487f4f5f34eaa3c2bcb9a9adcec", "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282", "relations": [{"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": "e7a4717de56195de8e84ae36133e6f25", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e7a4717de56195de8e84ae36133e6f25", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免删除临时复制槽时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["a917b168697862cb05827b9e9d804879"], "statement_hash": "87055d6044521ae3f6b6a74d5c840e75e79be3ee687ddbb92cb366dcb1601282"}, "url": "/docs/compare/?release=18.6#18.6-63934e389520e7b8", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-502303232ec37c57", "cves": [], "html": "<p>修复逻辑复制表同步期间陈旧的进度报告（Shinya Kato）<a href=\"https://postgr.es/c/f2acab534\">§</a></p>\n<p>此前，即使数据复制已经完成，订阅者中的 <code>pg_stat_progress_copy</code> 视图仍会把最初的 <code>COPY</code> 操作显示为活动状态。在同步追上发布者之前，该陈旧条目会一直可见。</p>", "text": "修复逻辑复制表同步期间陈旧的进度报告（Shinya Kato）§ 此前，即使数据复制已经完成，订阅者中的 pg_stat_progress_copy 视图仍会把最初的 COPY 操作显示为活动状态。在同步追上发布者之前，该陈旧条目会一直可见。", "title": "修复逻辑复制表同步期间陈旧的进度报告", "commits": ["f2acab534"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "42d15281bc62253e396ca078abfe7060ec8c292efad279f29365b75fbc5e82e7", "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": ["f2acab534"], "source_entry_id": "17.11/changes/080", "db_id": "ff38e10dde566b08847e2c27088d3f57", "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": "9c326b65f30e4f95b13ee3d7fb3dd796", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9c326b65f30e4f95b13ee3d7fb3dd796", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复逻辑复制表同步期间陈旧的进度报告", "evidence": {"same_day": true, "patch_ids": ["1ad4f3b3d40c3980d4aa9a5a98057761"], "statement_hash": "fed32130a83680b56d3331359c775298c978288d1fa6daf4eb73e2b9d60903bb"}, "url": "/docs/compare/?release=18.6#18.6-caa7677e59388ffc", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-b156d299eafbb07e", "cves": [], "html": "<p>在备份失败时清除基础备份进度（Chao Li）<a href=\"https://postgr.es/c/e2ea6bfed\">§</a> <a href=\"https://postgr.es/c/a240e8cd2\">§</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": ["a240e8cd2", "e2ea6bfed"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "39c04a262188fb7ebe3a75d811731277533c9ac34a4964b4902b9f433a373d40", "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": ["a240e8cd2", "e2ea6bfed"], "source_entry_id": "17.11/changes/081", "db_id": "03d34f5720102ae73e4faeecbb40be16", "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "ce88301108e6a4004079448bd7660e3f", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ce88301108e6a4004079448bd7660e3f", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在备份失败时清除基础备份进度", "evidence": {"same_day": true, "patch_ids": ["69213b2b66c0b41b4a5afe802955c74c", "9c5e22740fb95d470204bdcf6078ebd3"], "statement_hash": "90edb0e18fbbfc1f67179ab9512bae516940a5bc615766f8dbd30ebb529a5d9a"}, "url": "/docs/compare/?release=18.6#18.6-0214ccb96b1cfbea", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ca1b3346f4ca0f86", "cves": [], "html": "<p>修复启用 <code>track_functions</code> 时并发删除 pgstats 条目可能导致的 PANIC（Sami Imseih、Michael Paquier）<a href=\"https://postgr.es/c/2e0c61aed\">§</a> <a href=\"https://postgr.es/c/39e649d44\">§</a> <a href=\"https://postgr.es/c/afb076b29\">§</a></p>", "text": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC（Sami Imseih、Michael Paquier）§ § §", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "commits": ["2e0c61aed", "39e649d44", "afb076b29"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "5d38a02331cc4975c317725df33c4559c8fc92b7c8a895bc2d832d6b6f0782d8", "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": ["2e0c61aed", "39e649d44", "afb076b29"], "source_entry_id": "17.11/changes/082", "db_id": "becaa982198f0463b739ba15734dbc39", "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": "f649a3b052bcad5187adc505673c75c1", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f649a3b052bcad5187adc505673c75c1", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复启用 track_functions 时并发删除 pgstats 条目可能导致的 PANIC", "evidence": {"same_day": true, "patch_ids": ["11e208c239471e2b9f1cfe6b471d2327", "96d4ce4b2cc9952529faad2e7c262657", "cd852a41bee86e5a2913a12ac4e43095"], "statement_hash": "bbf35131dcae001445dbbd0547e54ebeecf3054f9d675a0a951aa59f955018fa"}, "url": "/docs/compare/?release=18.6#18.6-27f3fc55e6505e3a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-2a6d1da6de790ba0", "cves": [], "html": "<p>未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目（Niall Newman）<a href=\"https://postgr.es/c/fc9283b21\">§</a></p>\n<p>如果不进行清理，下次使用该本地条目时会导致空指针解引用。</p>", "text": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目（Niall Newman）§ 如果不进行清理，下次使用该本地条目时会导致空指针解引用。", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "commits": ["fc9283b21"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "d5433b0dff80d53189e0dcf6a4bfa56a7985815ad988b2b68e1340f2aa4ea278", "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": ["fc9283b21"], "source_entry_id": "17.11/changes/083", "db_id": "65cb52740b6d4b79d67968be77af89f3", "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": "69bb916ea3e2500fcf1ca6568c60960f", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "69bb916ea3e2500fcf1ca6568c60960f", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "未能为对应的共享 hash 表条目获取空间后，清理已损坏的本地 pgstats 条目", "evidence": {"same_day": true, "patch_ids": ["073249ed6bcae15bb6d4063aa8558bab"], "statement_hash": "c60eb3598315d881be3eccb1a6430b61a597e0457159bd9304d33bd0c753b70e"}, "url": "/docs/compare/?release=18.6#18.6-8e68cf04f8d3d622", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-df7c413d42462d43", "cves": [], "html": "<p>在 <span>PL/Perl</span> 中，避免处理无效的 <code>PostgreSQL::InServer::ARRAY</code> 对象时因解引用 NULL 指针而崩溃（Xing Guo）<a href=\"https://postgr.es/c/d424d06ed\">§</a></p>", "text": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃（Xing Guo）§", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "commits": ["d424d06ed"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c49765c70a127206dc5c6f62a99c63445a766f544c39873f3513aa08581ee164", "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": ["d424d06ed"], "source_entry_id": "17.11/changes/084", "db_id": "f143e0fa28a7dd57f718edca2aebc331", "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": "51220e5b8d23efc0faab7627c0b277a9", "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"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "51220e5b8d23efc0faab7627c0b277a9", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 PL/Perl 中，避免处理无效的 PostgreSQL::InServer::ARRAY 对象时因解引用 NULL 指针而崩溃", "evidence": {"same_day": true, "patch_ids": ["9f7af30504d68be229b578f1fb298bab"], "statement_hash": "816cdb7f810c7c6b8a9ff3718e2fd5085f754c66d29804028a804f438de99013"}, "url": "/docs/compare/?release=18.6#18.6-2efca855d8fe72b9", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-bf867cbb1ebe32c7", "cves": [], "html": "<p>在 <span>PL/Python</span> 中，正确检查处理序列和映射对象时发生的错误（Richard Guo）<a href=\"https://postgr.es/c/3dc59c173\">§</a></p>\n<p>此前，损坏的对象或未处理的异常可能导致解引用 NULL 指针而崩溃。</p>", "text": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误（Richard Guo）§ 此前，损坏的对象或未处理的异常可能导致解引用 NULL 指针而崩溃。", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "commits": ["3dc59c173"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "92cd93b5cc231de64abe0b88c8eaaa7550454153c37e13e6d25886fb4ba3d7a9", "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", "3dc59c173"], "source_entry_id": "17.11/changes/085", "db_id": "5ee9ccfc012c4ede5db692562772a752", "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": "7c536b903c2b846285e39de4051f4dda", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}}, {"rule": 2, "type": "equivalent", "target": "c6334af88dcf8bb00a0c24becb0804c2", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c6334af88dcf8bb00a0c24becb0804c2", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 PL/Python 中，正确检查处理序列和映射对象时发生的错误", "evidence": {"same_day": true, "patch_ids": ["82aeda458da615307371e8d49ed0abdd", "a96949fcfb8c6bac8cc1705ad8aa548e"], "statement_hash": "33d469b3040d6c202f91bb0448f11a09e5ddae64c76bb00e48ee5634543c64ee"}, "url": "/docs/compare/?release=18.6#18.6-728c054c41aaf74d", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-ece298bedf647a6a", "cves": [], "html": "<p>在 <span>libpq</span> 中，执行 <code>pqReadData()</code> 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节（Jacob Champion）<a href=\"https://postgr.es/c/c162810a5\">§</a> <a href=\"https://postgr.es/c/177a2a2e3\">§</a> <a href=\"https://postgr.es/c/0958c3ea4\">§</a> <a href=\"https://postgr.es/c/bab0a2db7\">§</a></p>\n<p>这可以避免一种边界情况：<span>libpq</span> 或调用它的应用程序等待套接字上有更多数据到达，而实际上所有数据都已经到达。</p>", "text": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节（Jacob Champion）§ § § § 这可以避免一种边界情况：libpq 或调用它的应用程序等待套接字上有更多数据到达，而实际上所有数据都已经到达。", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "commits": ["0958c3ea4", "177a2a2e3", "bab0a2db7", "c162810a5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "f4a41f0b3afb4519e1a4d6be6f23b6a5e750a1b6641160a50a64e42699ace007", "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": ["0958c3ea4", "177a2a2e3", "bab0a2db7", "c162810a5"], "source_entry_id": "17.11/changes/086", "db_id": "f60154c0b7e3d0ae2ae39034edcdc2c1", "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": "9168ca39fb7c001030f5bfbd2405a57c", "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"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9168ca39fb7c001030f5bfbd2405a57c", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 libpq 中，执行 pqReadData() 时始终排空 SSL 或 GSS 解密缓冲区中所有待处理的字节", "evidence": {"same_day": true, "patch_ids": ["0b824057774a76b143d700730eb3e762", "cc43f5c943c90e1a9e72f73b95bcd867", "dd46de527b9a0334591039f236b5d00d", "fdc82cd35935c0be303512dba39e65fe"], "statement_hash": "8034e64e929755fda7f40131432f08c549be661e2525d6f7be6b5192313374be"}, "url": "/docs/compare/?release=18.6#18.6-99e20888b0a13dd7", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-a3c4e49ff3e57eff", "cves": [], "html": "<p>允许 <span>libpq</span> 接受超过 30000 字节的 ParameterDescription 消息（Ning Sun）<a href=\"https://postgr.es/c/e4183c667\">§</a></p>\n<p>此前，<span>libpq</span> 的有效性启发规则并未把这种消息类型视为可能很长。此限制会导致参数超过 7498 个的预备查询失败；这种情况虽然不太可能出现，但系统确实支持。</p>", "text": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息（Ning Sun）§ 此前，libpq 的有效性启发规则并未把这种消息类型视为可能很长。此限制会导致参数超过 7498 个的预备查询失败；这种情况虽然不太可能出现，但系统确实支持。", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "commits": ["e4183c667"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "27947a9065a0390840bb24fdcc6246e8e8600c15c9eba4eb2f9e05fb3c001490", "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": ["e4183c667"], "source_entry_id": "17.11/changes/087", "db_id": "97c44cf1d7b9b31d86691416921a75e4", "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": "c1e7d9148740f6776370a4a75311e436", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c1e7d9148740f6776370a4a75311e436", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "允许 libpq 接受超过 30000 字节的 ParameterDescription 消息", "evidence": {"same_day": true, "patch_ids": ["b6b26c4c8b27c2138732ea0f070c591b"], "statement_hash": "2bf8dba03893ccac611f0c0a15dfeaa8cb7ed7f18e2fbb58d26e630ffd77a548"}, "url": "/docs/compare/?release=18.6#18.6-524638e22a952ee0", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-4edba097ad3499b7", "cves": [], "html": "<p>拒绝 <span>ecpg</span> 的 <code>GET/SET DESCRIPTOR</code> 语句中存在多个描述符首部项（Masashi Kamura）<a href=\"https://postgr.es/c/fe8c0a762\">§</a></p>\n<p>此前语法允许这种形式，但会生成有缺陷的 C 代码。现调整语法和文档，只允许一个首部项。</p>", "text": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项（Masashi Kamura）§ 此前语法允许这种形式，但会生成有缺陷的 C 代码。现调整语法和文档，只允许一个首部项。", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "commits": ["fe8c0a762"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "aa484bb70808285fe57f6603ed54e77e7851ac4cba032f594a2a5643eaa09f1b", "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": ["fe8c0a762"], "source_entry_id": "17.11/changes/088", "db_id": "2d1814d3627bd7de23f302bac9690b77", "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb", "relations": [{"rule": 2, "type": "equivalent", "target": "aa20c63216e98c98f035fa86491b5b30", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aa20c63216e98c98f035fa86491b5b30", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "拒绝 ecpg 的 GET/SET DESCRIPTOR 语句中存在多个描述符首部项", "evidence": {"same_day": true, "patch_ids": ["4f4dddcf40354c994e2b6668a43af20d"], "statement_hash": "e3bda298ded00b77261ba1c76b32c15895630f65da4a428ed88a0e425a4414cb"}, "url": "/docs/compare/?release=18.6#18.6-f7ec4316771ce1eb", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-410e9178511c3bd6", "cves": [], "html": "<p>使 <span>psql</span> 扩展对齐输出格式中的行宽保持一致（Pavel Stehule）<a href=\"https://postgr.es/c/efd885d05\">§</a></p>\n<p>当表的数据行比记录标题行窄时，将数据行加宽到与标题行一致，从而避免输出不美观。</p>", "text": "使 psql 扩展对齐输出格式中的行宽保持一致（Pavel Stehule）§ 当表的数据行比记录标题行窄时，将数据行加宽到与标题行一致，从而避免输出不美观。", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "commits": ["efd885d05"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "515effb1fddcec198ad7058fdcddd30594e98dd02f21f44d09140b100b42e269", "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": ["efd885d05"], "source_entry_id": "17.11/changes/089", "db_id": "6a176afe78ae457a5f2e20281e68c1c8", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "8c98433b203fc9f697cb6dfef2f22a70", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8c98433b203fc9f697cb6dfef2f22a70", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "使 psql 扩展对齐输出格式中的行宽保持一致", "evidence": {"same_day": true, "patch_ids": ["e1ed38dd6fb22dc6b3c388c344a54963"], "statement_hash": "bfb36185dbcab5e46aea9291f19969eb343ad3998992659ae2d4c88cea80e5d6"}, "url": "/docs/compare/?release=18.6#18.6-e95d42c0b0a749e2", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3336152e1ee6addb", "cves": [], "html": "<p>修复 <span>psql</span> 在 <code>\\l+</code> 中显示数据库大小时的权限检查（Christoph Berg）<a href=\"https://postgr.es/c/41949c6f3\">§</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": ["41949c6f3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "e5f6655a022b9715d4718651326987d140702f74f1fb957cc2371ae9a374838c", "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": ["41949c6f3"], "source_entry_id": "17.11/changes/090", "db_id": "f02d8966daabdbd36db1126f9327767d", "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6", "relations": [{"rule": 2, "type": "equivalent", "target": "141d0e312a20156d1cd7aa5beaa39b84", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}, {"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": "fb027e827736bff10cc532003be6bcee", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "141d0e312a20156d1cd7aa5beaa39b84", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 psql 在 \\l+ 中显示数据库大小时的权限检查", "evidence": {"same_day": true, "patch_ids": ["987969fa30d6f3f33766c7242f782fcc"], "statement_hash": "52d0973776d5fe7f0ea2f39f5e8746a9acc9f7423229f4d6af57f5fe0d5f77e6"}, "url": "/docs/compare/?release=18.6#18.6-f01251105c93da4a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-774191cf1146f3bf", "cves": [], "html": "<p>修复 <span>psql</span> 对 <code>\\df</code> 的 TAB 补全，使其也涵盖过程（Erik Wienhold）<a href=\"https://postgr.es/c/355a4fcf9\">§</a></p>", "text": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程（Erik Wienhold）§", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "commits": ["355a4fcf9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "fd56141cfe6d36733c3415a3ab01ff4143d6cace80bb6d96232cbc70f74f83e4", "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": ["355a4fcf9"], "source_entry_id": "17.11/changes/091", "db_id": "2e71a63a423fe753a49907fea3f3f726", "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c", "relations": [{"rule": 2, "type": "equivalent", "target": "9de93d1e22001ece7792c285e354eead", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}}, {"rule": 2, "type": "equivalent", "target": "a6e56de07c090ea331a5f798b3fa0d29", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a6e56de07c090ea331a5f798b3fa0d29", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 psql 对 \\df 的 TAB 补全，使其也涵盖过程", "evidence": {"same_day": true, "patch_ids": ["42dfbce6e4e3f60c61e074ef2e0a152b"], "statement_hash": "1e5b0a22566f92da2ff5281d6974022db425423987f69e22a54af6a299da7e4c"}, "url": "/docs/compare/?release=18.6#18.6-34779a676e9c08fc", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-700eeda11277f3b9", "cves": [], "html": "<p>修复 <span>pgbench</span> 中的线程安全性缺陷（Fujii Masao）<a href=\"https://postgr.es/c/52b3e7001\">§</a></p>\n<p>当 <span>pgbench</span> 使用多个线程和 <code>--verbose-errors</code> 选项运行时，不同线程可能尝试使用同一个缓冲区构造错误消息，导致日志输出损坏。</p>", "text": "修复 pgbench 中的线程安全性缺陷（Fujii Masao）§ 当 pgbench 使用多个线程和 --verbose-errors 选项运行时，不同线程可能尝试使用同一个缓冲区构造错误消息，导致日志输出损坏。", "title": "修复 pgbench 中的线程安全性缺陷", "commits": ["52b3e7001"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "ae4aa23e68f5e707db5869ec7eb6966a6ecae576bb969bb4464bc2f6e0fac73c", "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": ["52b3e7001"], "source_entry_id": "17.11/changes/092", "db_id": "4e32c3e5a2bb416ea303c286b1df2858", "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf", "relations": [{"rule": 2, "type": "equivalent", "target": "44b28e2d798edbd4039b847c6dd86848", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "44b28e2d798edbd4039b847c6dd86848", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 pgbench 中的线程安全性缺陷", "evidence": {"same_day": true, "patch_ids": ["4117d7222a31fc591ad7eac0024a0f9f"], "statement_hash": "954c7afe7c6b0058837dfdb334f6d992ca7c956e2e82c888bfb65248ea13fcaf"}, "url": "/docs/compare/?release=18.6#18.6-d444b0e88b717a34", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-17e93d8574cb6937", "cves": [], "html": "<p>在 <span>pg_combinebackup</span> 中，防止源文件短于预期时出现无限循环（Peter Eisentraut）<a href=\"https://postgr.es/c/090ce6934\">§</a></p>", "text": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环（Peter Eisentraut）§", "title": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环", "commits": ["090ce6934"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "9ead33d6b1ac2783ff5603c8d4568d4aaf5634f83335a387b613181f64ec1753", "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": ["090ce6934"], "source_entry_id": "17.11/changes/093", "db_id": "0de6b21246ca038db28e1d7e7a8c33a5", "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7", "relations": [{"rule": 2, "type": "equivalent", "target": "c27420aa9b3b249ab663f9b3b7619204", "evidence": {"same_day": true, "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c27420aa9b3b249ab663f9b3b7619204", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 pg_combinebackup 中，防止源文件短于预期时出现无限循环", "evidence": {"same_day": true, "patch_ids": ["0ba00e2ae3a5e83df9d4302186a61a05"], "statement_hash": "761861ecd47105adace712b27a89e3d3f71b32c7571c4e3a163697a77fad30a7"}, "url": "/docs/compare/?release=18.6#18.6-0a368cc2731c2f99", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-48e3e90ffcc9370a", "cves": [], "html": "<p>修复 <span>pg_createsubscriber</span> 出错后对发布端对象的清理（Nisha Moond）<a href=\"https://postgr.es/c/c03784a21\">§</a></p>\n<p>当 <span>pg_createsubscriber</span> 在创建逻辑复制对象后失败时，它应删除在发布端创建的发布和复制槽。某些错误情形未能这样做。</p>", "text": "修复 pg_createsubscriber 出错后对发布端对象的清理（Nisha Moond）§ 当 pg_createsubscriber 在创建逻辑复制对象后失败时，它应删除在发布端创建的发布和复制槽。某些错误情形未能这样做。", "title": "修复 pg_createsubscriber 出错后对发布端对象的清理", "commits": ["c03784a21"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "a1d75d666e44a60984067015d9d6bcab7f9bc370d87822e0eb6afbafa4d22e93", "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": ["c03784a21"], "source_entry_id": "17.11/changes/094", "db_id": "a5c36038d3fc8268a2ecbdc5f6d205fc", "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380", "relations": [{"rule": 2, "type": "equivalent", "target": "b3b32d95005620db1dde6737c217ff79", "evidence": {"same_day": true, "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3b32d95005620db1dde6737c217ff79", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 pg_createsubscriber 出错后对发布端对象的清理", "evidence": {"same_day": true, "patch_ids": ["294a0298249f9d0b66c918ec534fd2fa"], "statement_hash": "0b52e9786bbf3135e7724a4cd772716beafec6c0f4a214b285af87f0fd2ba380"}, "url": "/docs/compare/?release=18.6#18.6-280913453570aa34", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-7a66a4f0ad5abf3d", "cves": [], "html": "<p>对 <span>pg_recvlogical</span> 输出文件采用源集簇的文件组读权限（Fujii Masao）<a href=\"https://postgr.es/c/ddd12d1a5\">§</a></p>\n<p>文档声称 <span>pg_recvlogical</span> 会这样做，但它从未实际启用组读权限。</p>", "text": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限（Fujii Masao）§ 文档声称 pg_recvlogical 会这样做，但它从未实际启用组读权限。", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "commits": ["ddd12d1a5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "2d362a8419c84544506326cf62a517eae4c23ecc6d7d232d922163964cfefbb4", "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": ["ddd12d1a5"], "source_entry_id": "17.11/changes/095", "db_id": "7c4fc2d9507cff650a6e11a00319e316", "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": "739e2a6e3be37fb134a81099033e7b88", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "739e2a6e3be37fb134a81099033e7b88", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "对 pg_recvlogical 输出文件采用源集簇的文件组读权限", "evidence": {"same_day": true, "patch_ids": ["afbffd5094352bc11bf18ec699c42866"], "statement_hash": "76c08921b60501e09bdf60cd197949c5372599c542dc2702bad076644bfb808e"}, "url": "/docs/compare/?release=18.6#18.6-ccc1d394ba38511a", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-43173bad4eaa1b27", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，正确处理短头部 varlena Datum（Andrey Borodin）<a href=\"https://postgr.es/c/8abb8a155\">§</a></p>\n<p>此错误可能导致验证 B-树索引时执行多余工作，但似乎没有造成更严重的后果。</p>", "text": "在 contrib/amcheck 中，正确处理短头部 varlena Datum（Andrey Borodin）§ 此错误可能导致验证 B-树索引时执行多余工作，但似乎没有造成更严重的后果。", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "commits": ["8abb8a155"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "e018f0b042d64dcca79a21b96b2ea3474917d26dcc23debba5a60a3f14ef8653", "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": ["8abb8a155"], "source_entry_id": "17.11/changes/096", "db_id": "3b8c851869278523310ddb5e0cf66c28", "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d", "relations": [{"rule": 2, "type": "equivalent", "target": "2d507c3ecfdc88b0a54eabbb1a06a7e0", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2d507c3ecfdc88b0a54eabbb1a06a7e0", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/amcheck 中，正确处理短头部 varlena Datum", "evidence": {"same_day": true, "patch_ids": ["d7fc6f8977003129b1104cd80d7d07dc"], "statement_hash": "e472f473c1b1497e339e1735040e13130df76e2534eb81a81dc2b51327126c5d"}, "url": "/docs/compare/?release=18.6#18.6-83d0b073d364f75c", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-62f2c81188559a68", "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/d215d2cc2\">§</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": ["d215d2cc2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "f775123e917c90c2214672be7b57663fd7fc2404ee6b897fecc715550a3eafcd", "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": ["d215d2cc2"], "source_entry_id": "17.11/changes/097", "db_id": "4cd8eba009b82559add8c3ec81c4961d", "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788", "relations": [{"rule": 2, "type": "equivalent", "target": "4d9e91353135c760e8823c0cd0ef6409", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4d9e91353135c760e8823c0cd0ef6409", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/btree_gist 中，修复 NaN 在 float4 和 float8 操作符类中的处理", "evidence": {"same_day": true, "patch_ids": ["a41ef98054d9fc11255ff2e1ac2b8d7f"], "statement_hash": "faf27e09f191a40fa7cb700d40946951864bfacf5baac3f0510ba15d921d9788"}, "url": "/docs/compare/?release=18.6#18.6-f1427fb43b6c1e77", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-bb79dbfaaf4bd7a5", "cves": [], "html": "<p>在 <code>contrib/btree_gist</code> 中，修复使用不等操作符的搜索（Ayush Tiwari）<a href=\"https://postgr.es/c/86992769e\">§</a></p>\n<p>对于变长数据类型，扫描非叶索引页的代码使用了错误的比较函数，导致结果错误并可能引发崩溃。</p>", "text": "在 contrib/btree_gist 中，修复使用不等操作符的搜索（Ayush Tiwari）§ 对于变长数据类型，扫描非叶索引页的代码使用了错误的比较函数，导致结果错误并可能引发崩溃。", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "commits": ["86992769e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "91271ddbb65318f6138793fc1a67e677015bbc7b59a2ef372c7e97daa0898fb0", "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": ["86992769e"], "source_entry_id": "17.11/changes/098", "db_id": "c540681583edc5cf717591e5bf65da83", "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": "6a17d9b57b1644e479653b086d9a3d5b", "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"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6a17d9b57b1644e479653b086d9a3d5b", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/btree_gist 中，修复使用不等操作符的搜索", "evidence": {"same_day": true, "patch_ids": ["515eccc8717dfd3bf829ad309ee292d4"], "statement_hash": "2be1ae243cd8ebc1e8e722c0adfd189a77f8b7ec2ce84c5f76afc7ac0990135a"}, "url": "/docs/compare/?release=18.6#18.6-ba3d35f49ebe5363", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f475bfd70799c254", "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/3df0b7755\">§</a> <a href=\"https://postgr.es/c/4efef9d18\">§</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": ["3df0b7755", "4efef9d18"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "6ed98946ad7978803495b7f442b09a0e3897e8030440c1d5aac9e2d825dd8f82", "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": ["3df0b7755", "4efef9d18"], "source_entry_id": "17.11/changes/099", "db_id": "595e055e71880ae192e2de47f74a1291", "patch_ids": ["06d3f82c811dcdc72352268391913b6d", "d2e482ea690658ce247d390c41c898b7"], "statement_hash": "7097b151e48a64281451cfa04b6e3d236b5b30fd3c3c7d17dc03685399c5d1a3", "relations": [{"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": "e84c01132f8e26fec06fb2c24d693754", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e84c01132f8e26fec06fb2c24d693754", "kind": "equivalent", "version": "18.6", "label": "18.6", "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=18.6#18.6-3bbe012702953660", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-c1417114cda9dd52", "cves": [], "html": "<p>修复 <code>contrib/intarray</code> 中遗漏释放统计信息 catcache 条目的问题（Man Zeng）<a href=\"https://postgr.es/c/94b57ab54\">§</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": ["94b57ab54"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c95036cfe30472fc46c4b89de326c6c2235fa31027054ce35df66e53ea8aa32c", "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": ["94b57ab54"], "source_entry_id": "17.11/changes/100", "db_id": "29b63a7300df9efc4d5ac1e96dc34cb7", "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3", "relations": [{"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": "531f88cd6dd693227e011632166ae87b", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "531f88cd6dd693227e011632166ae87b", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/intarray 中遗漏释放统计信息 catcache 条目的问题", "evidence": {"same_day": true, "patch_ids": ["ed91737595bc2b3f155e28dcd1a2eea2"], "statement_hash": "f94e4dacb87f6c952276d56347322f0e3b34e2c00c7f4e555ef6c2806632dec3"}, "url": "/docs/compare/?release=18.6#18.6-69c78fae0c5ccd69", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-390646d2843a7323", "cves": [], "html": "<p>在 <code>contrib/ltree</code> 中，修复比较时的整数溢出（Ayush Tiwari）<a href=\"https://postgr.es/c/c391c00d9\">§</a></p>\n<p>包含超过约 14,653 个标签的 <code>ltree</code> 值会因溢出而得到错误的比较结果。如果 B-树索引包含这类值，它很可能已经损坏，应在安装此更新后重建索引。</p>", "text": "在 contrib/ltree 中，修复比较时的整数溢出（Ayush Tiwari）§ 包含超过约 14,653 个标签的 ltree 值会因溢出而得到错误的比较结果。如果 B-树索引包含这类值，它很可能已经损坏，应在安装此更新后重建索引。", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "commits": ["c391c00d9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "116ec03c2ed83f5858342718058979a6e0a8e40c14e86d1a55c2c12c8685f50c", "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": ["c391c00d9"], "source_entry_id": "17.11/changes/101", "db_id": "faeb6c3b8ab3db22ba871dc683772018", "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": "888fddf9fe911dead6a68c55c98b9295", "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"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "888fddf9fe911dead6a68c55c98b9295", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/ltree 中，修复比较时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["81c4c385ffbd98f111a552cae708d804"], "statement_hash": "c38e1cee6bb8614366f4396766b59cb9e1991d5646798456e57e0b3b5c284883"}, "url": "/docs/compare/?release=18.6#18.6-b2444fb7d252ecb2", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-5451045e11a327c3", "cves": [], "html": "<p>在 <code>contrib/pgcrypto</code> 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃（Yuelin Wang）<a href=\"https://postgr.es/c/2aa6be6e6\">§</a></p>", "text": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃（Yuelin Wang）§", "title": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃", "commits": ["2aa6be6e6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "150e599abc1a827041006156e049c5cd41061b15ef28105339f7e047cff44b57", "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": ["2aa6be6e6"], "source_entry_id": "17.11/changes/102", "db_id": "d0d6e890b41eab7e420c2fcbe5f1ef9a", "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc", "relations": [{"rule": 2, "type": "equivalent", "target": "a3a95ce55c5a9796ab6c6450441f3aab", "evidence": {"same_day": true, "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a3a95ce55c5a9796ab6c6450441f3aab", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/pgcrypto 中，避免使用 OSSLCipher 对象期间遇到错误后因双重释放而崩溃", "evidence": {"same_day": true, "patch_ids": ["0fc20fc5da6cc2df460972dea4bc66d3"], "statement_hash": "e754a4cc9f54f8e9075d7eb90cc11678eab6addc3270a282ab92b5e46a8111cc"}, "url": "/docs/compare/?release=18.6#18.6-794d5c13d1ec54d8", "source_url": "/docs/release/18.6/#RELEASE-18-6-CHANGES"}]}, {"id": "17.11-e5e220ac4d63838b", "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/0bcf19c9e\">§</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": ["0bcf19c9e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "cea29e239b3b153c740da1a6320be574b8750640475651f3b35057b947705653", "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": ["0bcf19c9e"], "source_entry_id": "17.11/changes/103", "db_id": "bfda1df269b11b96600aa8d604c7a26a", "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae", "relations": [{"rule": 2, "type": "equivalent", "target": "34c6abdf99153564a44d057cfe4b6dac", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}}, {"rule": 2, "type": "equivalent", "target": "68b2c21176cad03670e2c5de5fd39431", "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": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "34c6abdf99153564a44d057cfe4b6dac", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/pg_surgery 的 heap_force_kill 和 heap_force_freeze 函数中的数组越界写入", "evidence": {"same_day": true, "patch_ids": ["eb798217c4bf865d1840668bc6612f6d"], "statement_hash": "0c283cf21db62b067b9adc880d22c26404e9404758237c1adc833a4aa35981ae"}, "url": "/docs/compare/?release=18.6#18.6-2f1813bf59f642ea", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-79d5c27db04cf496", "cves": [], "html": "<p>在 <code>contrib/pg_surgery</code> 中，避免包含超过 64K 个元素的 TID 数组导致无限循环（Andrey Rachitskiy）<a href=\"https://postgr.es/c/1b6c99d96\">§</a></p>", "text": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环（Andrey Rachitskiy）§", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "commits": ["1b6c99d96"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "c30b6722b9eab8c0f01b3ba498d1c0cd728f98f47337b43694a5dfdd3c19c601", "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": ["1b6c99d96"], "source_entry_id": "17.11/changes/104", "db_id": "4a05d2d19e5e7e6511185becc5206900", "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046", "relations": [{"rule": 2, "type": "equivalent", "target": "15bef4f690bc1f9d9deab62cf46941cd", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "15bef4f690bc1f9d9deab62cf46941cd", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "在 contrib/pg_surgery 中，避免包含超过 64K 个元素的 TID 数组导致无限循环", "evidence": {"same_day": true, "patch_ids": ["eee9eeea4b735f7e05d2171f399f90b7"], "statement_hash": "61e49310bab6315f2a6361f60f0c6a990b1ae003c54c69d1fffe69de809cb046"}, "url": "/docs/compare/?release=18.6#18.6-e307258545af5090", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-3c3f973709d9fe9a", "cves": ["CVE-2026-6637"], "html": "<p>避免 <code>contrib/refint</code> 的 <code>check_foreign_key()</code> 中解引用 NULL 指针（Ayush Tiwari）<a href=\"https://postgr.es/c/6b4de201e\">§</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": ["6b4de201e"], "section": "变更", "category": "security", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "6b28a24e84432ef095072dc5818a8589b49386ea01daa0ac2253d50d2ce216b6", "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": ["6b4de201e"], "source_entry_id": "17.11/changes/105", "db_id": "4a53f44037d5d1ea5b714eb8d91567ee", "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374", "relations": [{"rule": 2, "type": "equivalent", "target": "1404c503877f8a1f5c524fd84656cf87", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}}, {"rule": 2, "type": "equivalent", "target": "220e195253d94eac399969a628bda519", "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": "17.11", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1404c503877f8a1f5c524fd84656cf87", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "避免 contrib/refint 的 check_foreign_key() 中解引用 NULL 指针", "evidence": {"same_day": true, "patch_ids": ["47510ee01f1ec9c76e280af528461da2"], "statement_hash": "95ffa03f4949f1fbe65efb454898eb0f8b9358951a8110fcc4b0547102b37374"}, "url": "/docs/compare/?release=18.6#18.6-8573bd52d03d8b3e", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f8ebcb7cb6568363", "cves": [], "html": "<p>修复 <code>contrib/seg</code>，使其正确打印带有 <code>~</code> 确定性指示符的线段（Ewan Young）<a href=\"https://postgr.es/c/bcbbd070d\">§</a></p>\n<p>由于拼写错误，<code>seg_out()</code> 不会打印附加在线段上界的 <code>~</code> 确定性指示符。更糟的是，如果下界带有 <code>~</code> 而上界没有指示符，上界会完全不被打印，从而错误地将该值转换为开区间。</p>", "text": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段（Ewan Young）§ 由于拼写错误，seg_out() 不会打印附加在线段上界的 ~ 确定性指示符。更糟的是，如果下界带有 ~ 而上界没有指示符，上界会完全不被打印，从而错误地将该值转换为开区间。", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "commits": ["bcbbd070d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "4769ddea70960c17bbb3099c9bac5a3b96eb02a3eb2554ef00cdc7bff59059c7", "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": ["bcbbd070d"], "source_entry_id": "17.11/changes/106", "db_id": "f63e408806c4f80aa07b2f3f4200fd07", "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": "de74a54f9ab1b5032316a8f4cb4edf58", "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"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "de74a54f9ab1b5032316a8f4cb4edf58", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/seg，使其正确打印带有 ~ 确定性指示符的线段", "evidence": {"same_day": true, "patch_ids": ["e2313cef86571289890e86a92fd291b0"], "statement_hash": "23b42c58c9ee43c9366b0c8bcd51fa7f6a5f8128a44a1177cc58f3f91513f308"}, "url": "/docs/compare/?release=18.6#18.6-387ff665922d6204", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-104bc8853d14d256", "cves": [], "html": "<p>修复 <code>contrib/xml2</code> 的 <code>xpath_nodeset()</code> 函数处理命名空间节点时的崩溃（Andrey Chernyy、Michael Paquier）<a href=\"https://postgr.es/c/4a49ab289\">§</a></p>", "text": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃（Andrey Chernyy、Michael Paquier）§", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "commits": ["4a49ab289"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "65bd706434a4841925b2b648e47815de559789256026397d9b5f71b3b7e89e4d", "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": ["4a49ab289"], "source_entry_id": "17.11/changes/107", "db_id": "d967526895b7f276004e82823a346cb6", "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": "edc2de68fd585e179939afe22f49f6bb", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}, {"rule": 2, "type": "equivalent", "target": "fd09f75c1b17c508bb1667d2e8243417", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}}], "version": "17.11", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "fd09f75c1b17c508bb1667d2e8243417", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "修复 contrib/xml2 的 xpath_nodeset() 函数处理命名空间节点时的崩溃", "evidence": {"same_day": true, "patch_ids": ["8c64b7d500b48c68b6c001ce703e5a7a"], "statement_hash": "564064da4d754c14b74429277ee8c70cec905cb6c0898171524ca51bb511cd9e"}, "url": "/docs/compare/?release=18.6#18.6-de0be6584b43dd98", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-f6b857a06e35de57", "cves": [], "html": "<p>支持使用 OpenSSL 4 构建 <span>PostgreSQL</span>（Daniel Gustafsson）<a href=\"https://postgr.es/c/8bcabfcce\">§</a></p>", "text": "支持使用 OpenSSL 4 构建 PostgreSQL（Daniel Gustafsson）§", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "commits": ["8bcabfcce"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "47187bf9a81103a5a79cd9ba5b58aea9047d8f3c3068a1db75a7646c8abb4c25", "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": ["8bcabfcce"], "source_entry_id": "17.11/changes/108", "db_id": "3814ca74f63c29149528542a43ad21c5", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "c3287f3d7329f9fd4fb1dead8c819569", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}}], "version": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c3287f3d7329f9fd4fb1dead8c819569", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "支持使用 OpenSSL 4 构建 PostgreSQL", "evidence": {"same_day": true, "patch_ids": ["17c49f696c0a31900846c5a8c98eebd4"], "statement_hash": "c7b934d532c3b5d79d29d9130c3ab4f97028c3c1aa16422bb9101d84ad828729"}, "url": "/docs/compare/?release=18.6#18.6-48c6d3c86320b73f", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.11-8abc326e9afc0d23", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2026c 发布版本（Tom Lane）<a href=\"https://postgr.es/c/669438aed\">§</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": ["669438aed"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.11/#RELEASE-17-11-CHANGES", "source_hash": "1224d33fa7b58251d960edb8bc65ddd58545e891c837e73fedac63d505161fa1", "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": ["669438aed"], "source_entry_id": "17.11/changes/109", "db_id": "6c00ccb389c691ec829366a2dd6d8fd7", "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": "5d6e219dd117842cc9b25b660af47952", "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": "17.11", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5d6e219dd117842cc9b25b660af47952", "kind": "equivalent", "version": "18.6", "label": "18.6", "title": "将时区数据文件更新到 tzdata 2026c 发布版本", "evidence": {"same_day": true, "patch_ids": ["b4e9971495e6df3bcbb5661de594cfb5"], "statement_hash": "db30f9e9494e81ad745b38acebea395f96ce2c6e6fd0e722f568326a3b8491a7"}, "url": "/docs/compare/?release=18.6#18.6-d9abf44820fbecc5", "source_url": "/docs/release/18.6/#RELEASE-18-6-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": "17.10", "major": "17", "minor": 10, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.10", "eol_date": "2029-11-08", "date_text": "2026-05-14", "supported": true, "manual_url": "/docs/17/release-17-10.html", "source_url": "/docs/release/17.10/", "entry_count": 58, "placeholder": false, "content_hash": "421af3bb3e96e54b1de7dc44b7cca5c02da971a78badc647cbe0f84d89b331c9", "manual_build": "17.12", "source_as_of": "", "changes_count": 58, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>但是，如果你从早于 17.6 的版本升级，请参见<a href=\"/docs/17/release-17-6.html\" title=\"E.6. 17.6 发布\">第 E.6 节</a>。</p>", "compatibility_count": 0, "label": "17.10", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 184, "support_days": 1090, "entries": [{"id": "17.10-11e46f0b0085f2d6", "cves": ["CVE-2026-6479"], "html": "<p>防止处理启动包时发生无界递归（Michael Paquier）<a href=\"https://postgr.es/c/32a4ce55c\">§</a> <a href=\"https://postgr.es/c/6dffaeb8e\">§</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": ["32a4ce55c", "6dffaeb8e"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "1ada86bdd425dd2259fe80bbe1aeb47ff43298d44b1fe94b2fe87651e78d0424", "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": ["32a4ce55c", "6dffaeb8e"], "source_entry_id": "17.10/changes/001", "db_id": "91cb80c58929d3256c8543b647d98328", "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4", "relations": [{"rule": 2, "type": "equivalent", "target": "1ca6ff4a849ed2960fad43a403e2b932", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}, {"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": "e49a23129f6590195a74fcbcc51115f9", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "1ca6ff4a849ed2960fad43a403e2b932", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止处理启动包时发生无界递归", "evidence": {"same_day": true, "patch_ids": ["4309351724f2df44d6eb12d700f03a90", "fce882e6fdda4deccb44245cc5966b20"], "statement_hash": "879026f1f07a4d172337b9e457cc300e4ed2d558396bcc627770e4ef108f69d4"}, "url": "/docs/compare/?release=18.4#18.4-63ab78ae660e7424", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-a0bf50b47f7c6ba2", "cves": ["CVE-2026-6473"], "html": "<p>修复内存分配计算中的多处整数溢出问题（Tom Lane，Nathan Bossart，Heikki Linnakangas）<a href=\"https://postgr.es/c/fe2720c45\">§</a> <a href=\"https://postgr.es/c/01b5ef7df\">§</a> <a href=\"https://postgr.es/c/e3a2bea41\">§</a> <a href=\"https://postgr.es/c/26dd3cac2\">§</a> <a href=\"https://postgr.es/c/87357a606\">§</a> <a href=\"https://postgr.es/c/3c41f5534\">§</a> <a href=\"https://postgr.es/c/ebcfa7867\">§</a> <a href=\"https://postgr.es/c/00e243e67\">§</a> <a href=\"https://postgr.es/c/e5babf754\">§</a> <a href=\"https://postgr.es/c/8e909812d\">§</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": ["00e243e67", "01b5ef7df", "26dd3cac2", "3c41f5534", "87357a606", "8e909812d", "e3a2bea41", "e5babf754", "ebcfa7867", "fe2720c45"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "d3d25a36426ef2cf407b32f949d6d22a9bfa12410999b2412e4136b5f1057a25", "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": ["00e243e67", "01b5ef7df", "26dd3cac2", "3c41f5534", "87357a606", "8e909812d", "e3a2bea41", "e5babf754", "ebcfa7867", "fe2720c45"], "source_entry_id": "17.10/changes/002", "db_id": "f0345a5abb8aa96f05fce3fbd32e6535", "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": "acba67a334312f97f378ad9d28899a71", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "acba67a334312f97f378ad9d28899a71", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复内存分配计算中的多处整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["0ef31353c016842f07a477e36bffc11a", "18b75605d90ace7a2cf8047352074614", "522ba1e579ed17edbf8f9a554cef9734", "5ee943f19c8b14a26d6f6e850b4c2e4a", "67e33d81b6d11e90e4032802100b1f9a", "722cd5796fd759e519e27c59ed0f5bc7", "8b4c7be6720ec411561a3216285eb5c2", "9be6f17ccc7861ac218a3159257353f5", "9c6a62a34c14fe610b5925191c0d43bf", "ac6798245b6fb47cbaf616c47755bec8"], "statement_hash": "e134dbaa858fe12a3a5fc6391ac874300d57d4269c0f25b416434cdc943690d8"}, "url": "/docs/compare/?release=18.4#18.4-0ecf0348f34312bf", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-927543ba721f9720", "cves": ["CVE-2026-6476"], "html": "<p>在 <span>pg_createsubscriber</span> 中正确为订阅名称加引号（Nathan Bossart）<a href=\"https://postgr.es/c/d7de7fa84\">§</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": ["d7de7fa84"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "4807d6f79bb16ec55a0c1ebb8826b5ad865ff50428dc408b9d0b6a5a1f5bbbb3", "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": ["d7de7fa84"], "source_entry_id": "17.10/changes/003", "db_id": "c1016302d421112d19c9bbb963270941", "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27", "relations": [{"rule": 2, "type": "equivalent", "target": "eda2bad4600ad30b4d662076df8c2604", "evidence": {"same_day": true, "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "eda2bad4600ad30b4d662076df8c2604", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 pg_createsubscriber 中正确为订阅名称加引号", "evidence": {"same_day": true, "patch_ids": ["e720680b86f42b77dffa98182668476a"], "statement_hash": "ab8d616fe93986f065230107e451ba6882c134da9ddc1a51188a772cce10dc27"}, "url": "/docs/compare/?release=18.4#18.4-5bdcbd2e82271018", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-fdd0ba1867f4cdc1", "cves": ["CVE-2026-6638"], "html": "<p>在逻辑复制源检查中正确引用对象名称（Pavel Kohout）<a href=\"https://postgr.es/c/f0f59b658\">§</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": ["f0f59b658"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "2e13f748ebe4ad7152ef3046f43d32a61acbc156151d02fd824bb9e886e85d59", "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": ["f0f59b658"], "source_entry_id": "17.10/changes/004", "db_id": "6b9ad77c2d8c8cf7ed6c43c56746b015", "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743", "relations": [{"rule": 2, "type": "equivalent", "target": "160fa6992f90d49b5edf0769aa32c248", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "160fa6992f90d49b5edf0769aa32c248", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在逻辑复制源检查中正确引用对象名称", "evidence": {"same_day": true, "patch_ids": ["a9b5d94f4021c4259f919029b9984225"], "statement_hash": "13a92db4a9747d0e4148764ace1c5b2427bc1582543dea88fe555dd3a4b24743"}, "url": "/docs/compare/?release=18.4#18.4-a09de455386cd30a", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-b66b265350df29d2", "cves": ["CVE-2026-6473"], "html": "<p>拒绝 <code>ts_headline()</code> 中过长的选项（Michael Paquier）<a href=\"https://postgr.es/c/3ed3dbbf4\">§</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": ["3ed3dbbf4"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "7cf11858483a91e864077bd53d40c4e8c0400f42e14901b411f7dcfe3eda34e8", "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": ["3ed3dbbf4"], "source_entry_id": "17.10/changes/005", "db_id": "0d396ecb6f57179d943c76706100debf", "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330", "relations": [{"rule": 2, "type": "equivalent", "target": "4e96017be5ce2c6f1d23bf476a962747", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}}, {"rule": 2, "type": "equivalent", "target": "afe38bbdb09239daec9610fc4bf0002f", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "afe38bbdb09239daec9610fc4bf0002f", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "拒绝 ts_headline() 中过长的选项", "evidence": {"same_day": true, "patch_ids": ["8457c408eab825cef1442be8b008d331"], "statement_hash": "fa5b62f6b191298714caf3ad9670542a5ca5106f71c0bcc2d9d2de48ba2a0330"}, "url": "/docs/compare/?release=18.4#18.4-2463210164fd4e42", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-f68835d296474e15", "cves": ["CVE-2026-6474"], "html": "<p>防范 <code>timeofday()</code> 和 <code>pg_strftime()</code> 中的恶意时区名（Tom Lane）<a href=\"https://postgr.es/c/4197c880c\">§</a> <a href=\"https://postgr.es/c/a386d14fe\">§</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": ["4197c880c", "a386d14fe"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "4fd55743792fde17e697b9bb26fe7c2f6f0be0f2fd47701d165ecf91326990f1", "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": ["4197c880c", "a386d14fe"], "source_entry_id": "17.10/changes/006", "db_id": "943c74b8816c45111e8f6f3e4682a426", "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806", "relations": [{"rule": 2, "type": "equivalent", "target": "2a60ebdc5466fdb8ded5b7dd70ff560e", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}}, {"rule": 2, "type": "equivalent", "target": "4746c5c97c413c4b367427dcc53d74f9", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "2a60ebdc5466fdb8ded5b7dd70ff560e", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防范 timeofday() 和 pg_strftime() 中的恶意时区名", "evidence": {"same_day": true, "patch_ids": ["3f00e8116f67649860ad5a155650db89", "b65bcdf6c5ef035597912c09e793606a"], "statement_hash": "28222af75396ae38d496fb3a6ca7635e107ba94454753d5b681b8db434552806"}, "url": "/docs/compare/?release=18.4#18.4-3645e80ffc91fcb0", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-7b894433ca4b5fde", "cves": ["CVE-2026-6472"], "html": "<p>创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 <code>CREATE</code> 权限（Jelte Fennema-Nio）<a href=\"https://postgr.es/c/c27ba08cd\">§</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": ["c27ba08cd"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "b9a1dee4e2ef9bf197f9e5b67381deb33fce2904ae28b8062794839bc3fba70e", "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": ["c27ba08cd"], "source_entry_id": "17.10/changes/007", "db_id": "482afe166c3411e42aa15c76ef043f3e", "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "d9b882bba9a59b55e34aa99621e22473", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d9b882bba9a59b55e34aa99621e22473", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "创建多范围类型时，确保用户在为该多范围类型指定的模式上拥有 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["1c201360c1e263b311b7234d83ff89be"], "statement_hash": "d04d5cbb5906b8e6e39e901491618574dca51ad80d7a3a625a786fceaddfddfd"}, "url": "/docs/compare/?release=18.4#18.4-5cd7cd57980a1193", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-61c7a5bccb286bea", "cves": ["CVE-2026-6478"], "html": "<p>在认证代码中使用时序安全的字符串比较（Michael Paquier）<a href=\"https://postgr.es/c/c4e7435b3\">§</a> <a href=\"https://postgr.es/c/8e34acfda\">§</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": ["8e34acfda", "c4e7435b3"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "f2d72cb6646d379b1267d67a86b2b61d54a56e50dad1f012554afe36d6d63647", "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", "c4e7435b3"], "source_entry_id": "17.10/changes/008", "db_id": "f4fc92fe7fa973d00f46d80cff768f2c", "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": "c468a98baa6993bf40cb569c73528c72", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c468a98baa6993bf40cb569c73528c72", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在认证代码中使用时序安全的字符串比较", "evidence": {"same_day": true, "patch_ids": ["4f5cfd9b1166f378c5d2d04fe94dad87", "7fbe706dd59ebe4eced7f18fe6cbf482"], "statement_hash": "7b7eca3255c6f7cb268565088cc6e073ca0b27ad15442af2772a39e51cbfd149"}, "url": "/docs/compare/?release=18.4#18.4-81a3fe71f66e6eb4", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-a3a6ffe2e68f9c70", "cves": ["CVE-2026-6477"], "html": "<p>将 <code>PQfn()</code> 标记为不安全，并避免在 <span>libpq</span> 内部使用它（Nathan Bossart）<a href=\"https://postgr.es/c/d88c7be15\">§</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": ["d88c7be15"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ee352ae6aa97942af1ad1aa901fcb3e81575a0a92d8ff5aa3132ec277c1962a1", "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": ["d88c7be15"], "source_entry_id": "17.10/changes/009", "db_id": "5659c5fab9b3c23718775a073679d763", "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": "847daceb397313a24d7c441b2b0558f1", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "847daceb397313a24d7c441b2b0558f1", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "将 PQfn() 标记为不安全，并避免在 libpq 内部使用它", "evidence": {"same_day": true, "patch_ids": ["751c917289b90832d6991f8f4911d6cc"], "statement_hash": "1bf9b2e2db6cb6f0cc68cfddc7ca5a446d8e7408a35bce897eda2f59aec7605b"}, "url": "/docs/compare/?release=18.4#18.4-d46d3c9f5a15e9ff", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-91d502adb9e9905a", "cves": ["CVE-2026-6475"], "html": "<p>防止 <span>pg_basebackup</span> 和 <span>pg_rewind</span> 中的路径遍历（Michael Paquier）<a href=\"https://postgr.es/c/8f881e188\">§</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": ["8f881e188"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "785ad4ffe16487e93f3d0989e395e309e0c1ccbcfdfb6a37d96c3f43ab1d3a1d", "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": ["8f881e188"], "source_entry_id": "17.10/changes/010", "db_id": "4bae8e6eba13d8b7f663721c981765fa", "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10", "relations": [{"rule": 2, "type": "equivalent", "target": "4327318e7057209dbe42b98400f9d4be", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "4327318e7057209dbe42b98400f9d4be", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止 pg_basebackup 和 pg_rewind 中的路径遍历", "evidence": {"same_day": true, "patch_ids": ["642e466aa03c3fea1f14f662cc164373"], "statement_hash": "f4e8ae9e638997395a0957d148112ff560c0e68ac13f1311986f81899f914d10"}, "url": "/docs/compare/?release=18.4#18.4-ad40fa4da3cebaa2", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-992f2d3fb9146406", "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/c4d04cc48\">§</a> <a href=\"https://postgr.es/c/2b429d887\">§</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": ["2b429d887", "c4d04cc48"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "e3662143874c82416b5b55fcb817fd41ae3f2abd0a7402ed64ef3fcb7d472f55", "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": ["2b429d887", "c4d04cc48"], "source_entry_id": "17.10/changes/011", "db_id": "9f97314dd0efbba664c1f83e75fb5fa1", "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": "9a6b47b64707d2aaa7ed6ba0484070e5", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9a6b47b64707d2aaa7ed6ba0484070e5", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防范 contrib/intarray 的 query_int 类型以及 contrib/ltree 的 ltxtquery 类型中的字段溢出", "evidence": {"same_day": true, "patch_ids": ["6f7401152b77a4e4d59e752f19e8486b", "b419665d09a38659e641b360731e56da"], "statement_hash": "eab56845994726033024137f96b0dd1e892a863aae111c3043e8a088bf26c0d7"}, "url": "/docs/compare/?release=18.4#18.4-2061b554e1b2edfa", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-ac24cc16660e8737", "cves": ["CVE-2026-6473"], "html": "<p>防范 <code>contrib/ltree</code> 的 <code>lquery</code> 类型中过长的值（Michael Paquier）<a href=\"https://postgr.es/c/8c3426110\">§</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": ["8c3426110"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "cbb63e023e7c48bc8db0a828a1936c9d4fc4819204a06f4652635f0ad8d0dec6", "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": ["8c3426110"], "source_entry_id": "17.10/changes/012", "db_id": "e57528b755cb641d030a2490a8ecb83e", "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": "f1ea7b13a59ce4a556a97a665b13ddd9", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}}], "version": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f1ea7b13a59ce4a556a97a665b13ddd9", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防范 contrib/ltree 的 lquery 类型中过长的值", "evidence": {"same_day": true, "patch_ids": ["82d1afadeb06a657e558ea1b226d290b"], "statement_hash": "0f082737f7f109cba8da33aebd4d21f85a8ca0c9ac333cd92d1eafa83684e6e1"}, "url": "/docs/compare/?release=18.4#18.4-eb36ae972f5e73e4", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-24a0ab68af146f7d", "cves": ["CVE-2026-6637"], "html": "<p>防止 <code>contrib/spi</code> 中的 SQL 注入和缓冲区越界写（Nathan Bossart）<a href=\"https://postgr.es/c/2dc64ef28\">§</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": ["2dc64ef28"], "section": "变更", "category": "security", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "26a7b8f437438d7d6acfaadcd30b96e83908358857737256dfad055a7b6822e2", "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": ["2dc64ef28"], "source_entry_id": "17.10/changes/013", "db_id": "80646ad1b79ca8538cfec18dd2e574d7", "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": "7f0c9646c89bca074cd9e0bbd964087f", "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": "17.10", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f0c9646c89bca074cd9e0bbd964087f", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止 contrib/spi 中的 SQL 注入和缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["41547e1e28b3ed62af00bb9fe154772c"], "statement_hash": "7b1c0422aa1716161960ade63e1f312c46555a948c91e3b00a8e5c748e70d047"}, "url": "/docs/compare/?release=18.4#18.4-723bbbf2b375795c", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-3d0256182db9ecf0", "cves": [], "html": "<p>在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则（Richard Guo）<a href=\"https://postgr.es/c/d0e73bb18\">§</a> <a href=\"https://postgr.es/c/13226050e\">§</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": ["13226050e", "d0e73bb18"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "8b3c01203598d7c5eb758f258dddb0ec9238d82825de776c37c0ab6dacba390b", "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": ["13226050e", "a1b754558", "ba82de48e", "d0e73bb18", "f76686ce7"], "source_entry_id": "17.10/changes/014", "db_id": "14aca2f70b5d43150bf21abea06182b1", "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": "ab7deff460d412d778fdd667ced2079e", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ab7deff460d412d778fdd667ced2079e", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在假定支持排序规则的类型上的等值条件意味着唯一性之前，检查是否存在非确定性排序规则", "evidence": {"same_day": true, "patch_ids": ["316cf0ea770f560e72ab5371605b5513", "5c112866699f7434ac81094a7defff94", "91c3ff9eba57946197b7ff56e14fa51c", "d3eef434b7b707e4192750663780aead", "fd47d8d847172b542e4dd373ddd10da1"], "statement_hash": "6402b6aac418981ce0968875628d2940ac41a846f0268ecb70dd927a13b74c1f"}, "url": "/docs/compare/?release=18.4#18.4-984de78400375246", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-d93df01ed01294f0", "cves": [], "html": "<p>修复连接移除期间 <code>RestrictInfo</code> 结构体中关系引用移除不完整的问题（Tom Lane）<a href=\"https://postgr.es/c/766d40286\">§</a> <a href=\"https://postgr.es/c/53cb4ec1d\">§</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": ["53cb4ec1d", "766d40286"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "4945b26db7e5f7301e6cbe90c9b3aaf2bb10d1913e3fd2ce61a6dcc2e1edb11a", "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": ["53cb4ec1d", "766d40286"], "source_entry_id": "17.10/changes/015", "db_id": "0a61b6485e0144413b6e68fbe7763a8f", "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109", "relations": [{"rule": 2, "type": "equivalent", "target": "53d5de052cfe73ed3dbffe04ba42ff12", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}}, {"rule": 2, "type": "equivalent", "target": "cbba3da86525413deddd8a183780866b", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cbba3da86525413deddd8a183780866b", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复连接移除期间 RestrictInfo 结构体中关系引用移除不完整的问题", "evidence": {"same_day": true, "patch_ids": ["22c06d077427cb5284041785d0e8cde1", "8989faf5448f269deb8ac79dc2a63860"], "statement_hash": "bbc0a2274d4af257fa49e43eafaf28ca0f12217996c9c00ed63e12bf89b35109"}, "url": "/docs/compare/?release=18.4#18.4-316d774d0290fc1b", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-5a2d4121326fa353", "cves": [], "html": "<p>修正规则动作和规则限定条件中对 <code>NEW</code> 生成列的错误处理（Richard Guo，Dean Rasheed）<a href=\"https://postgr.es/c/9d6208939\">§</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": ["9d6208939"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "097af185d76895df4eac1b0a13cd3d5b6811d5d3e79289b7441c6f828f47b54f", "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": ["9d6208939"], "source_entry_id": "17.10/changes/016", "db_id": "8d80511e26d842f1435d2598f5f3bbaf", "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63", "relations": [{"rule": 2, "type": "equivalent", "target": "090655eebbd07936e4cb9d733f25b629", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}}, {"rule": 2, "type": "equivalent", "target": "47046c8c15b5c7b8a2538a455bf90e7f", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "090655eebbd07936e4cb9d733f25b629", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修正规则动作和规则限定条件中对 NEW 生成列的错误处理", "evidence": {"same_day": true, "patch_ids": ["9ef2d4ec0243bfe037d4994449c1e950"], "statement_hash": "af928f89db398ea67c9d32398c345b90e862839c58fbce5eefd58aea84a8cc63"}, "url": "/docs/compare/?release=18.4#18.4-e3a990357e448509", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-ff70dbd91aa208f5", "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/681a91d29\">§</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": ["681a91d29"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "828f4d02fafd599d025b6b6db79bc05e79210125f75e3200097a6b8d404bdff9", "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": ["681a91d29"], "source_entry_id": "17.10/changes/017", "db_id": "8df2189076f2cd8cbe00157fbb1a0189", "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": "8f94a546a98010653153df93291c1daa", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8f94a546a98010653153df93291c1daa", "kind": "equivalent", "version": "18.4", "label": "18.4", "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=18.4#18.4-734d0400d44f5a3f", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-7ae06d40b417bc3b", "cves": [], "html": "<p>当 <code>MERGE</code> 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败（Tender Wang）<a href=\"https://postgr.es/c/2dcac93c0\">§</a></p>\n<p>此前，这类场景的行为与较低隔离级别中的行为相同。</p>", "text": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败（Tender Wang）§ 此前，这类场景的行为与较低隔离级别中的行为相同。", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "commits": ["2dcac93c0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "079852db8b655741d2e5073b29a6901174de745c49803dc097cbe1a804a8b420", "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": ["2dcac93c0"], "source_entry_id": "17.10/changes/018", "db_id": "f9969f9244f4ca14ba57359448274286", "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": "bfb26a4ca22c86d79dfde428bbcc3c24", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bfb26a4ca22c86d79dfde428bbcc3c24", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "当 MERGE 在可重复读或可串行化模式下遇到被并发更新的元组时，正确报告串行化失败", "evidence": {"same_day": true, "patch_ids": ["569476436f6f49fe3fc1c20af4157acf"], "statement_hash": "298c05dfef81a90cfb05f72e7375c2ceb55354d2b8c327b08b686d82ad2857b4"}, "url": "/docs/compare/?release=18.4#18.4-34de9da81adc1f79", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-b893eef62a42d4d7", "cves": [], "html": "<p>修复源表包含已删除列时的 <code>CREATE TABLE ... LIKE ... INCLUDING STATISTICS</code>（Julien Tachoires）<a href=\"https://postgr.es/c/a0104b447\">§</a></p>\n<p>在这类情况下，扩展统计信息对象可能会被错误复制，或该命令可能给出错误的报错。</p>", "text": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS（Julien Tachoires）§ 在这类情况下，扩展统计信息对象可能会被错误复制，或该命令可能给出错误的报错。", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "commits": ["a0104b447"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "c99174cf64b7eea39c68151182ae03a33c00690a47820e0b9a18f5122be4fcc0", "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": ["a0104b447"], "source_entry_id": "17.10/changes/019", "db_id": "e7ce3c2946bfdef059fc3d3621ffd79d", "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": "4b8420c7de509df1179d8ee1c1364ee6", "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"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4b8420c7de509df1179d8ee1c1364ee6", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复源表包含已删除列时的 CREATE TABLE ... LIKE ... INCLUDING STATISTICS", "evidence": {"same_day": true, "patch_ids": ["910e6f19667b7b2c274a7cfa4cfbf09c"], "statement_hash": "468cd074434d5b124a2f3ad7e4d4363935368333f67c114d461285e65aadff62"}, "url": "/docs/compare/?release=18.4#18.4-da4a103ca5dfdddc", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-a232240e214fd3cc", "cves": [], "html": "<p>允许 <code>ALTER INDEX ... ATTACH PARTITION</code> 在适当时将父索引标记为有效（Sami Imseih）<a href=\"https://postgr.es/c/becf6d269\">§</a></p>\n<p>存在一些边界情况：即使分区索引的所有叶子索引均有效，该分区索引仍可能保持被标记为无效。此变更提供了一种机制，使用户可以在不借助手工更新系统目录的情况下纠正这种情况。</p>", "text": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效（Sami Imseih）§ 存在一些边界情况：即使分区索引的所有叶子索引均有效，该分区索引仍可能保持被标记为无效。此变更提供了一种机制，使用户可以在不借助手工更新系统目录的情况下纠正这种情况。", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "commits": ["becf6d269"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "39c45cb24e6043ba94ecb1d9d725935a191b8294323a8e2be61775cb2ec0d7a1", "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": ["becf6d269"], "source_entry_id": "17.10/changes/020", "db_id": "73eae229fd96afa624d3ae9343724889", "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": "9efa82150808ee72d1b174825d7f47d3", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9efa82150808ee72d1b174825d7f47d3", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "允许 ALTER INDEX ... ATTACH PARTITION 在适当时将父索引标记为有效", "evidence": {"same_day": true, "patch_ids": ["6f61faf076a411f9a9c18c51b74befa0"], "statement_hash": "d56280bb59ca7a2079394584e577949d3d1706a31278203bdc18b376a97f5ff5"}, "url": "/docs/compare/?release=18.4#18.4-720217f77930b818", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-c4bb8ccc29a46458", "cves": [], "html": "<p>修复 <code>ALTER FOREIGN DATA WRAPPER</code>，使其不要删除包装器对象对其处理器函数的依赖（Jeff Davis）<a href=\"https://postgr.es/c/876fa84a2\">§</a></p>", "text": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖（Jeff Davis）§", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "commits": ["876fa84a2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "db16cb7d7a97901a1ac6770ca08532bc006d25c5f57fdeff179d4a7ee468afa5", "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": ["876fa84a2"], "source_entry_id": "17.10/changes/021", "db_id": "40f08757d4fdd0da278e5767f13b1a9d", "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6", "relations": [{"rule": 2, "type": "equivalent", "target": "36e2e07d71e68b4283223f19d2984e7c", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "36e2e07d71e68b4283223f19d2984e7c", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 ALTER FOREIGN DATA WRAPPER，使其不要删除包装器对象对其处理器函数的依赖", "evidence": {"same_day": true, "patch_ids": ["ab36c14d9b156ed146006d208e168c67"], "statement_hash": "1a75240d366859df37d3b685fc9650cc7048b3331f03f5d7f2e32b3b26bb2ef6"}, "url": "/docs/compare/?release=18.4#18.4-58699ca9b2eb6554", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-a17faaa60c3b23db", "cves": [], "html": "<p>不允许复合类型通过多范围成为自身的成员（Heikki Linnakangas）<a href=\"https://postgr.es/c/54343f6f9\">§</a></p>\n<p>当中间类型是域、数组、复合类型或范围时，我们已经禁止此类情况；但此前遗漏了多范围。</p>", "text": "不允许复合类型通过多范围成为自身的成员（Heikki Linnakangas）§ 当中间类型是域、数组、复合类型或范围时，我们已经禁止此类情况；但此前遗漏了多范围。", "title": "不允许复合类型通过多范围成为自身的成员", "commits": ["54343f6f9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "d3d4f65dcea0cb79998f9b950559b14f52edc3897ec665e0966422c6b5c164fe", "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": ["54343f6f9"], "source_entry_id": "17.10/changes/022", "db_id": "dbfa0390a811562580299aed6addef7f", "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": "e0d6011d1ad1750ec99d7b452609aa5c", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}, {"rule": 2, "type": "equivalent", "target": "e65839c47b604979321948f58b376888", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e65839c47b604979321948f58b376888", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "不允许复合类型通过多范围成为自身的成员", "evidence": {"same_day": true, "patch_ids": ["31c00f6d7ed28a6712dcf1e113075156"], "statement_hash": "6b4527853dd5e8e984500173324ec598d423dfc66e71302f1bdff48a4af1e5d2"}, "url": "/docs/compare/?release=18.4#18.4-ccc5811ee220170a", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-0fb5ea65c461a113", "cves": [], "html": "<p>修复 Datum 镜像比较，使其不受符号扩展差异影响（David Rowley）<a href=\"https://postgr.es/c/d29808e35\">§</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": ["d29808e35"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ccc9af25f994bd2829c8d173776f703ac30a49ca5ab8fd28baef88660e9624e0", "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": ["d29808e35"], "source_entry_id": "17.10/changes/023", "db_id": "f9a962dc778922758842bad523e4e935", "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": "c5c180d0b102c66e23f3e5c67497661a", "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"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c5c180d0b102c66e23f3e5c67497661a", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 Datum 镜像比较，使其不受符号扩展差异影响", "evidence": {"same_day": true, "patch_ids": ["8b2152dc84fbefe58a465b0d497fe197"], "statement_hash": "95b38df8932c40bbb6eed0884f5ec817fd4ee7218c45df42545da1f44dd8095a"}, "url": "/docs/compare/?release=18.4#18.4-4ed3df97c772ff79", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-c7e5a864f1920ba5", "cves": [], "html": "<p>修复带非严格等值操作符的 hash <code>IN</code>/<code>NOT IN</code> 的错误逻辑（Chengpeng Yan）<a href=\"https://postgr.es/c/3fda3e12f\">§</a></p>\n<p>此前的代码可能崩溃或给出错误结果。所有内置数据类型都有严格的等值操作符，因此此问题只可能出现在扩展数据类型上。</p>", "text": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑（Chengpeng Yan）§ 此前的代码可能崩溃或给出错误结果。所有内置数据类型都有严格的等值操作符，因此此问题只可能出现在扩展数据类型上。", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "commits": ["3fda3e12f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ff77748ad998449b557ee83bd7f3fc29e4d02d37f028ecd87cf49a60a6901213", "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": ["3fda3e12f"], "source_entry_id": "17.10/changes/024", "db_id": "6a9e4a1d32172e81ee680d6f0342ca63", "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": "c26aa4cfe9a48bc8f6b4f3924802efa7", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}, {"rule": 2, "type": "equivalent", "target": "d1a95a788ffc450fd8a8b393d2c3e55d", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d1a95a788ffc450fd8a8b393d2c3e55d", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复带非严格等值操作符的 hash IN/NOT IN 的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["73bcd2dbc996c0415640dea74d4f247f"], "statement_hash": "f620e21c617639503e22ec199ea3bdfd888287e95b5e026131bfa74e2fd18e5d"}, "url": "/docs/compare/?release=18.4#18.4-e5344bf8a6d35197", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-ead7a4370e3d50c0", "cves": [], "html": "<p>在 <code>to_char()</code> 中截断过长的区域设置相关数字符号（Tom Lane）<a href=\"https://postgr.es/c/c97a28618\">§</a></p>\n<p>如果某个区域设置指定了长度超过 8 字节的货币符号、千位分隔符、小数符号或正负号符号，就可能出现缓冲区越界写。现实世界中不存在这样的区域设置，而且非特权攻击者也不太可能在 Postgres 服务器下安装恶意区域设置定义；但为安全起见，检查过长符号并在需要时截断。</p>", "text": "在 to_char() 中截断过长的区域设置相关数字符号（Tom Lane）§ 如果某个区域设置指定了长度超过 8 字节的货币符号、千位分隔符、小数符号或正负号符号，就可能出现缓冲区越界写。现实世界中不存在这样的区域设置，而且非特权攻击者也不太可能在 Postgres 服务器下安装恶意区域设置定义；但为安全起见，检查过长符号并在需要时截断。", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "commits": ["c97a28618"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "53cf2ded33c30d4ec26265057cf50e563b91c3c3bebb51b84cc29388502b10a7", "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": ["c97a28618"], "source_entry_id": "17.10/changes/025", "db_id": "07daab7dbccbfcc34db05980b3a74098", "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0", "relations": [{"rule": 2, "type": "equivalent", "target": "29acc0aac3cc6b0ee03ac19b4559887d", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}}, {"rule": 2, "type": "equivalent", "target": "606d4464f34532059b31083c8d4b85db", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "606d4464f34532059b31083c8d4b85db", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 to_char() 中截断过长的区域设置相关数字符号", "evidence": {"same_day": true, "patch_ids": ["a55b3cc17f0905d7ae426fd181a6dfc3"], "statement_hash": "faa5531634d9cdfe864f4512cf61a4628efe72bf20a627237eac6e0fc2e723b0"}, "url": "/docs/compare/?release=18.4#18.4-695d3a73d2ecfb3e", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-666b81e0c79b2b28", "cves": [], "html": "<p>防止解析 <code>Ispell</code> 字典的词缀文件时发生缓冲区越界写（Tom Lane）<a href=\"https://postgr.es/c/ea5f0d176\">§</a> <a href=\"https://postgr.es/c/a5426dbf8\">§</a></p>\n<p>损坏或恶意的词缀文件可能使服务器崩溃。这不被视为安全问题，因为文本检索配置文件被假定为可信，但仍然值得修复。</p>", "text": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写（Tom Lane）§ § 损坏或恶意的词缀文件可能使服务器崩溃。这不被视为安全问题，因为文本检索配置文件被假定为可信，但仍然值得修复。", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "commits": ["a5426dbf8", "ea5f0d176"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "f6920ec6017618c6fcbb9b943af3649958ca32d2d839dba22c80d2ba174bd0f2", "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": ["a5426dbf8", "ea5f0d176"], "source_entry_id": "17.10/changes/026", "db_id": "2b5095497f4832976becc4b644155c51", "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8", "relations": [{"rule": 2, "type": "equivalent", "target": "12f322f4feb75f55804ad196b114a9d6", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "12f322f4feb75f55804ad196b114a9d6", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止解析 Ispell 字典的词缀文件时发生缓冲区越界写", "evidence": {"same_day": true, "patch_ids": ["3b2347be1395aa44c1c6ae6a8fa24149", "fb61cc9fc6ef6ecc94c4f87d31a648bd"], "statement_hash": "6442ebdc43f39cc7a336c76cc8f8bcdfb68cc5683190ee35457bd8a1cd9e22d8"}, "url": "/docs/compare/?release=18.4#18.4-e6587b3cd0787b2e", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-9cc0aae20d353dbd", "cves": [], "html": "<p>防范窗口聚合的帧起始和结束位置计算中的整数溢出（Richard Guo）<a href=\"https://postgr.es/c/f8736f8bc\">§</a></p>\n<p>用户指定的极大偏移量（接近 INT64_MAX）可能导致错误或错误的查询结果。</p>", "text": "防范窗口聚合的帧起始和结束位置计算中的整数溢出（Richard Guo）§ 用户指定的极大偏移量（接近 INT64_MAX）可能导致错误或错误的查询结果。", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "commits": ["f8736f8bc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "74fda3083bc64696c73c73794bdb207409c7c3c6fa0cf56465e94020ade48175", "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": ["f8736f8bc"], "source_entry_id": "17.10/changes/027", "db_id": "f1cd95144d4553602b7e2fbfe36961ad", "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544", "relations": [{"rule": 2, "type": "equivalent", "target": "511c913495519e0301f1fb895b89e0e3", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}}, {"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"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "511c913495519e0301f1fb895b89e0e3", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防范窗口聚合的帧起始和结束位置计算中的整数溢出", "evidence": {"same_day": true, "patch_ids": ["55f185c77388b5ccf5f79078a7a19b0b"], "statement_hash": "84aa1ad98df37853c6497eff68ec71c4a468e09bd91604bc168bf3a8ad45d544"}, "url": "/docs/compare/?release=18.4#18.4-e679f36c64f131bf", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-62d51a1802de9407", "cves": [], "html": "<p>修复 <code>array_agg_array_combine()</code>，使其正确组合数组的空值位图（Dmytro Astapov）<a href=\"https://postgr.es/c/d6c9432cb\">§</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": ["d6c9432cb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ec8bf3299156fb183b7379523f68f47f5073ea77fd903342cb443440f2c1359b", "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": ["d6c9432cb"], "source_entry_id": "17.10/changes/028", "db_id": "a8336f214d5ae7c6da31f007fe97cf91", "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": "723a8eeb14f51a9627e04c54cff2c321", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "723a8eeb14f51a9627e04c54cff2c321", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 array_agg_array_combine()，使其正确组合数组的空值位图", "evidence": {"same_day": true, "patch_ids": ["ea7de144946d1e8d4f970b72ca97aad3"], "statement_hash": "3153d0ad054c1a724bee8e6bdd93263c76849c422ce44c5776bb015aec005d04"}, "url": "/docs/compare/?release=18.4#18.4-468cc4bcd201b1ba", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-9fc5c83ef66b127c", "cves": [], "html": "<p>如果 <code>sync_file_range()</code> 返回错误码 <code>EINTR</code>，则进行重试（DaeMyung Kang）<a href=\"https://postgr.es/c/5499be332\">§</a></p>", "text": "如果 sync_file_range() 返回错误码 EINTR，则进行重试（DaeMyung Kang）§", "title": "如果 sync_file_range() 返回错误码 EINTR，则进行重试", "commits": ["5499be332"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "633aaab922b1cd10090a9d228d6088d5e70bcf4a78ef2afaf5889f7cae72846d", "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": ["5499be332"], "source_entry_id": "17.10/changes/029", "db_id": "263733ae017f01e103baa9c76806929c", "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225", "relations": [{"rule": 2, "type": "equivalent", "target": "2d88dc837a682f6290290ff2f8ed8b78", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}}, {"rule": 2, "type": "equivalent", "target": "7fde099d3089697de30b435de5e86e2c", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7fde099d3089697de30b435de5e86e2c", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "如果 sync_file_range() 返回错误码 EINTR，则进行重试", "evidence": {"same_day": true, "patch_ids": ["6860aa5d70c2979dafc25bb7868b4ebf"], "statement_hash": "5956c28ffd0a101c20228e6e7f9aced284c8ed83dedde4d57ecb4ad6f634b225"}, "url": "/docs/compare/?release=18.4#18.4-6abb19c703f2cc3c", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-8b259c7f97a0d7e9", "cves": [], "html": "<p>修复 <code>pg_stat_reset_single_table_counters()</code> 在共享系统目录上的错误行为（Chao Li）<a href=\"https://postgr.es/c/a4fefb3e0\">§</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": ["a4fefb3e0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "9caef814d325cb3eb1df51b22bf1a229dae6cabe681c96e8465704c0d681d497", "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": ["a4fefb3e0"], "source_entry_id": "17.10/changes/030", "db_id": "78582be8ad9510fda737b311e1159d46", "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": "388698576be55b507a9b7abb256a6450", "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"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "388698576be55b507a9b7abb256a6450", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 pg_stat_reset_single_table_counters() 在共享系统目录上的错误行为", "evidence": {"same_day": true, "patch_ids": ["236f11c0f7cc166c8c1135c864e37524"], "statement_hash": "fe3dc0ad7d2fbda95b8fb3c33b60666a7ab7a47f2d3398dd4e2a9cb2ef4c7467"}, "url": "/docs/compare/?release=18.4#18.4-58b13d376507a808", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-ab22f7a64370fbd6", "cves": [], "html": "<p>当并行应用工作进程空闲时更新活动统计信息（Zhijie Hou）<a href=\"https://postgr.es/c/88d7fdcc9\">§</a></p>\n<p>以前，刚完成事务的统计信息可能长时间不被报告，尤其在工作负载较轻时。</p>", "text": "当并行应用工作进程空闲时更新活动统计信息（Zhijie Hou）§ 以前，刚完成事务的统计信息可能长时间不被报告，尤其在工作负载较轻时。", "title": "当并行应用工作进程空闲时更新活动统计信息", "commits": ["88d7fdcc9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "cb9e6cd136b0bb86d1e09583d4c62584630a1c238ff2e7f3884765b3d7598403", "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": ["88d7fdcc9"], "source_entry_id": "17.10/changes/031", "db_id": "96a3e2b2d17bbc2072d29a84e39fe9f0", "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": "980b17cc0e380660feb5723048978d0c", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "980b17cc0e380660feb5723048978d0c", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "当并行应用工作进程空闲时更新活动统计信息", "evidence": {"same_day": true, "patch_ids": ["2d9114e9de0545265b46f9271e79774e"], "statement_hash": "1425951cf41b73475715e34b86444749dadef32d8dd753ca05fb84c5dcab7db0"}, "url": "/docs/compare/?release=18.4#18.4-c51eded9a9ad369c", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-b34c916fe548b623", "cves": [], "html": "<p>修复集合操作中估算数组长度时出现的 <span>“<span>no relation entry for relid 0</span>”</span> 失败（Tender Wang）<a href=\"https://postgr.es/c/93ed18720\">§</a></p>", "text": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败（Tender Wang）§", "title": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败", "commits": ["93ed18720"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "c2198678d068b878eeead02e98b71dfbe403564a71e7946bd7b5cffa4a812d6b", "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": ["93ed18720"], "source_entry_id": "17.10/changes/032", "db_id": "767acd748e88add4e0b136661b09348d", "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67", "relations": [{"rule": 2, "type": "equivalent", "target": "8b93ba333f257971520839fdfb923dc8", "evidence": {"same_day": true, "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8b93ba333f257971520839fdfb923dc8", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复集合操作中估算数组长度时出现的 “no relation entry for relid 0” 失败", "evidence": {"same_day": true, "patch_ids": ["564821c3480587e28f1a951776d143da"], "statement_hash": "79d2c12d4a24236694523bc4108c4ef1ad8487e654635a5140572e534f35ca67"}, "url": "/docs/compare/?release=18.4#18.4-9a9061bf537ff043", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-fc2a0ba457a12efa", "cves": [], "html": "<p>修复 <code>pglz_decompress()</code> 接收损坏输入时的缓冲区越界读问题（Andrew Dunstan）<a href=\"https://postgr.es/c/c05c3baf1\">§</a></p>\n<p>此前可能读取输入末尾之后的几个字节，在极其不走运的情况下可能导致崩溃。</p>", "text": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题（Andrew Dunstan）§ 此前可能读取输入末尾之后的几个字节，在极其不走运的情况下可能导致崩溃。", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "commits": ["c05c3baf1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "4b17f906aa7eb8ad7e4507cbd56fe8b41b68db07a64205263a914fd24fb6b1cb", "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": ["c05c3baf1"], "source_entry_id": "17.10/changes/033", "db_id": "7d77c3cf4d2df5b2b05bab302e7d6447", "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d", "relations": [{"rule": 2, "type": "equivalent", "target": "0ae0f8c53b17ca5f253bbab76a0d9b74", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}}, {"rule": 2, "type": "equivalent", "target": "31b4e32fc9a04113a1aeaa4d2e794a7e", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ae0f8c53b17ca5f253bbab76a0d9b74", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 pglz_decompress() 接收损坏输入时的缓冲区越界读问题", "evidence": {"same_day": true, "patch_ids": ["c0bb5d07bdfbe114b7578587383a80fa"], "statement_hash": "bd7b2a40bb8d7d7798cf8ecb76df72f44a9455b09e9d2f6b36769b9fa697b84d"}, "url": "/docs/compare/?release=18.4#18.4-1b7a6be51f8649d8", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-4d205143d096f8a7", "cves": [], "html": "<p>修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理（Andrew Dunstan）<a href=\"https://postgr.es/c/2e373785e\">§</a></p>\n<p>过去可能接受格式不正确的数字，导致后续失败。</p>", "text": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理（Andrew Dunstan）§ 过去可能接受格式不正确的数字，导致后续失败。", "title": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理", "commits": ["2e373785e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "33325669276531c82dd02bf7df15732f7f5ae68f70ba2e81bc9b4b4c02141d9b", "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": ["2e373785e"], "source_entry_id": "17.10/changes/034", "db_id": "56aacc58e4b3c19869652bc7bccc257f", "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463", "relations": [{"rule": 2, "type": "equivalent", "target": "19c77cbe8cf7f7f6073b8df365b35790", "evidence": {"same_day": true, "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "19c77cbe8cf7f7f6073b8df365b35790", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复增量 JSON 解析器对跨输入缓冲区边界的数字词元的处理", "evidence": {"same_day": true, "patch_ids": ["3a87b59bc06c42cccbaad53a59170a0f"], "statement_hash": "e510b6a330131e0a9e306a9599eda0558466f19ce69118716f8d3a5ac91b7463"}, "url": "/docs/compare/?release=18.4#18.4-dd2acc7c0ea39340", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-1a6869f33820ce4a", "cves": [], "html": "<p>防止恢复增量备份时关系可见性映射膨胀（Robert Haas）<a href=\"https://postgr.es/c/076bc57fa\">§</a></p>\n<p>由于错误计算预期文件长度，恢复可能向可见性映射追加许多零块。这不会导致数据损坏，但可能浪费大量磁盘空间。</p>", "text": "防止恢复增量备份时关系可见性映射膨胀（Robert Haas）§ 由于错误计算预期文件长度，恢复可能向可见性映射追加许多零块。这不会导致数据损坏，但可能浪费大量磁盘空间。", "title": "防止恢复增量备份时关系可见性映射膨胀", "commits": ["076bc57fa"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "1e80d02fef5aadca82ddebd7cf41b40a0532ba63207742c20123562cc728b8a5", "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": ["076bc57fa"], "source_entry_id": "17.10/changes/035", "db_id": "8d78dd5d30d4094d87fbfc3de7307fc9", "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2", "relations": [{"rule": 2, "type": "equivalent", "target": "53b7f65c3e08f9341b47945f095569e8", "evidence": {"same_day": true, "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "53b7f65c3e08f9341b47945f095569e8", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止恢复增量备份时关系可见性映射膨胀", "evidence": {"same_day": true, "patch_ids": ["738fd594a90796c809e728fbc5651d22"], "statement_hash": "8be561d5ad13698eca7d90b5fd9fbde1028f705a3031ab9e786774f2c9f7b3a2"}, "url": "/docs/compare/?release=18.4#18.4-7eaea7144baecfd7", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-a4c0aebef3a26164", "cves": [], "html": "<p>在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则（Jeff Davis）<a href=\"https://postgr.es/c/9dda30dd3\">§</a></p>\n<p>这避免了某些边缘场景中的失败，例如物理复制启动时没有已确定的数据库，因而无法确定默认排序规则。</p>", "text": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则（Jeff Davis）§ 这避免了某些边缘场景中的失败，例如物理复制启动时没有已确定的数据库，因而无法确定默认排序规则。", "title": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则", "commits": ["9dda30dd3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "881bf17ac375351c42b978fb1777565f85077b618a99451953fc1307ca23fb4d", "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": ["9dda30dd3"], "source_entry_id": "17.10/changes/036", "db_id": "b4e242e2dfdaddd1a84c10f08ab6fdb6", "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f", "relations": [{"rule": 2, "type": "equivalent", "target": "eedc842000f52b63d80fc16df2a3a7fa", "evidence": {"same_day": true, "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "eedc842000f52b63d80fc16df2a3a7fa", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在文本列上的系统目录缓存查找中使用 C 排序规则，而不是数据库的默认排序规则", "evidence": {"same_day": true, "patch_ids": ["1a030429f091c1d56d52205c2930f3cc"], "statement_hash": "c93618f8a7ca56819cbbb9cf9df80953c6fe150819de3e1e7fad58e879a5f52f"}, "url": "/docs/compare/?release=18.4#18.4-3a216fc3a56d1f2e", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-f9ca5e51b9e70665", "cves": [], "html": "<p>防止卡住的 slotsync 工作进程阻塞备库提升（Nisha Moond、Ajin Cherian）<a href=\"https://postgr.es/c/15910b1c3\">§</a> <a href=\"https://postgr.es/c/586f4266f\">§</a> <a href=\"https://postgr.es/c/4bed04d39\">§</a></p>\n<p>一个徒劳等待主库响应的工作进程，会让提升延迟一段不合理的时间。</p>", "text": "防止卡住的 slotsync 工作进程阻塞备库提升（Nisha Moond、Ajin Cherian）§ § § 一个徒劳等待主库响应的工作进程，会让提升延迟一段不合理的时间。", "title": "防止卡住的 slotsync 工作进程阻塞备库提升", "commits": ["15910b1c3", "4bed04d39", "586f4266f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "8c18f1365ef8d4f33d75f546c46b888c3171bd67f6bdb59d957558e4d0f6bee6", "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": ["15910b1c3", "4bed04d39", "586f4266f"], "source_entry_id": "17.10/changes/037", "db_id": "299696a41fbafef0ba66bb25a5daba56", "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509", "relations": [{"rule": 2, "type": "equivalent", "target": "e197fe7e68af6fc16360be64080650fb", "evidence": {"same_day": true, "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e197fe7e68af6fc16360be64080650fb", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止卡住的 slotsync 工作进程阻塞备库提升", "evidence": {"same_day": true, "patch_ids": ["0631393988a6e439ca6c21edde5e08d0", "d9eacc799b9f25f84495940918c9855b", "f0a73f0938081885d684993c67dca652"], "statement_hash": "86bf0b738194ea614f01e7178f35891e27741d55257e8b4157bf2182cf0b6509"}, "url": "/docs/compare/?release=18.4#18.4-401593c891e36279", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-f979cb3196409f3b", "cves": [], "html": "<p>修复空闲 slotsync 工作进程产生过多日志输出的问题（Zhijie Hou）<a href=\"https://postgr.es/c/91741b7cb\">§</a></p>", "text": "修复空闲 slotsync 工作进程产生过多日志输出的问题（Zhijie Hou）§", "title": "修复空闲 slotsync 工作进程产生过多日志输出的问题", "commits": ["91741b7cb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "184befbf180482a913e10d475d9913df6db34b1278b0ec8b0fd84da77c7f49f3", "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": ["91741b7cb"], "source_entry_id": "17.10/changes/038", "db_id": "823fb36d471b0ef6060bc9363c89e12c", "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4", "relations": [{"rule": 2, "type": "equivalent", "target": "695bd513323417fe3250f7a82dc60ff8", "evidence": {"same_day": true, "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "695bd513323417fe3250f7a82dc60ff8", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复空闲 slotsync 工作进程产生过多日志输出的问题", "evidence": {"same_day": true, "patch_ids": ["fc452e68c97468e4711e1e83f06f17af"], "statement_hash": "2a2af3205a99361da43475c5da46b1c66376f789f13a1c2ee0f23624cbb849a4"}, "url": "/docs/compare/?release=18.4#18.4-59479740d5b1c42c", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-c10485892a0cc1b6", "cves": [], "html": "<p>确保即使发生错误后，tuplestore 数据结构在内部也保持一致（Tom Lane）<a href=\"https://postgr.es/c/1f5b6a5e5\">§</a></p>\n<p>此前代码对此不够谨慎，这在大多数时候没有问题，但对于支撑 <code>WITH HOLD</code> 游标的 tuplestore 则有问题。在 v15 及更早版本中，这会导致容易重现的崩溃；目前尚不知道较新分支是否易受影响，但最好在所有分支中保持一致性。</p>", "text": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致（Tom Lane）§ 此前代码对此不够谨慎，这在大多数时候没有问题，但对于支撑 WITH HOLD 游标的 tuplestore 则有问题。在 v15 及更早版本中，这会导致容易重现的崩溃；目前尚不知道较新分支是否易受影响，但最好在所有分支中保持一致性。", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "commits": ["1f5b6a5e5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "76499e356c1f81b4efc6c23c6c754171d5a2d9e4a0ead736178dbe289ebcea50", "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": ["1f5b6a5e5"], "source_entry_id": "17.10/changes/039", "db_id": "b3f61452eefb1fe329d018b311fb82a7", "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3", "relations": [{"rule": 2, "type": "equivalent", "target": "22646346c25b1d7d6643cd61087c0609", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}}, {"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"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "22646346c25b1d7d6643cd61087c0609", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "确保即使发生错误后，tuplestore 数据结构在内部也保持一致", "evidence": {"same_day": true, "patch_ids": ["d5b0ad2ecd5b574958d883210df966b5"], "statement_hash": "01eb563295b1dc8cc7ddc77849a3cd6efe3a0ce73c200fb3aca3280239db80d3"}, "url": "/docs/compare/?release=18.4#18.4-2024d132beedef06", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-aef7dca4bced6a82", "cves": [], "html": "<p>修复 <code>pg_stat_replication</code> 中过早报告 NULL 延迟的问题（Shinya Kato）<a href=\"https://postgr.es/c/fdce5de55\">§</a></p>\n<p>即使复制活动正在发生，延迟列也经常读作 NULL。</p>", "text": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题（Shinya Kato）§ 即使复制活动正在发生，延迟列也经常读作 NULL。", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "commits": ["fdce5de55"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "936e36df3b44ffa2909dacd5d2f1bf73c91e0d1cbccb740c7a29cd9171819085", "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": ["fdce5de55"], "source_entry_id": "17.10/changes/040", "db_id": "5851dbb38f0eb77c8633d934a8c81fbc", "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "bf6218705be170d40b881423fbe0391f", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bf6218705be170d40b881423fbe0391f", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 pg_stat_replication 中过早报告 NULL 延迟的问题", "evidence": {"same_day": true, "patch_ids": ["7704c6b94c92f272f76de1954c53eb5b"], "statement_hash": "bcd10a6c1d43f2b961925210744b26778b15baa46851120a0a4df4d6146ed920"}, "url": "/docs/compare/?release=18.4#18.4-8789ffc8666b33f9", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-81df83553a9e021a", "cves": [], "html": "<p>避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败（Tomas Vondra）<a href=\"https://postgr.es/c/6ef36bb35\">§</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": ["6ef36bb35"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "dfcb4f83ab65930b4283c74e25ae40c8962575e53769b2e29734516a86436efa", "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": ["6ef36bb35"], "source_entry_id": "17.10/changes/041", "db_id": "83b71f6a6d871542c65ada24311dc7eb", "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": "7f24f05678451ef9707b5c36a7e8d868", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f24f05678451ef9707b5c36a7e8d868", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "避免处理不记录 WAL 的 GiST 索引时罕见的刷盘失败", "evidence": {"same_day": true, "patch_ids": ["1219f2eae7af870fcd0ca6d917389cce"], "statement_hash": "d11afd4ede0aa409767b589a5b5e9dcb340b6c781cc05a9ff7edfd8ae5178fd1"}, "url": "/docs/compare/?release=18.4#18.4-7270a57d5bd56fee", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-530a8cbdc6f714b9", "cves": [], "html": "<p>修复对非常规大小的段所需 DSA 页面映射大小的低估问题（Paul Bunn）<a href=\"https://postgr.es/c/2543b9ea9\">§</a></p>\n<p>此误算导致越界访问，并进而造成服务器崩溃。</p>", "text": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题（Paul Bunn）§ 此误算导致越界访问，并进而造成服务器崩溃。", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "commits": ["2543b9ea9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "61684a91bb1434333b16a9febd67c0487557bddb01b1c33c7f68a1cfe1fbb7a5", "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": ["2543b9ea9"], "source_entry_id": "17.10/changes/042", "db_id": "feb50a4056ee0c9561081c3bd1a5fd94", "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": "c0162fa5c8bd731ee869a6a910d5a618", "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"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0162fa5c8bd731ee869a6a910d5a618", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复对非常规大小的段所需 DSA 页面映射大小的低估问题", "evidence": {"same_day": true, "patch_ids": ["51396541ad50c671641591d5c032f25c"], "statement_hash": "b77594e65c1a09137763e6965f04edfa079771b8c115cc6bbea72232ff10e97e"}, "url": "/docs/compare/?release=18.4#18.4-6a31304d211cadfa", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-cfa55dcb71d57c12", "cves": [], "html": "<p>修复共享内存中 oldest-multixact 数组的索引（Yura Sokolov）<a href=\"https://postgr.es/c/dcd9c06a4\">§</a> <a href=\"https://postgr.es/c/969576dab\">§</a></p>\n<p>这一错误可能导致一个已预备但尚未提交的事务所持有的行锁在其他会话看来不可见，或者导致该事务结果出现其他可见性问题。在 max_connections 设置非常小时，也可能发生内存踩踏。</p>", "text": "修复共享内存中 oldest-multixact 数组的索引（Yura Sokolov）§ § 这一错误可能导致一个已预备但尚未提交的事务所持有的行锁在其他会话看来不可见，或者导致该事务结果出现其他可见性问题。在 max_connections 设置非常小时，也可能发生内存踩踏。", "title": "修复共享内存中 oldest-multixact 数组的索引", "commits": ["969576dab", "dcd9c06a4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "676444ac6c37147ba6d109f63e56a7ebc3f8a2f2ecd35fc1f603f44408cc766f", "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": ["969576dab", "dcd9c06a4"], "source_entry_id": "17.10/changes/043", "db_id": "440f1367bcb7bd58aa010daa1ed5105b", "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac", "relations": [{"rule": 2, "type": "equivalent", "target": "257e52645de77966b485d158daff2049", "evidence": {"same_day": true, "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "257e52645de77966b485d158daff2049", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复共享内存中 oldest-multixact 数组的索引", "evidence": {"same_day": true, "patch_ids": ["9f4b51556384588dee12dabbaa9a5068", "c295c29115de3784af1baea84dd9ddfc"], "statement_hash": "e8c1956b7f46db612ff4602b13580b3f19536358ea0d47bc73cf87584e556dac"}, "url": "/docs/compare/?release=18.4#18.4-d3cfc20eaff1d676", "source_url": "/docs/release/18.4/#RELEASE-18-4-CHANGES"}]}, {"id": "17.10-55b28f30732d7db3", "cves": [], "html": "<p>修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃（Michael Paquier）<a href=\"https://postgr.es/c/530b6b02f\">§</a></p>\n<p>如果该数据类型的 typanalyze 函数没有计算任何有用的统计信息，就可能发生 NULL 指针解引用。核心内置的 typanalyze 函数都不会这样表现，但扩展可能会如此。</p>", "text": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃（Michael Paquier）§ 如果该数据类型的 typanalyze 函数没有计算任何有用的统计信息，就可能发生 NULL 指针解引用。核心内置的 typanalyze 函数都不会这样表现，但扩展可能会如此。", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "commits": ["530b6b02f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "a50b7d8142e111ecd2bc93acc53477635dab3f7a0640b55bb25baa2683e51c8d", "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": ["530b6b02f"], "source_entry_id": "17.10/changes/044", "db_id": "80939c27c6a18cbd33af67b54738ffbb", "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": "e3fcd13894196d38b7fdafd82a39872b", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e3fcd13894196d38b7fdafd82a39872b", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复处理扩展数据类型表达式上的扩展统计信息时可能发生的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["57808080730ecfb17eedfbeb01bceb92"], "statement_hash": "0b6cefc1fdc0c8f91af788bfe5a8b6d0b6b4059af142c8779ab898a1590a8d8a"}, "url": "/docs/compare/?release=18.4#18.4-d17ff570c253e2a4", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-e802516615666acf", "cves": [], "html": "<p>修复基于 ICU 的字符串处理中轻微的内存泄漏（Jeff Davis）<a href=\"https://postgr.es/c/4761f2eee\">§</a></p>", "text": "修复基于 ICU 的字符串处理中轻微的内存泄漏（Jeff Davis）§", "title": "修复基于 ICU 的字符串处理中轻微的内存泄漏", "commits": ["4761f2eee"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ba69d6b7d1f90c012ec84fd21898e70f572ec42d5e5b94ec3c9f8df012f9a826", "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": ["4761f2eee"], "source_entry_id": "17.10/changes/045", "db_id": "bd584e4f7982ffc4b076ab2f17b9df9c", "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": "837bd67b8c3f6368b3c27a6551f80927", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "837bd67b8c3f6368b3c27a6551f80927", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复基于 ICU 的字符串处理中轻微的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["6d9d38d08dbad42448b9071321caaf61"], "statement_hash": "b7a1562c011305e92a0b8937cd9fca1c2e7a7555c23e50eef91b5ced9490aa97"}, "url": "/docs/compare/?release=18.4#18.4-d03de691fc9de456", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-ae6a8b961252ec16", "cves": [], "html": "<p>如果启动进程失败，在 postmaster 退出前正确关闭其他子进程（Ayush Tiwari）<a href=\"https://postgr.es/c/e381843cf\">§</a></p>\n<p>对此情况的处理依赖于一个早已过时的假定：启动进程运行时不存在其他 postmaster 子进程，因此可以立即退出 postmaster。孤立的子进程最终会注意到 postmaster 已死亡并自行退出，但更干净的关闭过程仍然是可取的。</p>", "text": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程（Ayush Tiwari）§ 对此情况的处理依赖于一个早已过时的假定：启动进程运行时不存在其他 postmaster 子进程，因此可以立即退出 postmaster。孤立的子进程最终会注意到 postmaster 已死亡并自行退出，但更干净的关闭过程仍然是可取的。", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "commits": ["e381843cf"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "a71fbe38cda7e7697f7fe8e09dcb20abeeca36e994d2d2246215eac18ae908ff", "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": ["e381843cf"], "source_entry_id": "17.10/changes/046", "db_id": "1258e1d70ad8d20566f8bef565afb542", "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "60187dd7a7a6b60a0c3449316b65aa78", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "60187dd7a7a6b60a0c3449316b65aa78", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "如果启动进程失败，在 postmaster 退出前正确关闭其他子进程", "evidence": {"same_day": true, "patch_ids": ["336655f61a8e613f6d655ff5a808f10d"], "statement_hash": "cb4e5d59e127aafd8bb2c9e2c73437dd551d9591dd8c7309ec60a48a3299d4f5"}, "url": "/docs/compare/?release=18.4#18.4-fbb8a60e8a0fb7fa", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-b851403e0c059925", "cves": [], "html": "<p>修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件（Heikki Linnakangas）<a href=\"https://postgr.es/c/1ca385032\">§</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": ["1ca385032"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "61979bfd660e0fa6770622b7a05714d887d0babcd41cb2c7a008ce624cc6cf4c", "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": ["1ca385032"], "source_entry_id": "17.10/changes/047", "db_id": "7656c6c266fb5f623679c473e6534cb4", "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192", "relations": [{"rule": 2, "type": "equivalent", "target": "2dd877a931aebbb79cf02748fddc6985", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}}, {"rule": 2, "type": "equivalent", "target": "61f30ae9ddadfa030207bdea7cb12e70", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2dd877a931aebbb79cf02748fddc6985", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复检查点 WAL 重放与多事务 ID 创建之间的竞态条件", "evidence": {"same_day": true, "patch_ids": ["bc2293c8457ac75a2ee41b1da5cae860"], "statement_hash": "966d18f3bd64c03cfe6fcbf5ad572276df81e74e4f0e0228686357c47c7ba192"}, "url": "/docs/compare/?release=18.4#18.4-b95009e302c19df6", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-3ccf02812257acd0", "cves": [], "html": "<p>防止 WAL 发送进程关闭时无限期等待（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/bbbc0888b\">§</a> <a href=\"https://postgr.es/c/8ee536c89\">§</a></p>\n<p>在发布逻辑复制数据的集簇关闭时，WAL 发送进程会等待所有待处理 WAL 被写出。但它没有正确请求执行此操作，因此在某些情况下这可能变成无限期等待。</p>", "text": "防止 WAL 发送进程关闭时无限期等待（Anthonin Bonnefoy）§ § 在发布逻辑复制数据的集簇关闭时，WAL 发送进程会等待所有待处理 WAL 被写出。但它没有正确请求执行此操作，因此在某些情况下这可能变成无限期等待。", "title": "防止 WAL 发送进程关闭时无限期等待", "commits": ["8ee536c89", "bbbc0888b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "001a22a95454b9347ed8a035a05a463fad268f8c978b0ec43c8e56d5a65cf69f", "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": ["8ee536c89", "bbbc0888b"], "source_entry_id": "17.10/changes/048", "db_id": "a7b932fcfa614135f399c6d16936a3ee", "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": "dd2e9c6da8c31f99c801d2fd16385b3c", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "dd2e9c6da8c31f99c801d2fd16385b3c", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "防止 WAL 发送进程关闭时无限期等待", "evidence": {"same_day": true, "patch_ids": ["472a5975808282fa6bd581c79c39f9ea", "76b367fc789f138e1eeabf0d364392af"], "statement_hash": "82e19a553da5241f427aaa49312a19ba9fb5200bffa8a85355d78e7c64e1a530"}, "url": "/docs/compare/?release=18.4#18.4-a9cb192589c0f7aa", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-fe407982706e6121", "cves": [], "html": "<p>确保恢复期间对表空闲空间映射的更改会被持久化（Alexey Makhmutov）<a href=\"https://postgr.es/c/1cf010f21\">§</a></p>\n<p>此前，在重放应当改变空闲空间映射的操作时，WAL 重放确实会更新该映射；但如果启用了校验和，映射页缓冲区不会被标记为脏，因此这些更改可能永远不会被写出。在备库上，随着时间推移，这会导致映射与表的实际内容严重不符。虽然该映射只作为提示使用，但在备库被提升为活跃服务器后，直到大部分映射被更新修复之前，这种情况可能在一段时间内造成显著性能下降。</p>", "text": "确保恢复期间对表空闲空间映射的更改会被持久化（Alexey Makhmutov）§ 此前，在重放应当改变空闲空间映射的操作时，WAL 重放确实会更新该映射；但如果启用了校验和，映射页缓冲区不会被标记为脏，因此这些更改可能永远不会被写出。在备库上，随着时间推移，这会导致映射与表的实际内容严重不符。虽然该映射只作为提示使用，但在备库被提升为活跃服务器后，直到大部分映射被更新修复之前，这种情况可能在一段时间内造成显著性能下降。", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "commits": ["1cf010f21"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "904dff0aac615f433ce1cbec4b7b1f9fe8c7392f99b23ae5c483cd4fcb851e95", "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": ["1cf010f21"], "source_entry_id": "17.10/changes/049", "db_id": "d0b2b7eb40b300341a738f0c8f9b9486", "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": "0ab544ccf54b9ef9d9a67d11e0edd7e6", "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": "ef79709e772e43cd7f13cd40fd54ce08", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0ab544ccf54b9ef9d9a67d11e0edd7e6", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "确保恢复期间对表空闲空间映射的更改会被持久化", "evidence": {"same_day": true, "patch_ids": ["290b85a9a01972ea333ff078f1b803bd"], "statement_hash": "94dbd19b3ba5c2d1d6d0c3e547d4c2b99593a3f783f7d830b8bd54b62553c5ba"}, "url": "/docs/compare/?release=18.4#18.4-97e2910c41fa9a19", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-4e8f75e7518f8860", "cves": [], "html": "<p>修复某些 <span>ecpg</span> 函数在没有已建立连接的情况下被调用时的崩溃（Shruthi Gowda）<a href=\"https://postgr.es/c/5d67549d9\">§</a></p>", "text": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃（Shruthi Gowda）§", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "commits": ["5d67549d9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "ebf95698cce6b4a2cc0ef14585389a7e9fa1c7e602f0f0da443d3e6219a4ae23", "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": ["5d67549d9"], "source_entry_id": "17.10/changes/050", "db_id": "bdf9527e3b31fa7d5ae8f9823d072d3d", "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": "c0c7dfbc8d8c6bcae16ae7205d190917", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0c7dfbc8d8c6bcae16ae7205d190917", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复某些 ecpg 函数在没有已建立连接的情况下被调用时的崩溃", "evidence": {"same_day": true, "patch_ids": ["c7a6bafc62f4feae4e980b1e35da2b80"], "statement_hash": "d082bcf56e345df427e58be27130fd3aa6a1679e210b9c2dac559e63adb7e00a"}, "url": "/docs/compare/?release=18.4#18.4-7aa817666dd07903", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-608dfcd402c79cc9", "cves": [], "html": "<p>修复备份解压和 tar 解析代码中的多项错误（Andrew Dunstan, Tom Lane, Chao Li）<a href=\"https://postgr.es/c/f1298a4c2\">§</a> <a href=\"https://postgr.es/c/8b198b093\">§</a> <a href=\"https://postgr.es/c/2640c5ba7\">§</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": ["2640c5ba7", "8b198b093", "f1298a4c2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "e94f69be37df14faa58e45f7131f37ef653046ed6266eac12ba6af6358301087", "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": ["2640c5ba7", "8b198b093", "f1298a4c2"], "source_entry_id": "17.10/changes/051", "db_id": "bb9e0889e1a5adbf796ceaf3f2bba54a", "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": "2c1767e33fbd2c5b0ad76b3984a83f2d", "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"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2c1767e33fbd2c5b0ad76b3984a83f2d", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复备份解压和 tar 解析代码中的多项错误", "evidence": {"same_day": true, "patch_ids": ["776d5a67dae4e90312023436a1a121e4", "a09bdaf76ce8e50fc1ed232d629496d1", "e611dc8dc55e1b7e28e7918dce0a5440"], "statement_hash": "14975a7d452ebd245adc06195cb53e296e97faf277282e3324587b2fcb641829"}, "url": "/docs/compare/?release=18.4#18.4-3efb2ed246686260", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-abb35676e2703512", "cves": [], "html": "<p>在 <span>pg_dumpall</span> 中，不要跳过具有悬挂授权者 OID 的角色 <code>GRANT</code>（Tom Lane）<a href=\"https://postgr.es/c/1cd783d20\">§</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": ["1cd783d20"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "257495d27b650b476432eb49c4e840fb405d8d2dc1626e66f57ca6ccdec0c4cc", "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": ["1cd783d20"], "source_entry_id": "17.10/changes/052", "db_id": "48b5ddf02369d30a0910158589f12b23", "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298", "relations": [{"rule": 2, "type": "equivalent", "target": "498d15925e49297bef5794701969b9e3", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "498d15925e49297bef5794701969b9e3", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 pg_dumpall 中，不要跳过具有悬挂授权者 OID 的角色 GRANT", "evidence": {"same_day": true, "patch_ids": ["be27d62b6c1cd4dc0e48f0fff55be1a3"], "statement_hash": "3b7728d29b36a1645aabd692297c54bf41cba11df9227a8bbeea29920949c298"}, "url": "/docs/compare/?release=18.4#18.4-4c4f381190f9d053", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-cf34513657c8c0c2", "cves": [], "html": "<p>在 <span>pg_upgrade</span> 中，连接到较旧源服务器时注意使用正确的协议版本（Jacob Champion）<a href=\"https://postgr.es/c/ad7fc3f1f\">§</a></p>\n<p>在尝试从 2018 年以前的服务器升级时，这可能会造成问题。</p>", "text": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本（Jacob Champion）§ 在尝试从 2018 年以前的服务器升级时，这可能会造成问题。", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "commits": ["ad7fc3f1f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "485074045be8dbbd23ff097775c921fa4d4784ab798c5994ad12d8b0ec170f57", "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": ["ad7fc3f1f"], "source_entry_id": "17.10/changes/053", "db_id": "29ee5ab07783ca431d54fc60a7a68ac6", "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c", "relations": [{"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": "b441ea3af4b648902039f9d5d3831785", "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": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b441ea3af4b648902039f9d5d3831785", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 pg_upgrade 中，连接到较旧源服务器时注意使用正确的协议版本", "evidence": {"same_day": true, "patch_ids": ["566020049e5cf4849b3dd9a9935a3aba"], "statement_hash": "6ea9a20b0f199ebe33de09e3497f924a73ae542c7d6af134326d0792ad8e087c"}, "url": "/docs/compare/?release=18.4#18.4-f5f35647f03db5de", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-760c43569faae613", "cves": [], "html": "<p>在 <code>contrib/basic_archive</code> 中，允许启动时归档目录不存在（Nathan Bossart）<a href=\"https://postgr.es/c/f510577de\">§</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": ["f510577de"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "841dbb62e60bbee6e16746f85b336fc4ccb18f2a99205f812ea4a64725959816", "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": ["f510577de"], "source_entry_id": "17.10/changes/054", "db_id": "90e1038fbb68d1913c7ac6d7fe93e376", "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": "b41103d47758e1bb2b7b7dfae49365b9", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}}], "version": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b41103d47758e1bb2b7b7dfae49365b9", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 contrib/basic_archive 中，允许启动时归档目录不存在", "evidence": {"same_day": true, "patch_ids": ["d1199a3c8097e254072ab83b54c1e1d5"], "statement_hash": "1134bcc987b009966d8cddeefda2e4c96240c13b4f2dc3f1b7e280d8ebf0f2f0"}, "url": "/docs/compare/?release=18.4#18.4-ab15ea8c2f16b1a1", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-6f3016280c8e2025", "cves": [], "html": "<p>修复 <code>contrib/ltree</code>，使其能够处理大小写折叠改变字符串字节长度的情况（Jeff Davis）<a href=\"https://postgr.es/c/d1bd9a7dc\">§</a></p>\n<p>此前，指定大小写不敏感匹配的 <code>lquery</code> 模式，可能无法匹配本应匹配的标签。</p>", "text": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况（Jeff Davis）§ 此前，指定大小写不敏感匹配的 lquery 模式，可能无法匹配本应匹配的标签。", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "commits": ["d1bd9a7dc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "348e4ea13cf0e392f12f215fa8f1391f7291da201a9ccb81c770c1dc202bcf69", "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": ["c8308a984", "d1bd9a7dc"], "source_entry_id": "17.10/changes/055", "db_id": "c90a1fd6362ebfccf11986cdf78fdcbf", "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468", "relations": [{"rule": 2, "type": "equivalent", "target": "64aaf0bd209b1b9e176ded962a3a5b0a", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}, {"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": "e7145d49a5e4620268f44ce6ce59f66b", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "64aaf0bd209b1b9e176ded962a3a5b0a", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "修复 contrib/ltree，使其能够处理大小写折叠改变字符串字节长度的情况", "evidence": {"same_day": true, "patch_ids": ["7e19748e0b856cea1d9ea13667371829", "9e7c128fe050a45459da3c9572bf888b"], "statement_hash": "c8d7a89f3c07f177066f6fedd62b1119638bbf94ea0046714ce7e210c42a4468"}, "url": "/docs/compare/?release=18.4#18.4-3cede858d59bf5c2", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-c843d842d1a0089b", "cves": [], "html": "<p>在 <code>contrib/pg_stat_statements</code> 中，如果解析 <code>pgss_query_texts.stat</code> 文件时发生错误，不要泄漏内存（Heikki Linnakangas）<a href=\"https://postgr.es/c/351e59f34\">§</a></p>", "text": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存（Heikki Linnakangas）§", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "commits": ["351e59f34"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "a5fd95e6e0b5ece630bb5e744356d16558d044f15bb7ba2324c3d5a41931d62e", "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": ["351e59f34"], "source_entry_id": "17.10/changes/056", "db_id": "07ffe7eed989081f7577ca43593bd960", "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad", "relations": [{"rule": 2, "type": "equivalent", "target": "2b59e021939b9e9d9f09b01df770c280", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}}, {"rule": 2, "type": "equivalent", "target": "5405c5216994c7e3f308af24044493d4", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5405c5216994c7e3f308af24044493d4", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 contrib/pg_stat_statements 中，如果解析 pgss_query_texts.stat 文件时发生错误，不要泄漏内存", "evidence": {"same_day": true, "patch_ids": ["525c92ce9cbe0762a36b169c9be69fcf"], "statement_hash": "ac5942ed996a5e15c9177f4bd0925874631fd5bf85f5253845cd79fbf3ddf0ad"}, "url": "/docs/compare/?release=18.4#18.4-d1fd29b11b780a8b", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-488be0605ad9d4ad", "cves": [], "html": "<p>在 <code>contrib/postgres_fdw</code> 中，避免因过早清理失败连接而崩溃（Etsuro Fujita）<a href=\"https://postgr.es/c/af8f9248f\">§</a></p>\n<p>如果远程连接的中止清理失败，我们就不能再使用它。但要将关闭连接对象延迟到事务结束时执行，因为打开的游标等数据结构中可能仍有对它的引用。</p>", "text": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃（Etsuro Fujita）§ 如果远程连接的中止清理失败，我们就不能再使用它。但要将关闭连接对象延迟到事务结束时执行，因为打开的游标等数据结构中可能仍有对它的引用。", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "commits": ["af8f9248f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "84ce363096cf71d57f6c5553a14d4ce2882ced43fc2e05a7b774e01833077b0a", "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": ["af8f9248f"], "source_entry_id": "17.10/changes/057", "db_id": "9bcb1c284d9f8abb68fce372f4df9301", "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48", "relations": [{"rule": 2, "type": "equivalent", "target": "5debbdff219f6645c34f0afc23c6c9a8", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}, {"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": "b0783885375212755fb05950c3052a4a", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}}], "version": "17.10", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5debbdff219f6645c34f0afc23c6c9a8", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "在 contrib/postgres_fdw 中，避免因过早清理失败连接而崩溃", "evidence": {"same_day": true, "patch_ids": ["73eecb88ff1f4197b1eb6900521746ca"], "statement_hash": "c7e9961353a3aad5643e55ab0c89f89d4bd050418724e45b79a4a1fb13cd1c48"}, "url": "/docs/compare/?release=18.4#18.4-78a75773cc77437b", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.10-1e6fcd0fa95c5ce6", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2026b 发布版本（Tom Lane）<a href=\"https://postgr.es/c/4c0eab6f0\">§</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": ["4c0eab6f0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.10/#RELEASE-17-10-CHANGES", "source_hash": "d454a052abc39e98d934bf496b8d137e98bd4bd20e23f7c8498f76d861e964bc", "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": ["4c0eab6f0"], "source_entry_id": "17.10/changes/058", "db_id": "ae0d24039285853394af147eee246b73", "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681", "relations": [{"rule": 2, "type": "equivalent", "target": "4bebcc2956a5ca291072c22c03407356", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}}, {"rule": 2, "type": "equivalent", "target": "614039d003cde35ab46fd98561df1111", "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": "17.10", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4bebcc2956a5ca291072c22c03407356", "kind": "equivalent", "version": "18.4", "label": "18.4", "title": "将时区数据文件更新到 tzdata 2026b 发布版本", "evidence": {"same_day": true, "patch_ids": ["30506a0fee43471a4652ed9a4d616395"], "statement_hash": "54d3f56bdf06c07ea93842bb8072e38e1e0d631d40ae890c2e29184e60d57681"}, "url": "/docs/compare/?release=18.4#18.4-a78c59e453b0788d", "source_url": "/docs/release/18.4/#RELEASE-18-4-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": "17.9", "major": "17", "minor": 9, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.9", "eol_date": "2029-11-08", "date_text": "2026-02-26", "supported": true, "manual_url": "/docs/17/release-17-9.html", "source_url": "/docs/release/17.9/", "entry_count": 6, "placeholder": false, "content_hash": "e337f6bde1ac382cb78e58db936728f6b324dcd0e75b5283fcc833e4580de527", "manual_build": "17.12", "source_as_of": "", "changes_count": 6, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>但是，如果你从早于 17.6 的版本升级，请参见<a href=\"/docs/17/release-17-6.html\" title=\"E.6. 17.6 发布\">第 E.6 节</a>。</p>", "compatibility_count": 0, "label": "17.9", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 261, "support_days": 1090, "entries": [{"id": "17.9-80ecbcad5117683e", "cves": [], "html": "<p>修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题（Heikki Linnakangas）<a href=\"https://postgr.es/c/4a36c89f1\">§</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": ["4a36c89f1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "5301788c87a3db984faace17c7bd4a7a012ab0d7cc19a79a859c975b284beed6", "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": ["4a36c89f1"], "source_entry_id": "17.9/changes/001", "db_id": "269e20cac41b248d80f469e35fb3be04", "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d", "relations": [{"rule": 2, "type": "equivalent", "target": "54acee06ad9ee6f00cba048e48dfdadc", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}}, {"rule": 2, "type": "equivalent", "target": "6d7df9238b789e2555fe1290d455a61a", "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": "17.9", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6d7df9238b789e2555fe1290d455a61a", "kind": "equivalent", "version": "18.3", "label": "18.3", "title": "修复在重放由较旧小版本生成的 WAL 多事务 ID 截断记录后发生失败的问题", "evidence": {"same_day": true, "patch_ids": ["e8c592597fe0c522a838714ea94d192e"], "statement_hash": "cf611d327c6efbb05b8c3c3eec25baadc4b81f3015eda12031c5dfd70647d75d"}, "url": "/docs/compare/?release=18.3#18.3-ad611cd1e209983f", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.9-24d7e69f6ec0ae9a", "cves": ["CVE-2026-2006"], "html": "<p>避免在对<span>“<span>经过 TOAST 处理</span>”</span>的数据应用 <code>substring()</code> 时误报无效编码（Noah Misch）<a href=\"https://postgr.es/c/5d5232bc3\">§</a> <a href=\"https://postgr.es/c/50d361f62\">§</a> <a href=\"https://postgr.es/c/8e73530f1\">§</a></p>\n<p>针对 CVE-2026-2006 的修复过于激进，在原本合法的情况下也可能报出字符不完整错误。</p>", "text": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码（Noah Misch）§ § § 针对 CVE-2026-2006 的修复过于激进，在原本合法的情况下也可能报出字符不完整错误。", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "commits": ["50d361f62", "5d5232bc3", "8e73530f1"], "section": "变更", "category": "security", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "f66079943109d09ab5df6de739fc355e5c2d722d3c278d0cc7fdcdd0da281fcd", "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": ["50d361f62", "5d5232bc3", "8e73530f1"], "source_entry_id": "17.9/changes/002", "db_id": "91516991913d971894a1428891e4772e", "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": "9b63cad6030353d772f1330dfd687e9f", "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": "17.9", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "9b63cad6030353d772f1330dfd687e9f", "kind": "equivalent", "version": "18.3", "label": "18.3", "title": "避免在对“经过 TOAST 处理”的数据应用 substring() 时误报无效编码", "evidence": {"same_day": true, "patch_ids": ["924bc2a7b62c922890c6948fec9b1504", "b621552d0483c3fe9118c60e77f297ab", "fe6380c6909ab3efff6be8983b7f18a1"], "statement_hash": "b34aae4222592f29a7ecee54df249e73bebb9346d81b2e5c859347ba8c1ea747"}, "url": "/docs/compare/?release=18.3#18.3-77113f5b52409590", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.9-1441e21296f1914d", "cves": [], "html": "<p>修复对 <code>LATERAL UNION ALL</code> 子查询输出可能将其置空的外连接集合的计算（Richard Guo）<a href=\"https://postgr.es/c/bcaf1b510\">§</a></p>\n<p>这一错误可能导致系统误以为某些 <code>NOT NULL</code> 测试没有必要，从而跳过这些测试，最终产生错误的查询结果。</p>", "text": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算（Richard Guo）§ 这一错误可能导致系统误以为某些 NOT NULL 测试没有必要，从而跳过这些测试，最终产生错误的查询结果。", "title": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算", "commits": ["bcaf1b510"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "5cd79d75b4b3e8ca8739b04400f4e0d8a4247d958906bb453cdbcdcbc484ff44", "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": ["bcaf1b510"], "source_entry_id": "17.9/changes/003", "db_id": "b67986c165e36a1a03e1f26aa1714455", "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683", "relations": [{"rule": 2, "type": "equivalent", "target": "18fdbd910c49cc504248c6225d989414", "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": "17.9", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "18fdbd910c49cc504248c6225d989414", "kind": "equivalent", "version": "18.3", "label": "18.3", "title": "修复对 LATERAL UNION ALL 子查询输出可能将其置空的外连接集合的计算", "evidence": {"same_day": true, "patch_ids": ["39b9ce1d361dcaf187c274f11f3f2877"], "statement_hash": "ba69358a1b83d31e612c77f1471616df5093300bce97f33f1049bcfb8058f683"}, "url": "/docs/compare/?release=18.3#18.3-cd0444df0515373f", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.9-49611ef76ca99838", "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/842473337\">§</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": ["842473337"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "cb2b133dfef84606d3230484f61c93b4a79ab1ba9bced571f5d852562b647706", "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": ["842473337"], "source_entry_id": "17.9/changes/004", "db_id": "ca6d569bfd12f83cd8b663f7b1b14c38", "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": "51c535e1e5383ba40f60f95b951f7542", "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": "d389f553498aab12a33e8658e42c2ebd", "evidence": {"same_day": true, "patch_ids": ["54586dcff5ba8f38c9bad3069e4ffc52"], "statement_hash": "f5b50524b8ec05ef6a3e7bcc10dc01af6ebe577734eff3be2cb39b4262840b90"}}], "version": "17.9", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "51c535e1e5383ba40f60f95b951f7542", "kind": "equivalent", "version": "18.3", "label": "18.3", "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=18.3#18.3-a63ceb8e607a4b1d", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.9-00f1ed550848c3b5", "cves": [], "html": "<p>修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题（Tom Lane）<a href=\"https://postgr.es/c/dfd850980\">§</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": ["dfd850980"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "8609a1b3bab14b3c4cbecc4cce37cf565bb82d9fbe4e1193bf5243274eacf17c", "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": ["dfd850980"], "source_entry_id": "17.9/changes/005", "db_id": "1f6375c5be0406ebaeab1ddd1281f48a", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "d7289871637eb477a52d704b8b129dee", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}}], "version": "17.9", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d7289871637eb477a52d704b8b129dee", "kind": "equivalent", "version": "18.3", "label": "18.3", "title": "修复在从 PL/pgSQL 函数返回其值时，将复合类型变量转换为域类型的问题", "evidence": {"same_day": true, "patch_ids": ["4682bfcc99694f6b7bf7c07af3082c2e"], "statement_hash": "257a19cad310234769985e6594cf9f32698b7849a63b72427ee23e58e321e7d5"}, "url": "/docs/compare/?release=18.3#18.3-68534f113dfbb27d", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.9-09236fba7643dbb2", "cves": [], "html": "<p>修复 <code>contrib/hstore</code> 二进制输入函数中潜在的空指针解引用问题（Michael Paquier）<a href=\"https://postgr.es/c/0dfbe42da\">§</a></p>\n<p><code>hstore</code> 的接收函数在输入包含重复键时会崩溃。由 PostgreSQL 生成的 <code>hstore</code> 值永远不会包含重复键，因此这一错误一直未被发现。恶意构造或损坏的数据都可能触发该崩溃。</p>", "text": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题（Michael Paquier）§ hstore 的接收函数在输入包含重复键时会崩溃。由 PostgreSQL 生成的 hstore 值永远不会包含重复键，因此这一错误一直未被发现。恶意构造或损坏的数据都可能触发该崩溃。", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "commits": ["0dfbe42da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.9/#RELEASE-17-9-CHANGES", "source_hash": "78a371928fa32bcde5022361352d0f2d26dff8f0de8dc97252d95914825625d4", "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": ["0dfbe42da"], "source_entry_id": "17.9/changes/006", "db_id": "3a65408ffac19ce6c90d333d8d5318cf", "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d", "relations": [{"rule": 2, "type": "equivalent", "target": "302f35b8c992f59981d9c8bbcbf80b74", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}}, {"rule": 2, "type": "equivalent", "target": "333c171c538037b7ded4bd4a610b1799", "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": "17.9", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "302f35b8c992f59981d9c8bbcbf80b74", "kind": "equivalent", "version": "18.3", "label": "18.3", "title": "修复 contrib/hstore 二进制输入函数中潜在的空指针解引用问题", "evidence": {"same_day": true, "patch_ids": ["05e85f727ef4e88378a37028157d43b6"], "statement_hash": "d3475d54feed07f63eac9d89bc0052bdf62514368b9675dd5fa3bbf2749ab52d"}, "url": "/docs/compare/?release=18.3#18.3-72cba4c8d34e077e", "source_url": "/docs/release/18.3/#RELEASE-18-3-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": "17.8", "major": "17", "minor": 8, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.8", "eol_date": "2029-11-08", "date_text": "2026-02-12", "supported": true, "manual_url": "/docs/17/release-17-8.html", "source_url": "/docs/release/17.8/", "entry_count": 52, "placeholder": false, "content_hash": "32e6b70a00e18a3cc4fa14ce46dbf4cd257f0e5849fb4789577a0e38e4020bec", "manual_build": "17.12", "source_as_of": "", "changes_count": 52, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>但是，如果你从早于 17.6 的版本升级，请参见<a href=\"/docs/17/release-17-6.html\" title=\"E.6. 17.6 发布\">第 E.6 节</a>。</p>", "compatibility_count": 0, "label": "17.8", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 275, "support_days": 1090, "entries": [{"id": "17.8-a1109c4f32ae03d0", "cves": ["CVE-2026-2003"], "html": "<p>防止 <code>oidvector</code>/<code>int2vector</code> 出现意外的维度（Tom Lane）<a href=\"https://postgr.es/c/3d160401b\">§</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": ["3d160401b"], "section": "变更", "category": "security", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "d6f2ff312bd9c8c763279e53fb67886bc23756a9c53acaeff115450bf0778edc", "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": ["3d160401b"], "source_entry_id": "17.8/changes/001", "db_id": "dadfe1bd35a127e4b2350a876ce5f39d", "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787", "relations": [{"rule": 2, "type": "equivalent", "target": "020aec6d98ff35dcd4eca87ecb7d21fd", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}}, {"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"}}], "version": "17.8", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "020aec6d98ff35dcd4eca87ecb7d21fd", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "防止 oidvector/int2vector 出现意外的维度", "evidence": {"same_day": true, "patch_ids": ["e625ea93052fd4dfb5ad354c3e4c3569"], "statement_hash": "ce3b678bc249d2400e6f33b017d19a152d1f885b7690423e0e17ba0530a55787"}, "url": "/docs/compare/?release=18.2#18.2-5c52afa7301594c6", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-66e960e22441cfaa", "cves": ["CVE-2026-2004"], "html": "<p>增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护（Tom Lane）<a href=\"https://postgr.es/c/bbf5bcf58\">§</a> <a href=\"https://postgr.es/c/dd3ad2a4d\">§</a> <a href=\"https://postgr.es/c/dbb09fd8e\">§</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": ["bbf5bcf58", "dbb09fd8e", "dd3ad2a4d"], "section": "变更", "category": "security", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "a00d40efc8ae577ccc246661e137fe4f7abc81b3f58595861b4c47e8d4faa418", "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": ["bbf5bcf58", "dbb09fd8e", "dd3ad2a4d"], "source_entry_id": "17.8/changes/002", "db_id": "eb75ba70d74784578edba6ea18a6aaf9", "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": "853a0accddf2290afda1b4c5d74207ed", "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"}}], "version": "17.8", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "853a0accddf2290afda1b4c5d74207ed", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "增强选择率估算器在被附加到接受非预期数据类型的操作符时的防护", "evidence": {"same_day": true, "patch_ids": ["2f2e483656bae2dbe55158c3365123bd", "356a9ce59861f3c9318ff0c7fe53f540", "4bc40137a21f6b104cb7a2aaf123c445"], "statement_hash": "bf854d211c57f15bce3aa7bbb099f8690284afbf8188626b5fdf9bd083214cc4"}, "url": "/docs/compare/?release=18.2#18.2-0a3add9d9f709ebd", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-ad02898fb1831e36", "cves": ["CVE-2026-2005"], "html": "<p>修复 <code>contrib/pgcrypto</code> PGP 解密函数中的缓冲区溢出问题（Michael Paquier）<a href=\"https://postgr.es/c/7a7d9693c\">§</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": ["7a7d9693c"], "section": "变更", "category": "security", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "923d16f7f40f0f2013f149ad35364455b08193ae08e5a9c043f7a02700494a37", "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": ["7a7d9693c"], "source_entry_id": "17.8/changes/003", "db_id": "d0b0ce25a07e9ad598056180477520b6", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "ef4c4d388861428d41d8694448d1ec90", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}}], "version": "17.8", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "ef4c4d388861428d41d8694448d1ec90", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 contrib/pgcrypto PGP 解密函数中的缓冲区溢出问题", "evidence": {"same_day": true, "patch_ids": ["8812c5ce4844c4609945e75b3dad003d"], "statement_hash": "643330e49824e6c84ee06b67cc1febd73b94c839951a2861efc8c384a23e8307"}, "url": "/docs/compare/?release=18.2#18.2-c6669984145bd55c", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-0378679c62701a5e", "cves": ["CVE-2026-2006"], "html": "<p>修复多字节字符长度验证不充分的问题（Thomas Munro，Noah Misch）<a href=\"https://postgr.es/c/838248b1b\">§</a> <a href=\"https://postgr.es/c/7a522039f\">§</a> <a href=\"https://postgr.es/c/319e8a644\">§</a> <a href=\"https://postgr.es/c/10ebc4bd6\">§</a> <a href=\"https://postgr.es/c/dc072a09a\">§</a> <a href=\"https://postgr.es/c/955433ebd\">§</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": ["10ebc4bd6", "319e8a644", "7a522039f", "838248b1b", "955433ebd", "dc072a09a"], "section": "变更", "category": "security", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "238f0fc4dda91173712b65ba74cb4edb0f612ba90410f7930399ed1efdd9b3b5", "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": ["10ebc4bd6", "319e8a644", "7a522039f", "838248b1b", "955433ebd", "dc072a09a"], "source_entry_id": "17.8/changes/004", "db_id": "2fee65050d60d6944038f5de1fd6e77f", "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": "66ef8e4bb930ff6d7fb76f1509e60bdb", "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": "17.8", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "66ef8e4bb930ff6d7fb76f1509e60bdb", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复多字节字符长度验证不充分的问题", "evidence": {"same_day": true, "patch_ids": ["495ed616c5c9d01200b34ff986191d76", "8b94976f553df832eb256817e06f6e8e", "a8ccf4d965aea8d430069f2b4025b384", "b98e99e748716baf094e4d11553e19ae", "e1e546efb1e21ef2c167c052b7fc2c27", "ef48875931b707685e95ea56147ddbe5"], "statement_hash": "6c6e0d081c08625c5f6ce833f7e79f2bb277ec939453acd9d359f724272d34eb"}, "url": "/docs/compare/?release=18.2#18.2-b28dc0bb7dc6b053", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-69605b7e08548aa0", "cves": [], "html": "<p>不允许由子查询中的 CTE 引用决定聚合函数的语义层级（Tom Lane）<a href=\"https://postgr.es/c/075a763e2\">§</a></p>\n<p>此变更撤销了两个小版本之前引入的一项更改；现在，如果某个子查询引用的 CTE 所处层级低于按标准 SQL 规则依据其中的列引用和聚合所判定的聚合语义层级，将抛出错误。先前的修复方案本身也带来了问题，而且目前尚不清楚应如何处理。由于 SQL 标准本就完全不允许在聚合中包含子查询，将此类情况视为错误似乎已经足够。</p>", "text": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级（Tom Lane）§ 此变更撤销了两个小版本之前引入的一项更改；现在，如果某个子查询引用的 CTE 所处层级低于按标准 SQL 规则依据其中的列引用和聚合所判定的聚合语义层级，将抛出错误。先前的修复方案本身也带来了问题，而且目前尚不清楚应如何处理。由于 SQL 标准本就完全不允许在聚合中包含子查询，将此类情况视为错误似乎已经足够。", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "commits": ["075a763e2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "366fd2104235cda7c6d90b71c0667bf4f55ec1bd9c380ea58391127dd4d40a05", "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": ["075a763e2"], "source_entry_id": "17.8/changes/005", "db_id": "128a16829eb01aeea2a683fa84040725", "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059", "relations": [{"rule": 2, "type": "equivalent", "target": "4864352d8953061a7f3e2f942fd405e2", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}}, {"rule": 2, "type": "equivalent", "target": "968c190ce539c030cfe3824a0cddc761", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "968c190ce539c030cfe3824a0cddc761", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "不允许由子查询中的 CTE 引用决定聚合函数的语义层级", "evidence": {"same_day": true, "patch_ids": ["b900772ffaf16070ad5c6f3ee9476799"], "statement_hash": "aca5184caeda78eb5d5b9152a6295b4c451d3d7324fcbaae36c120961950e059"}, "url": "/docs/compare/?release=18.2#18.2-d6f0ddb2f2597bb2", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-a05a36b6df4c6b60", "cves": [], "html": "<p>修复 CTE 查询中 <code>MERGE</code> 的触发器过渡表捕获问题（Dean Rasheed）<a href=\"https://postgr.es/c/c5fc17dda\">§</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": ["c5fc17dda"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "9141fd3b786a170a4cd6879aeba6780530115622aba858799846e4e523ac9a77", "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": ["c5fc17dda"], "source_entry_id": "17.8/changes/006", "db_id": "d454fc992715ec69f11869ffab65efab", "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": "d4a6c61bfb31b9d9da04d2ea0c6cf39b", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}}, {"rule": 2, "type": "equivalent", "target": "e753c6457f34a85baec08d989ba33d82", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e753c6457f34a85baec08d989ba33d82", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 CTE 查询中 MERGE 的触发器过渡表捕获问题", "evidence": {"same_day": true, "patch_ids": ["9cb7a95ca83cc42e1b56a8fbc492d52e"], "statement_hash": "66d5665f7806451842ea09bab53ec96bcabb424e0cd66ec57fdd516b027ac4f9"}, "url": "/docs/compare/?release=18.2#18.2-449ed1ba9b72a08e", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-47d93f8afe450b73", "cves": [], "html": "<p>修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题（Amit Langote）<a href=\"https://postgr.es/c/933f67fb6\">§</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": ["933f67fb6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "c083bbe031a95efa1c012a12bb38733aa4b659acfa9061e5f42389683b529c8e", "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": ["933f67fb6"], "source_entry_id": "17.8/changes/007", "db_id": "63da9c3d80fbdcaacf4a6c8e130df7a3", "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": "7a4315af35989c84209f54d435f1bc39", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}, {"rule": 2, "type": "equivalent", "target": "f4b5a0c770a80f36d1c78eef1f635128", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f4b5a0c770a80f36d1c78eef1f635128", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复当分区目标表的所有子表在 UPDATE 或 DELETE 操作中都被剪枝时的失败问题", "evidence": {"same_day": true, "patch_ids": ["9a0dd248bccac339f799f84ddd7d8025"], "statement_hash": "2d865ce2ec1c605811a5336cc6b79b917602006b9d88ed02a66f1499e94eb2b3"}, "url": "/docs/compare/?release=18.2#18.2-6f5d6058ff3801ed", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-a2c5213ddb6acb5c", "cves": [], "html": "<p>避免当查询包含重复的窗口函数调用时规划器可能出现的失败（Meng Zhang，David Rowley）<a href=\"https://postgr.es/c/cae812741\">§</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": ["cae812741"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "6db7b46f8f3a3c462f30ed00c39f1a45bde1b455b14e3fa77cdb6fada2bca501", "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": ["cae812741"], "source_entry_id": "17.8/changes/008", "db_id": "7ac52809fbfe8babeb50e09de2f149dc", "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e", "relations": [{"rule": 2, "type": "equivalent", "target": "4b3957065e21f608944a30199fa8b0a3", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}}, {"rule": 2, "type": "equivalent", "target": "74b77b8e6ab0ea1bc12ae9243c478255", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4b3957065e21f608944a30199fa8b0a3", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "避免当查询包含重复的窗口函数调用时规划器可能出现的失败", "evidence": {"same_day": true, "patch_ids": ["fa4bfd3b1304bc4a95cf26b478914aab"], "statement_hash": "392afbf3348f0707bd8555b9a123869d33484aee1e6cef1a77967d81fcb6e73e"}, "url": "/docs/compare/?release=18.2#18.2-339f2dc7a8d3edca", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-845083cdcffc5df5", "cves": [], "html": "<p>允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值（Tom Lane）<a href=\"https://postgr.es/c/e79b27662\">§</a></p>\n<p>通常我们会删除被谓词蕴含的 WHERE 子句，因为测试它没有意义——对于每个索引条目，该条件必然成立。然而，如果索引是需要在前导索引键上有 WHERE 子句的类型（如 hash 索引），这样做可能阻止创建索引扫描计划。在考虑此类索引时，不要删除被蕴含的子句。</p>", "text": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值（Tom Lane）§ 通常我们会删除被谓词蕴含的 WHERE 子句，因为测试它没有意义——对于每个索引条目，该条件必然成立。然而，如果索引是需要在前导索引键上有 WHERE 子句的类型（如 hash 索引），这样做可能阻止创建索引扫描计划。在考虑此类索引时，不要删除被蕴含的子句。", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "commits": ["e79b27662"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "770c0f30e04264a1bf6777fad19f5cd3fe1a691284c7669cc3c4f98b06bcf061", "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": ["e79b27662"], "source_entry_id": "17.8/changes/009", "db_id": "46491fe43c6b06ae0b36463bb9ec508d", "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac", "relations": [{"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": "ed2a57d1a47eb0ac687c6d995081429b", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ed2a57d1a47eb0ac687c6d995081429b", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "允许在部分 hash 索引上进行索引扫描，即使索引的谓词蕴含 WHERE 子句的真值", "evidence": {"same_day": true, "patch_ids": ["371e0fb22b0b4c3ce7000e6e8780d0ab"], "statement_hash": "978f69342e3def3b8ca6380a3dacf1634fda30feb1db7c0f20d33cad5e6b4dac"}, "url": "/docs/compare/?release=18.2#18.2-61e225cdb2ce1f36", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-91a20d38e502ab15", "cves": [], "html": "<p>不要为不记录 WAL 的 BRIN 索引生成 WAL（Kirill Reshke）<a href=\"https://postgr.es/c/4b6d096a0\">§</a></p>\n<p>一条很少执行到的代码路径错误地为 BRIN 索引生成了 WAL 记录，即使该索引被标记为不记录 WAL。崩溃恢复时将无法重放该记录，并报告文件已存在的错误。</p>", "text": "不要为不记录 WAL 的 BRIN 索引生成 WAL（Kirill Reshke）§ 一条很少执行到的代码路径错误地为 BRIN 索引生成了 WAL 记录，即使该索引被标记为不记录 WAL。崩溃恢复时将无法重放该记录，并报告文件已存在的错误。", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "commits": ["4b6d096a0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "2ae64889251c756300604127ceb68d5d8fc0c912bce2f2ecc85e0814bb9bbc61", "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": ["4b6d096a0"], "source_entry_id": "17.8/changes/010", "db_id": "293acf13040f24b30864b10bd699a3a0", "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f", "relations": [{"rule": 2, "type": "equivalent", "target": "0937f4c4aaa8ff37a519ed8e315b4268", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0937f4c4aaa8ff37a519ed8e315b4268", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "不要为不记录 WAL 的 BRIN 索引生成 WAL", "evidence": {"same_day": true, "patch_ids": ["548b71793684eb7a3b4dc68f7e774931"], "statement_hash": "14bc5b9ab44a24425a2aaf5ae8e65539cd475fa7e779fdd338932c2bec859e4f"}, "url": "/docs/compare/?release=18.2#18.2-569b26ba06e60ceb", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-4391ac8372980d16", "cves": [], "html": "<p>防止截断未读 <code>NOTIFY</code> 消息仍然需要的 CLOG（Joel Jacobson，Heikki Linnakangas）<a href=\"https://postgr.es/c/d02c03ddc\">§</a> <a href=\"https://postgr.es/c/c2682810a\">§</a> <a href=\"https://postgr.es/c/d80d5f099\">§</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": ["c2682810a", "d02c03ddc", "d80d5f099"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "7b361574d422d1f5cfee07fb8ab79fb4d50a3380d79f38e7b57babb20b5328e3", "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": ["c2682810a", "d02c03ddc", "d80d5f099"], "source_entry_id": "17.8/changes/011", "db_id": "b59bb775aaba7282f555785a3372d9b7", "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": "9ff198dcfbb11c56f5a356cc045a2e21", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9ff198dcfbb11c56f5a356cc045a2e21", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "防止截断未读 NOTIFY 消息仍然需要的 CLOG", "evidence": {"same_day": true, "patch_ids": ["049c4c1146a404bda2c88a886f6a54f5", "2e0dbedb2008ef722d72cb29c205b12b", "f451d1b52bfa95906c50f2afbd378177"], "statement_hash": "5649a8930d269e6b71be2eb73aebd23736ffad2e22f4acbfe83ddfebe1ce9f36"}, "url": "/docs/compare/?release=18.2#18.2-0a2a82e68a475c0b", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-9232f0a43f14d80d", "cves": [], "html": "<p>将 <code>NOTIFY</code> 消息处理期间发生的错误升级为 FATAL，即关闭连接（Heikki Linnakangas）<a href=\"https://postgr.es/c/b821c9292\">§</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": ["b821c9292"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "e2aadfc7caeda819cb0a0a65b11f26b37f650ce072735a3204f7d7377ba91394", "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": ["b821c9292"], "source_entry_id": "17.8/changes/012", "db_id": "a44a10f8650876c478bd97a4096ffb22", "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343", "relations": [{"rule": 2, "type": "equivalent", "target": "2578b5de351f2e0a0f1cb1385293acf1", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}, {"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": "d4ce5365c9cfca02e6db88e5179af61a", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2578b5de351f2e0a0f1cb1385293acf1", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "将 NOTIFY 消息处理期间发生的错误升级为 FATAL，即关闭连接", "evidence": {"same_day": true, "patch_ids": ["4e4c8262cf4b59a9a0c02b859c31ba93"], "statement_hash": "205197bc16f626c3fb09afea881f30f8da7d367c145557afffb3084d4cb8e343"}, "url": "/docs/compare/?release=18.2#18.2-073ea8d2455d251d", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-ebe5acebca0a9592", "cves": [], "html": "<p>修复在发生并发更新时 <code>EXPLAIN ANALYZE MERGE</code> 对更新计数错误的问题（Dean Rasheed）<a href=\"https://postgr.es/c/d6c415c4b\">§</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": ["d6c415c4b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "1c679b41a417e3a47fd80214230b70ecef4eda2a57625b8d338e49a0622680ab", "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": ["d6c415c4b"], "source_entry_id": "17.8/changes/013", "db_id": "0cbfe95ba5642b68cc4518c9e5648046", "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078", "relations": [{"rule": 2, "type": "equivalent", "target": "25fcb7323829da37f0ce18de95018eec", "evidence": {"same_day": true, "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "25fcb7323829da37f0ce18de95018eec", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复在发生并发更新时 EXPLAIN ANALYZE MERGE 对更新计数错误的问题", "evidence": {"same_day": true, "patch_ids": ["2609b24658a7707034f782947e9967cc"], "statement_hash": "d84813ce8e9759afdcfc9b4a4e63c281f7b3b02a756d0a01e9e44928e95b9078"}, "url": "/docs/compare/?release=18.2#18.2-6bf24a3ded894f6c", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-50532778c9796546", "cves": [], "html": "<p>修复在锁定元组时跟踪更新链的错误（Jasper Smit）<a href=\"https://postgr.es/c/bb87d7fef\">§</a></p>\n<p>此代码路径忽略了检查更新链中第一个新元组的 xmin，使得在原始更新者中止且空间被 <code>VACUUM</code> 立即回收并重新使用的情况下，可能会锁定一个不相关的元组。这可能导致意外的事务延迟或死锁。与识别到错误元组相关的错误也已被观察到。</p>", "text": "修复在锁定元组时跟踪更新链的错误（Jasper Smit）§ 此代码路径忽略了检查更新链中第一个新元组的 xmin，使得在原始更新者中止且空间被 VACUUM 立即回收并重新使用的情况下，可能会锁定一个不相关的元组。这可能导致意外的事务延迟或死锁。与识别到错误元组相关的错误也已被观察到。", "title": "修复在锁定元组时跟踪更新链的错误", "commits": ["bb87d7fef"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "9dd6081ac40b2bcba76a6cc2a5b986e80bfd52b5162335f9cc5e6d08e4300a88", "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": ["bb87d7fef"], "source_entry_id": "17.8/changes/014", "db_id": "8954f19da0659a10c8106e76f12e9ccc", "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": "d4cc08cb8b81ba921b2e9bc0318b23a2", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d4cc08cb8b81ba921b2e9bc0318b23a2", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复在锁定元组时跟踪更新链的错误", "evidence": {"same_day": true, "patch_ids": ["e3dafdb5e648603a0ea08c3d21ee84d7"], "statement_hash": "ae47dc62dd8aef911c4966b610546ed3a91d32ad6ba6e73105bd7411263a30d1"}, "url": "/docs/compare/?release=18.2#18.2-96ad5c05e88ce8b6", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-3bb47161eed5f310", "cves": [], "html": "<p>修复原地更新系统目录时的问题（Noah Misch）<a href=\"https://postgr.es/c/0f69bedde\">§</a> <a href=\"https://postgr.es/c/d3e5d8950\">§</a> <a href=\"https://postgr.es/c/bcb784e7d\">§</a></p>\n<p>对于原地更新，发送非事务性的失效消息，因为此类更新在事务回滚后仍会保留。同时，确保该更新在其他会话可见之前已经写入 WAL。这些修复主要防止关系的 frozen-XID 属性出现不一致，从而避免 CLOG 被过早截断并随后出现 <span>“<span>could not access status of transaction</span>”</span> 错误。</p>", "text": "修复原地更新系统目录时的问题（Noah Misch）§ § § 对于原地更新，发送非事务性的失效消息，因为此类更新在事务回滚后仍会保留。同时，确保该更新在其他会话可见之前已经写入 WAL。这些修复主要防止关系的 frozen-XID 属性出现不一致，从而避免 CLOG 被过早截断并随后出现 “could not access status of transaction” 错误。", "title": "修复原地更新系统目录时的问题", "commits": ["0f69bedde", "bcb784e7d", "d3e5d8950"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "af0dd5d9953146cdd38d153f968f4bcfb04abcf63b67128386f241a1a686902d", "section_path": ["变更"], "commit_groups": [["05d605b6c", "0f69bedde", "1d7b02711", "811422471"], ["0dfbd191a", "27e4fad98", "86091202a", "bcb784e7d"], ["20a48c156", "720e9304f", "d3e5d8950", "e4b1986b9"]], "identity_text": "Fix issues around in-place catalog updates (Noah Misch) Send a nontransactional invalidation message for an in-place update, since such an update will survive transaction rollback. Also ensure that the update is WAL-logged before other sessions can see it. These fixes primarily prevent scenarios in which relations' frozen-XID attributes become inconsistent, possibly allowing premature CLOG truncation and subsequent could not access status of transaction errors.", "commit_aliases": ["05d605b6c", "0dfbd191a", "0f69bedde", "1d7b02711", "20a48c156", "27e4fad98", "720e9304f", "811422471", "86091202a", "bcb784e7d", "d3e5d8950", "e4b1986b9"], "source_commits": ["0f69bedde", "bcb784e7d", "d3e5d8950"], "source_entry_id": "17.8/changes/015", "db_id": "577989fe6b9f208495ce6a7ab6b002c6", "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a", "relations": [{"rule": 2, "type": "equivalent", "target": "1a1ca89a6f8b8a26e2fdc5c3adffee40", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}}, {"rule": 2, "type": "equivalent", "target": "24d2c263d61d870ad15e04e37b9be312", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}}, {"rule": 2, "type": "equivalent", "target": "7e9c59cfc9b17218ff9e506d4b425a25", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "24d2c263d61d870ad15e04e37b9be312", "kind": "equivalent", "version": "16.12", "label": "16.12", "title": "修复原地更新系统目录时的问题", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}, "url": "/docs/compare/?release=16.12#16.12-3bb47161eed5f310", "source_url": "/docs/release/16.12/#RELEASE-16-12-CHANGES"}, {"db_id": "1a1ca89a6f8b8a26e2fdc5c3adffee40", "kind": "equivalent", "version": "15.16", "label": "15.16", "title": "修复原地更新系统目录时的问题", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}, "url": "/docs/compare/?release=15.16#15.16-3bb47161eed5f310", "source_url": "/docs/release/15.16/#ZH-AUTO-RELEASE-15-SECT2-4"}, {"db_id": "7e9c59cfc9b17218ff9e506d4b425a25", "kind": "equivalent", "version": "14.21", "label": "14.21", "title": "修复原地更新系统目录时的问题", "evidence": {"same_day": true, "patch_ids": ["1d2a4559a8d7276dbf544ec3c3139d64", "810b6ce6361bfec35a8994954d64ee9a", "eed66ab080408c0e6d006c6433746be2"], "statement_hash": "33139139d6db8add9f0014229fa4e27308c3f7fb8f4aeed7bb35cbc7df54153a"}, "url": "/docs/compare/?release=14.21#14.21-3bb47161eed5f310", "source_url": "/docs/release/14.21/#ZH-AUTO-RELEASE-14-SECT2-4"}]}, {"id": "17.8-9171e2849738082f", "cves": [], "html": "<p>修复对大表增量备份处理不正确的问题（Robert Haas、Oleg Tkachenko）<a href=\"https://postgr.es/c/ad569b54a\">§</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": ["ad569b54a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "95592690197d3a5c77bf3e58c27a9e322d57f0eea404da86000b542ea1b2858d", "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": ["ad569b54a"], "source_entry_id": "17.8/changes/016", "db_id": "396235bc9daa1f15f99178df7bd67a76", "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769", "relations": [{"rule": 2, "type": "equivalent", "target": "5de4dbe75c947fa408b59b064069c0f4", "evidence": {"same_day": true, "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5de4dbe75c947fa408b59b064069c0f4", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复对大表增量备份处理不正确的问题", "evidence": {"same_day": true, "patch_ids": ["be976872554bd99653b2dd720a84a67c"], "statement_hash": "417141a765e5e572f0440e8e2d390439f63b06fcb081832123c771ab5f3c3769"}, "url": "/docs/compare/?release=18.2#18.2-ac8dbfd270ee5d7f", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-ff65f3935e08be00", "cves": [], "html": "<p>修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题（Rahila Syed）<a href=\"https://postgr.es/c/4071fe900\">§</a></p>", "text": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题（Rahila Syed）§", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "commits": ["4071fe900"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "9083f4f6522b163b1b2786ae037c69cacbae890835a8a3956a2f58bbfd79f92f", "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": ["4071fe900"], "source_entry_id": "17.8/changes/017", "db_id": "d2811b8c558ee3336f69ce2dee648262", "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": "5ad3db5c0edaa4934f3f9d9b4709c52d", "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"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ad3db5c0edaa4934f3f9d9b4709c52d", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复后端进程在退出时由于尝试在已取消映射的共享内存段中释放锁而可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["126653f8f3297278586a3928c56e06f3"], "statement_hash": "92dcd4d1c3bd738dad9644948eb1cd6efd94bdefcd3219e424732f890c0bceb3"}, "url": "/docs/compare/?release=18.2#18.2-c5a2be58244ca433", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-9e854c237f5aabf9", "cves": [], "html": "<p>防止崩溃后多事务日志被错误截断（Heikki Linnakangas）<a href=\"https://postgr.es/c/d3ad4cef6\">§</a></p>", "text": "防止崩溃后多事务日志被错误截断（Heikki Linnakangas）§", "title": "防止崩溃后多事务日志被错误截断", "commits": ["d3ad4cef6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "d15c1d0c5dc3e478fc6042712d9657566501a872a8b859a05e95e9e951f597b9", "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": ["d3ad4cef6"], "source_entry_id": "17.8/changes/018", "db_id": "423a226c0afa155ba2f8b3bf4d809b9b", "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": "3a7694cde691f1c0a64647d256362d79", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a7694cde691f1c0a64647d256362d79", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "防止崩溃后多事务日志被错误截断", "evidence": {"same_day": true, "patch_ids": ["67a73a4872f6b3f005ad7fe4e9077027"], "statement_hash": "dfecdaac190eb4e172c44ceae68abad6d5cc283f60c6a947351bcef843a944ad"}, "url": "/docs/compare/?release=18.2#18.2-8b23c352cad22240", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-5b4587fee1692efc", "cves": [], "html": "<p>修复 <code>pg_stat_get_backend_activity()</code> 可能返回编码错误的结果的问题（Chao Li）<a href=\"https://postgr.es/c/52b27f585\">§</a></p>\n<p>保存会话活动字符串的共享内存缓冲区末尾可能包含不完整的多字节字符。读取者应该截断掉任何此类不完整字符，但此函数未能做到这一点。</p>", "text": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题（Chao Li）§ 保存会话活动字符串的共享内存缓冲区末尾可能包含不完整的多字节字符。读取者应该截断掉任何此类不完整字符，但此函数未能做到这一点。", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "commits": ["52b27f585"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "c376ee42551e0a693b2083038ef873dc7a6a3d36a88e15eb4c998682c33e7e83", "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": ["52b27f585"], "source_entry_id": "17.8/changes/019", "db_id": "962171149258cdfb98c25d6f7cda03e4", "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": "2011af15ea6d97b67e6182e61860c8c7", "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": "c6e97abc5a7f6b7dd2f4f8bbf960d054", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2011af15ea6d97b67e6182e61860c8c7", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 pg_stat_get_backend_activity() 可能返回编码错误的结果的问题", "evidence": {"same_day": true, "patch_ids": ["b809be4e7827182df22fb9f71f25cf1d"], "statement_hash": "18f9c2bfb3fe8f5033800a59729a09db060ed74ea247b46aee7ee09268737178"}, "url": "/docs/compare/?release=18.2#18.2-08c685de487e23d3", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-a1b611399d727246", "cves": [], "html": "<p>防止递归的内存上下文日志记录（Fujii Masao）<a href=\"https://postgr.es/c/699293d27\">§</a></p>\n<p>持续不断的请求内存上下文日志记录的信号流可能导致日志记录代码的递归执行，理论上可能导致栈溢出。</p>", "text": "防止递归的内存上下文日志记录（Fujii Masao）§ 持续不断的请求内存上下文日志记录的信号流可能导致日志记录代码的递归执行，理论上可能导致栈溢出。", "title": "防止递归的内存上下文日志记录", "commits": ["699293d27"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "61ee8bd74049d1cd9cd5af4917dece881e453c8083ec236ad57e047861176204", "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": ["699293d27"], "source_entry_id": "17.8/changes/020", "db_id": "76d6a4cdde5956fd5fdf83af6a0f6953", "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": "cdc054743d9f7923ca54a8a0dd5eba4d", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}, {"rule": 2, "type": "equivalent", "target": "e532d3e562a8bcd039083d7610c4fe02", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e532d3e562a8bcd039083d7610c4fe02", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "防止递归的内存上下文日志记录", "evidence": {"same_day": true, "patch_ids": ["5f2e29ee0f0a335aba7ffbb8c5262c9e"], "statement_hash": "b5c2d3f4f692a615b47c23616523ca27bef0dcd03455868cfc0d756ea0575dd4"}, "url": "/docs/compare/?release=18.2#18.2-92cabc87c606add7", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-cdcf22c5f5200747", "cves": [], "html": "<p>修复重新初始化并行执行上下文时的内存上下文使用问题（Jakub Wartak，Jeevan Chalke）<a href=\"https://postgr.es/c/1d0fc2499\">§</a></p>\n<p>此错误可能由于附属数据结构的生命周期比并行上下文更短而导致崩溃。目前尚未发现仅使用 <span>PostgreSQL</span> 核心就能触发该问题的情况，但我们收到了扩展中出现问题的报告。</p>", "text": "修复重新初始化并行执行上下文时的内存上下文使用问题（Jakub Wartak，Jeevan Chalke）§ 此错误可能由于附属数据结构的生命周期比并行上下文更短而导致崩溃。目前尚未发现仅使用 PostgreSQL 核心就能触发该问题的情况，但我们收到了扩展中出现问题的报告。", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "commits": ["1d0fc2499"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "bb5a62b2fb3bf6bbb4149b00fd387afd1a14c8c756e85bafee83092877bdb0df", "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": ["1d0fc2499"], "source_entry_id": "17.8/changes/021", "db_id": "c0e0fccdb1ff80df5a7c450903b3c742", "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": "a0538505db5e86d813d403a8571068b8", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a0538505db5e86d813d403a8571068b8", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复重新初始化并行执行上下文时的内存上下文使用问题", "evidence": {"same_day": true, "patch_ids": ["4c076010d0ab56e908326be07c1b73c6"], "statement_hash": "b3c3fe87f6d12f96eb766c99214c419b7d35f4a67646f0e2ac1a8abac3576cb0"}, "url": "/docs/compare/?release=18.2#18.2-f56daebc6196999a", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-351e263e26b0031c", "cves": [], "html": "<p>在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环（Andrey Borodin）<a href=\"https://postgr.es/c/8ba61bc06\">§</a> <a href=\"https://postgr.es/c/cad40cec2\">§</a></p>\n<p>之前的逻辑可能会卡在等待一个永远不会发生的更新上。</p>", "text": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环（Andrey Borodin）§ § 之前的逻辑可能会卡在等待一个永远不会发生的更新上。", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "commits": ["8ba61bc06", "cad40cec2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "41903876420fbf0d3c0c6a1d2c9fcbade9301a3c6d178da35658b3f30eea0e94", "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": ["8ba61bc06", "cad40cec2"], "source_entry_id": "17.8/changes/022", "db_id": "df073012abdc28126571ebecafb9c308", "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": "9d39be361a73eeb011b1508852d458c4", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9d39be361a73eeb011b1508852d458c4", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "在创建新的多事务 ID 时设置下一个多事务 ID 的偏移量，以消除在边界情况下所需的等待循环", "evidence": {"same_day": true, "patch_ids": ["7a935cadcf10c6b2317e3231e31323b6", "ee608729a6ebedc95a84b653d7e6f795"], "statement_hash": "3820414d3ddce5f6a358db922abd2d2d57a70d8990ca5c41a3b91f78a7e3261d"}, "url": "/docs/compare/?release=18.2#18.2-0eb611cc5bc18380", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-fed0bc33b201283d", "cves": [], "html": "<p>避免多次重写数据修改 CTE（Bernice Southey，Dean Rasheed）<a href=\"https://postgr.es/c/c09096503\">§</a></p>\n<p>以前，在更新自动可更新视图或带规则的关系时，如果原始查询含有数据修改 CTE，重写器会由于递归而多次重写这些 CTE。这不仅低效，而且当 CTE 包含对GENERATED ALWAYS 列的更新时可能产生虚假错误。</p>", "text": "避免多次重写数据修改 CTE（Bernice Southey，Dean Rasheed）§ 以前，在更新自动可更新视图或带规则的关系时，如果原始查询含有数据修改 CTE，重写器会由于递归而多次重写这些 CTE。这不仅低效，而且当 CTE 包含对GENERATED ALWAYS 列的更新时可能产生虚假错误。", "title": "避免多次重写数据修改 CTE", "commits": ["c09096503"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "6aa5c8380dc37f7c77aa85c4927b090f4c3898d30a10bef390cb8f3d602459df", "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": ["c09096503"], "source_entry_id": "17.8/changes/023", "db_id": "f467408bfd650872bf1654f4ee4ec70d", "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": "b1252119d1b5ac0ac5230ba9b7fb844b", "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": "fa9d76713707441eef7a725233377166", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b1252119d1b5ac0ac5230ba9b7fb844b", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "避免多次重写数据修改 CTE", "evidence": {"same_day": true, "patch_ids": ["e0f79f9c321f69bef485ae997c61c414"], "statement_hash": "45d7e282599aa005c97ba4f77c0f61900b8c96a1633aa3b113857a26515155bb"}, "url": "/docs/compare/?release=18.2#18.2-598e6b46a303e445", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-be3128d810d25a5b", "cves": [], "html": "<p>允许重试 DSM 注册表条目的初始化（Nathan Bossart）<a href=\"https://postgr.es/c/2fc5c5062\">§</a></p>\n<p>如果动态共享内存条目的初始化进行到一半失败，允许下一次尝试使用该条目时重新初始化。此前，该条目会永久处于失败状态。</p>", "text": "允许重试 DSM 注册表条目的初始化（Nathan Bossart）§ 如果动态共享内存条目的初始化进行到一半失败，允许下一次尝试使用该条目时重新初始化。此前，该条目会永久处于失败状态。", "title": "允许重试 DSM 注册表条目的初始化", "commits": ["2fc5c5062"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "a45a73fcc752e430671563f43425e02dfb18c096961fc057ef86a9d32b6e112e", "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": ["2fc5c5062"], "source_entry_id": "17.8/changes/024", "db_id": "5039c49f944e0ea8e42e7eb5859d47f5", "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73", "relations": [{"rule": 2, "type": "equivalent", "target": "35cb139db6fcca1cb726591686762d5e", "evidence": {"same_day": true, "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "35cb139db6fcca1cb726591686762d5e", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "允许重试 DSM 注册表条目的初始化", "evidence": {"same_day": true, "patch_ids": ["e358cc1d91845e3da8aaed14c787dcd0"], "statement_hash": "6f8c9dfe61ba11aac117897b8a16e2c125090ad069d80ce5e2ebe812b2891a73"}, "url": "/docs/compare/?release=18.2#18.2-44b11be419e13584", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-3d4d2474ea729f43", "cves": [], "html": "<p>如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败（Nitin Jadhav）<a href=\"https://postgr.es/c/f5927da4f\">§</a></p>\n<p>在开始恢复之前添加一个显式检查，以确保不会造成损害并提供有用的错误消息。以前，在这种情况下恢复可能会崩溃或损坏数据库。</p>", "text": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败（Nitin Jadhav）§ 在开始恢复之前添加一个显式检查，以确保不会造成损害并提供有用的错误消息。以前，在这种情况下恢复可能会崩溃或损坏数据库。", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "commits": ["f5927da4f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "41c74c2b03ccb47c4645512c9e78a23ff51eb6579a036b5dd261ff4fe87b27fc", "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": ["f5927da4f"], "source_entry_id": "17.8/changes/025", "db_id": "3f4035b04c1c0e9ba08acef72e76fc91", "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": "7e009c5e3ee2635f5a3f2d6750f1a823", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}}, {"rule": 2, "type": "equivalent", "target": "afebd143b96e516829ea82f80f213765", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "afebd143b96e516829ea82f80f213765", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "如果 WAL 未涵盖检查点记录指示的重做点，则使恢复失败", "evidence": {"same_day": true, "patch_ids": ["4b87107464945d5170bed63f81ff3790"], "statement_hash": "3acaee6f8628ca0f43630afaa8799cc5ced91cfb215bf493f91ad515f4af1034"}, "url": "/docs/compare/?release=18.2#18.2-48e29718af30085d", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-51768104ffbbb8b1", "cves": [], "html": "<p>避免在 <code>ALTER PUBLICATION</code> 期间修改源查询树（Sunil S）<a href=\"https://postgr.es/c/bb08ac7ac\">§</a></p>\n<p>此错误的可见效果是，为该查询触发的事件触发器只能看到第一个 <code>publish</code> 选项，即使指定了多个选项。如果此类查询被设置为预备语句，重新执行时也会出现错误行为。</p>", "text": "避免在 ALTER PUBLICATION 期间修改源查询树（Sunil S）§ 此错误的可见效果是，为该查询触发的事件触发器只能看到第一个 publish 选项，即使指定了多个选项。如果此类查询被设置为预备语句，重新执行时也会出现错误行为。", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "commits": ["bb08ac7ac"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "57c28f7273ce7c17ceaf75742340c88fe2345d86f04c79613c3419c16857086b", "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": ["bb08ac7ac"], "source_entry_id": "17.8/changes/026", "db_id": "bb090370862ac9b9ba54fb93b71c4869", "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": "7e3fc1d0791de552b876cdb2454f31d0", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e3fc1d0791de552b876cdb2454f31d0", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "避免在 ALTER PUBLICATION 期间修改源查询树", "evidence": {"same_day": true, "patch_ids": ["27aaed0fd0399be3426c4d05cf88f583"], "statement_hash": "097d4d62aa891693f59702842928f93c4d533cb5aa5f4af54c5237246f6933dd"}, "url": "/docs/compare/?release=18.2#18.2-4ab1376a3267c027", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-8dc05bb27f841a6c", "cves": [], "html": "<p>将 <code>CREATE SUBSCRIPTION ... CONNECTION</code> 中指定的连接选项传递给发布端的 walsender 进程（Fujii Masao）<a href=\"https://postgr.es/c/7a990e801\">§</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": ["7a990e801"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "4b666f479002ecfb8dd29fc7f3485e06a6989bed3ff1080233746f3170f1aa10", "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": ["7a990e801"], "source_entry_id": "17.8/changes/027", "db_id": "e6adf36f29967b514be061f08ac43c83", "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": "88f8d8a25ce40f7bce801ec6d1ceb806", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "88f8d8a25ce40f7bce801ec6d1ceb806", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "将 CREATE SUBSCRIPTION ... CONNECTION 中指定的连接选项传递给发布端的 walsender 进程", "evidence": {"same_day": true, "patch_ids": ["568bc4b03123c66fa5044fb184e67302"], "statement_hash": "943489b5b1d830bbee00976c647cb6322ea03fa5558af6ad16b83a9deefb106c"}, "url": "/docs/compare/?release=18.2#18.2-a7e8eb1d775d340e", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-2ab0d69c3c8683d7", "cves": [], "html": "<p>防止新创建或新同步的复制槽被无效化（Zhijie Hou）<a href=\"https://postgr.es/c/3243c0177\">§</a> <a href=\"https://postgr.es/c/9649f1adf\">§</a> <a href=\"https://postgr.es/c/3510ebeb0\">§</a></p>\n<p>与并发检查点的竞争条件可能导致复制槽所需的 WAL 被删除，使得该槽立即被标记为无效。</p>", "text": "防止新创建或新同步的复制槽被无效化（Zhijie Hou）§ § § 与并发检查点的竞争条件可能导致复制槽所需的 WAL 被删除，使得该槽立即被标记为无效。", "title": "防止新创建或新同步的复制槽被无效化", "commits": ["3243c0177", "3510ebeb0", "9649f1adf"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "4b9986d9cec82ca0857c9c964b131d78f9e63d5b9a4ce921d592d9e7f82573bb", "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": ["3243c0177", "3510ebeb0", "9649f1adf"], "source_entry_id": "17.8/changes/028", "db_id": "2e44c2dcd00ca731067ba5c1a7a9a31c", "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9", "relations": [{"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": "cb75695174eb56fb419b9a98e09580cc", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb75695174eb56fb419b9a98e09580cc", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "防止新创建或新同步的复制槽被无效化", "evidence": {"same_day": true, "patch_ids": ["52eeca007f2cc833bd086bea5398b6dd", "e27e8fc7ff675146f1b638a98637021e", "fd534fc2f99acb10d2ff04bf0f822f81"], "statement_hash": "a7634872b97f0a43a006c3dc4f9851bc65d8af6cd588b4009553b843b6ae22d9"}, "url": "/docs/compare/?release=18.2#18.2-882569f761ef0610", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-73bf563728deef29", "cves": [], "html": "<p>修复计算复制槽所需 xmin 时的竞争条件（Zhijie Hou）<a href=\"https://postgr.es/c/123b851ab\">§</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": ["123b851ab"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "2885b065e4ca25c4575226e4cca7e6ae6728b31b6bf0c52ac355b07c8243b6c1", "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": ["123b851ab"], "source_entry_id": "17.8/changes/029", "db_id": "5b75bdc74484bae30e1e7fdc965c9335", "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369", "relations": [{"rule": 2, "type": "equivalent", "target": "669fa902ee7eb1553fc960938aa0101f", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "669fa902ee7eb1553fc960938aa0101f", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复计算复制槽所需 xmin 时的竞争条件", "evidence": {"same_day": true, "patch_ids": ["c967ad30d8508306bc9949d6c7504333"], "statement_hash": "8dd9f0879870a4299a9d543db5674a7348ed2b9228376a7028ea153ac3afb369"}, "url": "/docs/compare/?release=18.2#18.2-7907d70dfbb36d36", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-e95d66b2b17f79c5", "cves": [], "html": "<p>在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 <code>pg_replication_origin</code> 条目的添加（Zhijie Hou）<a href=\"https://postgr.es/c/e063ccc72\">§</a></p>\n<p>以前，如果复制步骤失败，新的 <code>pg_replication_origin</code> 条目会因事务回滚而丢失，从而导致共享内存中的状态不一致。</p>", "text": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加（Zhijie Hou）§ 以前，如果复制步骤失败，新的 pg_replication_origin 条目会因事务回滚而丢失，从而导致共享内存中的状态不一致。", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "commits": ["e063ccc72"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "78cbbfc2a5c824f382d88c2de9de9ad279befa9ee47afeedcaa2e8fdcdaab44a", "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": ["e063ccc72"], "source_entry_id": "17.8/changes/030", "db_id": "eb4ae0a26d975941de9f63f06cf9d77f", "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26", "relations": [{"rule": 2, "type": "equivalent", "target": "0641edcbe436f507275b2cfe99e6bfe1", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}}, {"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"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0641edcbe436f507275b2cfe99e6bfe1", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "在逻辑复制订阅的初始同步期间，在开始复制数据之前提交 pg_replication_origin 条目的添加", "evidence": {"same_day": true, "patch_ids": ["8e425bf3652841f2fadba06865081f6e"], "statement_hash": "7d150c67ee78399daa2e94cde2a4147e691fc12beccfdee6012621884edbcb26"}, "url": "/docs/compare/?release=18.2#18.2-2de557ccdda45f50", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-e6867fece2c6f2d4", "cves": [], "html": "<p>在并行工作进程应用失败后不推进逻辑复制进度（Zhijie Hou）<a href=\"https://postgr.es/c/0ed8f1afb\">§</a></p>\n<p>之前的行为允许订阅者丢失事务。</p>", "text": "在并行工作进程应用失败后不推进逻辑复制进度（Zhijie Hou）§ 之前的行为允许订阅者丢失事务。", "title": "在并行工作进程应用失败后不推进逻辑复制进度", "commits": ["0ed8f1afb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "28505f1fc0f067397ecf58c1b764b3f80fb61985841686e1336157a7dfbffd06", "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": ["0ed8f1afb"], "source_entry_id": "17.8/changes/031", "db_id": "d3f0ce1d0627ffd85c57f5963d822b33", "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": "3e82f89211515507e8f8677f313d3799", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3e82f89211515507e8f8677f313d3799", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "在并行工作进程应用失败后不推进逻辑复制进度", "evidence": {"same_day": true, "patch_ids": ["9d8b1309e987cb63c5164f0ac19628f4"], "statement_hash": "843a95a8685d2abb66e22dcecb3ca218c807c27fb6410d57c5646106423458aa"}, "url": "/docs/compare/?release=18.2#18.2-434a2b6b0d42abc4", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-f2b54a080f4d7fca", "cves": [], "html": "<p>修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理（Zhijie Hou）<a href=\"https://postgr.es/c/f2818868a\">§</a></p>\n<p>以前，这类超时信号实际上会被忽略。</p>", "text": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理（Zhijie Hou）§ 以前，这类超时信号实际上会被忽略。", "title": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理", "commits": ["f2818868a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "ed3db420b3ce0538723c7fd80ca7c8d0dbb3e471a79ffa01895418c452543678", "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": ["f2818868a"], "source_entry_id": "17.8/changes/032", "db_id": "516169d81baba61d618e37237bc53276", "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5", "relations": [{"rule": 2, "type": "equivalent", "target": "b79cdfd53c29fdec5dd1d0dff7f08fee", "evidence": {"same_day": true, "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b79cdfd53c29fdec5dd1d0dff7f08fee", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复逻辑复制 slotsync 工作进程对 LOCK_TIMEOUT 信号的处理", "evidence": {"same_day": true, "patch_ids": ["bdd6c0273fd3cdf835c31867877f6167"], "statement_hash": "f0b98267cefa8d08da7ffcca6c441a22dd2c4323a5763263e96b18dd48ae7fc5"}, "url": "/docs/compare/?release=18.2#18.2-2a6c1c4c27f67acd", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-ca1e290b0cb2dd09", "cves": [], "html": "<p>修复流复制副本服务器重启期间可能出现的 <span>“<span>unexpected data beyond EOF</span>”</span> 失败问题（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/c3770181c\">§</a></p>", "text": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题（Anthonin Bonnefoy）§", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "commits": ["c3770181c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "5c0dd5ed1b78782d221ab6b0b704ca55b5c886b82dd607f5477b02b815f39133", "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": ["c3770181c"], "source_entry_id": "17.8/changes/033", "db_id": "a79b7d220801497e224783e6369f7957", "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab", "relations": [{"rule": 2, "type": "equivalent", "target": "06594efa4344da118700b1c48988f5e4", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}}, {"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"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "06594efa4344da118700b1c48988f5e4", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复流复制副本服务器重启期间可能出现的 “unexpected data beyond EOF” 失败问题", "evidence": {"same_day": true, "patch_ids": ["5162c78b0f9af44ee53c5daf07030ba8"], "statement_hash": "6b8e19ac39d2a905a6b06a59a41de464bc6a62cc815b31c6e858ae96438db9ab"}, "url": "/docs/compare/?release=18.2#18.2-c52d288613257e1b", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-2a0ef06d727eafaf", "cves": [], "html": "<p>修复 SQL/JSON 路径类型不匹配时的错误报告（Jian He）<a href=\"https://postgr.es/c/b5511fed5\">§</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": ["b5511fed5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "235cc3f3ee46b8fcd9023618e87cbc7250f3b9e0388ae165eddbd36b4ffd2582", "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": ["b5511fed5"], "source_entry_id": "17.8/changes/034", "db_id": "8483ae615f87a4c8e095a563aecd48c8", "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af", "relations": [{"rule": 2, "type": "equivalent", "target": "54166f9d89f4ebad4b6522ec9d70d5f6", "evidence": {"same_day": true, "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "54166f9d89f4ebad4b6522ec9d70d5f6", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 SQL/JSON 路径类型不匹配时的错误报告", "evidence": {"same_day": true, "patch_ids": ["280990af5b3469c06fb7ff61c204b4ef"], "statement_hash": "125204f7b1e9d0130c0fb80a18be78fa7ce15ceea1fb46138ad538ba516556af"}, "url": "/docs/compare/?release=18.2#18.2-a3a0f5425174a83a", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-1ae71997df1c5c19", "cves": [], "html": "<p>修复解析分区范围边界时对列位置的错误跟踪（myzhen）<a href=\"https://postgr.es/c/84b787ae6\">§</a></p>\n<p>这可能导致在关于将分区边界值转换为列的数据类型的错误消息中引用错误的列名。</p>", "text": "修复解析分区范围边界时对列位置的错误跟踪（myzhen）§ 这可能导致在关于将分区边界值转换为列的数据类型的错误消息中引用错误的列名。", "title": "修复解析分区范围边界时对列位置的错误跟踪", "commits": ["84b787ae6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "3802c023fa767d9a7cc6c8d787ca6a68ed5663c8715e031f004110d8899b1bc3", "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": ["84b787ae6"], "source_entry_id": "17.8/changes/035", "db_id": "3d999c9c39b345cf00d6c149f77369bc", "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "bcd807761d1a951aa85d661bf8df019c", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bcd807761d1a951aa85d661bf8df019c", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复解析分区范围边界时对列位置的错误跟踪", "evidence": {"same_day": true, "patch_ids": ["6f0c6912e975c2e11453b9af7373ff2b"], "statement_hash": "99c55def0f9f50d97f55530e56d1c92347af0e9dedfe788a482bbfd2a5b86232"}, "url": "/docs/compare/?release=18.2#18.2-3915ae13b44752be", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-4eafc20a792cccfc", "cves": [], "html": "<p>修复错误消息中的各种小错误（Man Zeng，Tianchen Zhang）<a href=\"https://postgr.es/c/67ad4387b\">§</a> <a href=\"https://postgr.es/c/263af458e\">§</a> <a href=\"https://postgr.es/c/5995135f1\">§</a> <a href=\"https://postgr.es/c/05ef2371a\">§</a> <a href=\"https://postgr.es/c/5449fd261\">§</a></p>\n<p>例如，关于备份清单中时间线编号不匹配的错误报告在应该显示结束时间线编号的地方显示了起始时间线编号。</p>", "text": "修复错误消息中的各种小错误（Man Zeng，Tianchen Zhang）§ § § § § 例如，关于备份清单中时间线编号不匹配的错误报告在应该显示结束时间线编号的地方显示了起始时间线编号。", "title": "修复错误消息中的各种小错误", "commits": ["05ef2371a", "263af458e", "5449fd261", "5995135f1", "67ad4387b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "d11f9d44eb20229b3ccd2863975791a8da413af9512a0e257db9d5ece6aa6862", "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": ["05ef2371a", "263af458e", "5449fd261", "5995135f1", "67ad4387b"], "source_entry_id": "17.8/changes/036", "db_id": "040254b8395148f9ed2820a7a9e7de75", "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": "6391fdf7551cb6b17994c91b76215a9f", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}}, {"rule": 2, "type": "equivalent", "target": "c28d793705797c568ae351065c8bf92d", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c28d793705797c568ae351065c8bf92d", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复错误消息中的各种小错误", "evidence": {"same_day": true, "patch_ids": ["1b2d3003a616272db51c764aca05446f", "9747f7cd321d1b9a8c5ab680817d174b", "d322434f9f1579628716983e1ddfa411", "dafc2603cafe575939465f2fd551a6ac", "e9fdf560cb4a79421801e80c5b2933b7"], "statement_hash": "1c12bc1b49de92034a5abdd2caee35fcf65ab113a875838de01715e754830737"}, "url": "/docs/compare/?release=18.2#18.2-2eb9c2c4100a1830", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-c185802f4eacb2ea", "cves": [], "html": "<p>修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/d0bb0e5b3\">§</a></p>", "text": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题（Anthonin Bonnefoy）§", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "commits": ["d0bb0e5b3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "727f41759a85aa0a8faef9abb8a81964dfe299da3ead30da936799b9862e599b", "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": ["d0bb0e5b3"], "source_entry_id": "17.8/changes/037", "db_id": "23db3b0771d0b80deb078c18239bf311", "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": "41aa0fa812e386b3bf111e16e5ca824b", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}}, {"rule": 2, "type": "equivalent", "target": "6c8a23f42fdf36b27a5c63a60ef638ee", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6c8a23f42fdf36b27a5c63a60ef638ee", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复在使用 LLVM 17 或更高版本进行 JIT 编译时无法执行函数内联的问题", "evidence": {"same_day": true, "patch_ids": ["5add9e288aea8ead5625b1ab17f4b389"], "statement_hash": "d9b663cb80004c186d8a4f9af93bb5b74dc9a0534dcc279ee72325534d3c24af"}, "url": "/docs/compare/?release=18.2#18.2-53f3b7ffe4f6fe06", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-64e9296142cf419d", "cves": [], "html": "<p>调整我们的 JIT 代码以兼容 LLVM 21（Holger Hoffstätte）<a href=\"https://postgr.es/c/60215eae7\">§</a></p>\n<p>之前的代码在 aarch64 机器上编译失败。</p>", "text": "调整我们的 JIT 代码以兼容 LLVM 21（Holger Hoffstätte）§ 之前的代码在 aarch64 机器上编译失败。", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "commits": ["60215eae7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "1cfecb4423eabcdda7f315770ea987859a452cfe33cad1cf4ec02ea170143171", "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": ["60215eae7"], "source_entry_id": "17.8/changes/038", "db_id": "c7ea32ba825d2c7140b0017b02f1a3ec", "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": "cff57c5be469c947c3ffe128e6ba5e35", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}, {"rule": 2, "type": "equivalent", "target": "e7ed91f4e25921028767eb7d80e59575", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e7ed91f4e25921028767eb7d80e59575", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "调整我们的 JIT 代码以兼容 LLVM 21", "evidence": {"same_day": true, "patch_ids": ["66d712c94d1e5df73fed0dd65d77b242"], "statement_hash": "3c6749ca7e34ce305cd7020f2256a99d6e58f6a41cedef18deedef24299c3cdc"}, "url": "/docs/compare/?release=18.2#18.2-bf063586f9119b1e", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-3210c07692952f51", "cves": [], "html": "<p>增加新的服务器参数<a href=\"/docs/17/runtime-config-resource.html#GUC-FILE-EXTEND-METHOD\">file_extend_method</a>来控制 <code>posix_fallocate()</code> 的使用（Thomas Munro）<a href=\"https://postgr.es/c/4dac22aa1\">§</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": ["4dac22aa1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "297317c9ea99e1fdcf4741abd5bb218f589a8c56de8360627b5cc9663af09cde", "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": ["4dac22aa1"], "source_entry_id": "17.8/changes/039", "db_id": "831a2a1707eb5395bf41f9e7b4720b03", "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": "21858e94e3aeea81abfb43c5e1981b1c", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "21858e94e3aeea81abfb43c5e1981b1c", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "增加新的服务器参数file_extend_method来控制 posix_fallocate() 的使用", "evidence": {"same_day": true, "patch_ids": ["a7b44dde4fd829d977d49b09a9e92844"], "statement_hash": "5c68aeb05030a49c506a17d2a099ad9d1dea4d8b209cb3fdb53b69f77666342f"}, "url": "/docs/compare/?release=18.2#18.2-03a42dee6cc753ad", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-8c683b207dde44d9", "cves": [], "html": "<p>在 Windows 上遵守 <code>open()</code> 的 <code>O_CLOEXEC</code> 标志（Bryan Green，Thomas Munro）<a href=\"https://postgr.es/c/f24af0e04\">§</a> <a href=\"https://postgr.es/c/045185913\">§</a> <a href=\"https://postgr.es/c/b3c8119e2\">§</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": ["045185913", "b3c8119e2", "f24af0e04"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "c88b6468c490e137728cc33bf901a46b1e196bd67cf5c66bde1e8dc3c84f444a", "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": ["045185913", "b3c8119e2", "f24af0e04"], "source_entry_id": "17.8/changes/040", "db_id": "6b80a0f86b8e07e750eef0cc17220a4a", "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": "fa4848909b9ff58346d80a375d2238ce", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "fa4848909b9ff58346d80a375d2238ce", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "在 Windows 上遵守 open() 的 O_CLOEXEC 标志", "evidence": {"same_day": true, "patch_ids": ["095b8a9ad1149ec7e6b384f86412045c", "16e4048c75704084d232d66835f3cf6e", "493ffab07cbb8d27c6dbcf9cf0a4cab6"], "statement_hash": "485d2888baf50e5c83a886ec0fc75091bea61287485912424715911ca20d90c7"}, "url": "/docs/compare/?release=18.2#18.2-10e49010a4ad318c", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-c28c500f08d6dda7", "cves": [], "html": "<p>修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题（Tom Lane）<a href=\"https://postgr.es/c/59c2f7efa\">§</a></p>", "text": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题（Tom Lane）§", "title": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题", "commits": ["59c2f7efa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "168ef6f4c1379c57415fe337baf76e5fa27b181eaafa28b0c3c17ae8fa4eb368", "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": ["59c2f7efa"], "source_entry_id": "17.8/changes/041", "db_id": "563cd6c38790a66a34d7d2cbdab27f36", "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac", "relations": [{"rule": 2, "type": "equivalent", "target": "ae36e9e2da103cf26dac76edbf8412a6", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}}, {"rule": 2, "type": "equivalent", "target": "c730bdc0e2bcae412d1b558e6989e803", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c730bdc0e2bcae412d1b558e6989e803", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复在使用 meson 构建的 Solaris 可执行文件中无法解析服务器命令行长选项的问题", "evidence": {"same_day": true, "patch_ids": ["133a9f9fce49cbd34f1b9ba0b7dee391"], "statement_hash": "5ef581baf9ed7ef45975ff2c7d893c9da8f950d13c68cd98fea4606121f2a7ac"}, "url": "/docs/compare/?release=18.2#18.2-ca3da398904bd780", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-3cbfa3eb5e11672e", "cves": [], "html": "<p>支持在 GNU/Hurd 上更改进程标题（Michael Banck）<a href=\"https://postgr.es/c/d66a922f9\">§</a></p>", "text": "支持在 GNU/Hurd 上更改进程标题（Michael Banck）§", "title": "支持在 GNU/Hurd 上更改进程标题", "commits": ["d66a922f9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "4ab9d090d0b782309a436d28963920b22c5aaf01b0cf8466091198d4684582ae", "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": ["d66a922f9"], "source_entry_id": "17.8/changes/042", "db_id": "b14342e6824ed37b82078bd9a6cc21e1", "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": "92b88e55c652dfa1fcdde3f0953f3285", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "92b88e55c652dfa1fcdde3f0953f3285", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "支持在 GNU/Hurd 上更改进程标题", "evidence": {"same_day": true, "patch_ids": ["f27aa5a2659577ffa2455a4c94564743"], "statement_hash": "c996e792f260f0d512b6a6524e3b46eed7769d4f17a4584a012601680f44fc4f"}, "url": "/docs/compare/?release=18.2#18.2-e1336b6079ff8d5b", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-fb87d1ddb8333f9e", "cves": [], "html": "<p>避免 <span>pg_dump</span> 在 binary-upgrade 模式下触发断言失败（Vignesh C）<a href=\"https://postgr.es/c/1cdc07ad5\">§</a></p>\n<p>对象排序代码未能处理订阅关系对象，从而触发断言，不过在生产构建中并未发现严重的实际影响。</p>", "text": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败（Vignesh C）§ 对象排序代码未能处理订阅关系对象，从而触发断言，不过在生产构建中并未发现严重的实际影响。", "title": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败", "commits": ["1cdc07ad5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "ed7d79cb9961b490e3f9ffbf38da15b1d7d990403424fa446a4c670c9f36c928", "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": ["1cdc07ad5"], "source_entry_id": "17.8/changes/043", "db_id": "4494339208c66bea624ef04f8e7162d7", "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a", "relations": [{"rule": 2, "type": "equivalent", "target": "df5cb5704fef8f74897251fa0c3be081", "evidence": {"same_day": true, "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "df5cb5704fef8f74897251fa0c3be081", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "避免 pg_dump 在 binary-upgrade 模式下触发断言失败", "evidence": {"same_day": true, "patch_ids": ["ed0dc1c369ce52f90f050a02c31cfe22"], "statement_hash": "305d4ecb2b90454723cac5826da3903c1efb32bfae398fdc085bfa0cabab291a"}, "url": "/docs/compare/?release=18.2#18.2-ee37d4b2b910a503", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-db3cf1766c83bbad", "cves": [], "html": "<p>修复 pipeline 模式下 <span>pgbench</span> 在有多个 <code>\\syncpipeline</code> 命令时的错误处理问题（Yugo Nagata）<a href=\"https://postgr.es/c/5bc251b28\">§</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": ["5bc251b28"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "bfaf2c8f172a99c337c155eef0c5928ba8841bb0a6b87ac57b4ecb9dcf7b89b1", "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": ["5bc251b28"], "source_entry_id": "17.8/changes/044", "db_id": "e6397b23168007fedda0f3f80287907f", "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385", "relations": [{"rule": 2, "type": "equivalent", "target": "110c54d4f77bbbf3b3cb5646c3d03270", "evidence": {"same_day": true, "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "110c54d4f77bbbf3b3cb5646c3d03270", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 pipeline 模式下 pgbench 在有多个 \\syncpipeline 命令时的错误处理问题", "evidence": {"same_day": true, "patch_ids": ["abe851e3d64606b4d1f39d5998d6d005"], "statement_hash": "1cdefe00c629d46dbeafbb68e1efcdba4901e90682edb67326771603d66f0385"}, "url": "/docs/compare/?release=18.2#18.2-e7bddef1f2dbe17d", "source_url": "/docs/release/18.2/#RELEASE-18-2-CHANGES"}]}, {"id": "17.8-0aca6daf3559b899", "cves": [], "html": "<p>使 <span>pg_resetwal</span> 在更改 OldestXID 时打印更新后的值（Heikki Linnakangas）<a href=\"https://postgr.es/c/f2e0ca0af\">§</a></p>\n<p>它对可以更改的其他每个变量都已经这样做了。</p>", "text": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值（Heikki Linnakangas）§ 它对可以更改的其他每个变量都已经这样做了。", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "commits": ["f2e0ca0af"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "4e0a5cfd168653c353fcfc7dbe158becf92e7cc3ce67a1251d1309381b4e1964", "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": ["f2e0ca0af"], "source_entry_id": "17.8/changes/045", "db_id": "500d9d80888f7caeb4b4801bee95301d", "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": "5f928cd7f1a940e12cd51a8ce19d06f6", "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": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5f928cd7f1a940e12cd51a8ce19d06f6", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "使 pg_resetwal 在更改 OldestXID 时打印更新后的值", "evidence": {"same_day": true, "patch_ids": ["f29e862445ceccbb303aaae2f778a19b"], "statement_hash": "7e00b6482e7aa0b9a1cb427214f076ddb806bf1fa199c1cf0ab023c54c2dd96a"}, "url": "/docs/compare/?release=18.2#18.2-12ea46c5ca32b0f2", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-6a1deb077e1799c1", "cves": [], "html": "<p>使 <span>pg_resetwal</span> 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX（Maxim Orlov）<a href=\"https://postgr.es/c/cb2ef0e92\">§</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": ["cb2ef0e92"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "ca7ba490136c2a09fd21824920c582511406677ef84fee507c340ce1be3f83ac", "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": ["cb2ef0e92"], "source_entry_id": "17.8/changes/046", "db_id": "ba56a98c48c3c98e929510554c2c7d1f", "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": "a4ce7629005a43b316bb9b4fbdb478ad", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a4ce7629005a43b316bb9b4fbdb478ad", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "使 pg_resetwal 允许将下一个多事务 xid 设置为 0 或将下一个多事务偏移量设置为 UINT32_MAX", "evidence": {"same_day": true, "patch_ids": ["0f6a9848b48d4b26e3e4691043d1c86b"], "statement_hash": "55f06afcc35f279a01bd7723ea6dc23f0393b803bcd2fbe9ea5c0600d99ed0ea"}, "url": "/docs/compare/?release=18.2#18.2-b3adbf7cc127bf87", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-ab740b8bd4036a5f", "cves": [], "html": "<p>在 <code>contrib/amcheck</code> 中，为 B-树索引父节点检查使用正确的快照（Mihail Nikalayeu）<a href=\"https://postgr.es/c/ce2f575b7\">§</a> <a href=\"https://postgr.es/c/e1a327dc4\">§</a></p>\n<p>之前的代码在检查使用 <code>CREATE INDEX CONCURRENTLY</code> 创建的索引时会产生虚假错误。</p>", "text": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照（Mihail Nikalayeu）§ § 之前的代码在检查使用 CREATE INDEX CONCURRENTLY 创建的索引时会产生虚假错误。", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "commits": ["ce2f575b7", "e1a327dc4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "e0d613c18457263fb886e2db266ef8e5b9c6fe3fadbb9b6e2748e55722a3374f", "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": ["ce2f575b7", "e1a327dc4"], "source_entry_id": "17.8/changes/047", "db_id": "8c9e41f976444baa74aa90d4929a9857", "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": "955a03e6ef46153a22d64b4e82c47168", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "955a03e6ef46153a22d64b4e82c47168", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "在 contrib/amcheck 中，为 B-树索引父节点检查使用正确的快照", "evidence": {"same_day": true, "patch_ids": ["1e97ec2b7912c8b7c0ec7e7abd017428", "a29fe4baf41fba16dd4afb02acc16023"], "statement_hash": "087497339e462790a79c92291f5c2d4d3a17e08435df6c64e32dc876bc1de14d"}, "url": "/docs/compare/?release=18.2#18.2-bbfcc39776d1a2a4", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-9f60cb27b127637e", "cves": [], "html": "<p>修复 <code>contrib/amcheck</code> 以正确处理<span>“<span>半死亡</span>”</span> B-树索引页面（Heikki Linnakangas）<a href=\"https://postgr.es/c/e8ae59445\">§</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": ["e8ae59445"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "1c4493a5e61138eeaf2e6c687d7124f8888adad29015f4c0107594ab7cf198ff", "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": ["e8ae59445"], "source_entry_id": "17.8/changes/048", "db_id": "7d94ee89b853fd7d6f3bb697328e1fed", "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "cd3fba00555984ba827b4d51519989d9", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cd3fba00555984ba827b4d51519989d9", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 contrib/amcheck 以正确处理“半死亡” B-树索引页面", "evidence": {"same_day": true, "patch_ids": ["f7e8ed321d6ed6ededda523198e8e879"], "statement_hash": "235569affe45bc821b8a939af4bf327951ad127f8ac6150fb4810ff7876efdc5"}, "url": "/docs/compare/?release=18.2#18.2-cb9b48895e2b846c", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-5b1a363a1650f076", "cves": [], "html": "<p>修复 <code>contrib/amcheck</code> 以正确处理不完整的 B-树根页面分裂（Heikki Linnakangas）<a href=\"https://postgr.es/c/5a2d1df00\">§</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": ["5a2d1df00"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "0d16e4dfa7be5ad366b97c0f6e2b6e0d21b06fa07cdfde555fd7388204fc75dc", "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": ["5a2d1df00"], "source_entry_id": "17.8/changes/049", "db_id": "67e3b43981f7755a637c3f6f8538cf81", "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": "8501633eefd4ba0be52ed6a8edf74102", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8501633eefd4ba0be52ed6a8edf74102", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 contrib/amcheck 以正确处理不完整的 B-树根页面分裂", "evidence": {"same_day": true, "patch_ids": ["bc0672786aac6981e442848cef632af7"], "statement_hash": "a09b91d29cb6145c6b4b8a47f79add91a36b52c7cd5b33ff456ebcbee2d174eb"}, "url": "/docs/compare/?release=18.2#18.2-9de86ea05d414299", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-ab6fdf5f76b2dd4a", "cves": [], "html": "<p>修复 <code>contrib/intarray</code> 中 <code>@@</code> 选择率估算器的边界情况整数溢出问题（Chao Li）<a href=\"https://postgr.es/c/a5f2dc421\">§</a></p>\n<p>这可能导致在涉及最大整数值的情况下产生不准确的选择率估算。</p>", "text": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题（Chao Li）§ 这可能导致在涉及最大整数值的情况下产生不准确的选择率估算。", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "commits": ["a5f2dc421"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "c4c37e0f7a6e07f06d83e21ea456994fce6b45225bccff9bad2e6c7d7cdcc3ec", "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": ["a5f2dc421"], "source_entry_id": "17.8/changes/050", "db_id": "8280d414e29b698e7a7b5bdab7d65a67", "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": "e129aabe6a0e432884befb054f303449", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}}], "version": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e129aabe6a0e432884befb054f303449", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 contrib/intarray 中 @@ 选择率估算器的边界情况整数溢出问题", "evidence": {"same_day": true, "patch_ids": ["6827108dafb7fb952c98263cf81bfb12"], "statement_hash": "15b336d5589f6d629fe8bb0549cd193d78524753cdd06cfede921f7dce003daf"}, "url": "/docs/compare/?release=18.2#18.2-a45188e655691d38", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-cb9f9359b4259ec9", "cves": [], "html": "<p>修复 <code>contrib/ltree</code> 中的多字节编码问题（Jeff Davis）<a href=\"https://postgr.es/c/b8cfe9dc2\">§</a></p>\n<p>之前的代码可能将不完整的多字节字符传递给 <code>lower()</code>，可能导致不正确的行为。</p>", "text": "修复 contrib/ltree 中的多字节编码问题（Jeff Davis）§ 之前的代码可能将不完整的多字节字符传递给 lower()，可能导致不正确的行为。", "title": "修复 contrib/ltree 中的多字节编码问题", "commits": ["b8cfe9dc2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "f2ecb3c8b7d078c75034a08f73904b364169a84e7b58c65215d375099b5c0d5b", "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": ["b8cfe9dc2"], "source_entry_id": "17.8/changes/051", "db_id": "d009a076d5863b0968962c0a478ad63c", "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": "a7c924b73b0998bc9111869833cc9355", "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": "17.8", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a7c924b73b0998bc9111869833cc9355", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "修复 contrib/ltree 中的多字节编码问题", "evidence": {"same_day": true, "patch_ids": ["ce03709afde90a593822361bba7a645d"], "statement_hash": "df18b7dd23fc4a736b53dee8298de471bf4398537e381437dba5d40d41b4e8c8"}, "url": "/docs/compare/?release=18.2#18.2-4b1b9fbd0223faf3", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.8-6f023224ced53b65", "cves": [], "html": "<p>将时区数据文件更新到 <span>tzdata</span> 2025c 版本（Tom Lane）<a href=\"https://postgr.es/c/f87c0b84e\">§</a></p>\n<p>唯一的变更是下加利福尼亚 1976 年之前时间戳的历史数据。</p>", "text": "将时区数据文件更新到 tzdata 2025c 版本（Tom Lane）§ 唯一的变更是下加利福尼亚 1976 年之前时间戳的历史数据。", "title": "将时区数据文件更新到 tzdata 2025c 版本", "commits": ["f87c0b84e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.8/#RELEASE-17-8-CHANGES", "source_hash": "4a4a5c14c16055f8cc102eae34ef59364d05a4f004b401d042290d4646ff609a", "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": ["f87c0b84e"], "source_entry_id": "17.8/changes/052", "db_id": "e11e7a4857357ba2a4255391b7eb4033", "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b", "relations": [{"rule": 2, "type": "equivalent", "target": "1e212940a15748de8b9d8f9f8a00221c", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}}, {"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"}}], "version": "17.8", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1e212940a15748de8b9d8f9f8a00221c", "kind": "equivalent", "version": "18.2", "label": "18.2", "title": "将时区数据文件更新到 tzdata 2025c 版本", "evidence": {"same_day": true, "patch_ids": ["248cd6c3eee33cd4c82f09ee1d6af621"], "statement_hash": "da0a28a77bd7a205873150e5d6559af4853f986168d43f9537c2dbe1b0158a5b"}, "url": "/docs/compare/?release=18.2#18.2-4cbf16ee6dc57970", "source_url": "/docs/release/18.2/#RELEASE-18-2-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": "17.7", "major": "17", "minor": 7, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.7", "eol_date": "2029-11-08", "date_text": "2025-11-13", "supported": true, "manual_url": "/docs/17/release-17-7.html", "source_url": "/docs/release/17.7/", "entry_count": 65, "placeholder": false, "content_hash": "e8bd4dd95566f32b9ba0b59f7f3d703e409c8b54b71724391896c92157060eee", "manual_build": "17.12", "source_as_of": "", "changes_count": 65, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>但是，如果你从早于 17.6 的版本升级，请参见<a href=\"/docs/17/release-17-6.html\" title=\"E.6. 17.6 发布\">第 E.6 节</a>。</p>", "compatibility_count": 0, "label": "17.7", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 366, "support_days": 1090, "entries": [{"id": "17.7-36aab10e5138d3d1", "cves": ["CVE-2025-12817"], "html": "<p>检查 <code>CREATE STATISTICS</code> 中模式的 <code>CREATE</code> 权限（Jelte Fennema-Nio）<a href=\"https://postgr.es/c/e2fb3dfa8\">§</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": ["e2fb3dfa8"], "section": "变更", "category": "security", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "f826f25aac531e3be729dd225713fc979af6e3da3e6dddf245ec738d78d4e1b2", "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": ["e2fb3dfa8"], "source_entry_id": "17.7/changes/001", "db_id": "6167ff71ba63659939df7295a1784bd5", "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704", "relations": [{"rule": 2, "type": "equivalent", "target": "0b1db4254a2e3444434b0ca4004ea84b", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}}, {"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": "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": "17.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b1db4254a2e3444434b0ca4004ea84b", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "检查 CREATE STATISTICS 中模式的 CREATE 权限", "evidence": {"same_day": true, "patch_ids": ["99e1ddd8be3f2e70a07b173bce56eec6"], "statement_hash": "2fdab1083a50be24b1dca00ede9ffd5906a617c6df360497714a885f6ff9f704"}, "url": "/docs/compare/?release=18.1#18.1-45bd7bfaea1c1e6c", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a326b8fad6479f02", "cves": ["CVE-2025-12818"], "html": "<p>避免 <span>libpq</span> 中分配大小计算的整数溢出（Jacob Champion）<a href=\"https://postgr.es/c/f5999f018\">§</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": ["f5999f018"], "section": "变更", "category": "security", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "ec34e56ba8a3959c94d5734e1e78072976f6bf9226c9ca765b5dfc68eb4dc3a6", "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": ["f5999f018"], "source_entry_id": "17.7/changes/002", "db_id": "cf7417da3f5aaff52ed6398652b5cefb", "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": "c53264df3df1081cfca59daebb417ae4", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}}], "version": "17.7", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "c53264df3df1081cfca59daebb417ae4", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免 libpq 中分配大小计算的整数溢出", "evidence": {"same_day": true, "patch_ids": ["16e4d7f7cb99380bcadbeb1a4c45eac4"], "statement_hash": "42e2acf7dbacc3d12e55dc8cc3dc23c6a2afed82c46ae3bf37cba022acdca1bb"}, "url": "/docs/compare/?release=18.1#18.1-3a4a5ae84a44ca49", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-7345a25f928001c5", "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/09f86a42f\">§</a> <a href=\"https://postgr.es/c/1e6dfdaa0\">§</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": ["09f86a42f", "1e6dfdaa0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "f2f9a0da5bd57470f056bbd4e21acb99503b149edbea5d667002a91f89276be9", "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": ["09f86a42f", "1e6dfdaa0"], "source_entry_id": "17.7/changes/003", "db_id": "3387a44cfd06079d33247002758176c2", "patch_ids": ["9aacced6a6f638f7d31013e87be76fac", "b716f15276c076fd364e99593404fc28"], "statement_hash": "3181f0e422077fb0af80285571b22222a84421d45cb3710f3ce56bbe5fc3852c", "relations": [{"rule": 2, "type": "equivalent", "target": "4870df49130804d64e1e92d7f9d6f17f", "evidence": {"same_day": true, "patch_ids": ["9aacced6a6f638f7d31013e87be76fac", "b716f15276c076fd364e99593404fc28"], "statement_hash": "3181f0e422077fb0af80285571b22222a84421d45cb3710f3ce56bbe5fc3852c"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4870df49130804d64e1e92d7f9d6f17f", "kind": "equivalent", "version": "18.1", "label": "18.1", "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=18.1#18.1-b921a1ea6f2b8ead", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}]}, {"id": "17.7-df38cbb456ced7b4", "cves": [], "html": "<p>正确地将 JSON 构造器表达式（如 <code>JSON_OBJECT()</code>）视为非严格的（Tender Wang，Richard Guo）<a href=\"https://postgr.es/c/d719e2ecb\">§</a></p>\n<p>在某些情况下，这些表达式即使有一个或多个空值输入也能产生非空结果，因此它们是非严格的。规划器错误地将它们分类为严格的，从而可能执行不正确的查询转换。</p>", "text": "正确地将 JSON 构造器表达式（如 JSON_OBJECT()）视为非严格的（Tender Wang，Richard Guo）§ 在某些情况下，这些表达式即使有一个或多个空值输入也能产生非空结果，因此它们是非严格的。规划器错误地将它们分类为严格的，从而可能执行不正确的查询转换。", "title": "正确地将 JSON 构造器表达式（如 JSON_OBJECT()）视为非严格的", "commits": ["d719e2ecb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "853836b6373321cb25de6a02651f24388e40fa54cc6e4fd5ea60d56863b72535", "section_path": ["变更"], "commit_groups": [["62397bb18", "b63a82245", "d29a3f4b4", "d719e2ecb"]], "identity_text": "Correctly treat JSON constructor expressions, such as JSON_OBJECT(), as non-strict (Tender Wang, Richard Guo) In some cases these expressions can yield a non-null result despite having one or more null inputs, making them non-strict. The planner incorrectly classified them as strict and could perform incorrect query transformations as a result.", "commit_aliases": ["62397bb18", "b63a82245", "d29a3f4b4", "d719e2ecb"], "source_commits": ["d719e2ecb"], "source_entry_id": "17.7/changes/004", "db_id": "28ca27a9683f6edc13774e976e73c4f2", "patch_ids": ["994768e319ddd31b17a796ae0bc14fc0"], "statement_hash": "17f21d168180cbfc4ac2eceb68889872e92791f0dbc08276ff5e6e1fa9206296", "relations": [{"rule": 2, "type": "equivalent", "target": "5ba5639ee67023888c89c2a8f0438210", "evidence": {"same_day": true, "patch_ids": ["994768e319ddd31b17a796ae0bc14fc0"], "statement_hash": "17f21d168180cbfc4ac2eceb68889872e92791f0dbc08276ff5e6e1fa9206296"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5ba5639ee67023888c89c2a8f0438210", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "正确地将 JSON 构造器表达式（如 JSON_OBJECT()）视为非严格的", "evidence": {"same_day": true, "patch_ids": ["994768e319ddd31b17a796ae0bc14fc0"], "statement_hash": "17f21d168180cbfc4ac2eceb68889872e92791f0dbc08276ff5e6e1fa9206296"}, "url": "/docs/compare/?release=16.11#16.11-8b752ba182c1f710", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}]}, {"id": "17.7-da7ba63a6535d5ee", "cves": [], "html": "<p>进一步修复 <code>SIMILAR TO</code> 正则表达式中字符类的处理（Laurenz Albe）<a href=\"https://postgr.es/c/e09adb5b9\">§</a></p>\n<p>之前将 <code>SIMILAR TO</code> 模式匹配表达式转换为 POSIX 风格正则表达式的修复破坏了一个之前有效的边界情况：如果在左方括号之后紧接着一个转义字符，然后在转义序列之后紧接着一个右方括号（例如 <code>[\\w]</code>），右方括号将不再被视为字符类的终止符。</p>", "text": "进一步修复 SIMILAR TO 正则表达式中字符类的处理（Laurenz Albe）§ 之前将 SIMILAR TO 模式匹配表达式转换为 POSIX 风格正则表达式的修复破坏了一个之前有效的边界情况：如果在左方括号之后紧接着一个转义字符，然后在转义序列之后紧接着一个右方括号（例如 [\\w]），右方括号将不再被视为字符类的终止符。", "title": "进一步修复 SIMILAR TO 正则表达式中字符类的处理", "commits": ["e09adb5b9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "19b05b1603043bdaedb0928f6fc91b1ec22f2a452b42831d74f9b8c32e9c452e", "section_path": ["变更"], "commit_groups": [["281ad4ed1", "308773617", "802308693", "9fd531534", "cdf7feb96", "e09adb5b9", "f75ff1b14"]], "identity_text": "Further fix processing of character classes within SIMILAR TO regular expressions (Laurenz Albe) The previous fix for translating SIMILAR TO pattern matching expressions to POSIX-style regular expressions broke a corner case that formerly worked: if there is an escape character right after the opening bracket and then a closing bracket right after the escape sequence (for example [\\w]), the closing bracket was no longer seen as terminating the character class.", "commit_aliases": ["281ad4ed1", "308773617", "802308693", "9fd531534", "cdf7feb96", "e09adb5b9", "f75ff1b14"], "source_commits": ["e09adb5b9"], "source_entry_id": "17.7/changes/005", "db_id": "2285589ba0a843d5b4c36cb9771c9526", "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa", "relations": [{"rule": 2, "type": "equivalent", "target": "126d2565dd47a1a1ceedb71b239f90fd", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}}, {"rule": 2, "type": "equivalent", "target": "6ee642c194aa66e31c3bd973bc661f4c", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}}, {"rule": 2, "type": "equivalent", "target": "7525a80f4f15bf961429501b52914fb6", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}}, {"rule": 2, "type": "equivalent", "target": "fe6ec7aed3fe1febefdae85352d2c1cb", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6ee642c194aa66e31c3bd973bc661f4c", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "进一步修复 SIMILAR TO 正则表达式中字符类的处理", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}, "url": "/docs/compare/?release=16.11#16.11-ee72f5e10880d676", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "126d2565dd47a1a1ceedb71b239f90fd", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "进一步修复 SIMILAR TO 正则表达式中字符类的处理", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}, "url": "/docs/compare/?release=15.15#15.15-53275f7f0ec40834", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "fe6ec7aed3fe1febefdae85352d2c1cb", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "进一步修复 SIMILAR TO 正则表达式中字符类的处理", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}, "url": "/docs/compare/?release=14.20#14.20-927aa6d409a0735d", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "7525a80f4f15bf961429501b52914fb6", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "进一步修复 SIMILAR TO 正则表达式中字符类的处理", "evidence": {"same_day": true, "patch_ids": ["880d2cb961218bd1733eaffa295f0519"], "statement_hash": "32047fa502a05a72395459014ad3aceb8f209cc185eb53ee1104d11634e73ffa"}, "url": "/docs/compare/?release=13.23#13.23-d06f6ff99ab435ef", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-ebbd81de208ea5bb", "cves": [], "html": "<p>修复对参数包含子查询且该子查询中有 <code>FROM</code> 引用聚合函数外部 CTE 的聚合函数的解析问题（Tom Lane）<a href=\"https://postgr.es/c/e830896c1\">§</a></p>\n<p>这样的 CTE 引用在确定聚合的语义层级时必须像外层列引用一样处理，但之前没有被考虑在内，导致了晦涩的规划器或执行器错误。</p>", "text": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题（Tom Lane）§ 这样的 CTE 引用在确定聚合的语义层级时必须像外层列引用一样处理，但之前没有被考虑在内，导致了晦涩的规划器或执行器错误。", "title": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题", "commits": ["e830896c1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "95b141aceea6c2d3339037d6b4a4494564e9fab991e4833ce0c98a82bb5e4cbc", "section_path": ["变更"], "commit_groups": [["31bf09632", "4eab45649", "7df74e635", "afd18f276", "b0cc0a71e", "b649ef244", "e830896c1"]], "identity_text": "Fix parsing of aggregate functions whose arguments contain a sub-select with a FROM reference to a CTE outside the aggregate function (Tom Lane) Such a CTE reference must act like a outer-level column reference when determining the aggregate's semantic level; but it was not being accounted for, leading to obscure planner or executor errors.", "commit_aliases": ["31bf09632", "4eab45649", "7df74e635", "afd18f276", "b0cc0a71e", "b649ef244", "e830896c1"], "source_commits": ["e830896c1"], "source_entry_id": "17.7/changes/006", "db_id": "9b994a98438fd30222b16d67c861c04f", "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f", "relations": [{"rule": 2, "type": "equivalent", "target": "48bd01e91a13d4e5586eb1d5e90f7841", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}}, {"rule": 2, "type": "equivalent", "target": "496274d3f10dbd29bc080049d8d677b1", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}}, {"rule": 2, "type": "equivalent", "target": "655b2c30e54df5842d2bbb82e898c78f", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}}, {"rule": 2, "type": "equivalent", "target": "ea36580551561ed6223f1508f1946e4e", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "655b2c30e54df5842d2bbb82e898c78f", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}, "url": "/docs/compare/?release=16.11#16.11-197cbe6bbef1cc79", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "496274d3f10dbd29bc080049d8d677b1", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}, "url": "/docs/compare/?release=15.15#15.15-26debfeb7f98ef7e", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "48bd01e91a13d4e5586eb1d5e90f7841", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}, "url": "/docs/compare/?release=14.20#14.20-86bc742902dd05d4", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "ea36580551561ed6223f1508f1946e4e", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复对参数包含子查询且该子查询中有 FROM 引用聚合函数外部 CTE 的聚合函数的解析问题", "evidence": {"same_day": true, "patch_ids": ["764fe240bdd6c66a1ae1b512c5f9d9fa"], "statement_hash": "6c59c9afd476bfa04a78114953d6cd6ef60d44b7f7b6d29030c3250fc71c6e8f"}, "url": "/docs/compare/?release=13.23#13.23-601ca99d891c2e51", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-8b44b6089b2752d8", "cves": [], "html": "<p>修复估算 SubPlan 代价时在边界情况下出现的 <span>“<span>no relation entry for relid</span>”</span> 错误（Richard Guo）<a href=\"https://postgr.es/c/f34202f51\">§</a></p>", "text": "修复估算 SubPlan 代价时在边界情况下出现的 “no relation entry for relid” 错误（Richard Guo）§", "title": "修复估算 SubPlan 代价时在边界情况下出现的 “no relation entry for relid” 错误", "commits": ["f34202f51"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "081f559eaf9da6dea8dc5749fbd170c9c92cd2fda48267b96116a3ec005d8977", "section_path": ["变更"], "commit_groups": [["160ef51c8", "53e35fb56", "79ade5873", "8c02d92c6", "ab4a35b4e", "aba8f61c3", "f34202f51"]], "identity_text": "Fix no relation entry for relid errors in corner cases while estimating SubPlan costs (Richard Guo)", "commit_aliases": ["160ef51c8", "53e35fb56", "79ade5873", "8c02d92c6", "ab4a35b4e", "aba8f61c3", "f34202f51"], "source_commits": ["f34202f51"], "source_entry_id": "17.7/changes/007", "db_id": "304a5f5d1d97c55f6eb257f030200a63", "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969", "relations": [{"rule": 2, "type": "equivalent", "target": "75260513242373459b8abd97a5fd39da", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}}, {"rule": 2, "type": "equivalent", "target": "d6a72085447f9bf689070d6ca738913a", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}}, {"rule": 2, "type": "equivalent", "target": "df536c487716b8451c39cf180217de1a", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}}, {"rule": 2, "type": "equivalent", "target": "f05b18a5008769565327db41a4723345", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d6a72085447f9bf689070d6ca738913a", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复估算 SubPlan 代价时在边界情况下出现的 “no relation entry for relid” 错误", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}, "url": "/docs/compare/?release=16.11#16.11-085229346703afeb", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "df536c487716b8451c39cf180217de1a", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复估算 SubPlan 代价时在边界情况下出现的 “no relation entry for relid” 错误", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}, "url": "/docs/compare/?release=15.15#15.15-7cf40c4e16cb1fa3", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "f05b18a5008769565327db41a4723345", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复估算 SubPlan 代价时在边界情况下出现的 “no relation entry for relid” 错误", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}, "url": "/docs/compare/?release=14.20#14.20-765079b0a221fb3b", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "75260513242373459b8abd97a5fd39da", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复估算 SubPlan 代价时在边界情况下出现的“no relation entry for relid”错误", "evidence": {"same_day": true, "patch_ids": ["d8decfc9f5a72358b7840d271a5ac6a1"], "statement_hash": "cdd2abdad595de6306111fbaf218760c0f0a3957c324b42cbe4aae3519054969"}, "url": "/docs/compare/?release=13.23#13.23-beef60f9007c0ef3", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-164b443b931303fa", "cves": [], "html": "<p>避免规划器在展开分区表时极小概率出现释放后继续使用的问题（Bernd Reiß）<a href=\"https://postgr.es/c/ed394c4bd\">§</a></p>\n<p>只有在最后一个仍存活的分区被并发删除时，才存在这种风险。</p>", "text": "避免规划器在展开分区表时极小概率出现释放后继续使用的问题（Bernd Reiß）§ 只有在最后一个仍存活的分区被并发删除时，才存在这种风险。", "title": "避免规划器在展开分区表时极小概率出现释放后继续使用的问题", "commits": ["ed394c4bd"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "67b52e241cf41e2a51797c364ef248e4406bfe1afd35af3874f11f7cb86c3e6c", "section_path": ["变更"], "commit_groups": [["4aea55891", "8286bce0a", "da9f9f75e", "ed394c4bd", "f0fe1da50"]], "identity_text": "Avoid unlikely use-after-free in planner's expansion of partitioned tables (Bernd Reiß) There was a hazard only when the last live partition was concurrently dropped.", "commit_aliases": ["4aea55891", "8286bce0a", "da9f9f75e", "ed394c4bd", "f0fe1da50"], "source_commits": ["ed394c4bd"], "source_entry_id": "17.7/changes/008", "db_id": "773719d08d7a0c40dad955952ee23479", "patch_ids": ["e55e2f457210a4ce7dcb76716b923ec9"], "statement_hash": "480521d78d2c88791ac9de6e5bd6149c708d33245ac725282a3cf23ee83dcca7", "relations": [{"rule": 2, "type": "equivalent", "target": "1f57d40736bdabe9bc8a77869d9c9b04", "evidence": {"same_day": true, "patch_ids": ["e55e2f457210a4ce7dcb76716b923ec9"], "statement_hash": "480521d78d2c88791ac9de6e5bd6149c708d33245ac725282a3cf23ee83dcca7"}}, {"rule": 2, "type": "equivalent", "target": "63f6370f34ea6318e9d5166d5c367e81", "evidence": {"same_day": true, "patch_ids": ["e55e2f457210a4ce7dcb76716b923ec9"], "statement_hash": "480521d78d2c88791ac9de6e5bd6149c708d33245ac725282a3cf23ee83dcca7"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "63f6370f34ea6318e9d5166d5c367e81", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免规划器在展开分区表时极小概率出现释放后继续使用的问题", "evidence": {"same_day": true, "patch_ids": ["e55e2f457210a4ce7dcb76716b923ec9"], "statement_hash": "480521d78d2c88791ac9de6e5bd6149c708d33245ac725282a3cf23ee83dcca7"}, "url": "/docs/compare/?release=16.11#16.11-c49fa00a0066ef15", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "1f57d40736bdabe9bc8a77869d9c9b04", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免规划器在展开分区表时极小概率出现释放后继续使用的问题", "evidence": {"same_day": true, "patch_ids": ["e55e2f457210a4ce7dcb76716b923ec9"], "statement_hash": "480521d78d2c88791ac9de6e5bd6149c708d33245ac725282a3cf23ee83dcca7"}, "url": "/docs/compare/?release=15.15#15.15-c5601e9945b5175b", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "17.7-0a5a861bce4d8e04", "cves": [], "html": "<p>移除 B-树索引清理中的错误断言（Peter Geoghegan）<a href=\"https://postgr.es/c/ae15cebc2\">§</a></p>", "text": "移除 B-树索引清理中的错误断言（Peter Geoghegan）§", "title": "移除 B-树索引清理中的错误断言", "commits": ["ae15cebc2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "94e95d45f1c2479a3306461eded48b0c62d18af990239918e20ddcbed043dedf", "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": ["ae15cebc2"], "source_entry_id": "17.7/changes/009", "db_id": "488141078c6f2db091ee11544337a811", "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": "1a0e9b151c18103e9e44e0d5b065435e", "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": "9e457bb041db2cbeaeaf7995dafca323", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1a0e9b151c18103e9e44e0d5b065435e", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "移除 B-树索引清理中的错误断言", "evidence": {"same_day": true, "patch_ids": ["37c608f60096a634457e03ef403861d6"], "statement_hash": "10a7d45ffeb0f11200d10e8732198f5dd91b4ea27bc91850c29a64cd2e8239a1"}, "url": "/docs/compare/?release=18.1#18.1-b879ef73b7e33cee", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-90e7f7363f5668ce", "cves": [], "html": "<p>修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环（Tom Lane）<a href=\"https://postgr.es/c/456c6a05d\">§</a></p>\n<p>GIN 可以处理能够拒绝不匹配条目但不适用于搜索相关条目的扫描条件，例如 <code>tsquery</code> 子句如 <code>!term</code>。但此类条件不能排在扫描条件数组的第一个位置。代码在所有情况下都未能确保这一点，导致包含此类条件与正常条件混合的查询可能根据查询中条件给出的顺序不同而正常工作或不工作。</p>", "text": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环（Tom Lane）§ GIN 可以处理能够拒绝不匹配条目但不适用于搜索相关条目的扫描条件，例如 tsquery 子句如 !term。但此类条件不能排在扫描条件数组的第一个位置。代码在所有情况下都未能确保这一点，导致包含此类条件与正常条件混合的查询可能根据查询中条件给出的顺序不同而正常工作或不工作。", "title": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环", "commits": ["456c6a05d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "54c8359e3c77765c5c57e071a0517d1b1ab72931be9b693fcccc248c99b90403", "section_path": ["变更"], "commit_groups": [["327b7324d", "34249b3b5", "3a7a3eaaf", "3e0f5f00b", "456c6a05d", "4a593043e", "d532069c3"]], "identity_text": "Fix possible infinite loop in GIN index scans with multiple scan conditions (Tom Lane) GIN can handle scan conditions that can reject non-matching entries but are not useful for searching for relevant entries, for example a tsquery clause like !term. But such a condition must not be first in the array of scan conditions. The code failed to ensure that in all cases, with the result that a query having a mix of such conditions with normal conditions might work or not depending on the order in which the conditions were given in the query.", "commit_aliases": ["327b7324d", "34249b3b5", "3a7a3eaaf", "3e0f5f00b", "456c6a05d", "4a593043e", "d532069c3"], "source_commits": ["456c6a05d"], "source_entry_id": "17.7/changes/010", "db_id": "5be491ba179504c2233d7625da61d2da", "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8", "relations": [{"rule": 2, "type": "equivalent", "target": "07731746a6ff9a7b9b008a27d072c367", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}}, {"rule": 2, "type": "equivalent", "target": "1116d0380d0933827af9edc84f00a437", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}}, {"rule": 2, "type": "equivalent", "target": "ada25ecf8ee38daa5fb081917d2948ee", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}}, {"rule": 2, "type": "equivalent", "target": "bd5d4719bfe4d462348485d2df2fe33e", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "07731746a6ff9a7b9b008a27d072c367", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}, "url": "/docs/compare/?release=16.11#16.11-b91c9d7c28e506b9", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "ada25ecf8ee38daa5fb081917d2948ee", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}, "url": "/docs/compare/?release=15.15#15.15-4727ad6ea5a12266", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "1116d0380d0933827af9edc84f00a437", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}, "url": "/docs/compare/?release=14.20#14.20-4e2c8942f4b6e7b6", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "bd5d4719bfe4d462348485d2df2fe33e", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复在有多个扫描条件的 GIN 索引扫描中可能出现的无限循环", "evidence": {"same_day": true, "patch_ids": ["c7ccd83b73c3d597d778562314da09de"], "statement_hash": "a8907b51499c2b1e0161468a2af3e044ab914a05f87ff41296b18699ed393ed8"}, "url": "/docs/compare/?release=13.23#13.23-c0f995fb0474db85", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-15d8faabe675ae00", "cves": [], "html": "<p>确保 GIN 索引扫描可以被取消（Tom Lane）<a href=\"https://postgr.es/c/d17abaea8\">§</a></p>\n<p>某些代码路径能够长时间运行而不检查中断。</p>", "text": "确保 GIN 索引扫描可以被取消（Tom Lane）§ 某些代码路径能够长时间运行而不检查中断。", "title": "确保 GIN 索引扫描可以被取消", "commits": ["d17abaea8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "1c433fc8cd4c096556eb81026f35c4971d515d5e15c1bdf666089c6aae77fdd2", "section_path": ["变更"], "commit_groups": [["25eadfd0f", "44c2e5b76", "a7da746c1", "a9c1b9c1c", "b2d71c455", "b55068236", "d17abaea8"]], "identity_text": "Ensure that GIN index scans can be canceled (Tom Lane) Some code paths were capable of running for a long time without checking for interrupts.", "commit_aliases": ["25eadfd0f", "44c2e5b76", "a7da746c1", "a9c1b9c1c", "b2d71c455", "b55068236", "d17abaea8"], "source_commits": ["d17abaea8"], "source_entry_id": "17.7/changes/011", "db_id": "c902c6da0be42d2eb7c8740866d6bba6", "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601", "relations": [{"rule": 2, "type": "equivalent", "target": "545ab4f44b41bb88f8388e57bbc5e753", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}}, {"rule": 2, "type": "equivalent", "target": "9bf5b9f62848d9c4fbf7c451e24a7678", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}}, {"rule": 2, "type": "equivalent", "target": "bd1a8175f31114d3b4091952105cb89b", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}}, {"rule": 2, "type": "equivalent", "target": "ec300f825c44c3a251a22f92e910bb8c", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ec300f825c44c3a251a22f92e910bb8c", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "确保 GIN 索引扫描可以被取消", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}, "url": "/docs/compare/?release=16.11#16.11-0e47bb5c808391d4", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "9bf5b9f62848d9c4fbf7c451e24a7678", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "确保 GIN 索引扫描可以被取消", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}, "url": "/docs/compare/?release=15.15#15.15-d90fed169ad60200", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "545ab4f44b41bb88f8388e57bbc5e753", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "确保 GIN 索引扫描可以被取消", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}, "url": "/docs/compare/?release=14.20#14.20-ff0022457d5a07d4", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "bd1a8175f31114d3b4091952105cb89b", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "确保 GIN 索引扫描可以被取消", "evidence": {"same_day": true, "patch_ids": ["fec1a4bbceb6f21c116318b4726ea890"], "statement_hash": "63f0110202bb4e324f5e35e04d36c2e79a4b131ee03c7aaef9dfdd02a02eb601"}, "url": "/docs/compare/?release=13.23#13.23-cac6bf9a661f1a61", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-a8f10736234e0b39", "cves": [], "html": "<p>确保 BRIN 自动汇总为需要快照的索引表达式提供快照（Álvaro Herrera）<a href=\"https://postgr.es/c/f4b68b033\">§</a> <a href=\"https://postgr.es/c/3b5007347\">§</a></p>\n<p>以前，此类索引的自动汇总会失败，然后留下占位索引元组，导致索引随时间膨胀。</p>", "text": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照（Álvaro Herrera）§ § 以前，此类索引的自动汇总会失败，然后留下占位索引元组，导致索引随时间膨胀。", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "commits": ["3b5007347", "f4b68b033"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "d5cf1af0ad3529d08f610b4affe13766b9a28ea36b36b969777c9acfd7939057", "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": ["3b5007347", "f4b68b033"], "source_entry_id": "17.7/changes/012", "db_id": "721aeb1deeff7de3e90db706f730ab11", "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": "5e3ad415c950ddc874e527c528e4312f", "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": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5e3ad415c950ddc874e527c528e4312f", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "确保 BRIN 自动汇总为需要快照的索引表达式提供快照", "evidence": {"same_day": true, "patch_ids": ["31ad60583179a46f035e6ca49acb5df0", "3fdff7630c20c4073bba1b6676191274"], "statement_hash": "62e341cf9b11ac9a64fec02e85a546e8c1574a3998b12b548653d69ab6270585"}, "url": "/docs/compare/?release=18.1#18.1-a00fe3bcec296ab2", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-22b81d2b7991be50", "cves": [], "html": "<p>修复当表接近 2<sup>32</sup> 页时 BRIN 索引扫描中的整数溢出风险（Sunil S）<a href=\"https://postgr.es/c/c4f5a59ab\">§</a></p>\n<p>此疏忽可能导致无限循环或扫描不需要的表页面。</p>", "text": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险（Sunil S）§ 此疏忽可能导致无限循环或扫描不需要的表页面。", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "commits": ["c4f5a59ab"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "b54a25879d2bfe54a1e59841cfd29195e3f3de3e777db4b43bde86186938402f", "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": ["c4f5a59ab"], "source_entry_id": "17.7/changes/013", "db_id": "3eee9fbd93044d08fe7b761285b4eef0", "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f", "relations": [{"rule": 2, "type": "equivalent", "target": "393a9b7eb2a54302a3bd8b2790808ca8", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "393a9b7eb2a54302a3bd8b2790808ca8", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复当表接近 232 页时 BRIN 索引扫描中的整数溢出风险", "evidence": {"same_day": true, "patch_ids": ["e15f4df722672d015993ea819e9c3351"], "statement_hash": "45088b42382a6f8a5eb8dc651e95a4c956a04e585cd53f0e8247416c8d6fce3f"}, "url": "/docs/compare/?release=18.1#18.1-4d75a8abffa08925", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-aa1a9b53c515db45", "cves": [], "html": "<p>修复 JIT 生成的元组解构代码中存储值的错误零扩展问题（David Rowley）<a href=\"https://postgr.es/c/10945148e\">§</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": ["10945148e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "d9af39700db3c555115403da25712b6c289704f16467a82c419fd9ea2f8869dc", "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": ["10945148e"], "source_entry_id": "17.7/changes/014", "db_id": "e11c7ac708a333ed4eb5a375fef717d8", "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": "de262079624c4f7225fefc1938b4d6c4", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "de262079624c4f7225fefc1938b4d6c4", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 JIT 生成的元组解构代码中存储值的错误零扩展问题", "evidence": {"same_day": true, "patch_ids": ["55424639c609ad9b211ffd5ac10cc20b"], "statement_hash": "d62bd3e9007f7f090eba935ee43673f57b512e6913d636b18186f3f90712f8fb"}, "url": "/docs/compare/?release=18.1#18.1-d78511e9b384a86b", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-6305949a00dd4b54", "cves": [], "html": "<p>修复触发器结果关系信息缓存的错误逻辑（David Rowley，Amit Langote）<a href=\"https://postgr.es/c/0d3074615\">§</a></p>\n<p>在分区的列集与其父分区表的列集在物理上不完全相同的情况下，此疏忽可能导致崩溃。</p>", "text": "修复触发器结果关系信息缓存的错误逻辑（David Rowley，Amit Langote）§ 在分区的列集与其父分区表的列集在物理上不完全相同的情况下，此疏忽可能导致崩溃。", "title": "修复触发器结果关系信息缓存的错误逻辑", "commits": ["0d3074615"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "434f1be6dcb7023c8f1a80d2eaeaaa12832fb5b4b57963e5ab985411237d105b", "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": ["0d3074615"], "source_entry_id": "17.7/changes/015", "db_id": "ba3b5897c3d85845178cb5eee8dfba01", "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef", "relations": [{"rule": 2, "type": "equivalent", "target": "13af7f30c1a66144a7c4729335ad6c55", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}}, {"rule": 2, "type": "equivalent", "target": "7ba23c07eaeb399e352fe32a704464e6", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "13af7f30c1a66144a7c4729335ad6c55", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复触发器结果关系信息缓存的错误逻辑", "evidence": {"same_day": true, "patch_ids": ["aceec90d9a86d1b6d642dda660eebd6f"], "statement_hash": "026782085dea5b1090d57d834e0d4c7d0bc778a784349b74f9ef89ce84fcfaef"}, "url": "/docs/compare/?release=18.1#18.1-fa17262588de7970", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a73aaf88aa7e95b3", "cves": [], "html": "<p>为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查（Sophie Alpert，David Rowley）<a href=\"https://postgr.es/c/0fb06e893\">§</a> <a href=\"https://postgr.es/c/3d939a9b1\">§</a></p>\n<p>此遗漏导致在并发更新情况下可能不会重新检查 <code>ctid</code> 上的条件，使得更新的行为取决于选择了哪种计划类型。</p>", "text": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查（Sophie Alpert，David Rowley）§ § 此遗漏导致在并发更新情况下可能不会重新检查 ctid 上的条件，使得更新的行为取决于选择了哪种计划类型。", "title": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查", "commits": ["0fb06e893", "3d939a9b1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "651457b6de1411e877c3490c6ba2482a71cb5d84632b0c845f7e6c837a1a8901", "section_path": ["变更"], "commit_groups": [["005770203", "2eb7ea97d", "3d939a9b1", "940f3cd5d", "bae6c74ba", "d6539f88b", "dee21ea6d"], ["0fb06e893", "78e6047dc", "ac06ea8f7", "ba0203880", "f00ad440a", "f78a69034"]], "identity_text": "Add missing EvalPlanQual rechecks for TID Scan and TID Range Scan plan nodes (Sophie Alpert, David Rowley) This omission led to possibly not rechecking a condition on ctid during concurrent-update situations, causing the update's behavior to vary depending on which plan type had been selected.", "commit_aliases": ["005770203", "0fb06e893", "2eb7ea97d", "3d939a9b1", "78e6047dc", "940f3cd5d", "ac06ea8f7", "ba0203880", "bae6c74ba", "d6539f88b", "dee21ea6d", "f00ad440a", "f78a69034"], "source_commits": ["0fb06e893", "3d939a9b1"], "source_entry_id": "17.7/changes/016", "db_id": "de8ad943467d2756c0d1ed9a91236d50", "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021", "relations": [{"rule": 2, "type": "equivalent", "target": "90dcd7b9cab09a48352f77b31481288a", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}}, {"rule": 2, "type": "equivalent", "target": "d3eedfb124dc2ce661f82df707b4315c", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}}, {"rule": 2, "type": "equivalent", "target": "d96eb9865b0bf6d96daa3f60ddaa7189", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}}, {"rule": 2, "type": "equivalent", "target": "ecce2aaff9086305c96977bf0ef60d92", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d3eedfb124dc2ce661f82df707b4315c", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}, "url": "/docs/compare/?release=16.11#16.11-e3e94f24a14cb90b", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "90dcd7b9cab09a48352f77b31481288a", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}, "url": "/docs/compare/?release=15.15#15.15-486ee448380434dd", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "ecce2aaff9086305c96977bf0ef60d92", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}, "url": "/docs/compare/?release=14.20#14.20-da249ce39908a51f", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "d96eb9865b0bf6d96daa3f60ddaa7189", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "为 TID Scan 和 TID Range Scan 计划节点添加缺失的 EvalPlanQual 重检查", "evidence": {"same_day": true, "patch_ids": ["e5f939f23311b15eb4c2128e866cd2ff", "e6deedc86606b08645454ddad75b214a"], "statement_hash": "a32898b724eb8e34e33be327f84fcb97a13f077fa6e040dfd715b42aeeaea021"}, "url": "/docs/compare/?release=13.23#13.23-6d5125a8a195ddcd", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-7d939e96432565c4", "cves": [], "html": "<p>修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理（Masahiko Sawada，Etsuro Fujita）<a href=\"https://postgr.es/c/2bb84ea7e\">§</a></p>\n<p>在这种情况下，应该正常调用外部或自定义访问方法，但之前并未发生，通常会导致崩溃。</p>", "text": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理（Masahiko Sawada，Etsuro Fujita）§ 在这种情况下，应该正常调用外部或自定义访问方法，但之前并未发生，通常会导致崩溃。", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "commits": ["2bb84ea7e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "c8cbd7f99c5661330597ac4d06a7f00640bfff02feb77b76238471eeeb3d912e", "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": ["2bb84ea7e"], "source_entry_id": "17.7/changes/017", "db_id": "d5c74a3284403534934e2ff5e453332e", "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": "3a7c71a715168a6fe003c04ad6530b01", "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": "f8e7d0fe512da9f5e4221f5173c42a62", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3a7c71a715168a6fe003c04ad6530b01", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复没有准备替代本地连接计划用于 EPQ 的外部或自定义连接的 EvalPlanQual 处理", "evidence": {"same_day": true, "patch_ids": ["4bc4b3eb3e3195a1d0e412e0c9371242"], "statement_hash": "7701ad14c992b95ece421f86b54788df6de9143a62d4e7ff9ea0b08caf2163f5"}, "url": "/docs/compare/?release=18.1#18.1-1ad36d259b8c4e29", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-7064942458440619", "cves": [], "html": "<p>避免在 <code>DETACH CONCURRENTLY</code> 期间重复 hash 分区约束（Haiyang Li）<a href=\"https://postgr.es/c/ea06f97ee\">§</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": ["ea06f97ee"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "aada36ac0aaf402987d64bfc29c28ab8374790cdd18b9eaa606e0865c5ab94ec", "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": ["ea06f97ee"], "source_entry_id": "17.7/changes/018", "db_id": "d8002886e5e02df8376c5986e54462f2", "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": "565728557128822df30c43191a2dbfad", "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"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "565728557128822df30c43191a2dbfad", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免在 DETACH CONCURRENTLY 期间重复 hash 分区约束", "evidence": {"same_day": true, "patch_ids": ["c7b7e5ea3577b3d900e06cd112a51878"], "statement_hash": "d5965bdd5734479eaa6212fe4307924b5fa45a4534d11494cdf8e41c2b84b97f"}, "url": "/docs/compare/?release=18.1#18.1-570dc654ef6dd9a2", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-6b87f410ccf7eeba", "cves": [], "html": "<p>禁止在分区键中使用生成列（Jian He，Ashutosh Bapat）<a href=\"https://postgr.es/c/0b44f2443\">§</a></p>\n<p>这本来已经不被允许，但检查遗漏了一些情况，例如列引用隐含在整行引用中的情况。</p>", "text": "禁止在分区键中使用生成列（Jian He，Ashutosh Bapat）§ 这本来已经不被允许，但检查遗漏了一些情况，例如列引用隐含在整行引用中的情况。", "title": "禁止在分区键中使用生成列", "commits": ["0b44f2443"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "e32bf03e84838fbd3997d2e60a3ad086a2096a73c6f4e45c20d7535d9496c93b", "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": ["0b44f2443"], "source_entry_id": "17.7/changes/019", "db_id": "8894dad53381cd45feb93c24e4fb14ba", "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": "a8595e24703e1deff3ce7b6fe56d02db", "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": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a8595e24703e1deff3ce7b6fe56d02db", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "禁止在分区键中使用生成列", "evidence": {"same_day": true, "patch_ids": ["26b7dee3d5b5a82dd804a2b2e1ecd780"], "statement_hash": "5dded4849247ab37d7f44a8fd133cdab652ee07cbfab3751bd8d4ffcbdd7e99f"}, "url": "/docs/compare/?release=18.1#18.1-6edf5c69ea4392a4", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-0707cf226664ba13", "cves": [], "html": "<p>禁止在 <code>COPY ... FROM ... WHERE</code> 子句中使用生成列（Peter Eisentraut，Jian He）<a href=\"https://postgr.es/c/07f787e57\">§</a></p>\n<p>以前，尝试引用此类列会导致不正确的行为或晦涩的错误消息，因为在执行 <code>WHERE</code> 过滤时生成列尚未计算。</p>", "text": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列（Peter Eisentraut，Jian He）§ 以前，尝试引用此类列会导致不正确的行为或晦涩的错误消息，因为在执行 WHERE 过滤时生成列尚未计算。", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "commits": ["07f787e57"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "f357afaaba0aa98cb9190253490043cda1c92ffc8a4f6de018dbdece2302deca", "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": ["07f787e57"], "source_entry_id": "17.7/changes/020", "db_id": "d7b4a6585334f8e8aa07a327994e2043", "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6", "relations": [{"rule": 2, "type": "equivalent", "target": "476c1d31c3b2a4f231e061a533173538", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}}, {"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"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "476c1d31c3b2a4f231e061a533173538", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "禁止在 COPY ... FROM ... WHERE 子句中使用生成列", "evidence": {"same_day": true, "patch_ids": ["288ff18af81cea964c777c267d44976b"], "statement_hash": "3e3e53285ed4984ded0685482e76482c19c858ab07dd559f8421550b25cb5dc6"}, "url": "/docs/compare/?release=18.1#18.1-f93c705391287b77", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-8f2649a92990dc78", "cves": [], "html": "<p>避免并行清理中潜在的释放后使用问题（Kevin Oommen Anish）<a href=\"https://postgr.es/c/3549ffb6a\">§</a></p>\n<p>该缺陷在标准构建中似乎没有实际后果，但理论上仍存在风险。</p>", "text": "避免并行清理中潜在的释放后使用问题（Kevin Oommen Anish）§ 该缺陷在标准构建中似乎没有实际后果，但理论上仍存在风险。", "title": "避免并行清理中潜在的释放后使用问题", "commits": ["3549ffb6a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "45105ed687e8b3e8dad9bd2453f6f46a9b3d44b4151d536bf7c2a2a384f996ac", "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": ["3549ffb6a"], "source_entry_id": "17.7/changes/021", "db_id": "f0dbb32056abe3b3dfdd78472b7f273b", "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706", "relations": [{"rule": 2, "type": "equivalent", "target": "65b586522e7240dd1f867d7850ea61db", "evidence": {"same_day": true, "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "65b586522e7240dd1f867d7850ea61db", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免并行清理中潜在的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["d0dc5f67240a1a53daeb03d7af4ee34b"], "statement_hash": "e224742c5033ba7b9e4b42ddebc1f168038cd08a476019b13fb8d75e3b5bc706"}, "url": "/docs/compare/?release=18.1#18.1-546fe16e34bc5978", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}]}, {"id": "17.7-542a921308709f1a", "cves": [], "html": "<p>修复 <code>pg_temp</code> 中统计对象的可见性检查（Noah Misch）<a href=\"https://postgr.es/c/6778fbca6\">§</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": ["6778fbca6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "c745742ddaa70f7bb233a3e2533142cfcf59c848709269df0b82bd5a808caa86", "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": ["6778fbca6"], "source_entry_id": "17.7/changes/022", "db_id": "7e832b26c5667abdcb7da1479c2627cc", "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": "20af10bca614d2e3d01c9b7d89ca87a3", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "20af10bca614d2e3d01c9b7d89ca87a3", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pg_temp 中统计对象的可见性检查", "evidence": {"same_day": true, "patch_ids": ["92d91f4ff61990d871fd5034eef653d7"], "statement_hash": "6ab2a16a11fdf9756b132b2aa3b08c0bc2821a0def25ca6fd133def84e610d24"}, "url": "/docs/compare/?release=18.1#18.1-4356f370a232f620", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-9a9324ca337e6d53", "cves": [], "html": "<p>修复 <code>pg_event_trigger_dropped_objects()</code> 对临时状态的报告（Antoine Violin，Tom Lane）<a href=\"https://postgr.es/c/c0c8ee23c\">§</a> <a href=\"https://postgr.es/c/a220e40d1\">§</a></p>\n<p>如果被删除的列默认值、触发器或 RLS 策略属于临时表，则应以 <code>is_temporary</code> 为 true 来报告它。</p>", "text": "修复 pg_event_trigger_dropped_objects() 对临时状态的报告（Antoine Violin，Tom Lane）§ § 如果被删除的列默认值、触发器或 RLS 策略属于临时表，则应以 is_temporary 为 true 来报告它。", "title": "修复 pg_event_trigger_dropped_objects() 对临时状态的报告", "commits": ["a220e40d1", "c0c8ee23c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "9d75f85783c7b61aeee7ee3c2e5dae9f7ad66d77c5975bd4e666d871bf00ebbd", "section_path": ["变更"], "commit_groups": [["33e49ee01", "a220e40d1", "ef81db969", "f14ea34d6", "f6c8e7824"], ["3c02c4652", "451373dc5", "8856f1acc", "a0b99fc12", "c0c8ee23c"]], "identity_text": "Fix pg_event_trigger_dropped_objects()'s reporting of temporary status (Antoine Violin, Tom Lane) If a dropped column default, trigger, or RLS policy belongs to a temporary table, report it with is_temporary true.", "commit_aliases": ["33e49ee01", "3c02c4652", "451373dc5", "8856f1acc", "a0b99fc12", "a220e40d1", "c0c8ee23c", "ef81db969", "f14ea34d6", "f6c8e7824"], "source_commits": ["a220e40d1", "c0c8ee23c"], "source_entry_id": "17.7/changes/023", "db_id": "adaa3e0e292b87e7258507fa56134449", "patch_ids": ["b8779ce4f1e952ff00f5b619897a320f", "e86ee0eaaaf16b3ef681937d8f3e1974"], "statement_hash": "5245e6ebc5c16115fe580f09dafc5b63af74937e42bac75379ac8e2767022474", "relations": [{"rule": 2, "type": "equivalent", "target": "227cf9794e49acb1c9030b8db92bbdc8", "evidence": {"same_day": true, "patch_ids": ["b8779ce4f1e952ff00f5b619897a320f", "e86ee0eaaaf16b3ef681937d8f3e1974"], "statement_hash": "5245e6ebc5c16115fe580f09dafc5b63af74937e42bac75379ac8e2767022474"}}, {"rule": 2, "type": "equivalent", "target": "fc405f38c4d7e9e379cbd5c7ef74c8a4", "evidence": {"same_day": true, "patch_ids": ["b8779ce4f1e952ff00f5b619897a320f", "e86ee0eaaaf16b3ef681937d8f3e1974"], "statement_hash": "5245e6ebc5c16115fe580f09dafc5b63af74937e42bac75379ac8e2767022474"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "fc405f38c4d7e9e379cbd5c7ef74c8a4", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pg_event_trigger_dropped_objects() 对临时状态的报告", "evidence": {"same_day": true, "patch_ids": ["b8779ce4f1e952ff00f5b619897a320f", "e86ee0eaaaf16b3ef681937d8f3e1974"], "statement_hash": "5245e6ebc5c16115fe580f09dafc5b63af74937e42bac75379ac8e2767022474"}, "url": "/docs/compare/?release=16.11#16.11-1acee7aeeb05851c", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "227cf9794e49acb1c9030b8db92bbdc8", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pg_event_trigger_dropped_objects() 对临时状态的报告", "evidence": {"same_day": true, "patch_ids": ["b8779ce4f1e952ff00f5b619897a320f", "e86ee0eaaaf16b3ef681937d8f3e1974"], "statement_hash": "5245e6ebc5c16115fe580f09dafc5b63af74937e42bac75379ac8e2767022474"}, "url": "/docs/compare/?release=15.15#15.15-df8936a66efdd894", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "17.7-e2424f99d2f437b5", "cves": [], "html": "<p>修复 hash 子计划中的内存泄漏（Haiyang Li）<a href=\"https://postgr.es/c/862980f92\">§</a></p>\n<p>用于对元组进行 hash 运算的 hash 函数所消耗的任何内存都构成了查询生命周期的内存泄漏。这种情况的一种发生方式是参与 hash 运算的值需要 de-toast。</p>", "text": "修复 hash 子计划中的内存泄漏（Haiyang Li）§ 用于对元组进行 hash 运算的 hash 函数所消耗的任何内存都构成了查询生命周期的内存泄漏。这种情况的一种发生方式是参与 hash 运算的值需要 de-toast。", "title": "修复 hash 子计划中的内存泄漏", "commits": ["862980f92"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "29ca0caba03f875660c50ef8265e317223993e263f269ad6dbdb165668265742", "section_path": ["变更"], "commit_groups": [["5ac973892", "5eab9b0a4", "862980f92", "8b6c29afd", "abdeacdb0", "bc865ff6d", "e1da9c072"]], "identity_text": "Fix memory leakage in hashed subplans (Haiyang Li) Any memory consumed by the hash functions used for hashing tuples constituted a query-lifespan memory leak. One way that could happen is if the values being hashed require de-toasting.", "commit_aliases": ["5ac973892", "5eab9b0a4", "862980f92", "8b6c29afd", "abdeacdb0", "bc865ff6d", "e1da9c072"], "source_commits": ["862980f92"], "source_entry_id": "17.7/changes/024", "db_id": "a023f6ed4b374eb0dc96609493ee88eb", "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96", "relations": [{"rule": 2, "type": "equivalent", "target": "66d28945048365b27caabd86520573af", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}}, {"rule": 2, "type": "equivalent", "target": "716c8f69dbded655fabcf097344a2b29", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}}, {"rule": 2, "type": "equivalent", "target": "caf35b0c52d2f2d7be09e47941e76dee", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}}, {"rule": 2, "type": "equivalent", "target": "f0d430aa11163b42d6790f75f65289ab", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "716c8f69dbded655fabcf097344a2b29", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 hash 子计划中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}, "url": "/docs/compare/?release=16.11#16.11-690bb3133c148d74", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "f0d430aa11163b42d6790f75f65289ab", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 hash 子计划中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}, "url": "/docs/compare/?release=15.15#15.15-7f29140debd89f20", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "caf35b0c52d2f2d7be09e47941e76dee", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 hash 子计划中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}, "url": "/docs/compare/?release=14.20#14.20-33e44d7312fadeff", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "66d28945048365b27caabd86520573af", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 hash 子计划中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a2bb67b75f354f5dabcb71fadb21152b"], "statement_hash": "cdba0b2e8608b306f2792e48f6e19e37fcda5c115bfca2f87ba1928523ed4b96"}, "url": "/docs/compare/?release=13.23#13.23-7cc556201553018b", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-671418da8f4d2334", "cves": [], "html": "<p>避免启动进程中的 <code>SMgrRelation</code> 对象泄漏（Jingtang Zhang）<a href=\"https://postgr.es/c/e2dd7b2ac\">§</a></p>\n<p>在长时间运行的备库服务器上，保存这些对象的 hash 表可能会显著膨胀，因为原先没有释放不再需要条目的机制。</p>", "text": "避免启动进程中的 SMgrRelation 对象泄漏（Jingtang Zhang）§ 在长时间运行的备库服务器上，保存这些对象的 hash 表可能会显著膨胀，因为原先没有释放不再需要条目的机制。", "title": "避免启动进程中的 SMgrRelation 对象泄漏", "commits": ["e2dd7b2ac"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "6a5918486c429e665b86376f75c1772476ac65544cb99f01f52dbeb73b2ee7ae", "section_path": ["变更"], "commit_groups": [["039301b3f", "8c8f7b199", "e2dd7b2ac"]], "identity_text": "Avoid leaking SMgrRelation objects in the startup process (Jingtang Zhang) In a long-running standby server, the hashtable holding these objects could bloat substantially, because there was no mechanism for freeing no-longer-interesting entries.", "commit_aliases": ["039301b3f", "8c8f7b199", "e2dd7b2ac"], "source_commits": ["e2dd7b2ac"], "source_entry_id": "17.7/changes/025", "db_id": "3c1f4e955642c64f429a9b621cc136e5", "patch_ids": ["84766f07596bed78aeca6f2f264b602b"], "statement_hash": "3a466d3b7a206eb98a2dce7ae05d285f72437df3880585c87c9e30852d8701b4", "relations": [], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.7-200457c819df1105", "cves": [], "html": "<p>修复 WAL 重放数据库创建过程中的轻微内存泄漏（Nathan Bossart）<a href=\"https://postgr.es/c/f9993ac64\">§</a></p>", "text": "修复 WAL 重放数据库创建过程中的轻微内存泄漏（Nathan Bossart）§", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "commits": ["f9993ac64"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "ab204cb467dcbb6750eb661459036663a1285eb4ae107a9ba77421895f8032c9", "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": ["f9993ac64"], "source_entry_id": "17.7/changes/026", "db_id": "4be639cfbce3dac014c7f3139f4beaa7", "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": "0e7b5976bd913c25991a5ff549ac5f81", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0e7b5976bd913c25991a5ff549ac5f81", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 WAL 重放数据库创建过程中的轻微内存泄漏", "evidence": {"same_day": true, "patch_ids": ["7b3c9562820ec298d794a69d51573920"], "statement_hash": "aaf589db3ca0547c1138682c80ba4c30d7666e77fdcd70b3a9824de7014ad03c"}, "url": "/docs/compare/?release=18.1#18.1-c10f4000798b8d9f", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-f24d4db0884e5b15", "cves": [], "html": "<p>修复内存不足失败后共享统计信息表损坏的问题（Mikhail Kot）<a href=\"https://postgr.es/c/3e6dfcfb0\">§</a></p>\n<p>之前，在创建新的 hash 表条目过程中发生内存不足失败会留下一个损坏的条目，可能在稍后导致其他会话出错。</p>", "text": "修复内存不足失败后共享统计信息表损坏的问题（Mikhail Kot）§ 之前，在创建新的 hash 表条目过程中发生内存不足失败会留下一个损坏的条目，可能在稍后导致其他会话出错。", "title": "修复内存不足失败后共享统计信息表损坏的问题", "commits": ["3e6dfcfb0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "302b023cab6c865dde2afabba544a3acde981cc65121ab96834532af434e8fcb", "section_path": ["变更"], "commit_groups": [["12f57681c", "1852ec5db", "3e6dfcfb0", "8191e0c16", "f256a7bba"]], "identity_text": "Fix corruption of the shared statistics table after out-of-memory failures (Mikhail Kot) Previously, an out-of-memory failure partway through creating a new hash table entry left a broken entry behind, potentially causing errors in other sessions later.", "commit_aliases": ["12f57681c", "1852ec5db", "3e6dfcfb0", "8191e0c16", "f256a7bba"], "source_commits": ["3e6dfcfb0"], "source_entry_id": "17.7/changes/027", "db_id": "e04d248137ebff8b4925101d2d580e2f", "patch_ids": ["26897e0ef72dc7a9b009d5b34ec5d2ea"], "statement_hash": "af500ba26ad0df8abfaed0a4561558ddde2bb07d3bed0254add64eb0fa812315", "relations": [{"rule": 2, "type": "equivalent", "target": "e3be8eb6c685942d1ed8b0a46aef228d", "evidence": {"same_day": true, "patch_ids": ["26897e0ef72dc7a9b009d5b34ec5d2ea"], "statement_hash": "af500ba26ad0df8abfaed0a4561558ddde2bb07d3bed0254add64eb0fa812315"}}, {"rule": 2, "type": "equivalent", "target": "f23e41805c101675a10149bbc9f843a2", "evidence": {"same_day": true, "patch_ids": ["26897e0ef72dc7a9b009d5b34ec5d2ea"], "statement_hash": "af500ba26ad0df8abfaed0a4561558ddde2bb07d3bed0254add64eb0fa812315"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f23e41805c101675a10149bbc9f843a2", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复内存不足失败后共享统计信息表损坏的问题", "evidence": {"same_day": true, "patch_ids": ["26897e0ef72dc7a9b009d5b34ec5d2ea"], "statement_hash": "af500ba26ad0df8abfaed0a4561558ddde2bb07d3bed0254add64eb0fa812315"}, "url": "/docs/compare/?release=16.11#16.11-2c62d646d59219fb", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "e3be8eb6c685942d1ed8b0a46aef228d", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复内存不足失败后共享统计信息表损坏的问题", "evidence": {"same_day": true, "patch_ids": ["26897e0ef72dc7a9b009d5b34ec5d2ea"], "statement_hash": "af500ba26ad0df8abfaed0a4561558ddde2bb07d3bed0254add64eb0fa812315"}, "url": "/docs/compare/?release=15.15#15.15-092c3fabcf87a792", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "17.7-7c11e4f2561b50d2", "cves": [], "html": "<p>修复 <code>MERGE</code> 中的并发更新问题（Yugo Nagata）<a href=\"https://postgr.es/c/6195afbe5\">§</a></p>\n<p>当执行 <code>MERGE UPDATE</code> 操作时，如果目标行有多个并发更新，加锁重试代码有时会错误地识别目标元组的最新版本，导致不正确的结果。</p>", "text": "修复 MERGE 中的并发更新问题（Yugo Nagata）§ 当执行 MERGE UPDATE 操作时，如果目标行有多个并发更新，加锁重试代码有时会错误地识别目标元组的最新版本，导致不正确的结果。", "title": "修复 MERGE 中的并发更新问题", "commits": ["6195afbe5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "16b23601bf9bcc7207a3118830c4851b9aa71c7d4786410bea85033fbc30f330", "section_path": ["变更"], "commit_groups": [["21a61b87f", "6195afbe5", "6ede13d1b", "c70b6db34", "f871fbae9"]], "identity_text": "Fix concurrent update issue in MERGE (Yugo Nagata) When executing a MERGE UPDATE action, if there is more than one concurrent update of the target row, the lock-and-retry code would sometimes incorrectly identify the latest version of the target tuple, leading to incorrect results.", "commit_aliases": ["21a61b87f", "6195afbe5", "6ede13d1b", "c70b6db34", "f871fbae9"], "source_commits": ["6195afbe5"], "source_entry_id": "17.7/changes/028", "db_id": "7a1579c849cdc05a235995870f92f6ba", "patch_ids": ["a3852e4a27de01202abe71a17c01f021"], "statement_hash": "cb2847f4cfd38a0bd3a62dadf0baf926fdd775b9f087bad7ebb4a72b126f937e", "relations": [{"rule": 2, "type": "equivalent", "target": "f255f6089620c27da4148107c8bc248e", "evidence": {"same_day": true, "patch_ids": ["a3852e4a27de01202abe71a17c01f021"], "statement_hash": "cb2847f4cfd38a0bd3a62dadf0baf926fdd775b9f087bad7ebb4a72b126f937e"}}, {"rule": 2, "type": "equivalent", "target": "f53691ce7eb09633c62ef9b93c74b12b", "evidence": {"same_day": true, "patch_ids": ["a3852e4a27de01202abe71a17c01f021"], "statement_hash": "cb2847f4cfd38a0bd3a62dadf0baf926fdd775b9f087bad7ebb4a72b126f937e"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f53691ce7eb09633c62ef9b93c74b12b", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 MERGE 中的并发更新问题", "evidence": {"same_day": true, "patch_ids": ["a3852e4a27de01202abe71a17c01f021"], "statement_hash": "cb2847f4cfd38a0bd3a62dadf0baf926fdd775b9f087bad7ebb4a72b126f937e"}, "url": "/docs/compare/?release=16.11#16.11-ef6bee42e8db18b9", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "f255f6089620c27da4148107c8bc248e", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 MERGE 中的并发更新问题", "evidence": {"same_day": true, "patch_ids": ["a3852e4a27de01202abe71a17c01f021"], "statement_hash": "cb2847f4cfd38a0bd3a62dadf0baf926fdd775b9f087bad7ebb4a72b126f937e"}, "url": "/docs/compare/?release=15.15#15.15-8d14c2b41b2cf2a3", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}]}, {"id": "17.7-0cadf99ab5da1a04", "cves": [], "html": "<p>为 <code>MERGE</code> 和 <code>INSERT ... ON CONFLICT DO UPDATE</code> 添加缺失的副本标识检查（Zhijie Hou）<a href=\"https://postgr.es/c/76f45be93\">§</a> <a href=\"https://postgr.es/c/0b934d399\">§</a> <a href=\"https://postgr.es/c/57dfb64ec\">§</a></p>\n<p>如果 <code>MERGE</code> 可能需要执行更新或删除操作，且目标表发布更新或删除，则要求该表定义了 <code>REPLICA IDENTITY</code>。未能要求这一点可能会静默地破坏复制。同样，带有 <code>UPDATE</code> 选项的 <code>INSERT</code> 如果目标表发布插入或更新，也必须要求 <code>REPLICA IDENTITY</code>。</p>", "text": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查（Zhijie Hou）§ § § 如果 MERGE 可能需要执行更新或删除操作，且目标表发布更新或删除，则要求该表定义了 REPLICA IDENTITY。未能要求这一点可能会静默地破坏复制。同样，带有 UPDATE 选项的 INSERT 如果目标表发布插入或更新，也必须要求 REPLICA IDENTITY。", "title": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查", "commits": ["0b934d399", "57dfb64ec", "76f45be93"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "324c0d69e41125858fd2bfb807c1c09224b3e5e0e8aa065ab57ec0c6c509e8fd", "section_path": ["变更"], "commit_groups": [["0610b843c", "0b934d399", "0c4d5a45d", "344662848", "451b22efd", "5386bfb9c", "5fd569ef2"], ["311340f17", "421d7a157", "5481cc332", "76f45be93", "fc6600fc1"], ["57dfb64ec", "a4624929d", "d37694b97", "dbef9cbaa", "ea65c8823"]], "identity_text": "Add missing replica identity checks in MERGE and INSERT ... ON CONFLICT DO UPDATE (Zhijie Hou) If MERGE may require update or delete actions, and the target table publishes updates or deletes, insist that it have a REPLICA IDENTITY defined. Failing to require this can silently break replication. Likewise, INSERT with an UPDATE option must require REPLICA IDENTITY if the target table publishes either inserts or updates.", "commit_aliases": ["0610b843c", "0b934d399", "0c4d5a45d", "311340f17", "344662848", "421d7a157", "451b22efd", "5386bfb9c", "5481cc332", "57dfb64ec", "5fd569ef2", "76f45be93", "a4624929d", "d37694b97", "dbef9cbaa", "ea65c8823", "fc6600fc1"], "source_commits": ["0b934d399", "57dfb64ec", "76f45be93"], "source_entry_id": "17.7/changes/029", "db_id": "da6b608252d96b3762138806147866f9", "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9", "relations": [{"rule": 2, "type": "equivalent", "target": "071ee53e7ebf4e0865b3c9742c53ae92", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}}, {"rule": 2, "type": "equivalent", "target": "4ba5d1a335cfc88f589ce9d68406318f", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}}, {"rule": 2, "type": "equivalent", "target": "9317ea883bca2553ac7aa956597e3295", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}}, {"rule": 2, "type": "equivalent", "target": "ef9b4eaf4ec5746d0b09b506aebf812d", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9317ea883bca2553ac7aa956597e3295", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}, "url": "/docs/compare/?release=16.11#16.11-265f0792e4a648f1", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "4ba5d1a335cfc88f589ce9d68406318f", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}, "url": "/docs/compare/?release=15.15#15.15-e12989606d02564d", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "071ee53e7ebf4e0865b3c9742c53ae92", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}, "url": "/docs/compare/?release=14.20#14.20-54a839033290b57a", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "ef9b4eaf4ec5746d0b09b506aebf812d", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "为 MERGE 和 INSERT ... ON CONFLICT DO UPDATE 添加缺失的副本标识检查", "evidence": {"same_day": true, "patch_ids": ["41ee6a4bd62de46dfbfc7a6ddd4cb297", "5054fd144dc33d242b428fcbc35aa6f9", "5777968be0f595dccbab4ce1dc762000"], "statement_hash": "a94ceb41a466e11a9e90840ccd42da886f417721f5dd37b512bd85d7ef0b7ee9"}, "url": "/docs/compare/?release=13.23#13.23-c9a646cf829a7aa4", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-27e2062ed1a85246", "cves": [], "html": "<p>避免当发布者与订阅者在同一服务器上时，<code>DROP SUBSCRIPTION</code> 期间的死锁（Dilip Kumar）<a href=\"https://postgr.es/c/288a817bc\">§</a></p>", "text": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁（Dilip Kumar）§", "title": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁", "commits": ["288a817bc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "38df608fe590b7a2dda8eed4e87098841770d32e27a7ee65c53ea230e0f54293", "section_path": ["变更"], "commit_groups": [["0a98f24a6", "288a817bc", "7ece76129", "a5d4c0415", "aa21e4922", "e41137155", "ef7750274"]], "identity_text": "Avoid deadlock during DROP SUBSCRIPTION when publisher is on the same server as subscriber (Dilip Kumar)", "commit_aliases": ["0a98f24a6", "288a817bc", "7ece76129", "a5d4c0415", "aa21e4922", "e41137155", "ef7750274"], "source_commits": ["288a817bc"], "source_entry_id": "17.7/changes/030", "db_id": "d9cac4cdcf37cb17fa4b6504cfffe203", "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61", "relations": [{"rule": 2, "type": "equivalent", "target": "2b5651aa7ca7bc1226597109b5eed7ac", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}}, {"rule": 2, "type": "equivalent", "target": "37942ef2cbf08085298ca32af3615104", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}}, {"rule": 2, "type": "equivalent", "target": "43d27e9f743f0a98a23410ab06b13d1d", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}}, {"rule": 2, "type": "equivalent", "target": "b2c73de226cf9cdebc1cf4094ee2864d", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b2c73de226cf9cdebc1cf4094ee2864d", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}, "url": "/docs/compare/?release=16.11#16.11-8ccaf041b640c1f0", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "37942ef2cbf08085298ca32af3615104", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}, "url": "/docs/compare/?release=15.15#15.15-97fc88876fe935e7", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "43d27e9f743f0a98a23410ab06b13d1d", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}, "url": "/docs/compare/?release=14.20#14.20-a667df23ea5307ac", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "2b5651aa7ca7bc1226597109b5eed7ac", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免当发布者与订阅者在同一服务器上时，DROP SUBSCRIPTION 期间的死锁", "evidence": {"same_day": true, "patch_ids": ["1c494a25ebf018053142296bdd84c730"], "statement_hash": "a5e43e275418b0e325d4e0bcf72e0e70d1e3c3f936bbb0c308609ddc6965ab61"}, "url": "/docs/compare/?release=13.23#13.23-e99c96781a144e49", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-fbae455a9f86efab", "cves": [], "html": "<p>修复 <code>pg_stat_replication</code> 视图中复制延迟的错误报告（Fujii Masao）<a href=\"https://postgr.es/c/62d5ee75b\">§</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": ["62d5ee75b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "7ee49fa187720970b8e0d97c2673c8fbd7004988868701d5154ac7a07d56227b", "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": ["62d5ee75b"], "source_entry_id": "17.7/changes/031", "db_id": "905cf5ba46c020ac69b28eb9f2785b5c", "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": "a8414849a53aabf5dc53c77b1324c0d5", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a8414849a53aabf5dc53c77b1324c0d5", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pg_stat_replication 视图中复制延迟的错误报告", "evidence": {"same_day": true, "patch_ids": ["8db46f90292912189aba63435360de0e"], "statement_hash": "64f01eee07baa6edbcfc9de58c6f4a1ee0e57ae42455a11de26eb55f15310c9b"}, "url": "/docs/compare/?release=18.1#18.1-b311e5c7746f8633", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a02e0c2e2b41cb37", "cves": [], "html": "<p>避免关于无效 <code>primary_slot_name</code> 设置的重复日志消息（Fujii Masao）<a href=\"https://postgr.es/c/1db2870bb\">§</a></p>", "text": "避免关于无效 primary_slot_name 设置的重复日志消息（Fujii Masao）§", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "commits": ["1db2870bb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "a273a8a669f5de89db6ece694c4ad494da733364ea0ed21489e356b4e4b6a2ea", "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": ["1db2870bb"], "source_entry_id": "17.7/changes/032", "db_id": "5c7937a41540430a37c6313f454afd47", "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "d99230cf9e376e84d70ff48c950dfbd4", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d99230cf9e376e84d70ff48c950dfbd4", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免关于无效 primary_slot_name 设置的重复日志消息", "evidence": {"same_day": true, "patch_ids": ["9c341da983ece804e7edd31cc99a78ce"], "statement_hash": "0ffd9e32fd1eef45d9928e6dee3e2be177442a1dda1f90e9f7218a34bb08d146"}, "url": "/docs/compare/?release=18.1#18.1-f9c71c1aa9e41b8f", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-256c71c4a8bc7974", "cves": [], "html": "<p>当 <code>synchronized_standby_slots</code> 引用了不存在的复制槽时，避免发生故障（Shlok Kyal）<a href=\"https://postgr.es/c/0024f5a10\">§</a></p>", "text": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障（Shlok Kyal）§", "title": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障", "commits": ["0024f5a10"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "8db8239012193a4984c0a3d2a6d2ad9480909aae26f4a754caeb73317e846308", "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": ["0024f5a10"], "source_entry_id": "17.7/changes/033", "db_id": "e94415bf2bf6f74daabb0dd238831f93", "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a", "relations": [{"rule": 2, "type": "equivalent", "target": "b7ea92ca342575d1da32619d7a74920a", "evidence": {"same_day": true, "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b7ea92ca342575d1da32619d7a74920a", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "当 synchronized_standby_slots 引用了不存在的复制槽时，避免发生故障", "evidence": {"same_day": true, "patch_ids": ["d1630eb2f319a290f48352db21038c81"], "statement_hash": "1adb1692f54e8f619f583ed21023cf15f3e54cd145c1a48e863700b08b0c1d4a"}, "url": "/docs/compare/?release=18.1#18.1-54c0160872575046", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}]}, {"id": "17.7-fa4d518d83f33a49", "cves": [], "html": "<p>在写入复制槽状态到磁盘失败后删除未完成的槽状态文件（Michael Paquier）<a href=\"https://postgr.es/c/42348839d\">§</a></p>\n<p>以前，磁盘空间不足等失败会留下一个临时 <code>state.tmp</code> 文件。这是有问题的，因为它会阻止所有后续写入状态的尝试，需要手动干预来清理。</p>", "text": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件（Michael Paquier）§ 以前，磁盘空间不足等失败会留下一个临时 state.tmp 文件。这是有问题的，因为它会阻止所有后续写入状态的尝试，需要手动干预来清理。", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "commits": ["42348839d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "6ec2d38ad9e4b26a4230e642d1b062f7b96e1baffff68c2e4e1df6959ae85f49", "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": ["42348839d"], "source_entry_id": "17.7/changes/034", "db_id": "d3ba6564e6c91003b631012ed6405fc2", "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": "88acef5002288cf26f90d74ea72f7dd0", "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"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "88acef5002288cf26f90d74ea72f7dd0", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "在写入复制槽状态到磁盘失败后删除未完成的槽状态文件", "evidence": {"same_day": true, "patch_ids": ["6f111c88b72506ba3e2d5c84c1b1cfcf"], "statement_hash": "c72e99f08db7312d40c0813e006b0820aa3bd77bf507b6561ee3def67607fe72"}, "url": "/docs/compare/?release=18.1#18.1-a601bee3c15f74a5", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-2f08c0b5ad93baa5", "cves": [], "html": "<p>修复逻辑复制并行应用工作进程中锁超时信号的错误处理（Hayato Kuroda）<a href=\"https://postgr.es/c/2f6e1a490\">§</a></p>\n<p>同一个信号编号被同时用于工作进程关闭和锁超时，导致混淆。</p>", "text": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理（Hayato Kuroda）§ 同一个信号编号被同时用于工作进程关闭和锁超时，导致混淆。", "title": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理", "commits": ["2f6e1a490"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "376f30458fda39b01a6414ff90c416f5dd6967174f09ce0f44892f2f4326c5d7", "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": ["2f6e1a490"], "source_entry_id": "17.7/changes/035", "db_id": "50ee30b81e767311733d723cd36948c0", "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575", "relations": [{"rule": 2, "type": "equivalent", "target": "943decff2b98c926290fdf650e4a0edc", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "943decff2b98c926290fdf650e4a0edc", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复逻辑复制并行应用工作进程中锁超时信号的错误处理", "evidence": {"same_day": true, "patch_ids": ["b3db903786744763190489d6bf47d765"], "statement_hash": "eeca05449e3cc33c400da91c2fe568d3d74ef1488cd64e05a219a1d4578a1575"}, "url": "/docs/compare/?release=18.1#18.1-b4b351d19dc05865", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-0a048ec34f6d4d74", "cves": [], "html": "<p>避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭（Xuneng Zhou）<a href=\"https://postgr.es/c/e7340b484\">§</a></p>\n<p>在时间线切换期间，备库的 WAL 接收进程应保持活动状态，等待新的 WAL 流式传输起始点。相反，它反复关闭并立即重新启动，这可能会混淆状态监控代码。</p>", "text": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭（Xuneng Zhou）§ 在时间线切换期间，备库的 WAL 接收进程应保持活动状态，等待新的 WAL 流式传输起始点。相反，它反复关闭并立即重新启动，这可能会混淆状态监控代码。", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "commits": ["e7340b484"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "c472a1a3f67e2bd4a5b75db0e964e2588a970cec863e65ad1cd3f0b26af07c3d", "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": ["e7340b484"], "source_entry_id": "17.7/changes/036", "db_id": "b76ca1acc7d0e06651b84c05d5298bb5", "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": "5e6622b056fdeebae1797bcd6bab73d8", "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": "c392b0b8a9a1720a5f28a1d62993d15b", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5e6622b056fdeebae1797bcd6bab73d8", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免从流式传输切换到归档 WAL 源时不必要的 WAL 接收进程关闭", "evidence": {"same_day": true, "patch_ids": ["c329a1ce9ca7c1f3b46341c92f972ea9"], "statement_hash": "94e86829e542dbec362b5314cb0d0420170b66f94aea79d642bd1905c93f5d74"}, "url": "/docs/compare/?release=18.1#18.1-a20d69b97abaf6de", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-34081f9b2520d7c3", "cves": [], "html": "<p>避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败（Vignesh C）<a href=\"https://postgr.es/c/dcdc95cb4\">§</a></p>\n<p>这一低概率问题表现为像 <span>“<span>unexpected duplicate for tablespace <em><code>X</code></em>, relfilenode <em><code>Y</code></em></span>”</span> 这样的瞬态错误。<code>contrib/autoprewarm</code> 也受到影响。此修复的一个副作用是 SQL 函数 <code>pg_filenode_relation()</code> 现在将忽略临时表。</p>", "text": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败（Vignesh C）§ 这一低概率问题表现为像 “unexpected duplicate for tablespace X, relfilenode Y” 这样的瞬态错误。contrib/autoprewarm 也受到影响。此修复的一个副作用是 SQL 函数 pg_filenode_relation() 现在将忽略临时表。", "title": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败", "commits": ["dcdc95cb4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "1afb77e460ced23784a5812953ab354155d9153a60d98068a394ecc8107e3cd3", "section_path": ["变更"], "commit_groups": [["222130edd", "30b32b08c", "86831952a", "ab874faaa", "dcdc95cb4", "ec471008c", "ef03ea01f"]], "identity_text": "Avoid failures in logical replication due to chance collisions of file numbers between regular and temporary tables (Vignesh C) This low-probability problem manifested as transient errors like unexpected duplicate for tablespace X, relfilenode Y. contrib/autoprewarm was also affected. A side-effect of the fix is that the SQL function pg_filenode_relation() will now ignore temporary tables.", "commit_aliases": ["222130edd", "30b32b08c", "86831952a", "ab874faaa", "dcdc95cb4", "ec471008c", "ef03ea01f"], "source_commits": ["dcdc95cb4"], "source_entry_id": "17.7/changes/037", "db_id": "790f557d3482d3ad48c84b44d04e5790", "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f", "relations": [{"rule": 2, "type": "equivalent", "target": "11ad74d6dea65323db09217ad750f31d", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}}, {"rule": 2, "type": "equivalent", "target": "8886c7f460c4649615d13e4962403446", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}}, {"rule": 2, "type": "equivalent", "target": "b0fde9fde33b01c432f43c639f299763", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}}, {"rule": 2, "type": "equivalent", "target": "bd97bf5443b5c5904700919137f15a3d", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd97bf5443b5c5904700919137f15a3d", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}, "url": "/docs/compare/?release=16.11#16.11-3b076275e28daee2", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "11ad74d6dea65323db09217ad750f31d", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}, "url": "/docs/compare/?release=15.15#15.15-6948defe42ec0a80", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "8886c7f460c4649615d13e4962403446", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}, "url": "/docs/compare/?release=14.20#14.20-f1d487bb5f4ee9e8", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "b0fde9fde33b01c432f43c639f299763", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免由于常规表和临时表之间文件编号偶然冲突导致的逻辑复制失败", "evidence": {"same_day": true, "patch_ids": ["d265695322c58c8a1e5ca04997ee9496"], "statement_hash": "04b9ffeee2369b31322f5eea62789a37890a2193fcacef9c2e927fb298a7fc5f"}, "url": "/docs/compare/?release=13.23#13.23-192360a548fa511f", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-db1ad25a90aef00e", "cves": [], "html": "<p>修复 <span>pgoutput</span> 逻辑解码插件维护的关系同步缓存中的释放后使用问题（Vignesh C，Masahiko Sawada）<a href=\"https://postgr.es/c/a61592253\">§</a></p>\n<p>逻辑解码期间的错误可能导致同一会话中后续逻辑解码尝试崩溃。此情况仅在通过 SQL 函数调用 <span>pgoutput</span> 时可以触发。</p>", "text": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题（Vignesh C，Masahiko Sawada）§ 逻辑解码期间的错误可能导致同一会话中后续逻辑解码尝试崩溃。此情况仅在通过 SQL 函数调用 pgoutput 时可以触发。", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "commits": ["a61592253"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "1989bcc22bdfab2ed62ba9a8ff42a61204f0470e72dcad70393749e8d17b02c7", "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": ["a61592253"], "source_entry_id": "17.7/changes/038", "db_id": "b5c5a46598eb51eef76d3c62dc981396", "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc", "relations": [{"rule": 2, "type": "equivalent", "target": "01678f172fb01945bdf37dee98659abb", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}}, {"rule": 2, "type": "equivalent", "target": "88eeed6b80c39786442df0b17dadee4a", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "01678f172fb01945bdf37dee98659abb", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pgoutput 逻辑解码插件维护的关系同步缓存中的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["f0d90b350350451bd966913a51e4879b"], "statement_hash": "a5100d60852834442dddf7c470eb3398c76e0d2de98829a3277bf107f97642fc"}, "url": "/docs/compare/?release=18.1#18.1-5ac1192568f3b470", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-7503f801e6751f4a", "cves": [], "html": "<p>避免不必要地失效逻辑复制槽（Bertrand Drouvot）<a href=\"https://postgr.es/c/f3fb6bc9f\">§</a></p>", "text": "避免不必要地失效逻辑复制槽（Bertrand Drouvot）§", "title": "避免不必要地失效逻辑复制槽", "commits": ["f3fb6bc9f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "71f9d96e7924b478f6512b71b919b46a0af70b3b85a62fe1311f6957db19d795", "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": ["f3fb6bc9f"], "source_entry_id": "17.7/changes/039", "db_id": "d82a9dd65733472f8ceb24aa092ce2c1", "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": "dbc091f15023788511302d163d035b51", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "dbc091f15023788511302d163d035b51", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免不必要地失效逻辑复制槽", "evidence": {"same_day": true, "patch_ids": ["6ea9f1034627e064a66a9993eefe3326"], "statement_hash": "2258d0e5693992de151b50019fd28e9463cd70463c082a7437cf067dd3c0016c"}, "url": "/docs/compare/?release=18.1#18.1-11b960ad24efa0be", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-caf55981ca48e8d9", "cves": [], "html": "<p>避免在单用户模式下尝试释放复制槽时出现断言失败（Hayato Kuroda）<a href=\"https://postgr.es/c/07a302387\">§</a></p>", "text": "避免在单用户模式下尝试释放复制槽时出现断言失败（Hayato Kuroda）§", "title": "避免在单用户模式下尝试释放复制槽时出现断言失败", "commits": ["07a302387"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "bcf7e78c04712c155724dfc5acb87c249f4e6365cdde38a3a461491d141d777d", "section_path": ["变更"], "commit_groups": [["07a302387", "1f2e51e3c", "32d388d00", "818be9b73", "8ed079cad", "ea1c6b0b0", "fea1cc3f7"]], "identity_text": "Avoid assertion failure when trying to release a replication slot in single-user mode (Hayato Kuroda)", "commit_aliases": ["07a302387", "1f2e51e3c", "32d388d00", "818be9b73", "8ed079cad", "ea1c6b0b0", "fea1cc3f7"], "source_commits": ["07a302387"], "source_entry_id": "17.7/changes/040", "db_id": "dfa8bf1ea824bfb259ce58d54f3974b9", "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808", "relations": [{"rule": 2, "type": "equivalent", "target": "30a06a2280e72a1b60773e025f859760", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}}, {"rule": 2, "type": "equivalent", "target": "7501877a970413767bfe48037312b451", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}}, {"rule": 2, "type": "equivalent", "target": "cc9955f9e8237d7746a550f90028d0a7", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}}, {"rule": 2, "type": "equivalent", "target": "d34086d1fe427aeb87fe1279cbb0e3aa", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cc9955f9e8237d7746a550f90028d0a7", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免在单用户模式下尝试释放复制槽时出现断言失败", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}, "url": "/docs/compare/?release=16.11#16.11-05187515625d4370", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "30a06a2280e72a1b60773e025f859760", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免在单用户模式下尝试释放复制槽时出现断言失败", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}, "url": "/docs/compare/?release=15.15#15.15-e163943680bf0745", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "d34086d1fe427aeb87fe1279cbb0e3aa", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免在单用户模式下尝试释放复制槽时出现断言失败", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}, "url": "/docs/compare/?release=14.20#14.20-9705fe16844c36d5", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "7501877a970413767bfe48037312b451", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免在单用户模式下尝试释放复制槽时出现断言失败", "evidence": {"same_day": true, "patch_ids": ["7b2185203259c603e6d78f085a1045bc"], "statement_hash": "2468355887b9e010462f5614f48ed7eadb6c466164c77ab2abf9d3bf8b96b808"}, "url": "/docs/compare/?release=13.23#13.23-dfd343f1e3c46d29", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-6554bc7b77289e22", "cves": [], "html": "<p>修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印（Bryan Green）<a href=\"https://postgr.es/c/4c53519e1\">§</a></p>\n<p>此代码本来会崩溃或至少打印乱码。但没有此类情况被报告过，这表明这些系统调用的失败极为罕见。</p>", "text": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印（Bryan Green）§ 此代码本来会崩溃或至少打印乱码。但没有此类情况被报告过，这表明这些系统调用的失败极为罕见。", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "commits": ["4c53519e1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "f45bbbbd146ab0926b0d1ec3380e88c7b29d5ce17989f446f1cdcd2a825cd663", "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": ["4c53519e1"], "source_entry_id": "17.7/changes/041", "db_id": "1bce0a6531645bd3f70523a4fd591cf3", "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef", "relations": [{"rule": 2, "type": "equivalent", "target": "27ca4eb718e79592fec76dc7fda731c1", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}}, {"rule": 2, "type": "equivalent", "target": "54e06bd3860e1bbda5ac887cf9128e18", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "54e06bd3860e1bbda5ac887cf9128e18", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复关于检查用户是否具有 Windows 管理员权限时失败消息的错误打印", "evidence": {"same_day": true, "patch_ids": ["d55ac972fc177556ea4a0e974c012182"], "statement_hash": "eaba82bd3ddf1952b1b8d1f5d8eb79c610f601c3b23948c4873ea0e85ca0e1ef"}, "url": "/docs/compare/?release=18.1#18.1-0bab432ae295bddb", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-760eb90cba89a23d", "cves": [], "html": "<p>避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败（Tom Lane）<a href=\"https://postgr.es/c/ab92f0e7f\">§</a></p>\n<p>如果预先存在的信号量集的信号量数量少于我们请求的数量，这些平台返回 <span>EINVAL</span> 而不是我们代码所预期的 <span>EEXIST</span>，导致数据库启动失败。</p>", "text": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败（Tom Lane）§ 如果预先存在的信号量集的信号量数量少于我们请求的数量，这些平台返回 EINVAL 而不是我们代码所预期的 EEXIST，导致数据库启动失败。", "title": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败", "commits": ["ab92f0e7f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "14907b88498f0110b1b821c387d3f8616b2b837324c164c98d2d0e38cd5ec12f", "section_path": ["变更"], "commit_groups": [["21fddb3d7", "787cd2b7d", "ab92f0e7f", "b3d6e8b63", "e3b3fa863", "e67d5f7ba", "f4c088344"]], "identity_text": "Avoid startup failure on macOS and BSD platforms when there is a collision with a pre-existing semaphore set (Tom Lane) If the pre-existing set has fewer semaphores than we asked for, these platforms return EINVAL not EEXIST as our code expected, resulting in failure to start the database.", "commit_aliases": ["21fddb3d7", "787cd2b7d", "ab92f0e7f", "b3d6e8b63", "e3b3fa863", "e67d5f7ba", "f4c088344"], "source_commits": ["ab92f0e7f"], "source_entry_id": "17.7/changes/042", "db_id": "fb53ff81eba82caa82519fcf89ffe49b", "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7", "relations": [{"rule": 2, "type": "equivalent", "target": "6a1e72e978f21321445f26d7eb52c623", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}}, {"rule": 2, "type": "equivalent", "target": "d253254086f78eb0895ee9447ad2ad07", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}}, {"rule": 2, "type": "equivalent", "target": "de586ed7dc58ace31efe89cde3a0c519", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}}, {"rule": 2, "type": "equivalent", "target": "eac1fcf2446013ff95c3a1c8688d80d5", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "de586ed7dc58ace31efe89cde3a0c519", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}, "url": "/docs/compare/?release=16.11#16.11-1a63b5b954b27999", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "6a1e72e978f21321445f26d7eb52c623", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}, "url": "/docs/compare/?release=15.15#15.15-d3131249798dfe83", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "eac1fcf2446013ff95c3a1c8688d80d5", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}, "url": "/docs/compare/?release=14.20#14.20-ad8587c169ea5995", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "d253254086f78eb0895ee9447ad2ad07", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "避免在 macOS 和 BSD 平台上与预先存在的信号量集冲突时启动失败", "evidence": {"same_day": true, "patch_ids": ["809cffd6cd01bbf1882821d21af69bda"], "statement_hash": "def4159b79d4b5b3884779b9edcbd6ddc22a9643377b01246dac52c614a47ac7"}, "url": "/docs/compare/?release=13.23#13.23-3c67470c239fb563", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-9ade7eda82977791", "cves": [], "html": "<p>避免在使用某些 libsanitizer 选项测试 <span>PostgreSQL</span> 时崩溃（Emmanuel Sibi，Jacob Champion）<a href=\"https://postgr.es/c/a9515f294\">§</a></p>", "text": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃（Emmanuel Sibi，Jacob Champion）§", "title": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃", "commits": ["a9515f294"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "4a85014ff7704151052d4c42184630dadd24e6018a22b2c965909e962b9102c3", "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": ["a9515f294"], "source_entry_id": "17.7/changes/043", "db_id": "3fe9f73cb5b5abb15f5187f203890f07", "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": "78099173e39c6c3e78fe3e6dbd3ae346", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "78099173e39c6c3e78fe3e6dbd3ae346", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免在使用某些 libsanitizer 选项测试 PostgreSQL 时崩溃", "evidence": {"same_day": true, "patch_ids": ["0aa2e1766b342d485aa4d51817595af8"], "statement_hash": "8083d2803e957ae96e87e94e8d681a4e2bbd775e61d5de91ea925956e3a45ce9"}, "url": "/docs/compare/?release=18.1#18.1-c00c424726e8c2ba", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a455f9dd0199fe9d", "cves": [], "html": "<p>修复 64 位 Windows 调试构建中虚假的内存上下文检查警告（David Rowley）<a href=\"https://postgr.es/c/bd6f986c9\">§</a></p>", "text": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告（David Rowley）§", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "commits": ["bd6f986c9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "6ba1e475e811ea560eae7e50707ab413d71624be805251f11e7ca38fd2eff728", "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": ["bd6f986c9"], "source_entry_id": "17.7/changes/044", "db_id": "84067ed8a3ba1028de01b8a46f2000b9", "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": "8df4cb56b5956e0bcfd2f6b1733b74cc", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8df4cb56b5956e0bcfd2f6b1733b74cc", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 64 位 Windows 调试构建中虚假的内存上下文检查警告", "evidence": {"same_day": true, "patch_ids": ["61b56c5fae6f5e9db534484ddd08ba36"], "statement_hash": "318257c40de6d58edd2102cd728c1f712d4472c110c6470d0b05fd6cea50be8a"}, "url": "/docs/compare/?release=18.1#18.1-6ea24c894273b60d", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-da35b615699d0e38", "cves": [], "html": "<p>正确处理 PL/pgSQL 赋值语句中的 <code>GROUP BY DISTINCT</code>（Tom Lane）<a href=\"https://postgr.es/c/3fc9aa5b0\">§</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": ["3fc9aa5b0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "98316403babcf37dc5c068512b3741853a5b92580a89bef6f670950c0d775107", "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": ["3fc9aa5b0"], "source_entry_id": "17.7/changes/045", "db_id": "5d72fc4fde390c5d9153f30aa3ce32f6", "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a", "relations": [{"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": "f25c1bf3d1b0bc45940ba06662dd7fac", "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": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f25c1bf3d1b0bc45940ba06662dd7fac", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "正确处理 PL/pgSQL 赋值语句中的 GROUP BY DISTINCT", "evidence": {"same_day": true, "patch_ids": ["a73af4d4bc9077b2b6083baf3ae9afa7"], "statement_hash": "4b45bae1f781f46524306017d2565200da9a292424814416e43bb0c51c2b250a"}, "url": "/docs/compare/?release=18.1#18.1-ea24cf69287cae1d", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-518a9f7a9e8762ea", "cves": [], "html": "<p>避免在 PL/Python 中处理 SQL 错误时泄漏内存（Tom Lane）<a href=\"https://postgr.es/c/fbc41a145\">§</a></p>\n<p>这修复了在我们之前的小版本中引入的会话生命周期内存泄漏。</p>", "text": "避免在 PL/Python 中处理 SQL 错误时泄漏内存（Tom Lane）§ 这修复了在我们之前的小版本中引入的会话生命周期内存泄漏。", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "commits": ["fbc41a145"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "3714478237f20ba041b3f98d0ce21b3d0c1c56bf198f037e4ed67de0f7d6aa54", "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": ["fbc41a145"], "source_entry_id": "17.7/changes/046", "db_id": "4567a5ad601fcfb6e367a0d5788654f3", "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": "6e6104594627174dfaa8204ac54cf50d", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}}, {"rule": 2, "type": "equivalent", "target": "8ed8073833432a5a8b59221fab2bfd05", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8ed8073833432a5a8b59221fab2bfd05", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "避免在 PL/Python 中处理 SQL 错误时泄漏内存", "evidence": {"same_day": true, "patch_ids": ["304183406b9fbfa71ce70fb98dd02b07"], "statement_hash": "9ed1c89d3ad5eea0e6de5ada0081665e4f99165f891937f5603d7020851959b0"}, "url": "/docs/compare/?release=18.1#18.1-da9fd9dc692db55b", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-ed5219393ef57bc7", "cves": [], "html": "<p>修复 <span>libpq</span> 对高位设置字符的跟踪输出（Ran Benita）<a href=\"https://postgr.es/c/0fedb3a27\">§</a></p>\n<p>在 <code>char</code> 被视为有符号类型的平台上，输出包含难看的 <code>\\xffffff</code> 装饰。</p>", "text": "修复 libpq 对高位设置字符的跟踪输出（Ran Benita）§ 在 char 被视为有符号类型的平台上，输出包含难看的 \\xffffff 装饰。", "title": "修复 libpq 对高位设置字符的跟踪输出", "commits": ["0fedb3a27"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "f4a9e45b6b449d212b51a10dbf78cb96f9160033e9eae742c1d58f963d70c7d9", "section_path": ["变更"], "commit_groups": [["0b274c475", "0cc540f0d", "0fedb3a27", "701a0bd56", "ae53537e2", "db9405493"]], "identity_text": "Fix libpq's trace output of characters with the high bit set (Ran Benita) On platforms where char is considered signed, the output included unsightly \\xffffff decoration.", "commit_aliases": ["0b274c475", "0cc540f0d", "0fedb3a27", "701a0bd56", "ae53537e2", "db9405493"], "source_commits": ["0fedb3a27"], "source_entry_id": "17.7/changes/047", "db_id": "87931fc83b65dbf519e06fa94b8c1eb9", "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9", "relations": [{"rule": 2, "type": "equivalent", "target": "3bc51d3cbf29233eb5a2902869262931", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}}, {"rule": 2, "type": "equivalent", "target": "d029b2954a7358bcafe9b5191abd9403", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}}, {"rule": 2, "type": "equivalent", "target": "e1f76def11aea8f159506dfe71889b8a", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3bc51d3cbf29233eb5a2902869262931", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 libpq 对高位设置字符的跟踪输出", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}, "url": "/docs/compare/?release=16.11#16.11-4c6d56806b038a85", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "d029b2954a7358bcafe9b5191abd9403", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 libpq 对高位设置字符的跟踪输出", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}, "url": "/docs/compare/?release=15.15#15.15-743e8f7b66bbb3b9", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "e1f76def11aea8f159506dfe71889b8a", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 libpq 对高位设置字符的跟踪输出", "evidence": {"same_day": true, "patch_ids": ["7222fe16981e529f65bb49eb1e199a8a"], "statement_hash": "9b85db1137c14ec5656bf0fc485a2943ab34a9fefc0f3c81ef6534e4cd12a1b9"}, "url": "/docs/compare/?release=14.20#14.20-93426fb27560b5e5", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}]}, {"id": "17.7-b2fb5b95a8bca3b8", "cves": [], "html": "<p>修复 <span>libpq</span> 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题（Ning Wu，Tom Lane）<a href=\"https://postgr.es/c/1c4671f7b\">§</a></p>\n<p>使用 GSSAPI 加密/解密传输数据的代码未能正确识别连接套接字上的错误条件，因为 Windows 报告这些错误的方式与其他平台不同。这导致在 Windows 上无法建立此类连接。</p>", "text": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题（Ning Wu，Tom Lane）§ 使用 GSSAPI 加密/解密传输数据的代码未能正确识别连接套接字上的错误条件，因为 Windows 报告这些错误的方式与其他平台不同。这导致在 Windows 上无法建立此类连接。", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "commits": ["1c4671f7b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "7d5eae58286de8d1200b2bb759fc11f88193c80b0dac097a2770514eb77e4ed6", "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": ["1c4671f7b"], "source_entry_id": "17.7/changes/048", "db_id": "a676ca60cf7c395fb8962ab60a474d3e", "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e", "relations": [{"rule": 2, "type": "equivalent", "target": "3832ee9d1af37cef22d9ed22d51db616", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}, {"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": "f5be3f6b8947f88fed54b1476ce5d760", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3832ee9d1af37cef22d9ed22d51db616", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 libpq 在 Windows 上 GSSAPI 逻辑中处理套接字相关错误的问题", "evidence": {"same_day": true, "patch_ids": ["f0205fc96ae7aa099587d15ffc5b8b43"], "statement_hash": "a697933e21baa20247c447c1011997c652387adcb7183a91d2cc940f1de7888e"}, "url": "/docs/compare/?release=18.1#18.1-476a2e50c1064c29", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-ea1ba6103ffdb14f", "cves": [], "html": "<p>修复继承表列上非继承而来的非空约束的转储问题（Dilip Kumar）<a href=\"https://postgr.es/c/c945b06d5\">§</a></p>\n<p>从早于 v18 的服务器转储时，<span>pg_dump</span> 未能保留这类约束。</p>", "text": "修复继承表列上非继承而来的非空约束的转储问题（Dilip Kumar）§ 从早于 v18 的服务器转储时，pg_dump 未能保留这类约束。", "title": "修复继承表列上非继承而来的非空约束的转储问题", "commits": ["c945b06d5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "65f52e9459c8866dd176a6cdd80263cbb0d0dd49d172442be2ee9c49480bd21b", "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": ["c945b06d5"], "source_entry_id": "17.7/changes/049", "db_id": "093d5c7edafa8bd73b4b72cdfe2bb656", "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90", "relations": [{"rule": 2, "type": "equivalent", "target": "85612db122ce32a9a8151af8dbfda6f6", "evidence": {"same_day": true, "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "85612db122ce32a9a8151af8dbfda6f6", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复继承表列上非继承而来的非空约束的转储问题", "evidence": {"same_day": true, "patch_ids": ["db74f7b93632cf3feac193a4a7cb92b1"], "statement_hash": "d1c264837bf2a17f1e917f30c81224f49f46e1a8e41803a62145abbe33b00e90"}, "url": "/docs/compare/?release=18.1#18.1-3a4e23af29635f95", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}]}, {"id": "17.7-562a0711918ab4f5", "cves": [], "html": "<p>在 <span>pg_dump</span> 中，导出订阅和事件触发器上的安全标签（Jian He，Fujii Masao）<a href=\"https://postgr.es/c/968141898\">§</a></p>\n<p>这些类型对象上的标签之前被遗漏了。</p>", "text": "在 pg_dump 中，导出订阅和事件触发器上的安全标签（Jian He，Fujii Masao）§ 这些类型对象上的标签之前被遗漏了。", "title": "在 pg_dump 中，导出订阅和事件触发器上的安全标签", "commits": ["968141898"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "60113ee50ba807e65fe6f43db93b73c6b75fb03dd6e368dbec918ea3921283ad", "section_path": ["变更"], "commit_groups": [["165b07efe", "176002c5b", "20b23784f", "295c0a644", "8e5b92928", "968141898", "dff7591a7"]], "identity_text": "In pg_dump, dump security labels on subscriptions and event triggers (Jian He, Fujii Masao) Labels on these types of objects were previously missed.", "commit_aliases": ["165b07efe", "176002c5b", "20b23784f", "295c0a644", "8e5b92928", "968141898", "dff7591a7"], "source_commits": ["968141898"], "source_entry_id": "17.7/changes/050", "db_id": "b38f7c6dc9500352199759c881c4807f", "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509", "relations": [{"rule": 2, "type": "equivalent", "target": "50a7eeaa4f31aad8bd17e15808635950", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}}, {"rule": 2, "type": "equivalent", "target": "a803d4701bd4f8354ba10f02b18df27e", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}}, {"rule": 2, "type": "equivalent", "target": "c6a6d9711c2c58d53b08a2a9891a8a9a", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}}, {"rule": 2, "type": "equivalent", "target": "e13ed7ef67353401115ce525a24fc966", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c6a6d9711c2c58d53b08a2a9891a8a9a", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "在 pg_dump 中，导出订阅和事件触发器上的安全标签", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}, "url": "/docs/compare/?release=16.11#16.11-6c2aa84d4024a0e3", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "e13ed7ef67353401115ce525a24fc966", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "在 pg_dump 中，导出订阅和事件触发器上的安全标签", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}, "url": "/docs/compare/?release=15.15#15.15-23ef2f7cfaa90f74", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "a803d4701bd4f8354ba10f02b18df27e", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "在 pg_dump 中，导出订阅和事件触发器上的安全标签", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}, "url": "/docs/compare/?release=14.20#14.20-d67d714c9bc3b202", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "50a7eeaa4f31aad8bd17e15808635950", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "在 pg_dump 中，导出订阅和事件触发器上的安全标签", "evidence": {"same_day": true, "patch_ids": ["50f3cb3b1bf425b80336cf780a8c577e"], "statement_hash": "d645a8cad88937b71cd73ff9934bfcc39fde4f22df7c653beb1408cf5201a509"}, "url": "/docs/compare/?release=13.23#13.23-4d6dd7514f9f0b0b", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-6339fccd8bd64678", "cves": [], "html": "<p>修复 <span>pg_dump</span> 中默认 ACL 和外键约束的排序（Kirill Reshke，Álvaro Herrera）<a href=\"https://postgr.es/c/e8d22095e\">§</a> <a href=\"https://postgr.es/c/49a09c6c5\">§</a> <a href=\"https://postgr.es/c/7419c99a2\">§</a></p>\n<p>确保这些数据库对象类型的排序一致，就像已经对其他对象类型所做的那样。</p>", "text": "修复 pg_dump 中默认 ACL 和外键约束的排序（Kirill Reshke，Álvaro Herrera）§ § § 确保这些数据库对象类型的排序一致，就像已经对其他对象类型所做的那样。", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "commits": ["49a09c6c5", "7419c99a2", "e8d22095e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "bc6e4667dddbca29c02822b834dab1dc4a25586940b2c9aea2897a769149f15e", "section_path": ["变更"], "commit_groups": [["05341b2e9", "4948bb9df", "7652142f4", "b61a5c4be", "e68fa9a83", "e8d22095e", "fbf967e99"], ["06c1ee6b7", "162e70ea0", "4921a5972", "4cc3b4445", "6062c3db3", "7419c99a2", "d20df9590"], ["090c9c960", "22c6a44f0", "412d29fd2", "49a09c6c5", "ad4412480", "c6dca7c3d", "fb75e1ef7"]], "identity_text": "Fix pg_dump's sorting of default ACLs and foreign key constraints (Kirill Reshke, Álvaro Herrera) Ensure consistent ordering of these database object types, as was already done for other object types.", "commit_aliases": ["05341b2e9", "06c1ee6b7", "090c9c960", "162e70ea0", "22c6a44f0", "412d29fd2", "4921a5972", "4948bb9df", "49a09c6c5", "4cc3b4445", "6062c3db3", "7419c99a2", "7652142f4", "ad4412480", "b61a5c4be", "c6dca7c3d", "d20df9590", "e68fa9a83", "e8d22095e", "fb75e1ef7", "fbf967e99"], "source_commits": ["49a09c6c5", "7419c99a2", "e8d22095e"], "source_entry_id": "17.7/changes/051", "db_id": "9fe254aca98ebddd5297b74ffc1dfbb8", "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea", "relations": [{"rule": 2, "type": "related", "target": "0e30416d744287728e67dfa91ecd903e", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}}, {"rule": 2, "type": "equivalent", "target": "5d051ea674aeb3f3b326a89ded32901f", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}}, {"rule": 2, "type": "equivalent", "target": "5d200915f65582fc2484f8ef24cc008e", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}}, {"rule": 2, "type": "equivalent", "target": "9bedf67fa0860d232401ec8b1b5b9bf5", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}}, {"rule": 2, "type": "equivalent", "target": "c1d4d17be6dfafe4eaeda5f8c6d009ad", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0e30416d744287728e67dfa91ecd903e", "kind": "related", "version": "18.1", "label": "18.1", "title": "修复 pg_dump 对外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["754d79e483197bda5a8bed16ebe180ac"]}, "url": "/docs/compare/?release=18.1#18.1-596e4425a92cbba4", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}, {"db_id": "c1d4d17be6dfafe4eaeda5f8c6d009ad", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}, "url": "/docs/compare/?release=16.11#16.11-498c398eb10cb9bf", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "5d200915f65582fc2484f8ef24cc008e", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}, "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": "equivalent", "version": "14.20", "label": "14.20", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}, "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": "equivalent", "version": "13.23", "label": "13.23", "title": "修复 pg_dump 中默认 ACL 和外键约束的排序", "evidence": {"same_day": true, "patch_ids": ["1679aedbe4ad8389b89513ef7a8e82cb", "754d79e483197bda5a8bed16ebe180ac", "be31a2f210d7f22eae421e92aa4b1823"], "statement_hash": "88506846a424a77491ecd66026cec373544e59cfae9f2c596f71a0926fbfb8ea"}, "url": "/docs/compare/?release=13.23#13.23-9e5d6f5c6fe46680", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-0d2ff278f612b143", "cves": [], "html": "<p>在 <span>pg_dump</span> 中，为单独导出的域约束的注释标记正确的依赖关系（Noah Misch）<a href=\"https://postgr.es/c/e127764b6\">§</a></p>\n<p>此错误可能导致并行 <span>pg_restore</span> 在约束本身恢复之前就尝试创建注释。</p>", "text": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系（Noah Misch）§ 此错误可能导致并行 pg_restore 在约束本身恢复之前就尝试创建注释。", "title": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系", "commits": ["e127764b6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "b8f9e23153450351d9121e458703d0114d704a3b715c838e85d1afbdb6408bd2", "section_path": ["变更"], "commit_groups": [["0773f3a87", "3cf328eca", "4ad846445", "85d6ed31f", "a685c057a", "c044b50d1", "e127764b6"]], "identity_text": "In pg_dump, label comments for separately-dumped domain constraints with the proper dependency (Noah Misch) This error could lead to parallel pg_restore attempting to create the comment before the constraint itself has been restored.", "commit_aliases": ["0773f3a87", "3cf328eca", "4ad846445", "85d6ed31f", "a685c057a", "c044b50d1", "e127764b6"], "source_commits": ["e127764b6"], "source_entry_id": "17.7/changes/052", "db_id": "6d2ebbc7bf31a2fbcaaa5897ad5b55a9", "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419", "relations": [{"rule": 2, "type": "equivalent", "target": "5212881b90e8e1e9551fbe13b95d0ebe", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}}, {"rule": 2, "type": "equivalent", "target": "57770ce46bea4407a1c3d56a9de88c89", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}}, {"rule": 2, "type": "equivalent", "target": "829eff490d670b365e978ff8d767ec0b", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}}, {"rule": 2, "type": "equivalent", "target": "c6f339abde1f188511906bff28c51578", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c6f339abde1f188511906bff28c51578", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}, "url": "/docs/compare/?release=16.11#16.11-8bdbdcce891001b0", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "5212881b90e8e1e9551fbe13b95d0ebe", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}, "url": "/docs/compare/?release=15.15#15.15-ff1fe39cc66dc574", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "57770ce46bea4407a1c3d56a9de88c89", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}, "url": "/docs/compare/?release=14.20#14.20-4a74c2ab484b5e15", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "829eff490d670b365e978ff8d767ec0b", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "在 pg_dump 中，为单独导出的域约束的注释标记正确的依赖关系", "evidence": {"same_day": true, "patch_ids": ["f5ee4fcdb9591dfab45e16d82b5778a9"], "statement_hash": "1f7f6f21e0a04820a9643f0abe96793463cd605b1750756f5826907a3cae8419"}, "url": "/docs/compare/?release=13.23#13.23-bf93dd5cf806538c", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-746daa75c18338eb", "cves": [], "html": "<p>在 <span>pg_restore</span> 中，跳过未被恢复的发布和订阅的注释和安全标签（Jian He，Fujii Masao）<a href=\"https://postgr.es/c/f7f9c5d65\">§</a> <a href=\"https://postgr.es/c/dc8aa2f58\">§</a></p>\n<p>当指定 <code>--no-publications</code> 或 <code>--no-subscriptions</code> 时，不要为这些对象发出 <code>COMMENT</code> 或 <code>SECURITY LABEL</code> 命令。</p>", "text": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签（Jian He，Fujii Masao）§ § 当指定 --no-publications 或 --no-subscriptions 时，不要为这些对象发出 COMMENT 或 SECURITY LABEL 命令。", "title": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签", "commits": ["dc8aa2f58", "f7f9c5d65"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "337209dfe3ec6ab4463446d08f6964a1fa4f58e3e2797b5edd53648d9d08d0e9", "section_path": ["变更"], "commit_groups": [["0870397cc", "45f50c995", "5f42008f9", "7aecc00b3", "a4dbb11bb", "bc476f8b8", "dc8aa2f58"], ["77d2b155c", "8fbd1f8ea", "97527a5e6", "b54e8dbfe", "c8ed16050", "db900ec35", "f7f9c5d65"]], "identity_text": "In pg_restore, skip comments and security labels for publications and subscriptions that are not being restored (Jian He, Fujii Masao) Do not emit COMMENT or SECURITY LABEL commands for these objects when --no-publications or --no-subscriptions is specified.", "commit_aliases": ["0870397cc", "45f50c995", "5f42008f9", "77d2b155c", "7aecc00b3", "8fbd1f8ea", "97527a5e6", "a4dbb11bb", "b54e8dbfe", "bc476f8b8", "c8ed16050", "db900ec35", "dc8aa2f58", "f7f9c5d65"], "source_commits": ["dc8aa2f58", "f7f9c5d65"], "source_entry_id": "17.7/changes/053", "db_id": "8c75b52b2c1a02a7bd09497bb056910a", "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd", "relations": [{"rule": 2, "type": "equivalent", "target": "73000c025552fa1fccb057306989e471", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}}, {"rule": 2, "type": "equivalent", "target": "992fe32f696a3670a51ae4da2ac52324", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}}, {"rule": 2, "type": "equivalent", "target": "9e482564728f473f21c7b6e2b60cda0e", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}}, {"rule": 2, "type": "equivalent", "target": "a9c9a0e07839d2badf998df5894b4d5f", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "992fe32f696a3670a51ae4da2ac52324", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}, "url": "/docs/compare/?release=16.11#16.11-c9a713c822bed049", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "73000c025552fa1fccb057306989e471", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}, "url": "/docs/compare/?release=15.15#15.15-8108f66965f91937", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "a9c9a0e07839d2badf998df5894b4d5f", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}, "url": "/docs/compare/?release=14.20#14.20-76f716601e5da019", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "9e482564728f473f21c7b6e2b60cda0e", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "在 pg_restore 中，跳过未被恢复的发布和订阅的注释和安全标签", "evidence": {"same_day": true, "patch_ids": ["b00e0d3d5b5c7accc291166eb79e6779", "c78160dcc18e275f1af7bef62bd392b3"], "statement_hash": "13c9f3d900186c385d309baab51ef957ad186df62425a49a15054c10d707ffdd"}, "url": "/docs/compare/?release=13.23#13.23-e41dd4a1625a9c64", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-2c512121eb50a880", "cves": [], "html": "<p>修复 <span>pg_dump</span> 和 <span>pg_restore</span> 中数据压缩逻辑的各种错误（Daniel Gustafsson，Tom Lane）<a href=\"https://postgr.es/c/92268b35d\">§</a> <a href=\"https://postgr.es/c/bf18e9bd7\">§</a> <a href=\"https://postgr.es/c/2efca1633\">§</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": ["2efca1633", "92268b35d", "bf18e9bd7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "c24997df03b09bf89e01e7fcac0b5a8bd7d422365684376563c9fe9dfe3fa099", "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": ["2efca1633", "92268b35d", "bf18e9bd7"], "source_entry_id": "17.7/changes/054", "db_id": "f2020f100f9176ff2a2e8a154fa90714", "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": "db9de757f72a73bd069a8b786f5b8120", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "db9de757f72a73bd069a8b786f5b8120", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pg_dump 和 pg_restore 中数据压缩逻辑的各种错误", "evidence": {"same_day": true, "patch_ids": ["34d09b07f99c29b50cf53cc13100ea10", "4eef07986dd4d4d15a60a29e5a15998d", "c6e514b9bc3c0e05d2b6d2fc63af7a54"], "statement_hash": "e1d5e819c74cee28f2154059267d12fd8e6cfc4c9d5affbaf9861a9f4788798c"}, "url": "/docs/compare/?release=18.1#18.1-939176032400286d", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-be37552c2ac3a78e", "cves": [], "html": "<p>修复 <span>pgbench</span> 以在启动 <code>COPY</code> 操作时妥善报告错误并退出（Anthonin Bonnefoy）<a href=\"https://postgr.es/c/de6de069d\">§</a></p>\n<p><span>pgbench</span> 不打算支持这种情况，但之前会进入无限循环。</p>", "text": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出（Anthonin Bonnefoy）§ pgbench 不打算支持这种情况，但之前会进入无限循环。", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "commits": ["de6de069d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "d728a8abc78af4f8f983a85c2b91cea6e17260c5e692fdfc60db9cf1579a4b7a", "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": ["de6de069d"], "source_entry_id": "17.7/changes/055", "db_id": "0ab8c685f0a9c83205700ee9f16ec69d", "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb", "relations": [{"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"}}, {"rule": 2, "type": "equivalent", "target": "9a22121acd6baa6a9fb3c0a600e6f745", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "9a22121acd6baa6a9fb3c0a600e6f745", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pgbench 以在启动 COPY 操作时妥善报告错误并退出", "evidence": {"same_day": true, "patch_ids": ["1d095caebd3e91308930c0f046a8615d"], "statement_hash": "b9c6e08e4a0d18e06d97c410e1ac9358f7012ae1718e6db0cee8ee8626b7d2eb"}, "url": "/docs/compare/?release=18.1#18.1-cccbae91c7612842", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-180d8349ffb479b3", "cves": [], "html": "<p>修复 <span>pgbench</span> 的多错误报告（Yugo Nagata）<a href=\"https://postgr.es/c/a912118c6\">§</a></p>\n<p>在连续两次 <code>PQgetResult</code> 调用都失败的情况下， <span>pgbench</span> 可能报告错误的错误消息。</p>", "text": "修复 pgbench 的多错误报告（Yugo Nagata）§ 在连续两次 PQgetResult 调用都失败的情况下， pgbench 可能报告错误的错误消息。", "title": "修复 pgbench 的多错误报告", "commits": ["a912118c6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "76920e29d63a543a72a86ab2437afd93b68ed5968db104ba5c7756fe18cb9a5c", "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": ["a912118c6"], "source_entry_id": "17.7/changes/056", "db_id": "ac7703f3c51d491b3572192678a5d998", "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604", "relations": [{"rule": 2, "type": "equivalent", "target": "1d96ae50e45c2122b3c99a80eb6187c3", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}, {"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": "e0ccdf500bb8f7ee5932c7d3db2e536e", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1d96ae50e45c2122b3c99a80eb6187c3", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pgbench 的多错误报告", "evidence": {"same_day": true, "patch_ids": ["a5b36b8efb6e0c7a3849524c97a420e5"], "statement_hash": "5a1e945c185bdfb836e9ed6ea3c7c6dcdc70d0b00e3add742a673cd7968eb604"}, "url": "/docs/compare/?release=18.1#18.1-1b36133d506932f3", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-f15c7a567546a9d4", "cves": [], "html": "<p>在 <span>pgbench</span> 中，修复流水线模式下关于错误的错误断言（Yugo Nagata）<a href=\"https://postgr.es/c/f39d9164b\">§</a></p>", "text": "在 pgbench 中，修复流水线模式下关于错误的错误断言（Yugo Nagata）§", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "commits": ["f39d9164b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "18beb1d179ebb0ab3ef2d8c7557939433d3a440c3b7d4c7ed8f55b716072603f", "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": ["f39d9164b"], "source_entry_id": "17.7/changes/057", "db_id": "c29def4a30c507bcae5d3354625ab08e", "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9", "relations": [{"rule": 2, "type": "equivalent", "target": "43ed98fa322ca8711e3dbbd5e9dc0db8", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}}, {"rule": 2, "type": "equivalent", "target": "8c4b9756ea8e54675c2636e769219add", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "43ed98fa322ca8711e3dbbd5e9dc0db8", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "在 pgbench 中，修复流水线模式下关于错误的错误断言", "evidence": {"same_day": true, "patch_ids": ["f0e6502c068cd0b05ad542efb11a232c"], "statement_hash": "c50d603a6fb129cae06cebd4c235fac3d99cea47d3329930dbc75796a0ec35f9"}, "url": "/docs/compare/?release=18.1#18.1-b61a0464e2059730", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-b1cf6e244790fd85", "cves": [], "html": "<p>修复 <span>pg_combinebackup</span> 中每个文件的内存泄漏（Tom Lane）<a href=\"https://postgr.es/c/4eb6992af\">§</a></p>", "text": "修复 pg_combinebackup 中每个文件的内存泄漏（Tom Lane）§", "title": "修复 pg_combinebackup 中每个文件的内存泄漏", "commits": ["4eb6992af"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "663b007391675da7036fc4530958a99be32b3d72412cd424351ff39d181593f0", "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": ["4eb6992af"], "source_entry_id": "17.7/changes/058", "db_id": "027928a265dc472699b9bfa81f7bcb4c", "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86", "relations": [{"rule": 2, "type": "equivalent", "target": "7e8fa99b0b4955f6b3cb8bd43181225f", "evidence": {"same_day": true, "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7e8fa99b0b4955f6b3cb8bd43181225f", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 pg_combinebackup 中每个文件的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["4adc1ba9937db7990ee1e4b0eed20095"], "statement_hash": "cfb0b2884d442379e85fa76d1328a0c95c85939f1727ad5b8efc4d89d3dd1b86"}, "url": "/docs/compare/?release=18.1#18.1-e9df74682a19abe9", "source_url": "/docs/release/18.1/#RELEASE-18-1-CHANGES"}]}, {"id": "17.7-f96cf4298c654962", "cves": [], "html": "<p>确保 <code>contrib/pg_buffercache</code> 函数可以被取消（Satyanarayana Narlapuram，Yuhang Qiu）<a href=\"https://postgr.es/c/b6090ed96\">§</a></p>\n<p>某些代码路径能够长时间运行而不检查中断。</p>", "text": "确保 contrib/pg_buffercache 函数可以被取消（Satyanarayana Narlapuram，Yuhang Qiu）§ 某些代码路径能够长时间运行而不检查中断。", "title": "确保 contrib/pg_buffercache 函数可以被取消", "commits": ["b6090ed96"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "e4f7847008ef92a093ef07d35893be87ce588fdda066f78a1ee493ee2da21eab", "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": ["8ae0f6a0c", "b6090ed96"], "source_entry_id": "17.7/changes/059", "db_id": "ee81b22deb19121826702e15ee5489ea", "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5", "relations": [{"rule": 2, "type": "equivalent", "target": "23b0ca06794cbfef601b73e5a2401894", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}}, {"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"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "23b0ca06794cbfef601b73e5a2401894", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "确保 contrib/pg_buffercache 函数可以被取消", "evidence": {"same_day": true, "patch_ids": ["d2b70a45c15a7f7e00e59b3284c07ad6", "f86d6a1c7709338528c20336c0252405"], "statement_hash": "344e018da37d95afbc286749fed1e20d7328753b9e73f81484fee0e1e4996dc5"}, "url": "/docs/compare/?release=18.1#18.1-1f106ef831d50ecf", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-56eb4d27523e9522", "cves": [], "html": "<p>修复 <code>contrib/pg_prewarm</code> 对索引的权限检查（Ayush Vatsa，Nathan Bossart）<a href=\"https://postgr.es/c/a0551bc57\">§</a> <a href=\"https://postgr.es/c/d4e8c37cc\">§</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": ["a0551bc57", "d4e8c37cc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "2fb6a82058585fe4ba2714e17aba3208d2a136838ef9a7cbcb39d51c4cafdb62", "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": ["a0551bc57", "d4e8c37cc"], "source_entry_id": "17.7/changes/060", "db_id": "2c079e365c3426a6ab1ebdaac4390c79", "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": "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": "7129d623484df099235339952f193f4c", "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": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7129d623484df099235339952f193f4c", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 contrib/pg_prewarm 对索引的权限检查", "evidence": {"same_day": true, "patch_ids": ["593f9867c4bc16279f7375b5d5b7bfbf", "8c7292bf48a3ed03b018b065e91c99c2"], "statement_hash": "63d7be72922345e05e8da847c09e4ceabcc0c7cc62752dd3d2faf59e861df9ef"}, "url": "/docs/compare/?release=18.1#18.1-f8e1ff87a5a4083e", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a0ddb7978278cea0", "cves": [], "html": "<p>使 <code>contrib/pgstattuple</code> 更健壮地处理空页面或无效索引页面（Nitin Motiani）<a href=\"https://postgr.es/c/036decbba\">§</a></p>\n<p>将全零页面计为空闲空间，并忽略根据页面特殊空间大小检查判定为无效的页面。B-树索引的代码已经将全零页面计为空闲空间，但 hash 和 gist 的代码会报告错误并退出，这被发现对用户不太友好。同样，使这三种情况在忽略损坏页面而非抛出错误方面保持一致。</p>", "text": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面（Nitin Motiani）§ 将全零页面计为空闲空间，并忽略根据页面特殊空间大小检查判定为无效的页面。B-树索引的代码已经将全零页面计为空闲空间，但 hash 和 gist 的代码会报告错误并退出，这被发现对用户不太友好。同样，使这三种情况在忽略损坏页面而非抛出错误方面保持一致。", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "commits": ["036decbba"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "05049f14cfe0ccd45e067ec54f4744f3b05280c65c658813001b52ae47923f5c", "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": ["036decbba"], "source_entry_id": "17.7/changes/061", "db_id": "3be631a7028f49faa7a328c190d249c2", "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d", "relations": [{"rule": 2, "type": "equivalent", "target": "7cf5a3928b0125574395c382ed52c5b1", "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": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7cf5a3928b0125574395c382ed52c5b1", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "使 contrib/pgstattuple 更健壮地处理空页面或无效索引页面", "evidence": {"same_day": true, "patch_ids": ["1ec2ccb4b684e5f57590aab9c7c2a444"], "statement_hash": "c02e1d95147e0120948e2eb5839f7964fb935bba934375858d2457ca4e09c98d"}, "url": "/docs/compare/?release=18.1#18.1-e14a404bd57c041c", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-a358469faddcaf65", "cves": [], "html": "<p>加固我们的读写屏障宏以满足 Clang 的要求（Thomas Munro）<a href=\"https://postgr.es/c/03d9140cb\">§</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": ["03d9140cb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "d91cfbe5507b0a2bdbc3d42fdf796fa668c7e0fb8342d4b5c38282dc12a36ed2", "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": ["03d9140cb"], "source_entry_id": "17.7/changes/062", "db_id": "e3b76d3ec7d1f519b67e8ae7478d0aaf", "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": "9973d17e573aa27107b7da92a46de435", "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"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9973d17e573aa27107b7da92a46de435", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "加固我们的读写屏障宏以满足 Clang 的要求", "evidence": {"same_day": true, "patch_ids": ["b4a97942a0ea85e91703f83ee712a3fd"], "statement_hash": "c12ad45ebeb9c503935945a282e17d8d51255745e7eb3b429b9a388f273c231f"}, "url": "/docs/compare/?release=18.1#18.1-01cf9fc9542209e8", "source_url": "/docs/release/18.1/#RELEASE-18-1-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": "17.7-b8ab60aa2bde35d9", "cves": [], "html": "<p>修复使用 LLVM 21 及更高版本的构建（Holger Hoffstätte）<a href=\"https://postgr.es/c/755f01ad7\">§</a></p>", "text": "修复使用 LLVM 21 及更高版本的构建（Holger Hoffstätte）§", "title": "修复使用 LLVM 21 及更高版本的构建", "commits": ["755f01ad7"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "9935ae080e46ee28556d7b4137fbe5ceecf0fb2b01e7b1ff0ac63b36faf20ccb", "section_path": ["变更"], "commit_groups": [["2670881af", "282d0bdee", "59d6e843e", "72a24bebc", "755f01ad7", "c11ac811a", "fbfc36e94"]], "identity_text": "Fix building with LLVM version 21 and later (Holger Hoffstätte)", "commit_aliases": ["2670881af", "282d0bdee", "59d6e843e", "72a24bebc", "755f01ad7", "c11ac811a", "fbfc36e94"], "source_commits": ["755f01ad7"], "source_entry_id": "17.7/changes/063", "db_id": "24b4031db588e6778d74612aa49172b2", "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c", "relations": [{"rule": 2, "type": "equivalent", "target": "152565dd357e9e4fcba3b2d002b2b0c7", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}}, {"rule": 2, "type": "equivalent", "target": "aab0b53feda88c49c8d1c8ccdd1a6349", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}}, {"rule": 2, "type": "equivalent", "target": "da5c567c128753d27a14a732c1480620", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}}, {"rule": 2, "type": "equivalent", "target": "fcb8805d652dd1509e939426bac8ece8", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "aab0b53feda88c49c8d1c8ccdd1a6349", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "修复使用 LLVM 21 及更高版本的构建", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}, "url": "/docs/compare/?release=16.11#16.11-1c0eb680df6b12a9", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}, {"db_id": "da5c567c128753d27a14a732c1480620", "kind": "equivalent", "version": "15.15", "label": "15.15", "title": "修复使用 LLVM 21 及更高版本的构建", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}, "url": "/docs/compare/?release=15.15#15.15-655605b314358213", "source_url": "/docs/release/15.15/#ZH-AUTO-RELEASE-15-SECT2-6"}, {"db_id": "fcb8805d652dd1509e939426bac8ece8", "kind": "equivalent", "version": "14.20", "label": "14.20", "title": "修复使用 LLVM 21 及更高版本的构建", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}, "url": "/docs/compare/?release=14.20#14.20-78426d970b4ba2fa", "source_url": "/docs/release/14.20/#ZH-AUTO-RELEASE-14-SECT2-6"}, {"db_id": "152565dd357e9e4fcba3b2d002b2b0c7", "kind": "equivalent", "version": "13.23", "label": "13.23", "title": "修复使用 LLVM 21 及更高版本的构建", "evidence": {"same_day": true, "patch_ids": ["63496bd581c70532b905b77339cefed9"], "statement_hash": "ecfa565a92ce16d10367034784e04bdc340da125574863a7c980e80e24ec746c"}, "url": "/docs/compare/?release=13.23#13.23-b3c435bdb8475244", "source_url": "/docs/release/13.23/#id-1.11.6.6.6"}]}, {"id": "17.7-a705ccb5fb05c939", "cves": [], "html": "<p>使用 meson 构建时，对 <code>numeric.c</code> 和 <code>checksum.c</code> 应用与 makefile 构建相同的特殊优化标志（Nathan Bossart，Jeff Davis）<a href=\"https://postgr.es/c/15f9eeef6\">§</a> <a href=\"https://postgr.es/c/e25453a36\">§</a></p>\n<p>对两个文件都使用 <code>-ftree-vectorize</code>，并对 <code>checksum.c</code> 额外使用 <code>-funroll-loops</code>，以匹配 makefile 长期以来的做法。</p>", "text": "使用 meson 构建时，对 numeric.c 和 checksum.c 应用与 makefile 构建相同的特殊优化标志（Nathan Bossart，Jeff Davis）§ § 对两个文件都使用 -ftree-vectorize，并对 checksum.c 额外使用 -funroll-loops，以匹配 makefile 长期以来的做法。", "title": "使用 meson 构建时，对 numeric.c 和 checksum.c 应用与 makefile 构建相同的特殊优化标志", "commits": ["15f9eeef6", "e25453a36"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "5b4f812b60d2a228f126e7b87b089e144a3eabf3eb2f0d05c723630f19c5d10f", "section_path": ["变更"], "commit_groups": [["15f9eeef6", "509c77929", "87ea6e9b6", "9016fa7e3"], ["2de24ca6c", "9af672bcb", "a7024398b", "e25453a36"]], "identity_text": "When building with meson, apply the same special optimization flags for numeric.c and checksum.c as the makefile build does (Nathan Bossart, Jeff Davis) Use -ftree-vectorize for both files, as well as -funroll-loops for checksum.c, to match what the makefiles have long done.", "commit_aliases": ["15f9eeef6", "2de24ca6c", "509c77929", "87ea6e9b6", "9016fa7e3", "9af672bcb", "a7024398b", "e25453a36"], "source_commits": ["15f9eeef6", "e25453a36"], "source_entry_id": "17.7/changes/064", "db_id": "02188a90d3a89031c8844fb140ca4a41", "patch_ids": ["85b2833775915e92f73ba616642dba19", "e1289b1a4848e222a86987382a2868c2"], "statement_hash": "b2e5bdb435971458fc6ffd0aa86d994c0f2e4a706217dc77c6b8d0fcb2bb90d5", "relations": [{"rule": 2, "type": "equivalent", "target": "6b2dc4e738d1b1e9d5879b19df0c45be", "evidence": {"same_day": true, "patch_ids": ["85b2833775915e92f73ba616642dba19", "e1289b1a4848e222a86987382a2868c2"], "statement_hash": "b2e5bdb435971458fc6ffd0aa86d994c0f2e4a706217dc77c6b8d0fcb2bb90d5"}}], "version": "17.7", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "6b2dc4e738d1b1e9d5879b19df0c45be", "kind": "equivalent", "version": "16.11", "label": "16.11", "title": "使用 meson 构建时，对 numeric.c 和 checksum.c 应用与 makefile 构建相同的特殊优化标志", "evidence": {"same_day": true, "patch_ids": ["85b2833775915e92f73ba616642dba19", "e1289b1a4848e222a86987382a2868c2"], "statement_hash": "b2e5bdb435971458fc6ffd0aa86d994c0f2e4a706217dc77c6b8d0fcb2bb90d5"}, "url": "/docs/compare/?release=16.11#16.11-9acb697c19f80600", "source_url": "/docs/release/16.11/#RELEASE-16-11-CHANGES"}]}, {"id": "17.7-5aeee6b10815f848", "cves": [], "html": "<p>修复 PGXS 构建基础设施以支持为扩展构建 NLS <code>po</code> 文件（Ryo Matsumura）<a href=\"https://postgr.es/c/a8933194e\">§</a></p>", "text": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件（Ryo Matsumura）§", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "commits": ["a8933194e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.7/#RELEASE-17-7-CHANGES", "source_hash": "337428a9aa8b657f94b31a0bac58a69886f3dc25634a3e7cceb0a1bbd5da6cb9", "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": ["a8933194e"], "source_entry_id": "17.7/changes/065", "db_id": "711c7248f36605616eeeb824bcc65676", "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": "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"}}, {"rule": 2, "type": "equivalent", "target": "d67ac864844bc85b56699c92c83fc1da", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}}], "version": "17.7", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d67ac864844bc85b56699c92c83fc1da", "kind": "equivalent", "version": "18.1", "label": "18.1", "title": "修复 PGXS 构建基础设施以支持为扩展构建 NLS po 文件", "evidence": {"same_day": true, "patch_ids": ["7ddf0a3958f313c5fa75ca694052c55e"], "statement_hash": "2ca0251a2ba28046a94807acfb884e8c62e152a0aff4d67baabf8f4a86329212"}, "url": "/docs/compare/?release=18.1#18.1-dd957d885d3cf6e3", "source_url": "/docs/release/18.1/#RELEASE-18-1-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"}]}]}, {"date": "2025-08-14", "build": "17.6", "major": "17", "minor": 6, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.6", "eol_date": "2029-11-08", "date_text": "2025-08-14", "supported": true, "manual_url": "/docs/17/release-17-6.html", "source_url": "/docs/release/17.6/", "entry_count": 71, "placeholder": false, "content_hash": "334fcbd0663c5426b3d5831feff038bfe0d894b743e16346c832f402fd6926cc", "manual_build": "17.12", "source_as_of": "", "changes_count": 71, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你有任何 BRIN <code>numeric_minmax_multi_ops</code> 索引，建议在更新后对其重建索引。见下文第四条变更记录。</p>\n<p>此外，如果你是从早于 17.5 的版本升级，请参见<a href=\"/docs/17/release-17-5.html\" title=\"E.7. 17.5 发布\">第 E.7 节</a>。</p>", "compatibility_count": 0, "label": "17.6", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 457, "support_days": 1090, "entries": [{"id": "17.6-235b908f6ae5f3ee", "cves": ["CVE-2017-7484", "CVE-2025-8713"], "html": "<p>加强规划器估算函数中的安全检查（Dean Rasheed）<a href=\"https://postgr.es/c/a85eddab2\">§</a></p>\n<p>针对 CVE-2017-7484 的修复及后续修复，旨在防止泄漏函数被应用于调用用户无权读取的列的统计数据。在该保护措施中发现了两个漏洞。其中一个漏洞适用于分区和继承层次结构，其中表上的 RLS 策略应当限制对统计数据的访问，但实际上并未限制。</p>\n<p>另一个漏洞适用于查询通过视图访问表的情况，其中视图所有者有权读取底层表，但调用用户没有视图的权限。视图所有者的权限满足了安全检查，而泄漏函数会在我们检查调用用户对视图的权限之前就被应用于底层表的统计数据。此问题已通过在规划开始时对视图进行安全检查来修复。这可能会导致权限错误比之前更早发生。</p>\n<p><span>PostgreSQL</span> 项目感谢 Dean Rasheed 报告此问题。（CVE-2025-8713）</p>", "text": "加强规划器估算函数中的安全检查（Dean Rasheed）§ 针对 CVE-2017-7484 的修复及后续修复，旨在防止泄漏函数被应用于调用用户无权读取的列的统计数据。在该保护措施中发现了两个漏洞。其中一个漏洞适用于分区和继承层次结构，其中表上的 RLS 策略应当限制对统计数据的访问，但实际上并未限制。 另一个漏洞适用于查询通过视图访问表的情况，其中视图所有者有权读取底层表，但调用用户没有视图的权限。视图所有者的权限满足了安全检查，而泄漏函数会在我们检查调用用户对视图的权限之前就被应用于底层表的统计数据。此问题已通过在规划开始时对视图进行安全检查来修复。这可能会导致权限错误比之前更早发生。 PostgreSQL 项目感谢 Dean Rasheed 报告此问题。（CVE-2025-8713）", "title": "加强规划器估算函数中的安全检查", "commits": ["a85eddab2"], "section": "变更", "category": "security", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "55fa416fb45c9a8a27bada8a709e7c891cbd766303bf526d1b96612675271707", "section_path": ["变更"], "commit_groups": [["22424953c", "415badc13", "533211ded", "64f77c6a6", "7e86da539", "a85eddab2", "afe38fb6a"]], "identity_text": "Tighten security checks in planner estimation functions (Dean Rasheed) The fix for CVE-2017-7484, plus followup fixes, intended to prevent leaky functions from being applied to statistics data for columns that the calling user does not have permission to read. Two gaps in that protection have been found. One gap applies to partitioning and inheritance hierarchies where RLS policies on the tables should restrict access to statistics data, but did not. The other gap applies to cases where the query accesses a table via a view, and the view owner has permissions to read the underlying table but the calling user does not have permissions on the view. The view owner's permissions satisfied the security checks, and the leaky function would get applied to the underlying table's statistics before we check the calling user's permissions on the view. This has been fixed by making security checks on views occur at the start of planning. That might cause permissions failures to occur earlier than before. The PostgreSQL Project thanks Dean Rasheed for reporting this problem. (CVE-2025-8713)", "commit_aliases": ["22424953c", "415badc13", "533211ded", "64f77c6a6", "7e86da539", "a85eddab2", "afe38fb6a"], "source_commits": ["a85eddab2"], "source_entry_id": "17.6/changes/001", "db_id": "4008a7a7d764b0695b4f8cb5eecbc29c", "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c", "relations": [{"rule": 2, "type": "equivalent", "target": "61dc46af7f1da97de62a07c6c1063f4e", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}}, {"rule": 2, "type": "equivalent", "target": "672931f9e1dc343ad721ab8a9cdda772", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}}, {"rule": 2, "type": "equivalent", "target": "bc9c4792b1c85d7d0f1221cc9bbea0a3", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}}, {"rule": 2, "type": "equivalent", "target": "db7e96e5834fa62952eee3d912b2a351", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}}], "version": "17.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "672931f9e1dc343ad721ab8a9cdda772", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "加强规划器估算函数中的安全检查", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}, "url": "/docs/compare/?release=16.10#16.10-423dcb75ca30c201", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "bc9c4792b1c85d7d0f1221cc9bbea0a3", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "加强规划器估算函数中的安全检查", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}, "url": "/docs/compare/?release=15.14#15.14-52cce071b03c8e4a", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "61dc46af7f1da97de62a07c6c1063f4e", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "加强规划器估算函数中的安全检查", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}, "url": "/docs/compare/?release=14.19#14.19-37596904cdde57bc", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "db7e96e5834fa62952eee3d912b2a351", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "加强规划器估算函数中的安全检查", "evidence": {"same_day": true, "patch_ids": ["0aa32d55e226afa9d177c29444a6c052"], "statement_hash": "b5a2c913f8e54333d177ebe317094715182eb911d0a897cf899b5caac948654c"}, "url": "/docs/compare/?release=13.22#13.22-639d2c839166c19d", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-5be27cec56fb902a", "cves": ["CVE-2025-8714"], "html": "<p>防止 <span>pg_dump</span> 脚本被用于攻击执行恢复的用户（Nathan Bossart）<a href=\"https://postgr.es/c/575f54d4c\">§</a></p>\n<p>由于导出/恢复操作通常涉及以超级用户身份运行 SQL 命令，目标数据库安装必须信任源服务器。然而，这并不意味着执行 <span>psql</span> 进行恢复的操作系统用户也需要信任源服务器。这里的风险是，已获得源服务器超级用户级别控制权的攻击者可能会使其生成被解释为 <span>psql</span> 元命令的文本。这将提供对恢复用户自身帐户的 shell 级别访问，独立于对目标数据库的访问。</p>\n<p>为了提供确保不会发生此问题的正面保证，扩展了 <span>psql</span>，增加了 <code>\\restrict</code> 命令来阻止执行后续的元命令，并让 <span>pg_dump</span> 在来自源服务器的任何数据之前发出该命令。</p>\n<p>PostgreSQL 项目感谢 Martin Rakhmanov、Matthieu Denais 和 RyotaK 报告此问题。（CVE-2025-8714）</p>", "text": "防止 pg_dump 脚本被用于攻击执行恢复的用户（Nathan Bossart）§ 由于导出/恢复操作通常涉及以超级用户身份运行 SQL 命令，目标数据库安装必须信任源服务器。然而，这并不意味着执行 psql 进行恢复的操作系统用户也需要信任源服务器。这里的风险是，已获得源服务器超级用户级别控制权的攻击者可能会使其生成被解释为 psql 元命令的文本。这将提供对恢复用户自身帐户的 shell 级别访问，独立于对目标数据库的访问。 为了提供确保不会发生此问题的正面保证，扩展了 psql，增加了 \\restrict 命令来阻止执行后续的元命令，并让 pg_dump 在来自源服务器的任何数据之前发出该命令。 PostgreSQL 项目感谢 Martin Rakhmanov、Matthieu Denais 和 RyotaK 报告此问题。（CVE-2025-8714）", "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "commits": ["575f54d4c"], "section": "变更", "category": "security", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "dd36fcd37e3a448e6d0a44006e3eac9083225b4a67afb9f911a272ac60a93527", "section_path": ["变更"], "commit_groups": [["27d3dee68", "8967c33c6"], ["424040506", "575f54d4c", "67a2fbb8f", "71ea0d679", "7ad8e7909", "c204bd39f", "e4998d089"]], "identity_text": "Prevent pg_dump scripts from being used to attack the user running the restore (Nathan Bossart) Since dump/restore operations typically involve running SQL commands as superuser, the target database installation must trust the source server. However, it does not follow that the operating system user who executes psql to perform the restore should have to trust the source server. The risk here is that an attacker who has gained superuser-level control over the source server might be able to cause it to emit text that would be interpreted as psql meta-commands. That would provide shell-level access to the restoring user's own account, independently of access to the target database. To provide a positive guarantee that this can't happen, extend psql with a \\restrict command that prevents execution of further meta-commands, and teach pg_dump to issue that before any data coming from the source server. The PostgreSQL Project thanks Martin Rakhmanov, Matthieu Denais, and RyotaK for reporting this problem. (CVE-2025-8714)", "commit_aliases": ["27d3dee68", "424040506", "575f54d4c", "67a2fbb8f", "71ea0d679", "7ad8e7909", "8967c33c6", "c204bd39f", "e4998d089"], "source_commits": ["575f54d4c", "8967c33c6"], "source_entry_id": "17.6/changes/002", "db_id": "93ac3cfe25f78778dca8ff85e31817be", "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a", "relations": [{"rule": 2, "type": "equivalent", "target": "2995efbedeebcfc1ca35284729dc63ca", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}}, {"rule": 2, "type": "equivalent", "target": "69c7f2c77e9261cdc8fe8d36c3769742", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}}, {"rule": 2, "type": "equivalent", "target": "caaaa341c31c9018981e72d6161a2801", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}}, {"rule": 2, "type": "equivalent", "target": "dc692223d4e4409943580a9615f51575", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}}], "version": "17.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "69c7f2c77e9261cdc8fe8d36c3769742", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}, "url": "/docs/compare/?release=16.10#16.10-631fe2b5cc95bf19", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "dc692223d4e4409943580a9615f51575", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}, "url": "/docs/compare/?release=15.14#15.14-792ea6321c8a946b", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "2995efbedeebcfc1ca35284729dc63ca", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}, "url": "/docs/compare/?release=14.19#14.19-7d06a1d1ebfb29d7", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "caaaa341c31c9018981e72d6161a2801", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "evidence": {"same_day": true, "patch_ids": ["a88fbc1d59a5e722f1cb99fc8acd42be", "c340e675e09ada8e08edff5a1a3a3ae8"], "statement_hash": "0b4e588c95eb5bd3d79fce471c6627a69abf65eb71c549b5ef14a7a91adbcc3a"}, "url": "/docs/compare/?release=13.22#13.22-2c8737193994e3d6", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-85269ca5c1610b49", "cves": ["CVE-2012-0868", "CVE-2025-8715"], "html": "<p>在 <span>pg_dump</span> 输出的注释中，将名称中包含的换行符转换为空格（Noah Misch）<a href=\"https://postgr.es/c/9b92f115b\">§</a></p>\n<p>包含换行符的对象名称提供了向输出脚本中注入任意 SQL 命令的能力。（如果没有前述的修复，通过这种方式注入 <span>psql</span> 元命令也是可能的。）CVE-2012-0868 曾在当时修复了这类问题，但后续的工作重新引入了若干情况。</p>\n<p><span>PostgreSQL</span> 项目感谢 Noah Misch 报告此问题。（CVE-2025-8715）</p>", "text": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格（Noah Misch）§ 包含换行符的对象名称提供了向输出脚本中注入任意 SQL 命令的能力。（如果没有前述的修复，通过这种方式注入 psql 元命令也是可能的。）CVE-2012-0868 曾在当时修复了这类问题，但后续的工作重新引入了若干情况。 PostgreSQL 项目感谢 Noah Misch 报告此问题。（CVE-2025-8715）", "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "commits": ["9b92f115b"], "section": "变更", "category": "security", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "30ce83050e3aff1c62a9b3ad07e337356fd12d817f163759663e36e224930764", "section_path": ["变更"], "commit_groups": [["0f5838438", "13a67ce60", "2179e6005", "70693c645", "850caae60", "9751f934a", "9b92f115b"]], "identity_text": "Convert newlines to spaces in names included in comments in pg_dump output (Noah Misch) Object names containing newlines offered the ability to inject arbitrary SQL commands into the output script. (Without the preceding fix, injection of psql meta-commands would also be possible this way.) CVE-2012-0868 fixed this class of problem at the time, but later work reintroduced several cases. The PostgreSQL Project thanks Noah Misch for reporting this problem. (CVE-2025-8715)", "commit_aliases": ["0f5838438", "13a67ce60", "2179e6005", "70693c645", "850caae60", "9751f934a", "9b92f115b"], "source_commits": ["9b92f115b"], "source_entry_id": "17.6/changes/003", "db_id": "38111ed952ef48e4da5272e7c83e8a05", "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258", "relations": [{"rule": 2, "type": "equivalent", "target": "37108a0558c6e7099facfb4c06a2343a", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}}, {"rule": 2, "type": "equivalent", "target": "88e2718dcf7026885e58101ad68ad92b", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}}, {"rule": 2, "type": "equivalent", "target": "e4409746da14b6ce48dbfc4198028b20", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}}, {"rule": 2, "type": "equivalent", "target": "f51ac36aaada0528abd65e283dc38a35", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}}], "version": "17.6", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f51ac36aaada0528abd65e283dc38a35", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}, "url": "/docs/compare/?release=16.10#16.10-af4d8aac9b4f8e26", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "37108a0558c6e7099facfb4c06a2343a", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}, "url": "/docs/compare/?release=15.14#15.14-f808465a0b3d99e8", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "e4409746da14b6ce48dbfc4198028b20", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}, "url": "/docs/compare/?release=14.19#14.19-fb4152603ed81a9f", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "88e2718dcf7026885e58101ad68ad92b", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "evidence": {"same_day": true, "patch_ids": ["c339acab7d9b8e62f0a32c0c18b2d7e4"], "statement_hash": "cb5a9cc437857a0caf2a82b5b88270031dd431a721fdd8641324b7e28d509258"}, "url": "/docs/compare/?release=13.22#13.22-a726243ec1d439af", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-6264c438a439df10", "cves": [], "html": "<p>修复 BRIN <code>numeric_minmax_multi_ops</code> 支持函数中的不正确距离计算（Peter Eisentraut、Tom Lane）<a href=\"https://postgr.es/c/0b0d3c19b\">§</a></p>\n<p>在 64 位平台上结果有时是错误的，在 32 位平台上则是严重错误。这不会产生明显的故障，因为该逻辑仅用于选择如何将值合并到范围中；最差情况下索引会变得低效和膨胀。尽管如此，建议重建任何使用 <code>numeric_minmax_multi_ops</code> 操作符类的 BRIN 索引。</p>", "text": "修复 BRIN numeric_minmax_multi_ops 支持函数中的不正确距离计算（Peter Eisentraut、Tom Lane）§ 在 64 位平台上结果有时是错误的，在 32 位平台上则是严重错误。这不会产生明显的故障，因为该逻辑仅用于选择如何将值合并到范围中；最差情况下索引会变得低效和膨胀。尽管如此，建议重建任何使用 numeric_minmax_multi_ops 操作符类的 BRIN 索引。", "title": "修复 BRIN numeric_minmax_multi_ops 支持函数中的不正确距离计算", "commits": ["0b0d3c19b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "309cf95af2570ecc2fc978fc48654d39e67c08f885a347d48d2f8e5da825863f", "section_path": ["变更"], "commit_groups": [["0b0d3c19b", "5b0c8e328", "80c758a2e", "835c9374d", "9b681e239", "b9279058a"]], "identity_text": "Fix incorrect distance calculation in BRIN numeric_minmax_multi_ops support function (Peter Eisentraut, Tom Lane) The results were sometimes wrong on 64-bit platforms, and wildly wrong on 32-bit platforms. This did not produce obvious failures because the logic is only used to choose how to merge values into ranges; at worst the index would become inefficient and bloated. Nonetheless it's recommended to reindex any BRIN indexes that use the numeric_minmax_multi_ops operator class.", "commit_aliases": ["0b0d3c19b", "5b0c8e328", "80c758a2e", "835c9374d", "9b681e239", "b9279058a"], "source_commits": ["0b0d3c19b"], "source_entry_id": "17.6/changes/004", "db_id": "4f2f50202c0a4062fa0abf4d3a71c14f", "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004", "relations": [{"rule": 2, "type": "equivalent", "target": "2edd3f13435a628aaa0cf85a70b7e21b", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}}, {"rule": 2, "type": "equivalent", "target": "8d54330390c8ff326f0d15001315337e", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}}, {"rule": 2, "type": "equivalent", "target": "ed98f0f159aca0b7bdc8fa7a99199611", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2edd3f13435a628aaa0cf85a70b7e21b", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 BRIN numeric_minmax_multi_ops 支持函数中的不正确距离计算", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}, "url": "/docs/compare/?release=16.10#16.10-96d739cda1ec7a69", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "8d54330390c8ff326f0d15001315337e", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 BRIN numeric_minmax_multi_ops 支持函数中的不正确距离计算", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}, "url": "/docs/compare/?release=15.14#15.14-d6dc0de428453b28", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "ed98f0f159aca0b7bdc8fa7a99199611", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 BRIN numeric_minmax_multi_ops 支持函数中的不正确距离计算", "evidence": {"same_day": true, "patch_ids": ["f8eb56421d4cc9914bb2a1c211e814b8"], "statement_hash": "bfc6044082058c817cad7f5d0f0fd18b640bc318a5a8faef49e400d017236004"}, "url": "/docs/compare/?release=14.19#14.19-40e6c9e0d6dd1f3a", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}]}, {"id": "17.6-ce1930917ebddcaa", "cves": [], "html": "<p>避免我们可接受的 XML 输入大小出现退化（Michael Paquier、Erik Wienhold）<a href=\"https://postgr.es/c/fd4ad33fe\">§</a> <a href=\"https://postgr.es/c/7571e0f6e\">§</a></p>\n<p>我们针对 <span>libxml2</span> 早期 2.13.x 版本中一个 bug 的变通方案使用了一个会拒绝超过 10MB 文本块的代码路径，而之前的代码不会这样做。那些早期版本在实际环境中大概已经不存在了，因此恢复到之前的代码。</p>", "text": "避免我们可接受的 XML 输入大小出现退化（Michael Paquier、Erik Wienhold）§ § 我们针对 libxml2 早期 2.13.x 版本中一个 bug 的变通方案使用了一个会拒绝超过 10MB 文本块的代码路径，而之前的代码不会这样做。那些早期版本在实际环境中大概已经不存在了，因此恢复到之前的代码。", "title": "避免我们可接受的 XML 输入大小出现退化", "commits": ["7571e0f6e", "fd4ad33fe"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "c0f561d53ca09a151d56704186a4c18e13b29c130cce8a83f0f73facff8f984b", "section_path": ["变更"], "commit_groups": [["0395464af", "0ffbd345e", "589d6e640", "637ead2e1", "6d5e493b4", "71c0921b6", "fd4ad33fe"], ["0928e18eb", "0ae824704", "7571e0f6e", "762c6d8d2", "902f92221", "cdcdabce5", "d5f014d89"]], "identity_text": "Avoid regression in the size of XML input that we will accept (Michael Paquier, Erik Wienhold) Our workaround for a bug in early 2.13.x releases of libxml2 made use of a code path that rejects text chunks exceeding 10MB, whereas the previous coding did not. Those early releases are presumably extinct in the wild by now, so revert to the previous coding.", "commit_aliases": ["0395464af", "0928e18eb", "0ae824704", "0ffbd345e", "589d6e640", "637ead2e1", "6d5e493b4", "71c0921b6", "7571e0f6e", "762c6d8d2", "902f92221", "cdcdabce5", "d5f014d89", "fd4ad33fe"], "source_commits": ["7571e0f6e", "fd4ad33fe"], "source_entry_id": "17.6/changes/005", "db_id": "bb2bd06d13098be6d2f716fc39bcebc1", "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313", "relations": [{"rule": 2, "type": "equivalent", "target": "0ee6aeae8fc928ce374749037900ae26", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}}, {"rule": 2, "type": "equivalent", "target": "1fde207d731da78f7ffa4b41ed55d84f", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}}, {"rule": 2, "type": "equivalent", "target": "6f0df2f7f9eaa8699c25d67daabf9b0f", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}}, {"rule": 2, "type": "equivalent", "target": "f0095d007a81a7cca2bd060e2fed3b13", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f0095d007a81a7cca2bd060e2fed3b13", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免我们可接受的 XML 输入大小出现退化", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}, "url": "/docs/compare/?release=16.10#16.10-e13cec0f22d647d2", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "6f0df2f7f9eaa8699c25d67daabf9b0f", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免我们可接受的 XML 输入大小出现退化", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}, "url": "/docs/compare/?release=15.14#15.14-e693a8762746a5b1", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "0ee6aeae8fc928ce374749037900ae26", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免我们可接受的 XML 输入大小出现退化", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}, "url": "/docs/compare/?release=14.19#14.19-43d78edde7b0cec8", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "1fde207d731da78f7ffa4b41ed55d84f", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免我们可接受的 XML 输入大小出现退化", "evidence": {"same_day": true, "patch_ids": ["98252c90081e7e17af8a98af7237304d", "b287e22af912cdfb881024a69141d1d3"], "statement_hash": "df5a0eec4afc3cc17d7aae1477466e175f12a4b7662a499e03744c30e76fc313"}, "url": "/docs/compare/?release=13.22#13.22-66f9371c0bdfa68c", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-7898d9ffd2ac5df8", "cves": [], "html": "<p>修复 <code>MERGE</code> 在并发更新下的问题（Dean Rasheed）<a href=\"https://postgr.es/c/91ad1bdef\">§</a></p>\n<p>如果 CTE 内部的 <code>MERGE</code> 尝试对带有 <code>BEFORE ROW</code> 触发器的表执行更新或删除，而并发的 <code>UPDATE</code> 或 <code>DELETE</code> 又修改了目标行，那么 <code>MERGE</code> 命令将会失败（在更新动作情况下会崩溃，而在删除动作情况下则可能执行错误的动作）。</p>", "text": "修复 MERGE 在并发更新下的问题（Dean Rasheed）§ 如果 CTE 内部的 MERGE 尝试对带有 BEFORE ROW 触发器的表执行更新或删除，而并发的 UPDATE 或 DELETE 又修改了目标行，那么 MERGE 命令将会失败（在更新动作情况下会崩溃，而在删除动作情况下则可能执行错误的动作）。", "title": "修复 MERGE 在并发更新下的问题", "commits": ["91ad1bdef"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "20388a35bd00e8d5dbe909e884f5a048357ab53b000660f2dbdfcbe51fc3d57f", "section_path": ["变更"], "commit_groups": [["27c7c1136", "5022ff250", "91ad1bdef"]], "identity_text": "Fix MERGE problems with concurrent updates (Dean Rasheed) If a MERGE inside a CTE attempts an update or delete on a table with BEFORE ROW triggers, and a concurrent UPDATE or DELETE changes the target row, the MERGE command would fail (crashing in the case of an update action, and potentially executing the wrong action in the case of a delete action).", "commit_aliases": ["27c7c1136", "5022ff250", "91ad1bdef"], "source_commits": ["91ad1bdef"], "source_entry_id": "17.6/changes/006", "db_id": "acd58267111243b064eee8e7baeaeb29", "patch_ids": ["f1abf8f7d0d1d0adae983d0c5da2250c"], "statement_hash": "a327c18185387bf663a99baf7cacf7be9e47abfabf81cc33e0b404b90ad82c1e", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-83e4413a63ee1789", "cves": [], "html": "<p>修复向普通继承父表执行 <code>MERGE</code> 的问题（Dean Rasheed）<a href=\"https://postgr.es/c/ab52f6b5b\">§</a></p>\n<p>向这类目标表插入数据时，可能因为未能正确处理 <code>WITH CHECK OPTION</code> 和 <code>RETURNING</code> 动作而崩溃，或产生错误的查询结果。</p>", "text": "修复向普通继承父表执行 MERGE 的问题（Dean Rasheed）§ 向这类目标表插入数据时，可能因为未能正确处理 WITH CHECK OPTION 和 RETURNING 动作而崩溃，或产生错误的查询结果。", "title": "修复向普通继承父表执行 MERGE 的问题", "commits": ["ab52f6b5b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "0caa97d5ecad32d54cec5c99051491e2170d05be68f3dee07df603f82bfe43bb", "section_path": ["变更"], "commit_groups": [["3611794af", "ab52f6b5b", "b006bcd53", "d6a3f3272"]], "identity_text": "Fix MERGE into a plain-inheritance parent table (Dean Rasheed) Insertions into such a target table could crash or produce incorrect query results due to failing to handle WITH CHECK OPTION and RETURNING actions.", "commit_aliases": ["3611794af", "ab52f6b5b", "b006bcd53", "d6a3f3272"], "source_commits": ["ab52f6b5b"], "source_entry_id": "17.6/changes/007", "db_id": "776b01eaee20e1b72becf94dee5d1d95", "patch_ids": ["8b9396f257cd689907d2f2fdbf86d1f5"], "statement_hash": "60e4c3c9398388bbe2856c9a473d2c86a7af56baf5538aaedc048246da53f067", "relations": [{"rule": 2, "type": "equivalent", "target": "386ef1831949f1bf41dd29cb4f9222c3", "evidence": {"same_day": true, "patch_ids": ["8b9396f257cd689907d2f2fdbf86d1f5"], "statement_hash": "60e4c3c9398388bbe2856c9a473d2c86a7af56baf5538aaedc048246da53f067"}}, {"rule": 2, "type": "equivalent", "target": "56af471ad09fe4db03be6a45396c6eff", "evidence": {"same_day": true, "patch_ids": ["8b9396f257cd689907d2f2fdbf86d1f5"], "statement_hash": "60e4c3c9398388bbe2856c9a473d2c86a7af56baf5538aaedc048246da53f067"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "386ef1831949f1bf41dd29cb4f9222c3", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复向普通继承父表执行 MERGE 的问题", "evidence": {"same_day": true, "patch_ids": ["8b9396f257cd689907d2f2fdbf86d1f5"], "statement_hash": "60e4c3c9398388bbe2856c9a473d2c86a7af56baf5538aaedc048246da53f067"}, "url": "/docs/compare/?release=16.10#16.10-83e4413a63ee1789", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "56af471ad09fe4db03be6a45396c6eff", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复向普通继承父表执行 MERGE 的问题", "evidence": {"same_day": true, "patch_ids": ["8b9396f257cd689907d2f2fdbf86d1f5"], "statement_hash": "60e4c3c9398388bbe2856c9a473d2c86a7af56baf5538aaedc048246da53f067"}, "url": "/docs/compare/?release=15.14#15.14-83e4413a63ee1789", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-01c44484fb8c7777", "cves": [], "html": "<p>允许具有语句级触发器的表成为分区或继承子表（Etsuro Fujita）<a href=\"https://postgr.es/c/e028ce911\">§</a></p>\n<p>我们不允许分区或继承子表拥有带有转换表的行级触发器，因为对整个继承树的操作需要为每个这样的子表维护单独的转换表。但这个问题不适用于语句级触发器，因为只有父表的语句级触发器会被触发。检查现有表是否可以成为分区或继承子表的代码却错误地拒绝了两种触发器。</p>", "text": "允许具有语句级触发器的表成为分区或继承子表（Etsuro Fujita）§ 我们不允许分区或继承子表拥有带有转换表的行级触发器，因为对整个继承树的操作需要为每个这样的子表维护单独的转换表。但这个问题不适用于语句级触发器，因为只有父表的语句级触发器会被触发。检查现有表是否可以成为分区或继承子表的代码却错误地拒绝了两种触发器。", "title": "允许具有语句级触发器的表成为分区或继承子表", "commits": ["e028ce911"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "5f8cff097160a3bad450b89036e5b4b28f4886c628d67069060758bbcb8d3721", "section_path": ["变更"], "commit_groups": [["3863c6fb6", "73eb6afa1", "9e63f83a7", "afdb4cde1", "bba6a6faf", "e028ce911", "f39a7f32a"]], "identity_text": "Allow tables with statement-level triggers to become partitions or inheritance children (Etsuro Fujita) We do not allow partitions or inheritance child tables to have row-level triggers with transition tables, because an operation on the whole inheritance tree would need to maintain a separate transition table for each such child table. But that problem does not apply for statement-level triggers, because only the parent's statement-level triggers will be fired. The code that checks whether an existing table can become a partition or inheritance child nonetheless rejected both kinds of trigger.", "commit_aliases": ["3863c6fb6", "73eb6afa1", "9e63f83a7", "afdb4cde1", "bba6a6faf", "e028ce911", "f39a7f32a"], "source_commits": ["e028ce911"], "source_entry_id": "17.6/changes/008", "db_id": "f5801d51a971cf08cdb8c06a0637d94e", "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f", "relations": [{"rule": 2, "type": "equivalent", "target": "420807e2c65cfb2f35b9d98ab03fd35a", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}}, {"rule": 2, "type": "equivalent", "target": "46c9c9414aeb1e1d548fe9e14dd2586c", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}}, {"rule": 2, "type": "equivalent", "target": "9c539692e1ae384a68ec089b701c3ae5", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}}, {"rule": 2, "type": "equivalent", "target": "aca9c17a807140f57d39cd64e3b60dcd", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "46c9c9414aeb1e1d548fe9e14dd2586c", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "允许具有语句级触发器的表成为分区或继承子表", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}, "url": "/docs/compare/?release=16.10#16.10-b7b247e33c4791f3", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "420807e2c65cfb2f35b9d98ab03fd35a", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "允许具有语句级触发器的表成为分区或继承子表", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}, "url": "/docs/compare/?release=15.14#15.14-607bfb1bab951bc7", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "9c539692e1ae384a68ec089b701c3ae5", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "允许具有语句级触发器的表成为分区或继承子表", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}, "url": "/docs/compare/?release=14.19#14.19-feec18122edb5081", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "aca9c17a807140f57d39cd64e3b60dcd", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "允许具有语句级触发器的表成为分区或继承子表", "evidence": {"same_day": true, "patch_ids": ["ec5be3f8bfa509ddb1d8966ad9ecc1af"], "statement_hash": "0082e9e8b3fbe6a713df8db4021468ed4e0c645dd447c14f56a9e72d025dff7f"}, "url": "/docs/compare/?release=13.22#13.22-df71954a5ef41ef1", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-271f6d5d0c5205b8", "cves": [], "html": "<p>禁止从外部子表收集转换元组（Etsuro Fujita）<a href=\"https://postgr.es/c/9048a83c7\">§</a></p>\n<p>我们不支持在外部表上使用带有转换表的触发器。但是，分区或继承子表是外部表的情况被忽略了。如果父表有这样的触发器，就会从外部子表收集到不正确的转换元组。现在改为抛出错误，报告该情况不被支持。</p>", "text": "禁止从外部子表收集转换元组（Etsuro Fujita）§ 我们不支持在外部表上使用带有转换表的触发器。但是，分区或继承子表是外部表的情况被忽略了。如果父表有这样的触发器，就会从外部子表收集到不正确的转换元组。现在改为抛出错误，报告该情况不被支持。", "title": "禁止从外部子表收集转换元组", "commits": ["9048a83c7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "1f985f841006f545e464cd2c36387c101195a06fc650be75a9c26b7d1d594c7c", "section_path": ["变更"], "commit_groups": [["62a1211d3", "9048a83c7", "9cca445df", "b6641f7b0", "ce8817022", "d642d2306", "e94fc1a8a"]], "identity_text": "Disallow collecting transition tuples from child foreign tables (Etsuro Fujita) We do not support triggers with transition tables on foreign tables. However, the case of a partition or inheritance child that is a foreign table was overlooked. If the parent has such a trigger, incorrect transition tuples were collected from the foreign child. Instead throw an error, reporting that the case is not supported.", "commit_aliases": ["62a1211d3", "9048a83c7", "9cca445df", "b6641f7b0", "ce8817022", "d642d2306", "e94fc1a8a"], "source_commits": ["9048a83c7"], "source_entry_id": "17.6/changes/009", "db_id": "a92bdec02c5cc11013deebd80c74b0eb", "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63", "relations": [{"rule": 2, "type": "equivalent", "target": "2979e7070342fffc5ad3b796f44b4bc6", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}}, {"rule": 2, "type": "equivalent", "target": "a1e77a42db5570cb12c20d1010246a22", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}}, {"rule": 2, "type": "equivalent", "target": "ab769326d638153e0ea7ef5f3a2dcb49", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}}, {"rule": 2, "type": "equivalent", "target": "d139e318081b10609507f4cac88f0f8a", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ab769326d638153e0ea7ef5f3a2dcb49", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "禁止从外部子表收集转换元组", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}, "url": "/docs/compare/?release=16.10#16.10-17bba33bfae8d9d4", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "a1e77a42db5570cb12c20d1010246a22", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "禁止从外部子表收集转换元组", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}, "url": "/docs/compare/?release=15.14#15.14-f019be1c276e12ad", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "d139e318081b10609507f4cac88f0f8a", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "禁止从外部子表收集转换元组", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}, "url": "/docs/compare/?release=14.19#14.19-1ab1051a32528a44", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "2979e7070342fffc5ad3b796f44b4bc6", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "禁止从外部子表收集转换元组", "evidence": {"same_day": true, "patch_ids": ["5a0b704f17af1d8b1003c9b05f2986c2"], "statement_hash": "656e8175e4a93a3a0588bc41f2185d223eea6d7b2a2104d8226412e279416f63"}, "url": "/docs/compare/?release=13.22#13.22-81ac4c617cec1e50", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-af53d5f6a485d2ec", "cves": [], "html": "<p>允许重置具有保留前缀的未知自定义参数（Nathan Bossart）<a href=\"https://postgr.es/c/39ff05636\">§</a></p>\n<p>之前，如果使用 <code>ALTER DATABASE/ROLE/SYSTEM</code> 存储了参数设置，当该参数未知但具有保留前缀时，存储的设置无法被删除。这种情况可能在扩展曾经有一个参数但该参数在升级中被删除时出现。</p>", "text": "允许重置具有保留前缀的未知自定义参数（Nathan Bossart）§ 之前，如果使用 ALTER DATABASE/ROLE/SYSTEM 存储了参数设置，当该参数未知但具有保留前缀时，存储的设置无法被删除。这种情况可能在扩展曾经有一个参数但该参数在升级中被删除时出现。", "title": "允许重置具有保留前缀的未知自定义参数", "commits": ["39ff05636"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "4ef62f1d49fc0896e9f790c1a047a08c5997a93b51b3fc14c67b99470d1a63a3", "section_path": ["变更"], "commit_groups": [["39ff05636", "7b9674a8b", "9eb6068fb", "b998ce327", "f79ca73d7"]], "identity_text": "Allow resetting unknown custom parameters with reserved prefixes (Nathan Bossart) Previously, if a parameter setting had been stored using ALTER DATABASE/ROLE/SYSTEM, the stored setting could not be removed if the parameter was unknown but had a reserved prefix. This case could arise if an extension used to have a parameter, but that parameter had been removed in an upgrade.", "commit_aliases": ["39ff05636", "7b9674a8b", "9eb6068fb", "b998ce327", "f79ca73d7"], "source_commits": ["39ff05636"], "source_entry_id": "17.6/changes/010", "db_id": "4bca2351706849160ad866920283eb5a", "patch_ids": ["6ef00eaf9f79cd5778a9d9810e094af6"], "statement_hash": "9d74be2cd2704af7a1981053df2bf4c9896859296dea21f24e452dfd7ebaec35", "relations": [{"rule": 2, "type": "equivalent", "target": "3f85e779a3ba99de0e63196a9a7bf6ee", "evidence": {"same_day": true, "patch_ids": ["6ef00eaf9f79cd5778a9d9810e094af6"], "statement_hash": "9d74be2cd2704af7a1981053df2bf4c9896859296dea21f24e452dfd7ebaec35"}}, {"rule": 2, "type": "equivalent", "target": "86edb56611a50a1bbc62f586ee9cc761", "evidence": {"same_day": true, "patch_ids": ["6ef00eaf9f79cd5778a9d9810e094af6"], "statement_hash": "9d74be2cd2704af7a1981053df2bf4c9896859296dea21f24e452dfd7ebaec35"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3f85e779a3ba99de0e63196a9a7bf6ee", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "允许重置具有保留前缀的未知自定义参数", "evidence": {"same_day": true, "patch_ids": ["6ef00eaf9f79cd5778a9d9810e094af6"], "statement_hash": "9d74be2cd2704af7a1981053df2bf4c9896859296dea21f24e452dfd7ebaec35"}, "url": "/docs/compare/?release=16.10#16.10-210ec70adf13a205", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "86edb56611a50a1bbc62f586ee9cc761", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "允许重置具有保留前缀的未知自定义参数", "evidence": {"same_day": true, "patch_ids": ["6ef00eaf9f79cd5778a9d9810e094af6"], "statement_hash": "9d74be2cd2704af7a1981053df2bf4c9896859296dea21f24e452dfd7ebaec35"}, "url": "/docs/compare/?release=15.14#15.14-5ee3c037154203f3", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-9c7e461e56dfefe9", "cves": [], "html": "<p>修复 <code>ALTER SUBSCRIPTION ... DROP PUBLICATION</code> 期间的潜在死锁问题（Ajin Cherian）<a href=\"https://postgr.es/c/8c298324a\">§</a></p>\n<p>确保服务器进程在复制源删除期间以一致的顺序获取系统目录锁。</p>", "text": "修复 ALTER SUBSCRIPTION ... DROP PUBLICATION 期间的潜在死锁问题（Ajin Cherian）§ 确保服务器进程在复制源删除期间以一致的顺序获取系统目录锁。", "title": "修复 ALTER SUBSCRIPTION ... DROP PUBLICATION 期间的潜在死锁问题", "commits": ["8c298324a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "68f5ac71f3db196c6e517a55d22bd322885007151c05d08a11dfb2393517f366", "section_path": ["变更"], "commit_groups": [["2ab2d6f97", "41fb3f51c", "434d2d147", "8c298324a", "adfd80219", "d9f01a287"]], "identity_text": "Fix a potential deadlock during ALTER SUBSCRIPTION ... DROP PUBLICATION (Ajin Cherian) Ensure that server processes acquire catalog locks in a consistent order during replication origin drops.", "commit_aliases": ["2ab2d6f97", "41fb3f51c", "434d2d147", "8c298324a", "adfd80219", "d9f01a287"], "source_commits": ["8c298324a"], "source_entry_id": "17.6/changes/011", "db_id": "18c5f105597d23e166fd08e03cf49656", "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934", "relations": [{"rule": 2, "type": "equivalent", "target": "119e92e0c7e4ba7b3831fe250dba85c1", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}}, {"rule": 2, "type": "equivalent", "target": "1de0d029ccf2648086aaccf4f49f5ddc", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}}, {"rule": 2, "type": "equivalent", "target": "4f811c946e4b4a6a82a76490865d47b6", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "119e92e0c7e4ba7b3831fe250dba85c1", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 ALTER SUBSCRIPTION ... DROP PUBLICATION 期间的潜在死锁问题", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}, "url": "/docs/compare/?release=16.10#16.10-9015eff1dde180a1", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "1de0d029ccf2648086aaccf4f49f5ddc", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 ALTER SUBSCRIPTION ... DROP PUBLICATION 期间的潜在死锁问题", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}, "url": "/docs/compare/?release=15.14#15.14-37fb0e0ef6a2eeea", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "4f811c946e4b4a6a82a76490865d47b6", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 ALTER SUBSCRIPTION ... DROP PUBLICATION 期间的潜在死锁问题", "evidence": {"same_day": true, "patch_ids": ["143bab990487b546b1c946801959bb56"], "statement_hash": "50f73d9f0f29f1a2f239e34133545b82b3517495807dae45806b36358c6eb934"}, "url": "/docs/compare/?release=14.19#14.19-47bd9af427539628", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}]}, {"id": "17.6-13e24172d846d026", "cves": [], "html": "<p>缩短创建名称冲突索引时的竞争窗口（Tom Lane）<a href=\"https://postgr.es/c/fdd826922\">§</a></p>\n<p>在为索引选择自动生成的名称时，除了完全有效的 <code>pg_class</code> 行之外，也要避免与尚未提交的 <code>pg_class</code> 行发生冲突。这样可以避免在并发 <code>CREATE INDEX</code> 尚处于填充索引过程中，或虽已完成但其事务尚未提交时，意外选中同一个名称。虽然仍然存在一个出问题的窗口，但其长度仅限于验证新索引参数并插入其 <code>pg_class</code> 行所需的时间。</p>", "text": "缩短创建名称冲突索引时的竞争窗口（Tom Lane）§ 在为索引选择自动生成的名称时，除了完全有效的 pg_class 行之外，也要避免与尚未提交的 pg_class 行发生冲突。这样可以避免在并发 CREATE INDEX 尚处于填充索引过程中，或虽已完成但其事务尚未提交时，意外选中同一个名称。虽然仍然存在一个出问题的窗口，但其长度仅限于验证新索引参数并插入其 pg_class 行所需的时间。", "title": "缩短创建名称冲突索引时的竞争窗口", "commits": ["fdd826922"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "9dadfea11d2e162bbb55d317054335b83d6fe9adaf088469f2be50c113601650", "section_path": ["变更"], "commit_groups": [["1e24ea160", "27af8b9be", "4b66cb188", "5861b1f34", "75b8982ea", "fdd826922"]], "identity_text": "Shorten the race condition window for creating indexes with conflicting names (Tom Lane) When choosing an auto-generated name for an index, avoid conflicting with not-yet-committed pg_class rows as well as fully-valid ones. This avoids possibly choosing the same name as some concurrent CREATE INDEX did, when that command is still in process of filling its index, or is done but is part of a not-yet-committed transaction. There's still a window for trouble, but it's only as long as the time needed to validate a new index's parameters and insert its pg_class row.", "commit_aliases": ["1e24ea160", "27af8b9be", "4b66cb188", "5861b1f34", "75b8982ea", "fdd826922"], "source_commits": ["fdd826922"], "source_entry_id": "17.6/changes/012", "db_id": "cd9bf467acac56d692dda4c78b6520b4", "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee", "relations": [{"rule": 2, "type": "equivalent", "target": "ab7bccea8d6855f4ce69007761547ea1", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}}, {"rule": 2, "type": "equivalent", "target": "c0d512394b274df9bf04bfd9da19ad9d", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}}, {"rule": 2, "type": "equivalent", "target": "cc9ada49012779be8d6c2ce519b277b2", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}}, {"rule": 2, "type": "equivalent", "target": "f009510291116b6b85412f3abd7c71fe", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cc9ada49012779be8d6c2ce519b277b2", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "缩短创建名称冲突索引时的竞争窗口", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}, "url": "/docs/compare/?release=16.10#16.10-13e24172d846d026", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "c0d512394b274df9bf04bfd9da19ad9d", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "缩短创建名称冲突索引时的竞争窗口", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}, "url": "/docs/compare/?release=15.14#15.14-13e24172d846d026", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "ab7bccea8d6855f4ce69007761547ea1", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "缩短创建名称冲突索引时的竞争窗口", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}, "url": "/docs/compare/?release=14.19#14.19-13e24172d846d026", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "f009510291116b6b85412f3abd7c71fe", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "缩短创建名称冲突索引时的竞态条件窗口", "evidence": {"same_day": true, "patch_ids": ["2cde05c697d356cd94160428f5996978"], "statement_hash": "9d8fb46e629b5f87f3921e5d3d876a1bec4056a60db5555a371048886cabedee"}, "url": "/docs/compare/?release=13.22#13.22-e58fa3a296a9867e", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-53071ce6125d0b28", "cves": [], "html": "<p>防止在单条命令对多个表执行 <code>VACUUM</code> 的某些情况下使用错误的选项（Nathan Bossart, Michael Paquier）<a href=\"https://postgr.es/c/2e0b5d252\">§</a></p>\n<p>一个表的 <code>TRUNCATE</code> 和 <code>INDEX_CLEANUP</code> 选项可能会被错误地应用到其他表上。</p>", "text": "防止在单条命令对多个表执行 VACUUM 的某些情况下使用错误的选项（Nathan Bossart, Michael Paquier）§ 一个表的 TRUNCATE 和 INDEX_CLEANUP 选项可能会被错误地应用到其他表上。", "title": "防止在单条命令对多个表执行 VACUUM 的某些情况下使用错误的选项", "commits": ["2e0b5d252"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "ccee7bdf301370c289b46e1684b2d7867e4a7b3f2d629aea1fcda261151dd599", "section_path": ["变更"], "commit_groups": [["2e0b5d252", "354944663", "65c3223f9", "661643ded", "c079ba3fc", "d187cabdd"]], "identity_text": "Prevent usage of incorrect VACUUM options in some cases where multiple tables are vacuumed in a single command (Nathan Bossart, Michael Paquier) The TRUNCATE and INDEX_CLEANUP options of one table could be applied to others.", "commit_aliases": ["2e0b5d252", "354944663", "65c3223f9", "661643ded", "c079ba3fc", "d187cabdd"], "source_commits": ["2e0b5d252"], "source_entry_id": "17.6/changes/013", "db_id": "2316d4e1293dd02f9da65a733b9c5284", "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac", "relations": [{"rule": 2, "type": "equivalent", "target": "39112b1e33c7d8f3e1c20acc518d1534", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}}, {"rule": 2, "type": "equivalent", "target": "48bd41b12ed5efc22b115d00c6f39ca1", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}}, {"rule": 2, "type": "equivalent", "target": "93384131d3e1a70d7b023dfbbcdf7b8d", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}}, {"rule": 2, "type": "equivalent", "target": "f54d5a0a16b92edc7834ea5a03a30e6e", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "39112b1e33c7d8f3e1c20acc518d1534", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "防止在单条命令对多个表执行 VACUUM 的某些情况下使用错误的选项", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}, "url": "/docs/compare/?release=16.10#16.10-53071ce6125d0b28", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "93384131d3e1a70d7b023dfbbcdf7b8d", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "防止在单条命令对多个表执行 VACUUM 的某些情况下使用错误的选项", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}, "url": "/docs/compare/?release=15.14#15.14-53071ce6125d0b28", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "f54d5a0a16b92edc7834ea5a03a30e6e", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "防止在单条命令对多个表执行 VACUUM 的某些情况下使用错误的选项", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}, "url": "/docs/compare/?release=14.19#14.19-53071ce6125d0b28", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "48bd41b12ed5efc22b115d00c6f39ca1", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "防止在单个命令中对多个表执行 vacuum 时使用不正确的 VACUUM 选项", "evidence": {"same_day": true, "patch_ids": ["89160decf2f9b4ff941c601bacb53a69"], "statement_hash": "dbb02fd010417aaa3fa88b73610b44e468c90b166303d31fd87eaca0018dd9ac"}, "url": "/docs/compare/?release=13.22#13.22-d570c9d303f43874", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-7e5c416df000624e", "cves": [], "html": "<p>确保在 vacuum 没有索引的表时，表的自由空间映射能及时更新（Masahiko Sawada）<a href=\"https://postgr.es/c/792238c8b\">§</a></p>\n<p>先前的一项优化会导致这类表有时跳过 FSM vacuum。</p>", "text": "确保在 vacuum 没有索引的表时，表的自由空间映射能及时更新（Masahiko Sawada）§ 先前的一项优化会导致这类表有时跳过 FSM vacuum。", "title": "确保在 vacuum 没有索引的表时，表的自由空间映射能及时更新", "commits": ["792238c8b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "067d4b65b917ba12ad9dd12a4b27c5b6dfda4e9011822d240c51d726f670a35f", "section_path": ["变更"], "commit_groups": [["3811ca360", "792238c8b", "7c6ededac"]], "identity_text": "Ensure that the table's free-space map is updated in a timely way when vacuuming a table that has no indexes (Masahiko Sawada) A previous optimization caused FSM vacuuming to sometimes be skipped for such tables.", "commit_aliases": ["3811ca360", "792238c8b", "7c6ededac"], "source_commits": ["792238c8b"], "source_entry_id": "17.6/changes/014", "db_id": "208b51b013b261d7c941e50bdfdd5399", "patch_ids": ["2898fd9eedaa08c9dd21335e7e065b8a"], "statement_hash": "b4f70551b2a0be0dbbef80a1e994056d3d171913ad0448ff4a6224b2aa30e34e", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-483f40f2905262cc", "cves": [], "html": "<p>修复 <code>SIMILAR TO</code> 正则表达式中字符类的处理问题（Laurenz Albe）<a href=\"https://postgr.es/c/e3ffc3e91\">§</a> <a href=\"https://postgr.es/c/a3c6d92f3\">§</a></p>\n<p>将 <code>SIMILAR TO</code> 模式匹配表达式转换为 POSIX 风格正则表达式的代码，没有考虑到方括号可以嵌套。例如，在 <code>[[:alpha:]%_]</code> 这样的模式中，代码把 <code>%</code> 和 <code>_</code> 字符当成了元字符，但它们本应是字面量。</p>", "text": "修复 SIMILAR TO 正则表达式中字符类的处理问题（Laurenz Albe）§ § 将 SIMILAR TO 模式匹配表达式转换为 POSIX 风格正则表达式的代码，没有考虑到方括号可以嵌套。例如，在 [[:alpha:]%_] 这样的模式中，代码把 % 和 _ 字符当成了元字符，但它们本应是字面量。", "title": "修复 SIMILAR TO 正则表达式中字符类的处理问题", "commits": ["a3c6d92f3", "e3ffc3e91"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "a6a84a0019bd9a3fd7c881685cff13d6c5cb3b44dedecacf22695b5f1cad3ee7", "section_path": ["变更"], "commit_groups": [["0c09922c0", "31ee5ec69", "4dc642e75", "4fbb46f61", "52d08620e", "a3c6d92f3"], ["1fe15d25e", "9481d1614", "b3e99115e", "d46911e58", "e3ffc3e91", "e9e535d61"]], "identity_text": "Fix processing of character classes within SIMILAR TO regular expressions (Laurenz Albe) The code that translates SIMILAR TO pattern matching expressions to POSIX-style regular expressions did not consider that square brackets can be nested. For example, in a pattern like [[:alpha:]%_], the code treated the % and _ characters as metacharacters when they should be literals.", "commit_aliases": ["0c09922c0", "1fe15d25e", "31ee5ec69", "4dc642e75", "4fbb46f61", "52d08620e", "9481d1614", "a3c6d92f3", "b3e99115e", "d46911e58", "e3ffc3e91", "e9e535d61"], "source_commits": ["a3c6d92f3", "e3ffc3e91"], "source_entry_id": "17.6/changes/015", "db_id": "592154b7d54dfa17fa5b9fd969e5793b", "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa", "relations": [{"rule": 2, "type": "equivalent", "target": "0140aef3f5703251ce4a930f0fd1f18d", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}}, {"rule": 2, "type": "equivalent", "target": "2f858ffaa73f46878766a2a34c5cadfd", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}}, {"rule": 2, "type": "equivalent", "target": "b16bc663426f7e15fd04323e4fd5c4e7", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}}, {"rule": 2, "type": "equivalent", "target": "b3faaedb199ce89968436f1d12b6232f", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b16bc663426f7e15fd04323e4fd5c4e7", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 SIMILAR TO 正则表达式中字符类的处理问题", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}, "url": "/docs/compare/?release=16.10#16.10-483f40f2905262cc", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "0140aef3f5703251ce4a930f0fd1f18d", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 SIMILAR TO 正则表达式中字符类的处理问题", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}, "url": "/docs/compare/?release=15.14#15.14-483f40f2905262cc", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "2f858ffaa73f46878766a2a34c5cadfd", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 SIMILAR TO 正则表达式中字符类的处理问题", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}, "url": "/docs/compare/?release=14.19#14.19-483f40f2905262cc", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "b3faaedb199ce89968436f1d12b6232f", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 SIMILAR TO 正则表达式中字符类的处理", "evidence": {"same_day": true, "patch_ids": ["298d1aa172772ad302c04c8ff71f16fc", "cd82c8ae60471aa4ec59ca3150bed1ad"], "statement_hash": "f7c19d4e4f39822c237f50cb49b0eb8e2fceb4ba460e6320d29d82c7b8dbf2fa"}, "url": "/docs/compare/?release=13.22#13.22-b8173bf68157bc91", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-b5721ac2f2e16db7", "cves": [], "html": "<p>在反解析查询时，始终为 <code>FETCH FIRST <em><code>expression</code></em> ROWS WITH TIES</code> 子句中的表达式加上括号（Heikki Linnakangas）<a href=\"https://postgr.es/c/54c05292b\">§</a> <a href=\"https://postgr.es/c/a4da7b0cf\">§</a></p>\n<p>这可以避免某些情况下反解析结果在语法上无效。</p>", "text": "在反解析查询时，始终为 FETCH FIRST expression ROWS WITH TIES 子句中的表达式加上括号（Heikki Linnakangas）§ § 这可以避免某些情况下反解析结果在语法上无效。", "title": "在反解析查询时，始终为 FETCH FIRST expression ROWS WITH TIES 子句中的表达式加上括号", "commits": ["54c05292b", "a4da7b0cf"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "e7621f8bcd9f45e102c1cc7c4514efcf9aef26cffea5af393b8dab8ba99af779", "section_path": ["变更"], "commit_groups": [["0420b24fe", "29f7ce6fe", "54c05292b", "72fe74ca5", "7ee00918f", "92a9ba3b9"], ["558ea446a", "a4da7b0cf", "cbf53e2b8"]], "identity_text": "When deparsing queries, always add parentheses around the expression in FETCH FIRST expression ROWS WITH TIES clauses (Heikki Linnakangas) This avoids some cases where the deparsed result wasn't syntactically valid.", "commit_aliases": ["0420b24fe", "29f7ce6fe", "54c05292b", "558ea446a", "72fe74ca5", "7ee00918f", "92a9ba3b9", "a4da7b0cf", "cbf53e2b8"], "source_commits": ["54c05292b", "a4da7b0cf"], "source_entry_id": "17.6/changes/016", "db_id": "cd001a18add755b7d0ccbcd5d91d460a", "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b", "relations": [{"rule": 2, "type": "equivalent", "target": "2c53c54fdf068bc21cac5e41d449e779", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}}, {"rule": 2, "type": "equivalent", "target": "4cbd753646a1fc3438685a6ec808ae57", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}}, {"rule": 2, "type": "equivalent", "target": "ac2730f6a1011c38915f3f51fed5e23c", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}}, {"rule": 2, "type": "equivalent", "target": "c700983864cc9535ad4ffcda69d8552b", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4cbd753646a1fc3438685a6ec808ae57", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "在反解析查询时，始终为 FETCH FIRST expression ROWS WITH TIES 子句中的表达式加上括号", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}, "url": "/docs/compare/?release=16.10#16.10-b5721ac2f2e16db7", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "c700983864cc9535ad4ffcda69d8552b", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "在反解析查询时，始终在 FETCH FIRST expression ROWS WITH TIES 子句中的表达式周围添加括号", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}, "url": "/docs/compare/?release=15.14#15.14-99b7043aab7b8b2f", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "ac2730f6a1011c38915f3f51fed5e23c", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "在反解析查询时，始终在 FETCH FIRST expression ROWS WITH TIES 子句中的表达式周围添加括号", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}, "url": "/docs/compare/?release=14.19#14.19-6c61789bdaa33b27", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "2c53c54fdf068bc21cac5e41d449e779", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "在反解析查询时，始终在 FETCH FIRST expression ROWS WITH TIES 子句中的表达式周围添加括号", "evidence": {"same_day": true, "patch_ids": ["da6a24d2406b7c97b728c6ff62b21709", "e2f0940f582bbc106392b2bf98063cbb"], "statement_hash": "5e5ec36a3cf13bab1d54c4a81ac7e4e242aa243fade253713675c900924b1f0b"}, "url": "/docs/compare/?release=13.22#13.22-2a35de9d95005e82", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-8c460f992a0ce3be", "cves": [], "html": "<p>限制检查点进程的 fsync 请求队列大小（Alexander Korotkov、Xuneng Zhou）<a href=\"https://postgr.es/c/13559de95\">§</a> <a href=\"https://postgr.es/c/605890034\">§</a></p>\n<p>在 <code>shared_buffers</code> 设置非常大时，检查点进程可能尝试为 fsync 请求分配超过 1GB 的内存，导致失败并进入无限循环。限制队列大小以防止此情况发生。</p>", "text": "限制检查点进程的 fsync 请求队列大小（Alexander Korotkov、Xuneng Zhou）§ § 在 shared_buffers 设置非常大时，检查点进程可能尝试为 fsync 请求分配超过 1GB 的内存，导致失败并进入无限循环。限制队列大小以防止此情况发生。", "title": "限制检查点进程的 fsync 请求队列大小", "commits": ["13559de95", "605890034"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "8c0ed16ab408506abcc539c8f793054e6459f2fb4fe2b53eeeb0f6e0241221ec", "section_path": ["变更"], "commit_groups": [["13559de95", "466c5435f", "50026136c", "b248a3ba4", "bae507821", "f0cdc2afd", "f32a47161"], ["2ac50f118", "5cfbff48a", "605890034", "73f897ba5", "7f872ae70", "c5d66fc12"]], "identity_text": "Limit the checkpointer process's fsync request queue size (Alexander Korotkov, Xuneng Zhou) With very large shared_buffers settings, it was possible for the checkpointer to attempt to allocate more than 1GB for fsync requests, leading to failure and an infinite loop. Clamp the queue size to prevent this scenario.", "commit_aliases": ["13559de95", "2ac50f118", "466c5435f", "50026136c", "5cfbff48a", "605890034", "73f897ba5", "7f872ae70", "b248a3ba4", "bae507821", "c5d66fc12", "f0cdc2afd", "f32a47161"], "source_commits": ["13559de95", "605890034"], "source_entry_id": "17.6/changes/017", "db_id": "b6926393711900b935aaf06bb088735c", "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57", "relations": [{"rule": 2, "type": "equivalent", "target": "281fc97a46282d1438f5efa7248025f2", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}}, {"rule": 2, "type": "equivalent", "target": "293f573a0de7ce494f7b2cfc6a4f2e11", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}}, {"rule": 2, "type": "equivalent", "target": "e5af68e076117d795f0b8253008885d8", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}}, {"rule": 2, "type": "equivalent", "target": "f6a3dfeda75753850982973e1f165e27", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "e5af68e076117d795f0b8253008885d8", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "限制检查点进程的 fsync 请求队列大小", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}, "url": "/docs/compare/?release=16.10#16.10-c29858c62d2499c3", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "281fc97a46282d1438f5efa7248025f2", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "限制检查点进程的 fsync 请求队列大小", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}, "url": "/docs/compare/?release=15.14#15.14-b5cdd8306236aec3", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "f6a3dfeda75753850982973e1f165e27", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "限制检查点进程的 fsync 请求队列大小", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}, "url": "/docs/compare/?release=14.19#14.19-f8241f57134fe016", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "293f573a0de7ce494f7b2cfc6a4f2e11", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "限制检查点进程的 fsync 请求队列大小", "evidence": {"same_day": true, "patch_ids": ["b33d312a12e371b36a675999aa9c4665", "bd53c105c4eb414f08698f7c4055b5d3"], "statement_hash": "301b8a1b01d246b950e5e16133e2ddbcb2b8294b545def270f1e0bad8d1dea57"}, "url": "/docs/compare/?release=13.22#13.22-e8b5615708afb421", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-c0d682449b03726c", "cves": [], "html": "<p>避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待（Vignesh C）<a href=\"https://postgr.es/c/c9f4e7520\">§</a></p>\n<p>如果服务器在写入跨越多个页面的 WAL 记录的第一部分后崩溃，后续对该 WAL 流的逻辑解码将等待下一个 WAL 页面上的数据到来。如果服务器此时处于空闲状态，这可能永远不会发生。</p>", "text": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待（Vignesh C）§ 如果服务器在写入跨越多个页面的 WAL 记录的第一部分后崩溃，后续对该 WAL 流的逻辑解码将等待下一个 WAL 页面上的数据到来。如果服务器此时处于空闲状态，这可能永远不会发生。", "title": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待", "commits": ["c9f4e7520"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "2978dc66d98b8bfedefcd8aaaf052723956f4dcd91cd3b8ef7e88d0f0cbcc135", "section_path": ["变更"], "commit_groups": [["5449d5b7a", "762f352ca", "9f270f48f", "b485e1c89", "bedfdb85b", "c9f4e7520", "d3917d8f1"]], "identity_text": "Avoid infinite wait in logical decoding when reading a partially-written WAL record (Vignesh C) If the server crashes after writing the first part of a WAL record that would span multiple pages, subsequent logical decoding of the WAL stream would wait for data to arrive on the next WAL page. That might never happen if the server is now idle.", "commit_aliases": ["5449d5b7a", "762f352ca", "9f270f48f", "b485e1c89", "bedfdb85b", "c9f4e7520", "d3917d8f1"], "source_commits": ["c9f4e7520"], "source_entry_id": "17.6/changes/018", "db_id": "93c9113e8027956fcabdf155f8f75e4e", "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9", "relations": [{"rule": 2, "type": "equivalent", "target": "22e9d4de76eb1e464e3ec27fe97dd92f", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}}, {"rule": 2, "type": "equivalent", "target": "58b07f22664eda599d8b66bf542f2279", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}}, {"rule": 2, "type": "equivalent", "target": "d765a2454362eae947f4e8fb58437956", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}}, {"rule": 2, "type": "equivalent", "target": "ee8d9b40c53ea8c4169fbdeb6a702b0c", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d765a2454362eae947f4e8fb58437956", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}, "url": "/docs/compare/?release=16.10#16.10-c837113a33e19cfe", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "22e9d4de76eb1e464e3ec27fe97dd92f", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}, "url": "/docs/compare/?release=15.14#15.14-d41948712b1e27a7", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "ee8d9b40c53ea8c4169fbdeb6a702b0c", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}, "url": "/docs/compare/?release=14.19#14.19-81c556306da153c8", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "58b07f22664eda599d8b66bf542f2279", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在读取部分写入的 WAL 记录时逻辑解码出现无限等待", "evidence": {"same_day": true, "patch_ids": ["144ef66a83178a770de8fdb2ebc4a8ca"], "statement_hash": "36121084c99a58bdd2789e976cd801346c4feca0c2b1726e05ff531a6a74e2e9"}, "url": "/docs/compare/?release=13.22#13.22-9aa3ca20baea6a38", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-54d60f94669505c0", "cves": [], "html": "<p>修复 <code>MultiXactOffsetSLRU</code> 和 <code>MultiXactMemberSLRU</code> 的 LWLock 名称拼写不一致问题（Bertrand Drouvot）<a href=\"https://postgr.es/c/b3abec0ad\">§</a></p>\n<p>这导致 <code>pg_wait_events</code> 和 <code>pg_stat_activity</code> 中显示的等待事件名称不同，可能破坏连接这两个视图的监控查询。</p>", "text": "修复 MultiXactOffsetSLRU 和 MultiXactMemberSLRU 的 LWLock 名称拼写不一致问题（Bertrand Drouvot）§ 这导致 pg_wait_events 和 pg_stat_activity 中显示的等待事件名称不同，可能破坏连接这两个视图的监控查询。", "title": "修复 MultiXactOffsetSLRU 和 MultiXactMemberSLRU 的 LWLock 名称拼写不一致问题", "commits": ["b3abec0ad"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "6262d75b11f9a0aeace8c4b30430fe766535bd09b74ab033e755ea146c83a55f", "section_path": ["变更"], "commit_groups": [["4fcbe06aa", "a493e741d", "b3abec0ad"]], "identity_text": "Fix inconsistent spelling of LWLock names for MultiXactOffsetSLRU and MultiXactMemberSLRU (Bertrand Drouvot) This resulted in different wait-event names being displayed in pg_wait_events and pg_stat_activity, potentially breaking monitoring queries that join those views.", "commit_aliases": ["4fcbe06aa", "a493e741d", "b3abec0ad"], "source_commits": ["b3abec0ad"], "source_entry_id": "17.6/changes/019", "db_id": "e53cb69b9463ef51198308c01ee4c46e", "patch_ids": ["7aed490b37545e5c3bcb7a56a9650f23"], "statement_hash": "4e152f41f12af0d5806309b1ee3a880e5130b25719b8ada5c75388cf219fd882", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-4b38a13b8c214dd2", "cves": [], "html": "<p>修复 ACL 字符串中角色名称引用的不一致问题（Tom Lane）<a href=\"https://postgr.es/c/50959f96e\">§</a></p>\n<p>之前的引用规则是与区域设置相关的，这在跨安装传输 <code>aclitem</code> 值时可能导致可移植性问题。（<span>pg_dump</span> 不会这样做，但其他工具可能会。）为确保一致性，始终在 <code>aclitem</code> 输出中引用非 ASCII 字符；但为了保持向后兼容性，在 <code>aclitem</code> 输入期间从不要求必须引用它们。</p>", "text": "修复 ACL 字符串中角色名称引用的不一致问题（Tom Lane）§ 之前的引用规则是与区域设置相关的，这在跨安装传输 aclitem 值时可能导致可移植性问题。（pg_dump 不会这样做，但其他工具可能会。）为确保一致性，始终在 aclitem 输出中引用非 ASCII 字符；但为了保持向后兼容性，在 aclitem 输入期间从不要求必须引用它们。", "title": "修复 ACL 字符串中角色名称引用的不一致问题", "commits": ["50959f96e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "4e623707093098e3ad29b27cbf934b8be0784c878f23af9024dd3316e04f0216", "section_path": ["变更"], "commit_groups": [["093d3d745", "50959f96e", "53a936b61", "64840e462", "ac8cdb249", "ccacaf4fa", "de73cb3ed"]], "identity_text": "Fix inconsistent quoting of role names in ACL strings (Tom Lane) The previous quoting rule was locale-sensitive, which could lead to portability problems when transferring aclitem values across installations. (pg_dump does not do that, but other tools might.) To ensure consistency, always quote non-ASCII characters in aclitem output; but to preserve backward compatibility, never require that they be quoted during aclitem input.", "commit_aliases": ["093d3d745", "50959f96e", "53a936b61", "64840e462", "ac8cdb249", "ccacaf4fa", "de73cb3ed"], "source_commits": ["50959f96e"], "source_entry_id": "17.6/changes/020", "db_id": "6a9ae64e47841a3f6468aa39cba02cc6", "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a", "relations": [{"rule": 2, "type": "equivalent", "target": "2ebcc8ebe5e9895dc288586a5815bda5", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}}, {"rule": 2, "type": "equivalent", "target": "52a5d96d9176fa97a28373dd510d5655", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}}, {"rule": 2, "type": "equivalent", "target": "b8791b7c9aae59bb3cfe90cb33041834", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}}, {"rule": 2, "type": "equivalent", "target": "c74f55acbfdeb5614806e71894c897e3", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c74f55acbfdeb5614806e71894c897e3", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 ACL 字符串中角色名称引用的不一致问题", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}, "url": "/docs/compare/?release=16.10#16.10-31724e6d448f1e62", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "52a5d96d9176fa97a28373dd510d5655", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 ACL 字符串中角色名称引用的不一致问题", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}, "url": "/docs/compare/?release=15.14#15.14-fd663653ae3be56d", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "b8791b7c9aae59bb3cfe90cb33041834", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 ACL 字符串中角色名称引用的不一致问题", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}, "url": "/docs/compare/?release=14.19#14.19-47f9ee961e719688", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "2ebcc8ebe5e9895dc288586a5815bda5", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 ACL 字符串中角色名称引用的不一致问题", "evidence": {"same_day": true, "patch_ids": ["39e2337d7cb75da0757543c4712ffe4f"], "statement_hash": "3f8b86b2c5c3cfdc83c39ca4aa9e76aa8a1b4149c1b11f00f27f6527a241be5a"}, "url": "/docs/compare/?release=13.22#13.22-2e50f426919b1c43", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-0a15889291ed693e", "cves": [], "html": "<p>拒绝在关系选项和外部数据选项名称中使用等号（<code>=</code>）（Tom Lane）<a href=\"https://postgr.es/c/d4046125d\">§</a></p>\n<p>这类选项名称看不出有什么明确用途，而且允许它们会在存储表示中引入歧义。</p>", "text": "拒绝在关系选项和外部数据选项名称中使用等号（=）（Tom Lane）§ 这类选项名称看不出有什么明确用途，而且允许它们会在存储表示中引入歧义。", "title": "拒绝在关系选项和外部数据选项名称中使用等号（=）", "commits": ["d4046125d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "c2cdf3f874002a3d10856817ae26604b728bd10ccf17e944b585c04c41a4841a", "section_path": ["变更"], "commit_groups": [["aa87f69c0", "ab758ec4d", "cd31eaaeb", "d4046125d", "e76097124", "eb4234647"]], "identity_text": "Reject equal signs (=) in the names of relation options and foreign-data options (Tom Lane) There's no evident use-case for option names like this, and allowing them creates ambiguity in the stored representation.", "commit_aliases": ["aa87f69c0", "ab758ec4d", "cd31eaaeb", "d4046125d", "e76097124", "eb4234647"], "source_commits": ["d4046125d"], "source_entry_id": "17.6/changes/021", "db_id": "ac49b5d91d6c372b4c08d08948f00a7f", "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c", "relations": [{"rule": 2, "type": "equivalent", "target": "2b2049899acbe82941a9b3346c211827", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}}, {"rule": 2, "type": "equivalent", "target": "378e12ec8d1b50d306d5e81833b0e06b", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}}, {"rule": 2, "type": "equivalent", "target": "551cbede924847bceddaf0ffd39f78ad", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}}, {"rule": 2, "type": "equivalent", "target": "cce62d5f78858c2cfb840afd0ccc84d4", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2b2049899acbe82941a9b3346c211827", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "拒绝在关系选项和外部数据选项名称中使用等号（=）", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}, "url": "/docs/compare/?release=16.10#16.10-0a15889291ed693e", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "cce62d5f78858c2cfb840afd0ccc84d4", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "拒绝在关系选项和外部数据选项名称中使用等号（=）", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}, "url": "/docs/compare/?release=15.14#15.14-0a15889291ed693e", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "551cbede924847bceddaf0ffd39f78ad", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "拒绝在关系选项和外部数据选项名称中使用等号（=）", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}, "url": "/docs/compare/?release=14.19#14.19-0a15889291ed693e", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "378e12ec8d1b50d306d5e81833b0e06b", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "拒绝在关系选项和外部数据选项的名称中使用等号（=）", "evidence": {"same_day": true, "patch_ids": ["5cfa9a91458d8bf74a558cf8f029513d"], "statement_hash": "8330bbf241cac6f42857e63ccc59da91cb6130bb86df977a0a58ad80a4f8379c"}, "url": "/docs/compare/?release=13.22#13.22-6240afb0d3c4527b", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-370cfe9e2188d59f", "cves": [], "html": "<p>修复 LZ4 压缩归档数据可能不正确的解压缩问题（Mikhail Gribkov）<a href=\"https://postgr.es/c/074003431\">§</a></p>\n<p>此错误似乎仅在输入数据不太可压缩时才会出现，这可能解释了它为何未被发现。</p>", "text": "修复 LZ4 压缩归档数据可能不正确的解压缩问题（Mikhail Gribkov）§ 此错误似乎仅在输入数据不太可压缩时才会出现，这可能解释了它为何未被发现。", "title": "修复 LZ4 压缩归档数据可能不正确的解压缩问题", "commits": ["074003431"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "6a4bcfe216153f5b0afb910317286be5f6c187f7c390093ebee9da218612eb59", "section_path": ["变更"], "commit_groups": [["074003431", "3369a3b49", "5c639523f", "d09d13793", "d44efe87e"]], "identity_text": "Fix potentially-incorrect decompression of LZ4-compressed archive data (Mikhail Gribkov) This error seems to manifest only with not-very-compressible input data, which may explain why it escaped detection.", "commit_aliases": ["074003431", "3369a3b49", "5c639523f", "d09d13793", "d44efe87e"], "source_commits": ["074003431"], "source_entry_id": "17.6/changes/022", "db_id": "b302ecfbe05e1aba6c03f7aba1e86c6d", "patch_ids": ["775da154647809dc3f3016f20f0b14f2"], "statement_hash": "c6a44e7cb11bf105bc2b48549a2b4be62507a216f2eb446de5c8984cb409b506", "relations": [{"rule": 2, "type": "equivalent", "target": "5e0259fead17b9b318a6394d1f6aaf19", "evidence": {"same_day": true, "patch_ids": ["775da154647809dc3f3016f20f0b14f2"], "statement_hash": "c6a44e7cb11bf105bc2b48549a2b4be62507a216f2eb446de5c8984cb409b506"}}, {"rule": 2, "type": "equivalent", "target": "c8eb9f79e015cec39d5f6201f588738f", "evidence": {"same_day": true, "patch_ids": ["775da154647809dc3f3016f20f0b14f2"], "statement_hash": "c6a44e7cb11bf105bc2b48549a2b4be62507a216f2eb446de5c8984cb409b506"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "5e0259fead17b9b318a6394d1f6aaf19", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 LZ4 压缩归档数据可能不正确的解压缩问题", "evidence": {"same_day": true, "patch_ids": ["775da154647809dc3f3016f20f0b14f2"], "statement_hash": "c6a44e7cb11bf105bc2b48549a2b4be62507a216f2eb446de5c8984cb409b506"}, "url": "/docs/compare/?release=16.10#16.10-8ec1446fffeb5fd7", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "c8eb9f79e015cec39d5f6201f588738f", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 LZ4 压缩归档数据可能不正确的解压缩问题", "evidence": {"same_day": true, "patch_ids": ["775da154647809dc3f3016f20f0b14f2"], "statement_hash": "c6a44e7cb11bf105bc2b48549a2b4be62507a216f2eb446de5c8984cb409b506"}, "url": "/docs/compare/?release=15.14#15.14-e8a24372b6b9ae7e", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-5825acdc2554d8ce", "cves": [], "html": "<p>避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目（Peter Geoghegan）<a href=\"https://postgr.es/c/40aa5ddea\">§</a></p>", "text": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目（Peter Geoghegan）§", "title": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目", "commits": ["40aa5ddea"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "2ec40d2e57a4c2b1d17136e72506068448af5306563849b527088e344d8a04e7", "section_path": ["变更"], "commit_groups": [["38c8d2987", "40aa5ddea", "7c319f549", "7c7c0a77d", "c7f25feb3", "d2ec67109"]], "identity_text": "Avoid a rare scenario where a btree index scan could mark the wrong index entries as dead (Peter Geoghegan)", "commit_aliases": ["38c8d2987", "40aa5ddea", "7c319f549", "7c7c0a77d", "c7f25feb3", "d2ec67109"], "source_commits": ["40aa5ddea"], "source_entry_id": "17.6/changes/023", "db_id": "2896a1f0aa2fe4a744169742b2559dcd", "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6", "relations": [{"rule": 2, "type": "equivalent", "target": "13ed0887bc8dac0823c64554459a581c", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}}, {"rule": 2, "type": "equivalent", "target": "19b1fbc49c15351ae0829b195564baa0", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}}, {"rule": 2, "type": "equivalent", "target": "3c09bd63d8e7c6a637ad01ffa6b1f882", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}}, {"rule": 2, "type": "equivalent", "target": "7907917b0e9fc70fa54857b3dd5f0789", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "13ed0887bc8dac0823c64554459a581c", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}, "url": "/docs/compare/?release=16.10#16.10-2b08a4614d13a7a4", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "19b1fbc49c15351ae0829b195564baa0", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}, "url": "/docs/compare/?release=15.14#15.14-3522682a6e13212e", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "3c09bd63d8e7c6a637ad01ffa6b1f882", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}, "url": "/docs/compare/?release=14.19#14.19-e337667a91002083", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "7907917b0e9fc70fa54857b3dd5f0789", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免 B-树索引扫描在罕见情况下将错误的索引条目标记为死条目", "evidence": {"same_day": true, "patch_ids": ["aad96c72a59beb69e1860513caa21d9f"], "statement_hash": "d899960974f459230ac3f3091253ae0f247bae81693df68cda29e10707290ad6"}, "url": "/docs/compare/?release=13.22#13.22-b6601ad2fa69571a", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-6c93c6ab7dac53db", "cves": [], "html": "<p>避免在逻辑复制期间重新分发来自其他事务的缓存失效消息（Vignesh C）<a href=\"https://postgr.es/c/45c357e0e\">§</a></p>\n<p>我们上一轮次版本发布中包含了一项修复，确保复制接收进程会响应跨进程缓存失效消息，从而避免它们在执行复制更新时使用过期的系统目录数据。然而，该修复无意中也让这些进程再次重新分发这些消息，导致失效消息数量呈指数级增长，并且常常以内存分配失败告终。现已通过不重新分发收到的消息来修复该问题。</p>", "text": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息（Vignesh C）§ 我们上一轮次版本发布中包含了一项修复，确保复制接收进程会响应跨进程缓存失效消息，从而避免它们在执行复制更新时使用过期的系统目录数据。然而，该修复无意中也让这些进程再次重新分发这些消息，导致失效消息数量呈指数级增长，并且常常以内存分配失败告终。现已通过不重新分发收到的消息来修复该问题。", "title": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息", "commits": ["45c357e0e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "218fc52d2bc0a41a7b3cd4e8bda48dfd17369e2a7bd3b3203b106ad3bbd13856", "section_path": ["变更"], "commit_groups": [["1230be12f", "45c357e0e", "983b36362", "b2ae07720", "d87d07b7a", "fc0fb77c5"], ["87819f766"]], "identity_text": "Avoid re-distributing cache invalidation messages from other transactions during logical replication (vignesh C) Our previous round of minor releases included a bug fix to ensure that replication receiver processes would respond to cross-process cache invalidation messages, preventing them from using stale catalog data while performing replication updates. However, the fix unintentionally made them also redistribute those messages again, leading to an exponential increase in the number of invalidation messages, which would often end in a memory allocation failure. Fix by not redistributing received messages.", "commit_aliases": ["1230be12f", "45c357e0e", "87819f766", "983b36362", "b2ae07720", "d87d07b7a", "fc0fb77c5"], "source_commits": ["45c357e0e", "87819f766"], "source_entry_id": "17.6/changes/024", "db_id": "4eaa52c036c883f61e659c01b52fb190", "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d", "relations": [{"rule": 2, "type": "equivalent", "target": "1b42275facb138dcb392f27b6e27f9a4", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}}, {"rule": 2, "type": "equivalent", "target": "a9cc9dab0228660da06096fd68f433f3", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}}, {"rule": 2, "type": "equivalent", "target": "b3009aa88c3ced8a05c6dba715705c19", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}}, {"rule": 2, "type": "equivalent", "target": "c21a911113d9e87b49c45518f22a2dfc", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3009aa88c3ced8a05c6dba715705c19", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}, "url": "/docs/compare/?release=16.10#16.10-6c93c6ab7dac53db", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "c21a911113d9e87b49c45518f22a2dfc", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}, "url": "/docs/compare/?release=15.14#15.14-6c93c6ab7dac53db", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "1b42275facb138dcb392f27b6e27f9a4", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}, "url": "/docs/compare/?release=14.19#14.19-6c93c6ab7dac53db", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "a9cc9dab0228660da06096fd68f433f3", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在逻辑复制期间重新分发来自其他事务的缓存失效消息", "evidence": {"same_day": true, "patch_ids": ["44892eb4edae7c935ca996ba7215a3be", "9144d1cc1257f28763bbe94a44dcec67"], "statement_hash": "cb76142d5aa80484a475a98632d6f3282d96cb8992669eaaed5c92b24c4f534d"}, "url": "/docs/compare/?release=13.22#13.22-3fd682e6d8f36911", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-5ba94aab21c53164", "cves": [], "html": "<p>当复制槽同步配置错误时，避免服务器意外关闭（Fujii Masao）<a href=\"https://postgr.es/c/f71fa981c\">§</a></p>\n<p>如果 <code>sync_replication_slots</code> 被设为 <code>true</code>，而 <code>wal_level</code> 又低于 <code>logical</code>，postmaster 进程就会报告错误并随之停止。理想行为只是禁用复制槽同步，因此现在降低该错误消息的级别，以避免 postmaster 被关闭。</p>", "text": "当复制槽同步配置错误时，避免服务器意外关闭（Fujii Masao）§ 如果 sync_replication_slots 被设为 true，而 wal_level 又低于 logical，postmaster 进程就会报告错误并随之停止。理想行为只是禁用复制槽同步，因此现在降低该错误消息的级别，以避免 postmaster 被关闭。", "title": "当复制槽同步配置错误时，避免服务器意外关闭", "commits": ["f71fa981c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "16fc0559c181f83a7d3d9048bdb68c0c1ec46fc5d00ef9f1b447ab23da1c645d", "section_path": ["变更"], "commit_groups": [["2d81a246f", "4614d53d4", "f71fa981c"]], "identity_text": "Avoid unexpected server shutdown when replication slot synchronization is misconfigured (Fujii Masao) The postmaster process would report an error (and then stop) if sync_replication_slots was set to true while wal_level was less than logical. The desired behavior is just that slot synchronization should be disabled, so reduce this error message's level to avoid postmaster shutdown.", "commit_aliases": ["2d81a246f", "4614d53d4", "f71fa981c"], "source_commits": ["f71fa981c"], "source_entry_id": "17.6/changes/025", "db_id": "13718c0f700b8e4d7655974c5708a64b", "patch_ids": ["3f065dca6fafeb4ab707726e584ce280"], "statement_hash": "cdf877b484c07c52d1a362b36ee9e71b0f9e51cf9119cd72cb6f21c265702221", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-1494a836c62de80f", "cves": [], "html": "<p>避免在检查点期间过早移除旧 WAL（Vitaly Davydov）<a href=\"https://postgr.es/c/2090edc6f\">§</a></p>\n<p>如果在检查点进行期间推进了某个复制槽的 restart point，那么已不再需要的 WAL 段可能会被过早移除，从而在数据库随后立即崩溃时导致恢复失败。现已通过额外保留一个检查点周期来修复此问题。</p>", "text": "避免在检查点期间过早移除旧 WAL（Vitaly Davydov）§ 如果在检查点进行期间推进了某个复制槽的 restart point，那么已不再需要的 WAL 段可能会被过早移除，从而在数据库随后立即崩溃时导致恢复失败。现已通过额外保留一个检查点周期来修复此问题。", "title": "避免在检查点期间过早移除旧 WAL", "commits": ["2090edc6f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "862afb461e7b25af2502cb6ac2fddb9e304f4a3f37e3fdd92f1a8161a9dcaf0b", "section_path": ["变更"], "commit_groups": [["2090edc6f", "cea8f2c3e", "dd3df0b85", "dd9bc1a17", "e2832bd96"]], "identity_text": "Avoid premature removal of old WAL during checkpoints (Vitaly Davydov) If a replication slot's restart point is advanced while a checkpoint is in progress, no-longer-needed WAL segments could get removed too soon, leading to recovery failure if the database crashes immediately afterwards. Fix by keeping them for one additional checkpoint cycle.", "commit_aliases": ["2090edc6f", "cea8f2c3e", "dd3df0b85", "dd9bc1a17", "e2832bd96"], "source_commits": ["2090edc6f"], "source_entry_id": "17.6/changes/026", "db_id": "157e22a9e0303f40144c7595100b1787", "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857", "relations": [{"rule": 2, "type": "equivalent", "target": "0b434eea45e0fa732c2e0f652d15f416", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}}, {"rule": 2, "type": "equivalent", "target": "6b7844a84a190d055371db21611e225a", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}}, {"rule": 2, "type": "equivalent", "target": "991bdbb446e54520c74d7fbfcb5eb2d5", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}}, {"rule": 2, "type": "equivalent", "target": "9cd299656d523ad883dc82d378ca2484", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b434eea45e0fa732c2e0f652d15f416", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在检查点期间过早移除旧 WAL", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}, "url": "/docs/compare/?release=16.10#16.10-1494a836c62de80f", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "9cd299656d523ad883dc82d378ca2484", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在检查点期间过早移除旧 WAL", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}, "url": "/docs/compare/?release=15.14#15.14-1494a836c62de80f", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "991bdbb446e54520c74d7fbfcb5eb2d5", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在检查点期间过早移除旧 WAL", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}, "url": "/docs/compare/?release=14.19#14.19-1494a836c62de80f", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "6b7844a84a190d055371db21611e225a", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在检查点期间过早移除旧的 WAL", "evidence": {"same_day": true, "patch_ids": ["0b3f1a7eb4fd7ec82c605bba05f1ed04"], "statement_hash": "f9ccd6fcb293b2899cd65dbde83e990bd6cdb466fe17d70177c6d3a300702857"}, "url": "/docs/compare/?release=13.22#13.22-fc131f2ed494a6e9", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-1b410e48287bb276", "cves": [], "html": "<p>绝不要向后移动复制槽的 confirmed-flush 位置（Shveta Malik）<a href=\"https://postgr.es/c/7318f241d\">§</a></p>\n<p>在某些情况下，复制客户端可能会确认一个超过其持久化存储位置的 LSN，然后在重启后又发送一个更旧的 LSN。只要客户端对这两个位置之间的 WAL 没有任何必须执行的操作，我们就认为这并不是缺陷。不过，为避免数据重复，我们不应重新发送那段 WAL，因此要确保对给定槽始终采用最新的 confirmed LSN。</p>", "text": "绝不要向后移动复制槽的 confirmed-flush 位置（Shveta Malik）§ 在某些情况下，复制客户端可能会确认一个超过其持久化存储位置的 LSN，然后在重启后又发送一个更旧的 LSN。只要客户端对这两个位置之间的 WAL 没有任何必须执行的操作，我们就认为这并不是缺陷。不过，为避免数据重复，我们不应重新发送那段 WAL，因此要确保对给定槽始终采用最新的 confirmed LSN。", "title": "绝不要向后移动复制槽的 confirmed-flush 位置", "commits": ["7318f241d"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "770d917febfe336cd9763b107e31e6c956054685e12d5b155c74bbdacf04b7e1", "section_path": ["变更"], "commit_groups": [["7318f241d", "9d1a62359", "ad5eaf390", "c0f51fde5", "e323d9df0", "e68459489"]], "identity_text": "Never move a replication slot's confirmed-flush position backwards (Shveta Malik) In some cases a replication client could acknowledge an LSN that's past what it has stored persistently, and then perhaps send an older LSN after a restart. We consider this not-a-bug so long as the client did not have anything it needed to do for the WAL between the two points. However, we should not re-send that WAL for fear of data duplication, so make sure we always believe the latest confirmed LSN for a given slot.", "commit_aliases": ["7318f241d", "9d1a62359", "ad5eaf390", "c0f51fde5", "e323d9df0", "e68459489"], "source_commits": ["7318f241d"], "source_entry_id": "17.6/changes/027", "db_id": "c47cce13b2327ae5b79682de3bf86211", "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8", "relations": [{"rule": 2, "type": "equivalent", "target": "302bc1e6fedc523897672d05dfe14569", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}}, {"rule": 2, "type": "equivalent", "target": "543c80aec11057987c705aefac252ccb", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}}, {"rule": 2, "type": "equivalent", "target": "6d9a892128e3245f9c561bcf03f2d17d", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}}, {"rule": 2, "type": "equivalent", "target": "a5a72dc4b4696a8ef2999104a04f52ef", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "302bc1e6fedc523897672d05dfe14569", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "绝不要向后移动复制槽的 confirmed-flush 位置", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}, "url": "/docs/compare/?release=16.10#16.10-1b410e48287bb276", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "a5a72dc4b4696a8ef2999104a04f52ef", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "绝不要向后移动复制槽的 confirmed-flush 位置", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}, "url": "/docs/compare/?release=15.14#15.14-1b410e48287bb276", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "6d9a892128e3245f9c561bcf03f2d17d", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "绝不要向后移动复制槽的 confirmed-flush 位置", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}, "url": "/docs/compare/?release=14.19#14.19-1b410e48287bb276", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "543c80aec11057987c705aefac252ccb", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "绝不将复制槽的已确认刷新位置向后移动", "evidence": {"same_day": true, "patch_ids": ["2de9aabd4b6d806cb09f97233c42d8b9"], "statement_hash": "5099a5e2a539f415dfef4d115b189733d47e78c23e785a29b6426dcc967cc5e8"}, "url": "/docs/compare/?release=13.22#13.22-8712d41c8b7aa917", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-45175aa7d7cebbbf", "cves": [], "html": "<p>防止在启动新的逻辑复制工作进程前出现过长延迟（Tom Lane）<a href=\"https://postgr.es/c/9f33300e6\">§</a></p>\n<p>在某些情况下，逻辑复制启动器在启动新工作进程之前，休眠时间可能会远远超过所配置的 <code>wal_retrieve_retry_interval</code>。</p>", "text": "防止在启动新的逻辑复制工作进程前出现过长延迟（Tom Lane）§ 在某些情况下，逻辑复制启动器在启动新工作进程之前，休眠时间可能会远远超过所配置的 wal_retrieve_retry_interval。", "title": "防止在启动新的逻辑复制工作进程前出现过长延迟", "commits": ["9f33300e6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "5076a08ec9fae82a0c60eedba0971954bf50539c3b82a626d70d849356c4188f", "section_path": ["变更"], "commit_groups": [["87c8ed3db", "9f33300e6", "fd519419c"]], "identity_text": "Prevent excessive delays before launching new logical replication workers (Tom Lane) In some cases the logical replication launcher could sleep considerably longer than the configured wal_retrieve_retry_interval before launching a new worker.", "commit_aliases": ["87c8ed3db", "9f33300e6", "fd519419c"], "source_commits": ["9f33300e6"], "source_entry_id": "17.6/changes/028", "db_id": "0febf55b7f86d0715f11b047a0adca26", "patch_ids": ["a50b86f78d59ee5a66a537064af578ed"], "statement_hash": "67584f2d4ddc30c8f84403b9acbe835807348a6a974ac71055277e0546351538", "relations": [{"rule": 2, "type": "equivalent", "target": "659b4c52c6f73a0c03712c2e9387d2ed", "evidence": {"same_day": true, "patch_ids": ["a50b86f78d59ee5a66a537064af578ed"], "statement_hash": "67584f2d4ddc30c8f84403b9acbe835807348a6a974ac71055277e0546351538"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "659b4c52c6f73a0c03712c2e9387d2ed", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "防止在启动新的逻辑复制工作进程前出现过长延迟", "evidence": {"same_day": true, "patch_ids": ["a50b86f78d59ee5a66a537064af578ed"], "statement_hash": "67584f2d4ddc30c8f84403b9acbe835807348a6a974ac71055277e0546351538"}, "url": "/docs/compare/?release=16.10#16.10-45175aa7d7cebbbf", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}]}, {"id": "17.6-e93f84369f55c0dc", "cves": [], "html": "<p>修复在逻辑复制 <code>INSERT ... ON CONFLICT</code> 时的释放后使用问题（Ethan Mertz、Michael Paquier）<a href=\"https://postgr.es/c/9e0b4b1ab\">§</a></p>\n<p>这可能导致不正确的进度报告，如果运气非常不好还可能导致 WAL 发送进程崩溃。</p>", "text": "修复在逻辑复制 INSERT ... ON CONFLICT 时的释放后使用问题（Ethan Mertz、Michael Paquier）§ 这可能导致不正确的进度报告，如果运气非常不好还可能导致 WAL 发送进程崩溃。", "title": "修复在逻辑复制 INSERT ... ON CONFLICT 时的释放后使用问题", "commits": ["9e0b4b1ab"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "13bd2330a436c1b6f7ba22cb1acb92cbfce4a2472b07278b176587befa419177", "section_path": ["变更"], "commit_groups": [["11de339aa", "3b3fa9490", "9e0b4b1ab", "ec96e8812"]], "identity_text": "Fix use-after-free during logical replication of INSERT ... ON CONFLICT (Ethan Mertz, Michael Paquier) This could result in incorrect progress reporting, or with very bad luck it could result in a crash of the WAL sender process.", "commit_aliases": ["11de339aa", "3b3fa9490", "9e0b4b1ab", "ec96e8812"], "source_commits": ["9e0b4b1ab"], "source_entry_id": "17.6/changes/029", "db_id": "d5d9004e76f7535b6d0336d4e60ba244", "patch_ids": ["77bfa12a4c07686f775586c1330d7401"], "statement_hash": "c99216e19f1bf2d79c8fee8f6461e1fdbb29f1be3b32b7103d55f4593271eccb", "relations": [{"rule": 2, "type": "equivalent", "target": "f37bc12b2d7bd8fa9e9257a9a232a920", "evidence": {"same_day": true, "patch_ids": ["77bfa12a4c07686f775586c1330d7401"], "statement_hash": "c99216e19f1bf2d79c8fee8f6461e1fdbb29f1be3b32b7103d55f4593271eccb"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f37bc12b2d7bd8fa9e9257a9a232a920", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复在逻辑复制 INSERT ... ON CONFLICT 时的释放后使用问题", "evidence": {"same_day": true, "patch_ids": ["77bfa12a4c07686f775586c1330d7401"], "statement_hash": "c99216e19f1bf2d79c8fee8f6461e1fdbb29f1be3b32b7103d55f4593271eccb"}, "url": "/docs/compare/?release=16.10#16.10-085516c09acdc2c1", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}]}, {"id": "17.6-edcd26180e8726a0", "cves": [], "html": "<p>允许中断在备库服务器上等待事务结束的操作（Kevin K Biju）<a href=\"https://postgr.es/c/24c5ad5be\">§</a></p>\n<p>在备库服务器上创建复制槽时，可能需要等待主库上的某些活动事务结束，并在备库上完成回放。由于这可能是无限期等待，因此理应允许取消该操作，但原先循环中没有检查查询取消。</p>", "text": "允许中断在备库服务器上等待事务结束的操作（Kevin K Biju）§ 在备库服务器上创建复制槽时，可能需要等待主库上的某些活动事务结束，并在备库上完成回放。由于这可能是无限期等待，因此理应允许取消该操作，但原先循环中没有检查查询取消。", "title": "允许中断在备库服务器上等待事务结束的操作", "commits": ["24c5ad5be"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "0405a0ce21fe39f4ce3d6ad6b137c3042cc299f1168b3e07efc0066b2feae108", "section_path": ["变更"], "commit_groups": [["24c5ad5be", "405cca9da", "63fa7caa9", "706344f06", "9130d8eee", "961553daf"]], "identity_text": "Allow waiting for a transaction on a standby server to be interrupted (Kevin K Biju) Creation of a replication slot on a standby server may require waiting for some active transaction(s) to finish on the primary and then be replayed on the standby. Since that could be an indefinite wait, it's desirable to allow the operation to be cancelled, but there was no check for query cancel in the loop.", "commit_aliases": ["24c5ad5be", "405cca9da", "63fa7caa9", "706344f06", "9130d8eee", "961553daf"], "source_commits": ["24c5ad5be"], "source_entry_id": "17.6/changes/030", "db_id": "441419563e7b1213eb40a5ad00a314a2", "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45", "relations": [{"rule": 2, "type": "equivalent", "target": "0e70198e4406f4acd9a45e1827f2a947", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}}, {"rule": 2, "type": "equivalent", "target": "747d14855d798bb1987f50d262b8d020", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}}, {"rule": 2, "type": "equivalent", "target": "82cbaa6bcb1ffd8af558965a2d5c0001", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}}, {"rule": 2, "type": "equivalent", "target": "b6b261baad736c03573d16bfb1b117b3", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0e70198e4406f4acd9a45e1827f2a947", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "允许中断在备库服务器上等待事务结束的操作", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}, "url": "/docs/compare/?release=16.10#16.10-edcd26180e8726a0", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "82cbaa6bcb1ffd8af558965a2d5c0001", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "允许中断在备库服务器上等待事务结束的操作", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}, "url": "/docs/compare/?release=15.14#15.14-edcd26180e8726a0", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "b6b261baad736c03573d16bfb1b117b3", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "允许中断在备库服务器上等待事务结束的操作", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}, "url": "/docs/compare/?release=14.19#14.19-edcd26180e8726a0", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "747d14855d798bb1987f50d262b8d020", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "允许在备库上等待事务时被中断", "evidence": {"same_day": true, "patch_ids": ["187e0d1d9cfa1bfc5dfe37756a2c0c56"], "statement_hash": "9462db228f22687711dee0ec8d8acebf64eda37d04aeb9701390084ffe456f45"}, "url": "/docs/compare/?release=13.22#13.22-b7873e51a933f275", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-08867e7ffe043727", "cves": [], "html": "<p>不要让级联逻辑 WAL 发送进程尝试发送超出其备库服务器已回放范围的数据（Alexey Makhmutov）<a href=\"https://postgr.es/c/87be749c7\">§</a></p>\n<p>这可以避免此类 WAL 发送进程在备库服务器关闭时卡住，等待本不会发生的回放工作，因为服务器的启动进程此时已经关闭。</p>", "text": "不要让级联逻辑 WAL 发送进程尝试发送超出其备库服务器已回放范围的数据（Alexey Makhmutov）§ 这可以避免此类 WAL 发送进程在备库服务器关闭时卡住，等待本不会发生的回放工作，因为服务器的启动进程此时已经关闭。", "title": "不要让级联逻辑 WAL 发送进程尝试发送超出其备库服务器已回放范围的数据", "commits": ["87be749c7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "78f9f8a799860d24a40bd067986a34e0e3bf538375ea13cc8d54d5c151bb9603", "section_path": ["变更"], "commit_groups": [["5231ed826", "5e6d561bc", "87be749c7"]], "identity_text": "Do not let cascading logical WAL senders try to send data that's beyond what has been replayed on their standby server (Alexey Makhmutov) This avoids a situation where such WAL senders could get stuck at standby server shutdown, waiting for replay work that will not happen because the server's startup process is already shut down.", "commit_aliases": ["5231ed826", "5e6d561bc", "87be749c7"], "source_commits": ["87be749c7"], "source_entry_id": "17.6/changes/031", "db_id": "f16e1bdc17043f264559177239b6811b", "patch_ids": ["dbf1e2775eadcc39cb4e5c411b8a010f"], "statement_hash": "d4f9ae7fc960bfe18c999fc3dd533605a1db401525b99f13fadf1b0d970f3c04", "relations": [{"rule": 2, "type": "equivalent", "target": "7405eab782e3675028e3b95a8c7f8131", "evidence": {"same_day": true, "patch_ids": ["dbf1e2775eadcc39cb4e5c411b8a010f"], "statement_hash": "d4f9ae7fc960bfe18c999fc3dd533605a1db401525b99f13fadf1b0d970f3c04"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7405eab782e3675028e3b95a8c7f8131", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "不要让级联逻辑 WAL 发送进程尝试发送超出其备库服务器已回放范围的数据", "evidence": {"same_day": true, "patch_ids": ["dbf1e2775eadcc39cb4e5c411b8a010f"], "statement_hash": "d4f9ae7fc960bfe18c999fc3dd533605a1db401525b99f13fadf1b0d970f3c04"}, "url": "/docs/compare/?release=16.10#16.10-08867e7ffe043727", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}]}, {"id": "17.6-8d88f1f98ad8a0f5", "cves": [], "html": "<p>修复自动清理中的每关系内存泄漏（Tom Lane）<a href=\"https://postgr.es/c/13d21b48a\">§</a></p>", "text": "修复自动清理中的每关系内存泄漏（Tom Lane）§", "title": "修复自动清理中的每关系内存泄漏", "commits": ["13d21b48a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "3f3dac55333d2791ff3893115692514e09ab806e33cbf402fe62a8821b524fdc", "section_path": ["变更"], "commit_groups": [["02502c1bc", "13d21b48a", "cd3064f98", "e087b5b79"]], "identity_text": "Fix per-relation memory leakage in autovacuum (Tom Lane)", "commit_aliases": ["02502c1bc", "13d21b48a", "cd3064f98", "e087b5b79"], "source_commits": ["cd3064f98"], "source_entry_id": "17.6/changes/032", "db_id": "30e3b131cb9299bb525077869f153085", "patch_ids": ["af4b22ae95ecc988edb60495a12de2ef"], "statement_hash": "f69f41e4e148ef253e75639d8ec093551f9a31f39b1fc5e8b598c6ebff1e104b", "relations": [{"rule": 2, "type": "equivalent", "target": "526e591053534be4ba2524d8cd2071f9", "evidence": {"same_day": true, "patch_ids": ["af4b22ae95ecc988edb60495a12de2ef"], "statement_hash": "f69f41e4e148ef253e75639d8ec093551f9a31f39b1fc5e8b598c6ebff1e104b"}}, {"rule": 2, "type": "equivalent", "target": "8ef5d0f879ecd40256967e8563989d08", "evidence": {"same_day": true, "patch_ids": ["af4b22ae95ecc988edb60495a12de2ef"], "statement_hash": "f69f41e4e148ef253e75639d8ec093551f9a31f39b1fc5e8b598c6ebff1e104b"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8ef5d0f879ecd40256967e8563989d08", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复自动清理中的每关系内存泄漏", "evidence": {"same_day": true, "patch_ids": ["af4b22ae95ecc988edb60495a12de2ef"], "statement_hash": "f69f41e4e148ef253e75639d8ec093551f9a31f39b1fc5e8b598c6ebff1e104b"}, "url": "/docs/compare/?release=16.10#16.10-45f82fbeb414dcb5", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "526e591053534be4ba2524d8cd2071f9", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复自动清理中的每关系内存泄漏", "evidence": {"same_day": true, "patch_ids": ["af4b22ae95ecc988edb60495a12de2ef"], "statement_hash": "f69f41e4e148ef253e75639d8ec093551f9a31f39b1fc5e8b598c6ebff1e104b"}, "url": "/docs/compare/?release=15.14#15.14-8d88f1f98ad8a0f5", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-6cf6f464f0623ed1", "cves": [], "html": "<p>修复 <code>XMLSERIALIZE(... INDENT)</code> 中的会话生命期内存泄漏（Dmitry Kovalenko、Tom Lane）<a href=\"https://postgr.es/c/95cf1a181\">§</a> <a href=\"https://postgr.es/c/20bae0690\">§</a></p>", "text": "修复 XMLSERIALIZE(... INDENT) 中的会话生命期内存泄漏（Dmitry Kovalenko、Tom Lane）§ §", "title": "修复 XMLSERIALIZE(... INDENT) 中的会话生命期内存泄漏", "commits": ["20bae0690", "95cf1a181"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "ee98ec49050f88158771d9455979a274c9eddb333176245362bbb28942c29a26", "section_path": ["变更"], "commit_groups": [["075554ec6", "95cf1a181", "abb517d61", "e03c95287"], ["20bae0690", "ee58de100", "f24605e2d"]], "identity_text": "Fix session-lifespan memory leaks in XMLSERIALIZE(... INDENT) (Dmitry Kovalenko, Tom Lane)", "commit_aliases": ["075554ec6", "20bae0690", "95cf1a181", "abb517d61", "e03c95287", "ee58de100", "f24605e2d"], "source_commits": ["20bae0690", "95cf1a181"], "source_entry_id": "17.6/changes/033", "db_id": "ccc0591e8371fa5daa6e767d294e24f0", "patch_ids": ["4c48776ea5d4e83131c7a50ad9c3c82a", "c312b4f92b9fc1186cf8ed8493ce7655"], "statement_hash": "a41bf636e4f8e3d060b96d31e76f6ac8b148bc41e5e60f0fb40d319468f659dd", "relations": [{"rule": 2, "type": "equivalent", "target": "b3dbd8b68450a3ddb0b98b527ed1e0bb", "evidence": {"same_day": true, "patch_ids": ["4c48776ea5d4e83131c7a50ad9c3c82a", "c312b4f92b9fc1186cf8ed8493ce7655"], "statement_hash": "a41bf636e4f8e3d060b96d31e76f6ac8b148bc41e5e60f0fb40d319468f659dd"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3dbd8b68450a3ddb0b98b527ed1e0bb", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 XMLSERIALIZE(... INDENT) 中的会话生命期内存泄漏", "evidence": {"same_day": true, "patch_ids": ["4c48776ea5d4e83131c7a50ad9c3c82a", "c312b4f92b9fc1186cf8ed8493ce7655"], "statement_hash": "a41bf636e4f8e3d060b96d31e76f6ac8b148bc41e5e60f0fb40d319468f659dd"}, "url": "/docs/compare/?release=16.10#16.10-65c3c8be9e68dbba", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}]}, {"id": "17.6-35836520f95ac33a", "cves": [], "html": "<p>修复使用 <span>“<span>bump</span>”</span> 分配器分配大块内存时，在内存耗尽后可能发生崩溃的问题（Tom Lane）<a href=\"https://postgr.es/c/a05cf22e0\">§</a></p>", "text": "修复使用 “bump” 分配器分配大块内存时，在内存耗尽后可能发生崩溃的问题（Tom Lane）§", "title": "修复使用 “bump” 分配器分配大块内存时，在内存耗尽后可能发生崩溃的问题", "commits": ["a05cf22e0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "01f6674f7251b8d1b9d87130cb8100ca6f5065e0c1bdcecefa27c6edbe1fe731", "section_path": ["变更"], "commit_groups": [["a05cf22e0", "d4a7e4e17"]], "identity_text": "Fix possible crash after out-of-memory when allocating large chunks with the bump allocator (Tom Lane)", "commit_aliases": ["a05cf22e0", "d4a7e4e17"], "source_commits": ["a05cf22e0"], "source_entry_id": "17.6/changes/034", "db_id": "aba8e957973bfafc24a221a550a91339", "patch_ids": ["dae72ac657b586756fd2d8a164cb1752"], "statement_hash": "3d4a5c20eb9d9881f2dc3314df59565ccfd88d1fc45bf784ce3cd7b0baa49288", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-32486322b55d4f87", "cves": [], "html": "<p>修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题（Nathan Bossart）<a href=\"https://postgr.es/c/fe8ea7a2a\">§</a></p>\n<p>这可能导致断言失败，或出现 <span>“<span>cannot fetch toast data without an active snapshot</span>”</span> 错误。</p>", "text": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题（Nathan Bossart）§ 这可能导致断言失败，或出现 “cannot fetch toast data without an active snapshot” 错误。", "title": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题", "commits": ["fe8ea7a2a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "9adabc11cad1565885a00a2dbf1d4f8152ed42921ba9ea486735f489a614e5e3", "section_path": ["变更"], "commit_groups": [["24135398f", "706054b11", "b65be6ef0", "b7ba2c030", "ddfcfb7ce", "fe8ea7a2a"]], "identity_text": "Fix some places that might try to fetch toasted fields of system catalogs without any snapshot (Nathan Bossart) This could result in an assertion failure or cannot fetch toast data without an active snapshot error.", "commit_aliases": ["24135398f", "706054b11", "b65be6ef0", "b7ba2c030", "ddfcfb7ce", "fe8ea7a2a"], "source_commits": ["fe8ea7a2a"], "source_entry_id": "17.6/changes/035", "db_id": "24c6e466f5e05041256451869f823aa4", "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc", "relations": [{"rule": 2, "type": "equivalent", "target": "15a89da07fe56608bc1bd8adff46e90e", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}}, {"rule": 2, "type": "equivalent", "target": "47e6dd4cda3e298da853c98533997be9", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}}, {"rule": 2, "type": "equivalent", "target": "71af29c15aec4afda1d0cec55f5993c7", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}}, {"rule": 2, "type": "equivalent", "target": "f19c9f66fd0acfaaf9767b1401906b20", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f19c9f66fd0acfaaf9767b1401906b20", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}, "url": "/docs/compare/?release=16.10#16.10-07ee29e0a74ee196", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "47e6dd4cda3e298da853c98533997be9", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}, "url": "/docs/compare/?release=15.14#15.14-3631801cfbc2b6e0", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "71af29c15aec4afda1d0cec55f5993c7", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}, "url": "/docs/compare/?release=14.19#14.19-087c775fe6a3a18e", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "15a89da07fe56608bc1bd8adff46e90e", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复某些位置可能在没有任何快照的情况下尝试获取系统目录中经过 TOAST 处理的字段的问题", "evidence": {"same_day": true, "patch_ids": ["777b876710acba4c29adff1116eae778"], "statement_hash": "32305323df3e7ebd92b18aa9e41b9366a0801e7322a1b13d39c8cb21303353dc"}, "url": "/docs/compare/?release=13.22#13.22-ee0f78fa7dcf53d5", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-2438f96ba5a2f4e7", "cves": [], "html": "<p>避免在跨表约束更新期间的断言失败（Tom Lane、Jian He）<a href=\"https://postgr.es/c/bbfcbc4cd\">§</a> <a href=\"https://postgr.es/c/6d4395b40\">§</a></p>", "text": "避免在跨表约束更新期间的断言失败（Tom Lane、Jian He）§ §", "title": "避免在跨表约束更新期间的断言失败", "commits": ["6d4395b40", "bbfcbc4cd"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "76374624931e3dfad33d0deb29ace0e0e8caf3e3f346f0d5976512e1a7c8e299", "section_path": ["变更"], "commit_groups": [["13f1e9f26", "25cab4473", "614ffb26d", "8319e5cb5", "bbfcbc4cd", "c15798cf9"], ["3d7a96871", "6d4395b40", "a10f21e6c", "d36980b71", "e6dd6e6ee", "e902f8181", "f9ba071cc"]], "identity_text": "Avoid assertion failure during cross-table constraint updates (Tom Lane, Jian He)", "commit_aliases": ["13f1e9f26", "25cab4473", "3d7a96871", "614ffb26d", "6d4395b40", "8319e5cb5", "a10f21e6c", "bbfcbc4cd", "c15798cf9", "d36980b71", "e6dd6e6ee", "e902f8181", "f9ba071cc"], "source_commits": ["6d4395b40", "bbfcbc4cd"], "source_entry_id": "17.6/changes/036", "db_id": "8e5c82e0c9a4620f5e78f373d6eab4de", "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd", "relations": [{"rule": 2, "type": "equivalent", "target": "4a0017ac513db3525a50660bd847b530", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}}, {"rule": 2, "type": "equivalent", "target": "5bd246584254c738e7c72084c1a50eb1", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}}, {"rule": 2, "type": "equivalent", "target": "7dbbc995359387cd322a74bf2d8ed14e", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}}, {"rule": 2, "type": "equivalent", "target": "be837258ad2a7ec6fa752a4d5cbcc0f4", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a0017ac513db3525a50660bd847b530", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在跨表约束更新期间的断言失败", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}, "url": "/docs/compare/?release=16.10#16.10-b77303bab24eb5bc", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "5bd246584254c738e7c72084c1a50eb1", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在跨表约束更新期间的断言失败", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}, "url": "/docs/compare/?release=15.14#15.14-a052ebd72b72256a", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "be837258ad2a7ec6fa752a4d5cbcc0f4", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在跨表约束更新期间的断言失败", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}, "url": "/docs/compare/?release=14.19#14.19-90acdd628e8a125e", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "7dbbc995359387cd322a74bf2d8ed14e", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在跨表约束更新期间的断言失败", "evidence": {"same_day": true, "patch_ids": ["38c2659d2d49792d4d5949aa17d94ffe", "e89d49ef181d2ea31edebe391d6585af"], "statement_hash": "315810c8210fbe84750562b49ec74df0b04879406e3b1c8ac94da02ffc01dcfd"}, "url": "/docs/compare/?release=13.22#13.22-dabbb36f105c08be", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-ff92c9676b1b3d1b", "cves": [], "html": "<p>移除在 <code>PortalRunMulti()</code> 结束时必须已确定命令标签的错误断言（Álvaro Herrera）<a href=\"https://postgr.es/c/0c466f5e0\">§</a></p>\n<p>在边界情况下（例如空的预备语句）此断言会失败。</p>", "text": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言（Álvaro Herrera）§ 在边界情况下（例如空的预备语句）此断言会失败。", "title": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言", "commits": ["0c466f5e0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "36fa6f0f244284a72465d8c47567c20007826bc9e669bfdf5419b3ce40f8e3d2", "section_path": ["变更"], "commit_groups": [["0c466f5e0", "43cd85962", "4871c1e9c", "b8926a5b4", "b9a896828", "c2720ac60", "e0d3f3cfb"]], "identity_text": "Remove faulty assertion that a command tag must have been determined by the end of PortalRunMulti() (Álvaro Herrera) This failed in edge cases such as an empty prepared statement.", "commit_aliases": ["0c466f5e0", "43cd85962", "4871c1e9c", "b8926a5b4", "b9a896828", "c2720ac60", "e0d3f3cfb"], "source_commits": ["0c466f5e0"], "source_entry_id": "17.6/changes/037", "db_id": "69acaf7eb64fd7b09e33dc034c31117b", "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e", "relations": [{"rule": 2, "type": "equivalent", "target": "29f00b03931c829d5d1fc33a545d7f2e", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}}, {"rule": 2, "type": "equivalent", "target": "3088f95cab6d048c5c9eaeab66d96284", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}}, {"rule": 2, "type": "equivalent", "target": "c19274d77bf45d3de069b4cb3f2b9558", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}}, {"rule": 2, "type": "equivalent", "target": "d9147fb696a093f4982942c7e9837f5c", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3088f95cab6d048c5c9eaeab66d96284", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}, "url": "/docs/compare/?release=16.10#16.10-68b74c0ee8871660", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "d9147fb696a093f4982942c7e9837f5c", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}, "url": "/docs/compare/?release=15.14#15.14-9a073b50a73fe134", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "29f00b03931c829d5d1fc33a545d7f2e", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}, "url": "/docs/compare/?release=14.19#14.19-08438a0e7ddef201", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "c19274d77bf45d3de069b4cb3f2b9558", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "移除在 PortalRunMulti() 结束时必须已确定命令标签的错误断言", "evidence": {"same_day": true, "patch_ids": ["89e3c2af85b43ec9e5c0880c832f7201"], "statement_hash": "f14c48b3304341a11f41f6a2913ce37ca10201d8817278f900dbd5be5eaf588e"}, "url": "/docs/compare/?release=13.22#13.22-c04ee227e6028abd", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-5bf82b7675525165", "cves": [], "html": "<p>修复 <code>XMLTABLE</code> 解析中的断言失败（Richard Guo）<a href=\"https://postgr.es/c/2f48b4f07\">§</a></p>", "text": "修复 XMLTABLE 解析中的断言失败（Richard Guo）§", "title": "修复 XMLTABLE 解析中的断言失败", "commits": ["2f48b4f07"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "dea89dbfc003b52b82ffb2d88ed577487ffc9175f87cb888c5f8b7b184f5bd0a", "section_path": ["变更"], "commit_groups": [["2f48b4f07", "666103090", "d3716d4b1", "fe29b2a1d"]], "identity_text": "Fix assertion failure in XMLTABLE parsing (Richard Guo)", "commit_aliases": ["2f48b4f07", "666103090", "d3716d4b1", "fe29b2a1d"], "source_commits": ["2f48b4f07"], "source_entry_id": "17.6/changes/038", "db_id": "91333bc41e88c104cc1daeba377f6c34", "patch_ids": ["c5d0e2ad6ae99af9c52ecb7ecd51b0c0"], "statement_hash": "cd6323bb8d2517e69ba2865c267b2e4561e068615af026939781d76ea81e60aa", "relations": [{"rule": 2, "type": "equivalent", "target": "4832c860c1ce1ab1b6cec1525fc64d80", "evidence": {"same_day": true, "patch_ids": ["c5d0e2ad6ae99af9c52ecb7ecd51b0c0"], "statement_hash": "cd6323bb8d2517e69ba2865c267b2e4561e068615af026939781d76ea81e60aa"}}, {"rule": 2, "type": "equivalent", "target": "7c3cd79b7361657c42b44b250e1762c6", "evidence": {"same_day": true, "patch_ids": ["c5d0e2ad6ae99af9c52ecb7ecd51b0c0"], "statement_hash": "cd6323bb8d2517e69ba2865c267b2e4561e068615af026939781d76ea81e60aa"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4832c860c1ce1ab1b6cec1525fc64d80", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 XMLTABLE 解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["c5d0e2ad6ae99af9c52ecb7ecd51b0c0"], "statement_hash": "cd6323bb8d2517e69ba2865c267b2e4561e068615af026939781d76ea81e60aa"}, "url": "/docs/compare/?release=16.10#16.10-9472a47a94751f94", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "7c3cd79b7361657c42b44b250e1762c6", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 XMLTABLE 解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["c5d0e2ad6ae99af9c52ecb7ecd51b0c0"], "statement_hash": "cd6323bb8d2517e69ba2865c267b2e4561e068615af026939781d76ea81e60aa"}, "url": "/docs/compare/?release=15.14#15.14-d3bfcfdaf7d34eaf", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-f7f59c82bc768d0f", "cves": [], "html": "<p>恢复在并行模式下运行 PL/pgSQL 表达式的能力（Dipesh Dhameliya）<a href=\"https://postgr.es/c/a553a2289\">§</a></p>\n<p>PL/pgSQL 中<span>“<span>表达式</span>”</span>的概念非常广泛，涵盖任何返回单列且不超过一行的 SQL <code>SELECT</code> 查询。因此在某些情况下，例如计算聚合函数时，查询涉及大量工作，使用并行工作进程来运行它会很有用。这以前是可能的，但之前的一个 bug 修复无意中禁用了它。</p>", "text": "恢复在并行模式下运行 PL/pgSQL 表达式的能力（Dipesh Dhameliya）§ PL/pgSQL 中“表达式”的概念非常广泛，涵盖任何返回单列且不超过一行的 SQL SELECT 查询。因此在某些情况下，例如计算聚合函数时，查询涉及大量工作，使用并行工作进程来运行它会很有用。这以前是可能的，但之前的一个 bug 修复无意中禁用了它。", "title": "恢复在并行模式下运行 PL/pgSQL 表达式的能力", "commits": ["a553a2289"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "252ad516bfbe0efd6f8faa0c944b05a9bddd10141d4206dd36a4910e4772e8ce", "section_path": ["变更"], "commit_groups": [["3bbc1c4a7", "440c5ee20", "602c91cf2", "87b05fdc7", "a553a2289", "ae693c0bf", "c65c36ab5"]], "identity_text": "Restore the ability to run PL/pgSQL expressions in parallel (Dipesh Dhameliya) PL/pgSQL's notion of an expression is very broad, encompassing any SQL SELECT query that returns a single column and no more than one row. So there are cases, for example evaluation of an aggregate function, where the query involves significant work and it'd be useful to run it with parallel workers. This used to be possible, but a previous bug fix unintentionally disabled it.", "commit_aliases": ["3bbc1c4a7", "440c5ee20", "602c91cf2", "87b05fdc7", "a553a2289", "ae693c0bf", "c65c36ab5"], "source_commits": ["a553a2289"], "source_entry_id": "17.6/changes/039", "db_id": "c6c6cb74b6043603c2add00554d38bf6", "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50", "relations": [{"rule": 2, "type": "equivalent", "target": "4e59880d0211330ae7869ed21f4fb6f8", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}}, {"rule": 2, "type": "equivalent", "target": "58a0d61da22f0a31faaf752756bf48d5", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}}, {"rule": 2, "type": "equivalent", "target": "6dd8c99c246c1d9c0515a9af0c3ac00a", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}}, {"rule": 2, "type": "equivalent", "target": "7fe535a252ea59534d5d49967f105f6c", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "58a0d61da22f0a31faaf752756bf48d5", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "恢复在并行模式下运行 PL/pgSQL 表达式的能力", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}, "url": "/docs/compare/?release=16.10#16.10-3a49a3cf217e1b81", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "4e59880d0211330ae7869ed21f4fb6f8", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "恢复在并行模式下运行 PL/pgSQL 表达式的能力", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}, "url": "/docs/compare/?release=15.14#15.14-6d8ebac5bfc94463", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "6dd8c99c246c1d9c0515a9af0c3ac00a", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "恢复在并行模式下运行 PL/pgSQL 表达式的能力", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}, "url": "/docs/compare/?release=14.19#14.19-940a02486cedd708", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "7fe535a252ea59534d5d49967f105f6c", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "恢复在并行模式下运行 PL/pgSQL 表达式的能力", "evidence": {"same_day": true, "patch_ids": ["d7e6562b2d2fd7593124d895c1e87b80"], "statement_hash": "c38db496d6c1235185a7cb01749e0d8b1737c7f23274b76294f84debf8f4cb50"}, "url": "/docs/compare/?release=13.22#13.22-5a92d5afeb26ff20", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-a6725b33673c4dfd", "cves": [], "html": "<p>修复 PL/Python 错误报告中的边缘场景资源泄漏（Tom Lane）<a href=\"https://postgr.es/c/7559a16e2\">§</a> <a href=\"https://postgr.es/c/6f724fcf8\">§</a></p>\n<p>在报告 Python 错误时发生内存耗尽失败，可能导致无法减少 Python 对象的引用计数，从而造成贯穿整个会话生命周期的内存泄漏。</p>", "text": "修复 PL/Python 错误报告中的边缘场景资源泄漏（Tom Lane）§ § 在报告 Python 错误时发生内存耗尽失败，可能导致无法减少 Python 对象的引用计数，从而造成贯穿整个会话生命周期的内存泄漏。", "title": "修复 PL/Python 错误报告中的边缘场景资源泄漏", "commits": ["6f724fcf8", "7559a16e2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "f97dc13e79a6a374d66cfc859e14e9e91a8e331b62bb9f8f57cc245e1c28a6d0", "section_path": ["变更"], "commit_groups": [["1c78d5553", "31a3a15fa", "5c7fd5976", "7559a16e2", "b56a92651", "c6f7f11d8"], ["4672b6223", "6f724fcf8", "93aca1246", "b898bb2a7", "d4556f592", "ecc8fd2b7"]], "identity_text": "Fix edge-case resource leaks in PL/Python error reporting (Tom Lane) An out-of-memory failure while reporting an error from Python could result in failure to drop reference counts on Python objects, leading to session-lifespan memory leakage.", "commit_aliases": ["1c78d5553", "31a3a15fa", "4672b6223", "5c7fd5976", "6f724fcf8", "7559a16e2", "93aca1246", "b56a92651", "b898bb2a7", "c6f7f11d8", "d4556f592", "ecc8fd2b7"], "source_commits": ["6f724fcf8", "7559a16e2"], "source_entry_id": "17.6/changes/040", "db_id": "0468697c8222104ee239201be4e72851", "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349", "relations": [{"rule": 2, "type": "equivalent", "target": "121c4887d61f8657a3464fef4ba2fb25", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}}, {"rule": 2, "type": "equivalent", "target": "7bd9f9ced63230b2f77829dd09883005", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}}, {"rule": 2, "type": "equivalent", "target": "a59f3a9c24e176910d3bc6430f5b6975", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}}, {"rule": 2, "type": "equivalent", "target": "d8d7c303d6e9004f3000a0044f0af608", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "121c4887d61f8657a3464fef4ba2fb25", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 PL/Python 错误报告中的边缘场景资源泄漏", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}, "url": "/docs/compare/?release=16.10#16.10-a6725b33673c4dfd", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "7bd9f9ced63230b2f77829dd09883005", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 PL/Python 错误报告中的边缘场景资源泄漏", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}, "url": "/docs/compare/?release=15.14#15.14-a6725b33673c4dfd", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "a59f3a9c24e176910d3bc6430f5b6975", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 PL/Python 错误报告中的边缘场景资源泄漏", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}, "url": "/docs/compare/?release=14.19#14.19-a6725b33673c4dfd", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "d8d7c303d6e9004f3000a0044f0af608", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 PL/Python 错误报告中的边界情况资源泄漏", "evidence": {"same_day": true, "patch_ids": ["5cf11831d4da5ade7bf49e7df6741c06", "c8f27688ed48f73fa477355451a4d409"], "statement_hash": "f75869cb85facb2f36714af3f1d39c5deaf952daf8dd097d0129d12e6377a349"}, "url": "/docs/compare/?release=13.22#13.22-413a0c641b1e54a6", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-806e3ab8c7eb6992", "cves": [], "html": "<p>修复当服务器地址使用 <code>hostaddr</code> 指定时 <span>libpq</span> 的 <code>PQcancelCreate()</code> 函数（Sergei Kornilov）<a href=\"https://postgr.es/c/445bd37b1\">§</a></p>\n<p>如果实际使用生成出的 cancel 对象，<span>libpq</span> 就会崩溃。</p>", "text": "修复当服务器地址使用 hostaddr 指定时 libpq 的 PQcancelCreate() 函数（Sergei Kornilov）§ 如果实际使用生成出的 cancel 对象，libpq 就会崩溃。", "title": "修复当服务器地址使用 hostaddr 指定时 libpq 的 PQcancelCreate() 函数", "commits": ["445bd37b1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "8a6ee1491996092be3fb44202ac19a1721373e87c5a9fe370174a459baecf26e", "section_path": ["变更"], "commit_groups": [["445bd37b1", "5d0800000", "fe05430ac"]], "identity_text": "Fix libpq's PQcancelCreate() function for the case where the server's address was specified using hostaddr (Sergei Kornilov) libpq would crash if the resulting cancel object was actually used.", "commit_aliases": ["445bd37b1", "5d0800000", "fe05430ac"], "source_commits": ["445bd37b1"], "source_entry_id": "17.6/changes/041", "db_id": "7b91a8dece2baae0dcc16ddf111fa692", "patch_ids": ["fc0f1468782ebfbacca855f120f79c0b"], "statement_hash": "a68e3732ff29930c5b3829d1a5d17f9161b312a089661f294d04f56a68fb6243", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-419aac3386b26d61", "cves": [], "html": "<p>修复 <span>libpq</span> 的 <code>PQport()</code> 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL（Daniele Varrazzo）<a href=\"https://postgr.es/c/3f10d2b66\">§</a></p>\n<p>这是文档中记录的行为，但最近的 <span>libpq</span> 版本在用户未提供端口规范的某些情况下会返回 NULL。恢复到我们历史上在此类情况下返回空字符串的行为。（v18 及更高版本将返回编译时的默认端口号，通常是 <code>\"5432\"</code>。）</p>", "text": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL（Daniele Varrazzo）§ 这是文档中记录的行为，但最近的 libpq 版本在用户未提供端口规范的某些情况下会返回 NULL。恢复到我们历史上在此类情况下返回空字符串的行为。（v18 及更高版本将返回编译时的默认端口号，通常是 \"5432\"。）", "title": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL", "commits": ["3f10d2b66"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "d828afbe1f63fab86d297df08af03a1b52fc8b61b52545c54765a163a6a289ad", "section_path": ["变更"], "commit_groups": [["009c20a3d", "3f10d2b66", "9dcd1aa81", "a372a64db", "bfa9b25c9", "d5cba7746", "daf9bdc47"]], "identity_text": "Fix libpq's PQport() function to never return NULL unless the passed connection is NULL (Daniele Varrazzo) This is the documented behavior, but recent libpq versions would return NULL in some cases where the user had not provided a port specification. Revert to our historical behavior of returning an empty string in such cases. (v18 and later will return the compiled-in default port number, typically \"5432\", instead.)", "commit_aliases": ["009c20a3d", "3f10d2b66", "9dcd1aa81", "a372a64db", "bfa9b25c9", "d5cba7746", "daf9bdc47"], "source_commits": ["3f10d2b66"], "source_entry_id": "17.6/changes/042", "db_id": "6f32c58493e912039a79042f79270c28", "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf", "relations": [{"rule": 2, "type": "equivalent", "target": "09fb37e7186e091d0fdbe899fe9c8b47", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}}, {"rule": 2, "type": "equivalent", "target": "3f7263fdfe881eab78910c67c7c33995", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}}, {"rule": 2, "type": "equivalent", "target": "a50fd7ae7b936d1943609dbcdfcb60fb", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}}, {"rule": 2, "type": "equivalent", "target": "dc7a48a895783ea661b076f328b1fe70", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "dc7a48a895783ea661b076f328b1fe70", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}, "url": "/docs/compare/?release=16.10#16.10-bd3afc47d44bfb52", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "a50fd7ae7b936d1943609dbcdfcb60fb", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}, "url": "/docs/compare/?release=15.14#15.14-c409c31a7a604dde", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "3f7263fdfe881eab78910c67c7c33995", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}, "url": "/docs/compare/?release=14.19#14.19-00c22d6bb1c18fb5", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "09fb37e7186e091d0fdbe899fe9c8b47", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 libpq 的 PQport() 函数，使其除非传入的连接为 NULL，否则永远不返回 NULL", "evidence": {"same_day": true, "patch_ids": ["22b7cc963ab9c3434a3f92af3e7e491f"], "statement_hash": "0715dd514d4cf2f473cfc9541c1a0e89464f88a6e4341036779b8eb7a1a58bdf"}, "url": "/docs/compare/?release=13.22#13.22-90c67ed3f983f716", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-54c912da6b719fe3", "cves": [], "html": "<p>避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败（Jacob Champion, Tom Lane）<a href=\"https://postgr.es/c/8b0aa7a6b\">§</a></p>\n<p>属于许多 AD 组的 Active Directory 用户需要更大的认证数据包。这个限制表现为连接失败，并伴随难以理解的错误消息，典型如 <span>“<span>GSSAPI context establishment error: The routine must be called again to complete its function: Unknown error</span>”</span>。</p>", "text": "避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败（Jacob Champion, Tom Lane）§ 属于许多 AD 组的 Active Directory 用户需要更大的认证数据包。这个限制表现为连接失败，并伴随难以理解的错误消息，典型如 “GSSAPI context establishment error: The routine must be called again to complete its function: Unknown error”。", "title": "避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败", "commits": ["8b0aa7a6b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "2ba39a15055d73d70f902a610651407ef8a7cc089261ea6daa1ea1a71d5803f4", "section_path": ["变更"], "commit_groups": [["39b1d1907", "8b0aa7a6b", "a7da7914c", "c81cdffa1", "ca70ee6ed", "d98cefe11"]], "identity_text": "Avoid failure when GSSAPI authentication requires packets larger than 16kB (Jacob Champion, Tom Lane) Larger authentication packets are needed for Active Directory users who belong to many AD groups. This limitation manifested in connection failures with unintelligible error messages, typically GSSAPI context establishment error: The routine must be called again to complete its function: Unknown error.", "commit_aliases": ["39b1d1907", "8b0aa7a6b", "a7da7914c", "c81cdffa1", "ca70ee6ed", "d98cefe11"], "source_commits": ["8b0aa7a6b"], "source_entry_id": "17.6/changes/043", "db_id": "b27004bcb4025cb1b78f1c6da56dfa0b", "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8", "relations": [{"rule": 2, "type": "equivalent", "target": "7300bf02d776a30a653f81d4f6a5a388", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}}, {"rule": 2, "type": "equivalent", "target": "7820aee942c64c2a8567cfaf5be7fa18", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}}, {"rule": 2, "type": "equivalent", "target": "9e00b81c508cc2a7f6f923228653c3a4", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}}, {"rule": 2, "type": "equivalent", "target": "c82e55570034a30cbd865d2af345ca08", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9e00b81c508cc2a7f6f923228653c3a4", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}, "url": "/docs/compare/?release=16.10#16.10-54c912da6b719fe3", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "7300bf02d776a30a653f81d4f6a5a388", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}, "url": "/docs/compare/?release=15.14#15.14-54c912da6b719fe3", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "c82e55570034a30cbd865d2af345ca08", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免当 GSSAPI 认证需要大于 16kB 的数据包时发生失败", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}, "url": "/docs/compare/?release=14.19#14.19-54c912da6b719fe3", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "7820aee942c64c2a8567cfaf5be7fa18", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免当 GSSAPI 认证需要大于 16kB 的数据包时出现失败", "evidence": {"same_day": true, "patch_ids": ["9c20b9b4b2c08812604c728f7be2d15b"], "statement_hash": "8ad10d845dd2a1af9acb44e8c0342e6dc940ebc316bfde0b3a2aa80cf2cb7cb8"}, "url": "/docs/compare/?release=13.22#13.22-1886d08a644dc5f5", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-9af21c705af4d5f8", "cves": [], "html": "<p>修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题（Tom Lane）<a href=\"https://postgr.es/c/30e0d9ee9\">§</a></p>\n<p>在非阻塞模式下使用 SSL 或 GSSAPI 加密时，<span>libpq</span> 有时会因 <span>“<span>SSL error: bad length</span>”</span> 或 <span>“<span>GSSAPI caller failed to retransmit all data needing to be retried</span>”</span> 而失败。</p>", "text": "修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题（Tom Lane）§ 在非阻塞模式下使用 SSL 或 GSSAPI 加密时，libpq 有时会因 “SSL error: bad length” 或 “GSSAPI caller failed to retransmit all data needing to be retried” 而失败。", "title": "修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题", "commits": ["30e0d9ee9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "625536b177822787ff48a1f7a3bcbcc6bb9cb135bdc45225b72a18e6ca27d32c", "section_path": ["变更"], "commit_groups": [["0703c9385", "137935bd1", "30e0d9ee9", "3f37400cf", "6a4d93eda", "f09fea386"]], "identity_text": "Fix timing-dependent failures in SSL and GSSAPI data transmission (Tom Lane) When using SSL or GSSAPI encryption in non-blocking mode, libpq sometimes failed with SSL error: bad length or GSSAPI caller failed to retransmit all data needing to be retried.", "commit_aliases": ["0703c9385", "137935bd1", "30e0d9ee9", "3f37400cf", "6a4d93eda", "f09fea386"], "source_commits": ["30e0d9ee9"], "source_entry_id": "17.6/changes/044", "db_id": "d010cc5adac641dffac3aed8ba5f7474", "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e", "relations": [{"rule": 2, "type": "equivalent", "target": "04840f3ea21539bdfa095da3739fcb25", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}}, {"rule": 2, "type": "equivalent", "target": "1d6ac0ef9bac20774b2c00cab64bd3be", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}}, {"rule": 2, "type": "equivalent", "target": "de0fc953d8bee77e15871a1af804690e", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}}, {"rule": 2, "type": "equivalent", "target": "e364d96f10953f914f581ed71ca42059", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "04840f3ea21539bdfa095da3739fcb25", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}, "url": "/docs/compare/?release=16.10#16.10-9af21c705af4d5f8", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "de0fc953d8bee77e15871a1af804690e", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}, "url": "/docs/compare/?release=15.14#15.14-9af21c705af4d5f8", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "e364d96f10953f914f581ed71ca42059", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 SSL 和 GSSAPI 数据传输中依赖时序的失败问题", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}, "url": "/docs/compare/?release=14.19#14.19-9af21c705af4d5f8", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "1d6ac0ef9bac20774b2c00cab64bd3be", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 SSL 和 GSSAPI 数据传输中的时序相关故障", "evidence": {"same_day": true, "patch_ids": ["e183c726a0fffa9d700ae85c61737795"], "statement_hash": "015f735f627c918db73975bc3adfcd018dac06b111e2255f97539dcc28ac660e"}, "url": "/docs/compare/?release=13.22#13.22-f6bbf052847a01b1", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-ace06bba210ed921", "cves": [], "html": "<p>避免在 <span>ecpg</span> 应用程序中连接查找时的空指针解引用（Aleksander Alekseev）<a href=\"https://postgr.es/c/2805e1c1e\">§</a></p>\n<p>这种情况只有在应用程序同时存在命名连接和未命名连接时才会发生。</p>", "text": "避免在 ecpg 应用程序中连接查找时的空指针解引用（Aleksander Alekseev）§ 这种情况只有在应用程序同时存在命名连接和未命名连接时才会发生。", "title": "避免在 ecpg 应用程序中连接查找时的空指针解引用", "commits": ["2805e1c1e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "98a9f78dd2a5e62c1bcf13ab69bc7cd6b0d716704f82bea4d4baa00e581dffca", "section_path": ["变更"], "commit_groups": [["0123922f8", "0ded7615d", "1b8bbee05", "2805e1c1e", "313d3102f", "408fe659a", "c934d5673"]], "identity_text": "Avoid null-pointer dereference during connection lookup in ecpg applications (Aleksander Alekseev) The case could occur only if the application has some connections that are named and some that are not.", "commit_aliases": ["0123922f8", "0ded7615d", "1b8bbee05", "2805e1c1e", "313d3102f", "408fe659a", "c934d5673"], "source_commits": ["2805e1c1e"], "source_entry_id": "17.6/changes/045", "db_id": "0e5689dc80c41e5a07f881c3214651be", "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757", "relations": [{"rule": 2, "type": "equivalent", "target": "74f7fa790d8f233acb9e91bb461d382d", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}}, {"rule": 2, "type": "equivalent", "target": "b1e3dd4bb95eeb22b39aa772f9b7733f", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}}, {"rule": 2, "type": "equivalent", "target": "bd611f9600cb9924f8bce02d7d4c0977", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}}, {"rule": 2, "type": "equivalent", "target": "ee9f5bbf431109d52dafe780173275ce", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bd611f9600cb9924f8bce02d7d4c0977", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在 ecpg 应用程序中连接查找时的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}, "url": "/docs/compare/?release=16.10#16.10-436c939fcf191f10", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "ee9f5bbf431109d52dafe780173275ce", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在 ecpg 应用程序中连接查找时的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}, "url": "/docs/compare/?release=15.14#15.14-3f9dc3f7e6fef39f", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "74f7fa790d8f233acb9e91bb461d382d", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在 ecpg 应用程序中连接查找时的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}, "url": "/docs/compare/?release=14.19#14.19-3ad342512bbab551", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "b1e3dd4bb95eeb22b39aa772f9b7733f", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在 ecpg 应用程序中连接查找时的空指针解引用", "evidence": {"same_day": true, "patch_ids": ["7e30860afd34973682c127264cf991de"], "statement_hash": "477d5885e1c686592690701f5f4bac9c9e9a9feca03c0681f6d99864acb0b757"}, "url": "/docs/compare/?release=13.22#13.22-9a92c3e1fe452c94", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-d2095553b4c88b05", "cves": [], "html": "<p>改进 <span>psql</span> 对 <code>COPY</code> 和 <code>\\copy</code> 选项的 tab 补全（Atsushi Torikoshi）<a href=\"https://postgr.es/c/c1c6169eb\">§</a></p>\n<p>对 <code>COPY FROM</code> 和 <code>COPY TO</code> 提供了相同的补全建议，尽管某些选项仅对其中一种情况有效。区分这些情况以提供更准确的建议。</p>", "text": "改进 psql 对 COPY 和 \\copy 选项的 tab 补全（Atsushi Torikoshi）§ 对 COPY FROM 和 COPY TO 提供了相同的补全建议，尽管某些选项仅对其中一种情况有效。区分这些情况以提供更准确的建议。", "title": "改进 psql 对 COPY 和 \\copy 选项的 tab 补全", "commits": ["c1c6169eb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "23d54157e49410afd8469252abc7f41b4e2344e6195cf9ff35a9aca4ebe9e6b5", "section_path": ["变更"], "commit_groups": [["0514616f0", "765a4c94c", "c1c6169eb", "d69836b13", "e3584e457", "f5a987c0e"]], "identity_text": "Improve psql's tab completion for COPY and \\copy options (Atsushi Torikoshi) The same completions were offered for both COPY FROM and COPY TO, although some options are only valid for one case or the other. Distinguish these cases to provide more accurate suggestions.", "commit_aliases": ["0514616f0", "765a4c94c", "c1c6169eb", "d69836b13", "e3584e457", "f5a987c0e"], "source_commits": ["c1c6169eb"], "source_entry_id": "17.6/changes/046", "db_id": "7f7999ebdb668d1d8e4b03d58897bb15", "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491", "relations": [{"rule": 2, "type": "equivalent", "target": "a9220fc9720c3d2bde349e028b00e445", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}}, {"rule": 2, "type": "equivalent", "target": "c1183185f1f7680372020bbb8a62b5c0", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}}, {"rule": 2, "type": "equivalent", "target": "f6cd3881521b7a2dc6d2b9f19526f25d", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c1183185f1f7680372020bbb8a62b5c0", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "改进 psql 对 COPY 和 \\copy 选项的 tab 补全", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}, "url": "/docs/compare/?release=16.10#16.10-b91f3058dca77df4", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "a9220fc9720c3d2bde349e028b00e445", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "改进 psql 对 COPY 和 \\copy 选项的 tab 补全", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}, "url": "/docs/compare/?release=15.14#15.14-6f6c639f5c442d0a", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "f6cd3881521b7a2dc6d2b9f19526f25d", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "改进 psql 对 COPY 和 \\copy 选项的 tab 补全", "evidence": {"same_day": true, "patch_ids": ["8e0ef881f752f528d98e71b40408fb14"], "statement_hash": "32ecb3026c9c3225d992db692447d7310288c8dce5381a1c67d309759f6d3491"}, "url": "/docs/compare/?release=14.19#14.19-145c8c4131c28fc2", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}]}, {"id": "17.6-64a8af78ed8ade06", "cves": [], "html": "<p>避免 <span>pgbench</span> 在收到多个管道同步消息时的断言失败（Fujii Masao）<a href=\"https://postgr.es/c/398e07162\">§</a></p>", "text": "避免 pgbench 在收到多个管道同步消息时的断言失败（Fujii Masao）§", "title": "避免 pgbench 在收到多个管道同步消息时的断言失败", "commits": ["398e07162"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "6ac28887e8101842dee999a0c6fc8a51e68cfca1f92dd98d258d8f049b35c06b", "section_path": ["变更"], "commit_groups": [["12efa4897", "1d3ded521", "398e07162", "6914a330f", "fee46ab4f"]], "identity_text": "Avoid assertion failure in pgbench when multiple pipeline sync messages are received (Fujii Masao)", "commit_aliases": ["12efa4897", "1d3ded521", "398e07162", "6914a330f", "fee46ab4f"], "source_commits": ["398e07162"], "source_entry_id": "17.6/changes/047", "db_id": "f4a1b1ed53f7b885e9f2b2becba2ab00", "patch_ids": ["19b639fe4d33b8bce8bda383e04a89cd"], "statement_hash": "36e5b7abb1f2b115dae169d13878250bea7858f93407d63d17e44c97a41c4bec", "relations": [{"rule": 2, "type": "equivalent", "target": "7d453af64b5902956ceb911122e2a92d", "evidence": {"same_day": true, "patch_ids": ["19b639fe4d33b8bce8bda383e04a89cd"], "statement_hash": "36e5b7abb1f2b115dae169d13878250bea7858f93407d63d17e44c97a41c4bec"}}, {"rule": 2, "type": "equivalent", "target": "896d621c2d0b8712989fae86e6d66ce3", "evidence": {"same_day": true, "patch_ids": ["19b639fe4d33b8bce8bda383e04a89cd"], "statement_hash": "36e5b7abb1f2b115dae169d13878250bea7858f93407d63d17e44c97a41c4bec"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "896d621c2d0b8712989fae86e6d66ce3", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免 pgbench 在收到多个管道同步消息时的断言失败", "evidence": {"same_day": true, "patch_ids": ["19b639fe4d33b8bce8bda383e04a89cd"], "statement_hash": "36e5b7abb1f2b115dae169d13878250bea7858f93407d63d17e44c97a41c4bec"}, "url": "/docs/compare/?release=16.10#16.10-498bb3fac77791ea", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "7d453af64b5902956ceb911122e2a92d", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免 pgbench 在收到多个管道同步消息时的断言失败", "evidence": {"same_day": true, "patch_ids": ["19b639fe4d33b8bce8bda383e04a89cd"], "statement_hash": "36e5b7abb1f2b115dae169d13878250bea7858f93407d63d17e44c97a41c4bec"}, "url": "/docs/compare/?release=15.14#15.14-f6956659a53d0498", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-d81f7b71f062e985", "cves": [], "html": "<p>修复使用 <span>pg_createsubscriber</span> 初始化订阅时事务被重复回放的问题（Shlok Kyal）<a href=\"https://postgr.es/c/967309116\">§</a></p>\n<p>在订阅者恢复期间处理的最后一个事务，有可能会在正常复制开始后再次被发送。</p>", "text": "修复使用 pg_createsubscriber 初始化订阅时事务被重复回放的问题（Shlok Kyal）§ 在订阅者恢复期间处理的最后一个事务，有可能会在正常复制开始后再次被发送。", "title": "修复使用 pg_createsubscriber 初始化订阅时事务被重复回放的问题", "commits": ["967309116"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "223e6b5c70f2c316551ad4b3a533f004850df365ed5162b4c1a6d1a174c258fc", "section_path": ["变更"], "commit_groups": [["33f74b806", "967309116", "e1c365483"]], "identity_text": "Fix duplicate transaction replay when initializing a subscription with pg_createsubscriber (Shlok Kyal) It was possible for the last transaction processed during subscriber recovery to be sent again once normal replication begins.", "commit_aliases": ["33f74b806", "967309116", "e1c365483"], "source_commits": ["967309116"], "source_entry_id": "17.6/changes/048", "db_id": "4ecc98856f978ca7afcf616cfd33ed4c", "patch_ids": ["35a97e08bd290eaeda95ef9ba74bbde6"], "statement_hash": "3288068a5b75d54fff9f5cde68c2ff73a954ee0a918639362f15febfd0f9a2f3", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-93bdfaf60686080b", "cves": [], "html": "<p>确保 <span>pg_dump</span> 转储域类型上非空约束的注释（Jian He, Álvaro Herrera）<a href=\"https://postgr.es/c/6b755d8d7\">§</a></p>", "text": "确保 pg_dump 转储域类型上非空约束的注释（Jian He, Álvaro Herrera）§", "title": "确保 pg_dump 转储域类型上非空约束的注释", "commits": ["6b755d8d7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "b2590217e541c7a6969079c6d20bc06b53f84e9a483bde14b10be286828f342f", "section_path": ["变更"], "commit_groups": [["6b755d8d7", "da71717f0", "f9545e95c"]], "identity_text": "Ensure that pg_dump dumps comments on not-null constraints on domain types (Jian He, Álvaro Herrera)", "commit_aliases": ["6b755d8d7", "da71717f0", "f9545e95c"], "source_commits": ["6b755d8d7"], "source_entry_id": "17.6/changes/049", "db_id": "2eb7e6f527e401959540eaab98a75bcf", "patch_ids": ["e6dcaf8dc01d813a2dd83651eea57016"], "statement_hash": "6d8d95ec937e9dccc73c3316367d2c354b46a305548164cf650a7442e5a926e3", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-3365ac2278a8bf4f", "cves": [], "html": "<p>确保 <span>pg_dump</span> 以有效的顺序导出域约束上的注释（Jian He）<a href=\"https://postgr.es/c/d07bc7c2b\">§</a></p>\n<p>在某些情况下，注释命令可能出现在约束创建之前。</p>", "text": "确保 pg_dump 以有效的顺序导出域约束上的注释（Jian He）§ 在某些情况下，注释命令可能出现在约束创建之前。", "title": "确保 pg_dump 以有效的顺序导出域约束上的注释", "commits": ["d07bc7c2b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "6b61dc1a9048328b453989660f34e31ca8bc8be5e85d543ed0752fbb79bbb4ce", "section_path": ["变更"], "commit_groups": [["0858f0f96", "57949cea5", "5a261c135", "cef998ef8", "d07bc7c2b", "dca0e9693", "e04aca1c4"]], "identity_text": "Ensure that pg_dump dumps comments on domain constraints in a valid order (Jian He) In some cases the comment command could appear before creation of the constraint.", "commit_aliases": ["0858f0f96", "57949cea5", "5a261c135", "cef998ef8", "d07bc7c2b", "dca0e9693", "e04aca1c4"], "source_commits": ["d07bc7c2b"], "source_entry_id": "17.6/changes/050", "db_id": "918b4f5a1b00861852fd876427a02929", "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d", "relations": [{"rule": 2, "type": "equivalent", "target": "2cf505b63956338ef28e430678d6e683", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}}, {"rule": 2, "type": "equivalent", "target": "47c2db510c8e651ce08cb19eea7a186e", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}}, {"rule": 2, "type": "equivalent", "target": "c9cc63af5a74aeb8bb235d5cfa603f64", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}}, {"rule": 2, "type": "equivalent", "target": "d262bfebe0ddaae5fe67a919cbfc48a1", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d262bfebe0ddaae5fe67a919cbfc48a1", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "确保 pg_dump 以有效的顺序导出域约束上的注释", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}, "url": "/docs/compare/?release=16.10#16.10-530b5686b1f7d60d", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "47c2db510c8e651ce08cb19eea7a186e", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "确保 pg_dump 以有效的顺序导出域约束上的注释", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}, "url": "/docs/compare/?release=15.14#15.14-2b9eabf786c88d61", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "c9cc63af5a74aeb8bb235d5cfa603f64", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "确保 pg_dump 以有效的顺序导出域约束上的注释", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}, "url": "/docs/compare/?release=14.19#14.19-a4cc3cc741c765b4", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "2cf505b63956338ef28e430678d6e683", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "确保 pg_dump 以有效的顺序导出域约束上的注释", "evidence": {"same_day": true, "patch_ids": ["46c6b17393f1c6e6833de5af16652620"], "statement_hash": "2a4ac5cc4a8c9cf0a63bf26f29d7fe12de34db67682fafcd654babc102897f0d"}, "url": "/docs/compare/?release=13.22#13.22-5426c8941d84d497", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-1f0b02d913052611", "cves": [], "html": "<p>确保 <span>pg_dump</span> 对所有类型的数据库对象具有稳定的排序顺序（Noah Misch、Andreas Karlsson）<a href=\"https://postgr.es/c/1ca1889ea\">§</a> <a href=\"https://postgr.es/c/5dd4957b2\">§</a> <a href=\"https://postgr.es/c/28e7252e4\">§</a></p>\n<p><span>pg_dump</span> 在执行依赖关系驱动的重新排序之前，按逻辑名称对对象进行排序。此排序未考虑标识某些对象类型（如规则和约束）的完整唯一键，因此对于逻辑上相同的数据库可能产生不同的排序顺序。这使得通过比较 <span>pg_dump</span> 输出的 diff 来比较数据库变得困难，因此改进了逻辑以确保在所有情况下排序顺序都是稳定的。</p>", "text": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序（Noah Misch、Andreas Karlsson）§ § § pg_dump 在执行依赖关系驱动的重新排序之前，按逻辑名称对对象进行排序。此排序未考虑标识某些对象类型（如规则和约束）的完整唯一键，因此对于逻辑上相同的数据库可能产生不同的排序顺序。这使得通过比较 pg_dump 输出的 diff 来比较数据库变得困难，因此改进了逻辑以确保在所有情况下排序顺序都是稳定的。", "title": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序", "commits": ["1ca1889ea", "28e7252e4", "5dd4957b2"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "d59767c8a963d291bccbd892f2cbbd70623a5cf61a94a4e10849c464dce1e278", "section_path": ["变更"], "commit_groups": [["04bc2c42f", "0ac1581c3", "0decd5e89", "1ca1889ea", "22f126da6", "7ee7c1cd3", "c0ae03384"], ["0d2734eac", "216683296", "28e7252e4", "70637d7ae", "7846f4709", "bc05590c7"], ["25388fb2c", "350e6b8ea", "5dd4957b2", "9affed263", "cc9a62c51", "e99010cbd"]], "identity_text": "Ensure stable sort ordering in pg_dump for all types of database objects (Noah Misch, Andreas Karlsson) pg_dump sorts objects by their logical names before performing dependency-driven reordering. This sort did not account for the full unique key identifying certain object types such as rules and constraints, and thus it could produce dissimilar sort orders for logically-identical databases. That made it difficult to compare databases by diff'ing pg_dump output, so improve the logic to ensure stable sort ordering in all cases.", "commit_aliases": ["04bc2c42f", "0ac1581c3", "0d2734eac", "0decd5e89", "1ca1889ea", "216683296", "22f126da6", "25388fb2c", "28e7252e4", "350e6b8ea", "5dd4957b2", "70637d7ae", "7846f4709", "7ee7c1cd3", "9affed263", "bc05590c7", "c0ae03384", "cc9a62c51", "e99010cbd"], "source_commits": ["1ca1889ea", "28e7252e4", "5dd4957b2"], "source_entry_id": "17.6/changes/051", "db_id": "7605d67109b60c255500436df8b8fce9", "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1", "relations": [{"rule": 2, "type": "equivalent", "target": "050028e9f6796e813ec14808f10cd656", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}}, {"rule": 2, "type": "equivalent", "target": "4b78cb69db4646ca6f86ad07ac6c2424", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}}, {"rule": 2, "type": "equivalent", "target": "a419ddfce4c1acfe095cc2e7f9bc4d6f", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}}, {"rule": 2, "type": "equivalent", "target": "e039fc3240135619b0c62004d8c3d5e6", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "050028e9f6796e813ec14808f10cd656", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}, "url": "/docs/compare/?release=16.10#16.10-730ebbe51b68a292", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "a419ddfce4c1acfe095cc2e7f9bc4d6f", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}, "url": "/docs/compare/?release=15.14#15.14-ea1c701894cbd4fc", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "e039fc3240135619b0c62004d8c3d5e6", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}, "url": "/docs/compare/?release=14.19#14.19-9af82fe934a32c58", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "4b78cb69db4646ca6f86ad07ac6c2424", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "确保 pg_dump 对所有类型的数据库对象具有稳定的排序顺序", "evidence": {"same_day": true, "patch_ids": ["0cb338d636cc8af202b3e00a5a841699", "555c1cba69037a053e1cac20aaeebbf8", "a96adf0d7d60c761b0fe9a5eeb034a39"], "statement_hash": "39f6c7b6b815d35578592d0141ec839da55282724680193f69d08e00d4cd8da1"}, "url": "/docs/compare/?release=13.22#13.22-f2dae5f6a4978993", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-db99e0ae016b2e72", "cves": [], "html": "<p>修复 <span>pg_dump</span> 过滤文件中对象类型解析错误的问题（Fujii Masao）<a href=\"https://postgr.es/c/7dafc4a41\">§</a></p>\n<p>现在将关键字视为一直延伸到下一个空白字符，而不是像以前那样在第一个非字母数字字符处停止。对于有效关键字，这没有区别；但它能让某些错误情况被正确识别。例如，<code>table-data</code> 现在会被拒绝，而以前会被误解为 <code>table</code>。</p>", "text": "修复 pg_dump 过滤文件中对象类型解析错误的问题（Fujii Masao）§ 现在将关键字视为一直延伸到下一个空白字符，而不是像以前那样在第一个非字母数字字符处停止。对于有效关键字，这没有区别；但它能让某些错误情况被正确识别。例如，table-data 现在会被拒绝，而以前会被误解为 table。", "title": "修复 pg_dump 过滤文件中对象类型解析错误的问题", "commits": ["7dafc4a41"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "59db3d7de163b76b5d05afbc1b25c3f3bcdf93e29a60dcd96fcf6612df0e52ea", "section_path": ["变更"], "commit_groups": [["7dafc4a41", "85ccd7e30", "e3764229e"]], "identity_text": "Fix incorrect parsing of object types in pg_dump filter files (Fujii Masao) Treat keywords as extending to the next whitespace, rather than stopping at the first non-alphanumeric character as before. This makes no difference for valid keywords, but it allows some error cases to be recognized properly. For example, table-data will now be rejected, whereas previously it was misinterpreted as table.", "commit_aliases": ["7dafc4a41", "85ccd7e30", "e3764229e"], "source_commits": ["7dafc4a41"], "source_entry_id": "17.6/changes/052", "db_id": "bcbc9347665c19a35306778756f5b7cc", "patch_ids": ["8ce01d073fe25f223ce1111569c049d8"], "statement_hash": "3f17f39005a76c49de1d4c6a89e403edcdc1a8e36b0f53364af05851dacd95bd", "relations": [], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-91383c5cb61886ae", "cves": [], "html": "<p><span>pg_restore</span> 无法从 <span>PostgreSQL</span> v12 之前的 <span>pg_dump</span> 版本生成的目录格式转储中恢复大对象（BLOB）（Pavel Stehule）<a href=\"https://postgr.es/c/839802792\">§</a></p>", "text": "pg_restore 无法从 PostgreSQL v12 之前的 pg_dump 版本生成的目录格式转储中恢复大对象（BLOB）（Pavel Stehule）§", "title": "pg_restore 无法从 PostgreSQL v12 之前的 pg_dump 版本生成的目录格式转储中恢复大对象（BLOB）", "commits": ["839802792"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "9d4969a8440ae4eb9c3848b3df9fa4722365045e709b1f70f9e990799346fcd8", "section_path": ["变更"], "commit_groups": [["166b4f456", "839802792"]], "identity_text": "pg_restore failed to restore large objects (BLOBs) from directory-format dumps made by pg_dump versions before PostgreSQL v12 (Pavel Stehule)", "commit_aliases": ["166b4f456", "839802792"], "source_commits": ["839802792"], "source_entry_id": "17.6/changes/053", "db_id": "a67c500d7c3efadeb1d3062bd6388b2c", "patch_ids": ["11984d9c16b9269b96b3f099208ccfa8"], "statement_hash": "eff30bc7efe82e729f8f88a0c280b596a2052f2b0cfa003d75ae9ceaf7c6a896", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-5e9367338f12dda3", "cves": [], "html": "<p>在 <span>pg_upgrade</span> 中，检查不一致的继承非空约束（Ali Akbar）<a href=\"https://postgr.es/c/b8b2e6052\">§</a> <a href=\"https://postgr.es/c/bcb8d47cd\">§</a> <a href=\"https://postgr.es/c/930e1faec\">§</a></p>\n<p>18 之前的 <span>PostgreSQL</span> 版本允许删除继承列的非空约束。但是，这会导致无法恢复的模式，从而导致 <span>pg_upgrade</span> 失败。在 <span>pg_upgrade</span> 的预检查中检测此类情况，以便用户在启动升级之前修复它们。</p>", "text": "在 pg_upgrade 中，检查不一致的继承非空约束（Ali Akbar）§ § § 18 之前的 PostgreSQL 版本允许删除继承列的非空约束。但是，这会导致无法恢复的模式，从而导致 pg_upgrade 失败。在 pg_upgrade 的预检查中检测此类情况，以便用户在启动升级之前修复它们。", "title": "在 pg_upgrade 中，检查不一致的继承非空约束", "commits": ["930e1faec", "b8b2e6052", "bcb8d47cd"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "4a34dcf295b4c061513c8222987c59765fffbd162f3c28eeac49daa1ca835694", "section_path": ["变更"], "commit_groups": [["05b367bea", "1084e76f3", "160131033", "1beda2c3c", "63c79a6fc", "930e1faec", "a00eb374c"], ["06f444816", "a8b31b160", "de7fd83cd", "ed2bb0cdd"], ["07da2985d", "0f4958685", "b0f0e2221", "b8b2e6052", "ea3386cc7", "f295494d3", "f63e408e8"], ["095e83d09", "18d2d8ae4", "bef2c2a4e"], ["144ad723a", "1e007722f", "708469281", "94dc2b37b", "bcb8d47cd", "bd48455d8", "f943e2339"], ["22d783350", "7406a7d82", "f9f6595e3"]], "identity_text": "In pg_upgrade, check for inconsistent inherited not-null constraints (Ali Akbar) PostgreSQL versions before 18 allow an inherited column not-null constraint to be dropped. However, this results in a schema that cannot be restored, leading to failure in pg_upgrade. Detect such cases during pg_upgrade's preflight checks to allow users to fix them before initiating the upgrade.", "commit_aliases": ["05b367bea", "06f444816", "07da2985d", "095e83d09", "0f4958685", "1084e76f3", "144ad723a", "160131033", "18d2d8ae4", "1beda2c3c", "1e007722f", "22d783350", "63c79a6fc", "708469281", "7406a7d82", "930e1faec", "94dc2b37b", "a00eb374c", "a8b31b160", "b0f0e2221", "b8b2e6052", "bcb8d47cd", "bd48455d8", "bef2c2a4e", "de7fd83cd", "ea3386cc7", "ed2bb0cdd", "f295494d3", "f63e408e8", "f943e2339", "f9f6595e3"], "source_commits": ["06f444816", "18d2d8ae4", "22d783350", "930e1faec", "b8b2e6052", "bcb8d47cd"], "source_entry_id": "17.6/changes/054", "db_id": "d4362d10eb3f885ab2bad37a6a5d60a8", "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6", "relations": [{"rule": 2, "type": "equivalent", "target": "08391bf8b6da8e940f10290a7edbde0c", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}}, {"rule": 2, "type": "equivalent", "target": "1746b4d1494482ad224bb015988546a3", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}}, {"rule": 2, "type": "equivalent", "target": "2c698d04ce4a9a5058f6c0af05c2692e", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}}, {"rule": 2, "type": "equivalent", "target": "72c78fa6ba1d4f692d09ce33f80bf3bf", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1746b4d1494482ad224bb015988546a3", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "在 pg_upgrade 中，检查不一致的继承非空约束", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}, "url": "/docs/compare/?release=16.10#16.10-834855ac5a1a47ff", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "08391bf8b6da8e940f10290a7edbde0c", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "在 pg_upgrade 中，检查不一致的继承非空约束", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}, "url": "/docs/compare/?release=15.14#15.14-e010820f7f059b5d", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "72c78fa6ba1d4f692d09ce33f80bf3bf", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "在 pg_upgrade 中，检查不一致的继承非空约束", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}, "url": "/docs/compare/?release=14.19#14.19-9991c8126b0b79a5", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "2c698d04ce4a9a5058f6c0af05c2692e", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "在 pg_upgrade 中，检查不一致的继承非空约束", "evidence": {"same_day": true, "patch_ids": ["73ba3fc3ce745b77c99a24e3c5073661", "8c797fbdf29bd8e99e4302a07d193211", "8e4302b6ca6ce3feadff66ff28bb1f28", "a5b72471b30b3eb404df47248ecbb4a8", "a8889bddc0913a0d30d443a98f6d5d94", "cf4e26661260159e109aaaf9434aca59"], "statement_hash": "a66fa6e8b11c98e3ef34b9a9384b3c9ffe07c0edcc5a9b3cb22b196a70bff6c6"}, "url": "/docs/compare/?release=13.22#13.22-a00cc36cdb51bbba", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-e72cfe60a0dec8f3", "cves": [], "html": "<p>在 <span>pg_upgrade</span> 期间，不再要求目标安装将 <code>max_slot_wal_keep_size</code> 设置为其默认值（Dilip Kumar）<a href=\"https://postgr.es/c/24f6c1bd4\">§</a></p>", "text": "在 pg_upgrade 期间，不再要求目标安装将 max_slot_wal_keep_size 设置为其默认值（Dilip Kumar）§", "title": "在 pg_upgrade 期间，不再要求目标安装将 max_slot_wal_keep_size 设置为其默认值", "commits": ["24f6c1bd4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "443b439a1282d3e58e5c2872cbda8da92559900ee35d83f019f456c12b06b31e", "section_path": ["变更"], "commit_groups": [["24f6c1bd4", "72e6c08fe", "f36e57745"]], "identity_text": "Don't require that the target installation have max_slot_wal_keep_size set to its default during pg_upgrade (Dilip Kumar)", "commit_aliases": ["24f6c1bd4", "72e6c08fe", "f36e57745"], "source_commits": ["24f6c1bd4"], "source_entry_id": "17.6/changes/055", "db_id": "b79ba6bb8a69100ae424f7648725c03e", "patch_ids": ["cffbef5e9ea4d63b7a1737ffd75ff89d"], "statement_hash": "61af346f47f224aa72242e9b26240c2d743edf7025cd5ba151a8e40a39a5177b", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-1c56e55bc6977ab5", "cves": [], "html": "<p>避免在 <span>initdb</span> 期间启用 <code>track_commit_timestamp</code> 时的断言失败（Hayato Kuroda、Andy Fan）<a href=\"https://postgr.es/c/ae20c105f\">§</a></p>", "text": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败（Hayato Kuroda、Andy Fan）§", "title": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败", "commits": ["ae20c105f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "d7a1210f675b05e175744cc88847476eb93efe317439529f069c078acd0a8ce6", "section_path": ["变更"], "commit_groups": [["29a4b63c6", "5a6c39b6d", "7e7059abf", "8bca4476f", "ae20c105f", "b61ddcaf4", "dcbbd4331"]], "identity_text": "Avoid assertion failure if track_commit_timestamp is enabled during initdb (Hayato Kuroda, Andy Fan)", "commit_aliases": ["29a4b63c6", "5a6c39b6d", "7e7059abf", "8bca4476f", "ae20c105f", "b61ddcaf4", "dcbbd4331"], "source_commits": ["ae20c105f"], "source_entry_id": "17.6/changes/056", "db_id": "6b403d1d9e7b95e29ad83037a0936814", "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001", "relations": [{"rule": 2, "type": "equivalent", "target": "0a873594fd32271d8bf988c4f3b19b42", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}}, {"rule": 2, "type": "equivalent", "target": "211cdc3aed79778b83631af5b78c942c", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}}, {"rule": 2, "type": "equivalent", "target": "ac4f7897a1eae053ca08642d6cda3f9f", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}}, {"rule": 2, "type": "equivalent", "target": "ffb8504e6c20cff85436fd08ed33b263", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ac4f7897a1eae053ca08642d6cda3f9f", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}, "url": "/docs/compare/?release=16.10#16.10-4234b5221df4bebb", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "0a873594fd32271d8bf988c4f3b19b42", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}, "url": "/docs/compare/?release=15.14#15.14-acaecde1fdd34028", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "211cdc3aed79778b83631af5b78c942c", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}, "url": "/docs/compare/?release=14.19#14.19-cc3723871867a610", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "ffb8504e6c20cff85436fd08ed33b263", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在 initdb 期间启用 track_commit_timestamp 时的断言失败", "evidence": {"same_day": true, "patch_ids": ["647719f86767f01d7610fb3f98c77583"], "statement_hash": "bf3c60fed428b05ee8ef2d02cc992b46c02b88b8b40d560a0cd325fec8486001"}, "url": "/docs/compare/?release=13.22#13.22-cac6e236cba2284d", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-78b79b03c24af3f8", "cves": [], "html": "<p>修复 <span>pg_waldump</span>，使其显示 <code>PREPARE TRANSACTION</code> WAL 记录中被删除统计信息的相关内容（Daniil Davydov）<a href=\"https://postgr.es/c/11efaaffa\">§</a></p>", "text": "修复 pg_waldump，使其显示 PREPARE TRANSACTION WAL 记录中被删除统计信息的相关内容（Daniil Davydov）§", "title": "修复 pg_waldump，使其显示 PREPARE TRANSACTION WAL 记录中被删除统计信息的相关内容", "commits": ["11efaaffa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "ebcb053d0e0400023a293804c946994d98852a0bc140b87d02395335e24b7348", "section_path": ["变更"], "commit_groups": [["0bd762e81", "0d2063585", "0e0174b49", "11efaaffa"]], "identity_text": "Fix pg_waldump to show information about dropped statistics in PREPARE TRANSACTION WAL records (Daniil Davydov)", "commit_aliases": ["0bd762e81", "0d2063585", "0e0174b49", "11efaaffa"], "source_commits": ["11efaaffa"], "source_entry_id": "17.6/changes/057", "db_id": "948679dc2f6b298ceafc3668fd2f8961", "patch_ids": ["3d6568542e7cb53ff85e578dab2cb7b6"], "statement_hash": "8cf32471069be48b423e08a2b5c435c7501557293c622dac9cd403b8aa372178", "relations": [{"rule": 2, "type": "equivalent", "target": "97e05b6e186284b7225c602c1da932cb", "evidence": {"same_day": true, "patch_ids": ["3d6568542e7cb53ff85e578dab2cb7b6"], "statement_hash": "8cf32471069be48b423e08a2b5c435c7501557293c622dac9cd403b8aa372178"}}, {"rule": 2, "type": "equivalent", "target": "c828147a863febf2e275fa887bd78d3b", "evidence": {"same_day": true, "patch_ids": ["3d6568542e7cb53ff85e578dab2cb7b6"], "statement_hash": "8cf32471069be48b423e08a2b5c435c7501557293c622dac9cd403b8aa372178"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "97e05b6e186284b7225c602c1da932cb", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 pg_waldump，使其显示 PREPARE TRANSACTION WAL 记录中被删除统计信息的相关内容", "evidence": {"same_day": true, "patch_ids": ["3d6568542e7cb53ff85e578dab2cb7b6"], "statement_hash": "8cf32471069be48b423e08a2b5c435c7501557293c622dac9cd403b8aa372178"}, "url": "/docs/compare/?release=16.10#16.10-78b79b03c24af3f8", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "c828147a863febf2e275fa887bd78d3b", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 pg_waldump，使其显示 PREPARE TRANSACTION WAL 记录中被删除统计信息的相关内容", "evidence": {"same_day": true, "patch_ids": ["3d6568542e7cb53ff85e578dab2cb7b6"], "statement_hash": "8cf32471069be48b423e08a2b5c435c7501557293c622dac9cd403b8aa372178"}, "url": "/docs/compare/?release=15.14#15.14-78b79b03c24af3f8", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}]}, {"id": "17.6-a0d8c81779538197", "cves": [], "html": "<p>避免在 <code>contrib/dblink</code> 建立连接期间可能泄漏已打开的连接（Tom Lane）<a href=\"https://postgr.es/c/e20b3256a\">§</a></p>\n<p>在罕见情况下，如果我们在将新连接对象插入 dblink 的 hash 表时遇到内存耗尽，那么该已打开的连接就会一直泄漏到会话结束，并在远程服务器上留下一个空闲会话。</p>", "text": "避免在 contrib/dblink 建立连接期间可能泄漏已打开的连接（Tom Lane）§ 在罕见情况下，如果我们在将新连接对象插入 dblink 的 hash 表时遇到内存耗尽，那么该已打开的连接就会一直泄漏到会话结束，并在远程服务器上留下一个空闲会话。", "title": "避免在 contrib/dblink 建立连接期间可能泄漏已打开的连接", "commits": ["e20b3256a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "9a3f9afb760442df3fdcb30be13367ca19d805e94783824cc75a275e6bca2484", "section_path": ["变更"], "commit_groups": [["09c9ae8f6", "2cd2222ca", "470273da0", "8eef55db1", "e20b3256a", "e7d3d4ed4"]], "identity_text": "Avoid possible leak of the open connection during contrib/dblink connection establishment (Tom Lane) In the rare scenario where we hit out-of-memory while inserting the new connection object into dblink's hashtable, the open connection would be leaked until end of session, leaving an idle session sitting on the remote server.", "commit_aliases": ["09c9ae8f6", "2cd2222ca", "470273da0", "8eef55db1", "e20b3256a", "e7d3d4ed4"], "source_commits": ["e20b3256a"], "source_entry_id": "17.6/changes/058", "db_id": "83b885660d0c7021b04075e3d44ddf9f", "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da", "relations": [{"rule": 2, "type": "equivalent", "target": "2f55da59aa4982efff6c020c3bd04d77", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}}, {"rule": 2, "type": "equivalent", "target": "45566aab861f4620b7be99226b573be5", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}}, {"rule": 2, "type": "equivalent", "target": "a7bc5346dd90d175c498a49d712e2774", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}}, {"rule": 2, "type": "equivalent", "target": "c897943d3fd9af5a4d22c4a7d504ba01", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c897943d3fd9af5a4d22c4a7d504ba01", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在 contrib/dblink 建立连接期间可能泄漏已打开的连接", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}, "url": "/docs/compare/?release=16.10#16.10-a0d8c81779538197", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "2f55da59aa4982efff6c020c3bd04d77", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在 contrib/dblink 建立连接期间可能泄漏已打开的连接", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}, "url": "/docs/compare/?release=15.14#15.14-a0d8c81779538197", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "45566aab861f4620b7be99226b573be5", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在 contrib/dblink 建立连接期间可能泄漏已打开的连接", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}, "url": "/docs/compare/?release=14.19#14.19-a0d8c81779538197", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "a7bc5346dd90d175c498a49d712e2774", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在 contrib/dblink 连接建立过程中可能泄漏已打开的连接", "evidence": {"same_day": true, "patch_ids": ["ad074126925151af6358b1f754025008"], "statement_hash": "148946de905374f137eaedfd628dc86633d940c23860153ff88258623ff724da"}, "url": "/docs/compare/?release=13.22#13.22-d416439a5881d3b2", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-8f5065b37a2ab1c3", "cves": [], "html": "<p>使 <code>contrib/pg_prewarm</code> 能够处理非常大的 <code>shared_buffers</code> 设置（Daria Shanina）<a href=\"https://postgr.es/c/a4b9707c4\">§</a></p>\n<p>如果 <code>shared_buffers</code> 大于约 5000 万个缓冲区（400GB），autoprewarm 就会因内存分配错误而失败。</p>", "text": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置（Daria Shanina）§ 如果 shared_buffers 大于约 5000 万个缓冲区（400GB），autoprewarm 就会因内存分配错误而失败。", "title": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置", "commits": ["a4b9707c4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "ae003b60ca1fe0e45405c0c8c990e056a798a478cd429c19fd9cf70e54cc452c", "section_path": ["变更"], "commit_groups": [["016e407f4", "169429264", "4adbaa36c", "a4b9707c4", "d59ff3be2", "e4b8f925a"]], "identity_text": "Make contrib/pg_prewarm cope with very large shared_buffers settings (Daria Shanina) Autoprewarm failed with a memory allocation error if shared_buffers was larger than about 50 million buffers (400GB).", "commit_aliases": ["016e407f4", "169429264", "4adbaa36c", "a4b9707c4", "d59ff3be2", "e4b8f925a"], "source_commits": ["e4b8f925a"], "source_entry_id": "17.6/changes/059", "db_id": "4c9e049eb08c1c81dd6f2be6670da6b7", "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39", "relations": [{"rule": 2, "type": "equivalent", "target": "1face676ff5cf71997333256595c36fa", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}}, {"rule": 2, "type": "equivalent", "target": "b5fb83c37d8b63c533b733ad7dc865d6", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}}, {"rule": 2, "type": "equivalent", "target": "c68e2eb74207c113dc50a981b224105f", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}}, {"rule": 2, "type": "equivalent", "target": "f2d428bb56fc5c8bded9669b8f8c5438", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b5fb83c37d8b63c533b733ad7dc865d6", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}, "url": "/docs/compare/?release=16.10#16.10-3cc07d9ddb392d31", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "1face676ff5cf71997333256595c36fa", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}, "url": "/docs/compare/?release=15.14#15.14-7ba6e0d3be92a92d", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "c68e2eb74207c113dc50a981b224105f", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}, "url": "/docs/compare/?release=14.19#14.19-8f5065b37a2ab1c3", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "f2d428bb56fc5c8bded9669b8f8c5438", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "使 contrib/pg_prewarm 能够处理非常大的 shared_buffers 设置", "evidence": {"same_day": true, "patch_ids": ["2ddbc5358225eb04ea6642989759a6cf"], "statement_hash": "620236991d9540c64c3670bad932d1791fbf936f814c45121c613ff7885f2e39"}, "url": "/docs/compare/?release=13.22#13.22-a1e5752066934140", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-c3704c4d5e9b3b3e", "cves": [], "html": "<p>防止 <code>contrib/pg_prewarm</code> 中出现断言失败（Masahiro Ikeda）<a href=\"https://postgr.es/c/b64c585fd\">§</a></p>\n<p>将 <code>pg_prewarm()</code> 应用于缺少存储的关系（如视图）时会导致断言失败，尽管在非断言构建中并无实际副作用。现已增加错误检查以拒绝这种情况。</p>", "text": "防止 contrib/pg_prewarm 中出现断言失败（Masahiro Ikeda）§ 将 pg_prewarm() 应用于缺少存储的关系（如视图）时会导致断言失败，尽管在非断言构建中并无实际副作用。现已增加错误检查以拒绝这种情况。", "title": "防止 contrib/pg_prewarm 中出现断言失败", "commits": ["b64c585fd"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "563501dc7cb95f6d83d08d70bbf3a78374178081355fa2e712a51aaccdc56a48", "section_path": ["变更"], "commit_groups": [["3c4d7557e", "b64c585fd"]], "identity_text": "Prevent assertion failure in contrib/pg_prewarm (Masahiro Ikeda) Applying pg_prewarm() to a relation lacking storage (such as a view) caused an assertion failure, although there was no ill effect in non-assert builds. Add an error check to reject that case.", "commit_aliases": ["3c4d7557e", "b64c585fd"], "source_commits": ["b64c585fd"], "source_entry_id": "17.6/changes/060", "db_id": "8b65e7195e2697753f8a9b25bb7de399", "patch_ids": ["289dfd88e9aff33dfea21621197c011d"], "statement_hash": "558c0cdd5f5c358180bb797bdfaa0bb42a95d39c52ece86e1f50e33cf68264dd", "relations": [], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.6-128114da27ddd65a", "cves": [], "html": "<p>在 <code>contrib/pg_stat_statements</code> 中，避免在规范化查询中使用的参数编号出现间隔（Sami Imseih）<a href=\"https://postgr.es/c/130300a15\">§</a></p>", "text": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔（Sami Imseih）§", "title": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔", "commits": ["130300a15"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "56c6fe75424eb872bace7917f0c184e9b44bae12170048ac290b71fe76f2e0fa", "section_path": ["变更"], "commit_groups": [["130300a15", "290e8ab32", "35a428f30", "3c03b8cd7", "7e8b44f4e", "8a1459f62"]], "identity_text": "In contrib/pg_stat_statements, avoid leaving gaps in the set of parameter numbers used in a normalized query (Sami Imseih)", "commit_aliases": ["130300a15", "290e8ab32", "35a428f30", "3c03b8cd7", "7e8b44f4e", "8a1459f62"], "source_commits": ["290e8ab32"], "source_entry_id": "17.6/changes/061", "db_id": "97bb7cdabda51e44fb1f431f03805080", "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9", "relations": [{"rule": 2, "type": "equivalent", "target": "d0e49087520c2f1f1e348b126a88ff56", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}}, {"rule": 2, "type": "equivalent", "target": "d51c9c627a13629b841657b6af2dd94a", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}}, {"rule": 2, "type": "equivalent", "target": "f5750e8b670a5f8f8d0d13498c768dac", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}}, {"rule": 2, "type": "equivalent", "target": "f804f1e8c79bd457d870276cb4a17830", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d51c9c627a13629b841657b6af2dd94a", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}, "url": "/docs/compare/?release=16.10#16.10-7a99d947c1622f2d", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "f804f1e8c79bd457d870276cb4a17830", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}, "url": "/docs/compare/?release=15.14#15.14-128114da27ddd65a", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "d0e49087520c2f1f1e348b126a88ff56", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}, "url": "/docs/compare/?release=14.19#14.19-128114da27ddd65a", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "f5750e8b670a5f8f8d0d13498c768dac", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "在 contrib/pg_stat_statements 中，避免在规范化查询中使用的参数编号出现间隔", "evidence": {"same_day": true, "patch_ids": ["3438823a8b7edf73a4ed8375ce002378"], "statement_hash": "5c3d721d62e4cfa46f427f2c1c02556fe12be18337ef50d89eacd20cc79283e9"}, "url": "/docs/compare/?release=13.22#13.22-7aa92b8bab6bd151", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-8a8b1f783f566c8f", "cves": [], "html": "<p>修复 <code>contrib/postgres_fdw</code> 的 DirectModify 方法中的内存泄漏（Tom Lane）<a href=\"https://postgr.es/c/9339c85af\">§</a></p>\n<p>如果查询在 DirectModify 方法两次调用之间失败，那么保存远程修改命令结果的 <code>PGresult</code> 就会在该会话剩余时间内泄漏；当存在 <code>RETURNING</code> 数据需要处理时，就可能发生这种情况。</p>", "text": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏（Tom Lane）§ 如果查询在 DirectModify 方法两次调用之间失败，那么保存远程修改命令结果的 PGresult 就会在该会话剩余时间内泄漏；当存在 RETURNING 数据需要处理时，就可能发生这种情况。", "title": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏", "commits": ["9339c85af"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "e20583fd8a4693bdac7c66dbf653774fbc2feb2720a3448d93b6cc6b34668c3e", "section_path": ["变更"], "commit_groups": [["232d8caea", "271cb7eaa", "2b92dc4ee", "3c31594f5", "4a07c0961", "9339c85af"]], "identity_text": "Fix memory leakage in contrib/postgres_fdw's DirectModify methods (Tom Lane) The PGresult holding the results of the remote modify command would be leaked for the rest of the session if the query fails between invocations of the DirectModify methods, which could happen when there's RETURNING data to process.", "commit_aliases": ["232d8caea", "271cb7eaa", "2b92dc4ee", "3c31594f5", "4a07c0961", "9339c85af"], "source_commits": ["9339c85af"], "source_entry_id": "17.6/changes/062", "db_id": "f0e02024508944ea7eb2260c31e7ae20", "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954", "relations": [{"rule": 2, "type": "equivalent", "target": "12940007ea208d54000709a5b8e1d48d", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}}, {"rule": 2, "type": "equivalent", "target": "62379f7bef1baf1e0108fc15077ff686", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}}, {"rule": 2, "type": "equivalent", "target": "752524d4777945404bc3641ea9f18ca4", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}}, {"rule": 2, "type": "equivalent", "target": "f564666a4a5b9fe08f8379184059f2e0", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f564666a4a5b9fe08f8379184059f2e0", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}, "url": "/docs/compare/?release=16.10#16.10-8a8b1f783f566c8f", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "12940007ea208d54000709a5b8e1d48d", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}, "url": "/docs/compare/?release=15.14#15.14-8a8b1f783f566c8f", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "752524d4777945404bc3641ea9f18ca4", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}, "url": "/docs/compare/?release=14.19#14.19-8a8b1f783f566c8f", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "62379f7bef1baf1e0108fc15077ff686", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 contrib/postgres_fdw 的 DirectModify 方法中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["a3a3ca940a7fe9b91b393f89e48fb2cf"], "statement_hash": "09c199e4fac1b826479d694b22a9d514cef66c29e869a89a395e8727fb627954"}, "url": "/docs/compare/?release=13.22#13.22-025c80d4172c6ad6", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-8f492999b2b70b5b", "cves": [], "html": "<p>确保 <span>configure</span> 的 <code>--with-includes</code> 和 <code>--with-libraries</code> 选项中列出的目录在系统提供的目录之前被搜索（Tom Lane）<a href=\"https://postgr.es/c/a644f5fc6\">§</a></p>\n<p>使用这些选项的一个常见原因是允许用户自行构建的库版本覆盖系统提供的版本。然而，在某些环境中，由于 makefile 中发出的命令中开关顺序不当，这无法正常工作。</p>", "text": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索（Tom Lane）§ 使用这些选项的一个常见原因是允许用户自行构建的库版本覆盖系统提供的版本。然而，在某些环境中，由于 makefile 中发出的命令中开关顺序不当，这无法正常工作。", "title": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索", "commits": ["a644f5fc6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "cb0297fa4e3e14f87b8e3d68cf61210e9d7811ed3ffd36af7275c5f243748dca", "section_path": ["变更"], "commit_groups": [["19857437b", "2dee95bd0", "4300d8b6a", "8e5e3ff55", "a644f5fc6", "bbc20c8a9", "c5bd803e5"]], "identity_text": "Ensure that directories listed in configure's --with-includes and --with-libraries options are searched before system-supplied directories (Tom Lane) A common reason for using these options is to allow a user-built version of some library to override the system-supplied version. However, that failed to work in some environments because of careless ordering of switches in the commands issued by the makefiles.", "commit_aliases": ["19857437b", "2dee95bd0", "4300d8b6a", "8e5e3ff55", "a644f5fc6", "bbc20c8a9", "c5bd803e5"], "source_commits": ["a644f5fc6"], "source_entry_id": "17.6/changes/063", "db_id": "40190bd5de736e0d1c6dfae0661e59ae", "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6", "relations": [{"rule": 2, "type": "equivalent", "target": "61aa2ab6fe392516ba5d3d82dde9441c", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}}, {"rule": 2, "type": "equivalent", "target": "9a079b12c4aa18e17d2daefb8f82755d", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}}, {"rule": 2, "type": "equivalent", "target": "dddc18a83ab3fb87426d5cf379c1808e", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}}, {"rule": 2, "type": "equivalent", "target": "f4e258f01fdb78e9599679037ae1dfde", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9a079b12c4aa18e17d2daefb8f82755d", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}, "url": "/docs/compare/?release=16.10#16.10-822bca3ae25fbb63", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "dddc18a83ab3fb87426d5cf379c1808e", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}, "url": "/docs/compare/?release=15.14#15.14-a8c2ab43f078c9f3", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "61aa2ab6fe392516ba5d3d82dde9441c", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}, "url": "/docs/compare/?release=14.19#14.19-786d3ef0017ef7a7", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "f4e258f01fdb78e9599679037ae1dfde", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "确保 configure 的 --with-includes 和 --with-libraries 选项中列出的目录在系统提供的目录之前被搜索", "evidence": {"same_day": true, "patch_ids": ["e06531c74199ac8287e60a478732f2a1"], "statement_hash": "3fe68075d2af5f66aa86cec9975bd83f6f8d380307c7a98a165429881d8ce3f6"}, "url": "/docs/compare/?release=13.22#13.22-78bdf9b34668a73f", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-eacaf1a246bba2ef", "cves": [], "html": "<p>修复 <span>configure</span> 对 <code>__cpuid()</code> 和 <code>__cpuidex()</code> 的检测（Lukas Fittl、Michael Paquier）<a href=\"https://postgr.es/c/8de56323c\">§</a></p>\n<p><span>configure</span> 未能检测到这些 Windows 特有的函数，因此它们不会被使用，导致 CRC 计算比必要的慢，因为无法验证硬件指令的可用性。此错误的实际影响有限，因为 Windows 的生产构建通常不使用 Autoconf 工具链。</p>", "text": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测（Lukas Fittl、Michael Paquier）§ configure 未能检测到这些 Windows 特有的函数，因此它们不会被使用，导致 CRC 计算比必要的慢，因为无法验证硬件指令的可用性。此错误的实际影响有限，因为 Windows 的生产构建通常不使用 Autoconf 工具链。", "title": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测", "commits": ["8de56323c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "fae12d5a4390cd87b1f5cdd0da433b10952c57ec10c199988af7f36d5eeb2924", "section_path": ["变更"], "commit_groups": [["1a5212775", "60953d4cb", "612f5b806", "8de56323c", "c1984be23", "cd2d52cc6", "d6ffc43f9"]], "identity_text": "Fix configure's checks for __cpuid() and __cpuidex() (Lukas Fittl, Michael Paquier) configure failed to detect these Windows-specific functions, so that they would not be used, leading to slower-than-necessary CRC computations since the availability of hardware instructions could not be verified. The practical impact of this error was limited, because production builds for Windows typically do not use the Autoconf toolchain.", "commit_aliases": ["1a5212775", "60953d4cb", "612f5b806", "8de56323c", "c1984be23", "cd2d52cc6", "d6ffc43f9"], "source_commits": ["8de56323c"], "source_entry_id": "17.6/changes/064", "db_id": "29bd2073e7a4111518a779dbaefa2e3e", "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c", "relations": [{"rule": 2, "type": "equivalent", "target": "251ab6b7a637a23285439e2814b4b7ff", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}}, {"rule": 2, "type": "equivalent", "target": "3cf852fa32a8e042efe25f55af66dd6c", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}}, {"rule": 2, "type": "equivalent", "target": "ae69663d10e961545d5a76d2ee306d3d", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}}, {"rule": 2, "type": "equivalent", "target": "fd641a38bef3ee82086302f552abc5e6", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "fd641a38bef3ee82086302f552abc5e6", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}, "url": "/docs/compare/?release=16.10#16.10-080893a97846b1bd", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "3cf852fa32a8e042efe25f55af66dd6c", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}, "url": "/docs/compare/?release=15.14#15.14-eb8cfd40fc0a99a1", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "251ab6b7a637a23285439e2814b4b7ff", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}, "url": "/docs/compare/?release=14.19#14.19-eecaa3faa6751076", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "ae69663d10e961545d5a76d2ee306d3d", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复 configure 对 __cpuid() 和 __cpuidex() 的检测", "evidence": {"same_day": true, "patch_ids": ["ae7561e3fbff19d94aa34e43f2e748e7"], "statement_hash": "436429453485323412a971d4862a8207948817d34496de399badd0a02929ae7c"}, "url": "/docs/compare/?release=13.22#13.22-7d78ea3ba4066d49", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-5dde7f75a39e8421", "cves": [], "html": "<p>修复在基于 Solaris 的平台上使用 <code>--with-pam</code> 选项时的构建失败（Tom Lane）<a href=\"https://postgr.es/c/635a85627\">§</a></p>\n<p>Solaris 在 PAM 认证的 API 方面与其他 Unix 平台不一致。这表现为一个 <span>“<span>inconsistent pointer</span>”</span> 编译器警告，我们之前一直没有处理。但从 GCC 14 开始，默认情况下这是一个错误而不是警告，因此进行了修复。</p>", "text": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败（Tom Lane）§ Solaris 在 PAM 认证的 API 方面与其他 Unix 平台不一致。这表现为一个 “inconsistent pointer” 编译器警告，我们之前一直没有处理。但从 GCC 14 开始，默认情况下这是一个错误而不是警告，因此进行了修复。", "title": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败", "commits": ["635a85627"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "f95d2eda91eea1050b677d9f3e531d52a75009638356b39b693fe1d4604bcea3", "section_path": ["变更"], "commit_groups": [["1ccb3851d", "3d039b53a", "635a85627", "868b39a54", "b252ce311", "e4d585455", "e6dfd068e"]], "identity_text": "Fix build failure with --with-pam option on Solaris-based platforms (Tom Lane) Solaris is inconsistent with other Unix platforms about the API for PAM authentication. This manifested as an inconsistent pointer compiler warning, which we never did anything about. But as of GCC 14 it's an error not warning by default, so fix it.", "commit_aliases": ["1ccb3851d", "3d039b53a", "635a85627", "868b39a54", "b252ce311", "e4d585455", "e6dfd068e"], "source_commits": ["635a85627"], "source_entry_id": "17.6/changes/065", "db_id": "34538e54ec7992f9e730ad55c884d2ab", "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8", "relations": [{"rule": 2, "type": "equivalent", "target": "0499fba6edeafd06c1aacb74337ee540", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}}, {"rule": 2, "type": "equivalent", "target": "2f32f28098a657c73aaba748539500ac", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}}, {"rule": 2, "type": "equivalent", "target": "8e3b2f44c27aa265f52e60bda0ce7558", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}}, {"rule": 2, "type": "equivalent", "target": "b293fa0d4e1db1ca044df6a91593f3a7", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}}], "version": "17.6", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8e3b2f44c27aa265f52e60bda0ce7558", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}, "url": "/docs/compare/?release=16.10#16.10-032b8580605d61ab", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "0499fba6edeafd06c1aacb74337ee540", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}, "url": "/docs/compare/?release=15.14#15.14-3cf883176e770d3b", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "2f32f28098a657c73aaba748539500ac", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}, "url": "/docs/compare/?release=14.19#14.19-6a8eab878898dc90", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "b293fa0d4e1db1ca044df6a91593f3a7", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "修复在基于 Solaris 的平台上使用 --with-pam 选项时的构建失败", "evidence": {"same_day": true, "patch_ids": ["51251ad5ddb09ec4180604be0ea7e244"], "statement_hash": "5b2c4725aa7102bdd6caa231ab00902bf447c41bcab6e88828baedd7a8e8cad8"}, "url": "/docs/compare/?release=13.22#13.22-111a6307eb7d3da5", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-f785f5137d94a1cd", "cves": [], "html": "<p>使我们的代码可移植到 GNU Hurd（Michael Banck、Christoph Berg、Samuel Thibault）<a href=\"https://postgr.es/c/0991249d7\">§</a> <a href=\"https://postgr.es/c/29c54ea7b\">§</a></p>\n<p>修复了关于 <code>IOV_MAX</code> 和 <code>O_RDONLY</code> 在 Hurd 上不成立的假设。</p>", "text": "使我们的代码可移植到 GNU Hurd（Michael Banck、Christoph Berg、Samuel Thibault）§ § 修复了关于 IOV_MAX 和 O_RDONLY 在 Hurd 上不成立的假设。", "title": "使我们的代码可移植到 GNU Hurd", "commits": ["0991249d7", "29c54ea7b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "6b52c584594419296d220787cae855f219bf8015cc70a552366f9ae20ac3b3bc", "section_path": ["变更"], "commit_groups": [["0991249d7", "1fd772d19", "581305a46", "d25d392e8"], ["0fb496c70", "29213636e", "29c54ea7b", "3a2617e4f", "45c527662", "71d71ac4d", "d0a695cf4"]], "identity_text": "Make our code portable to GNU Hurd (Michael Banck, Christoph Berg, Samuel Thibault) Fix assumptions about IOV_MAX and O_RDONLY that don't hold on Hurd.", "commit_aliases": ["0991249d7", "0fb496c70", "1fd772d19", "29213636e", "29c54ea7b", "3a2617e4f", "45c527662", "581305a46", "71d71ac4d", "d0a695cf4", "d25d392e8"], "source_commits": ["0991249d7", "29c54ea7b"], "source_entry_id": "17.6/changes/066", "db_id": "407f6f9621d44a5c87ebd20b33673e61", "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b", "relations": [{"rule": 2, "type": "equivalent", "target": "04457f149a6bdf7d2d93fc2f18ea6daa", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}}, {"rule": 2, "type": "equivalent", "target": "55057baacea65e22aa2c84955c4998c8", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}}, {"rule": 2, "type": "equivalent", "target": "90ebf543c131ee89f82ca4eb11b97f07", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}}, {"rule": 2, "type": "equivalent", "target": "cc55ee115ee270685c5f83706b87c17e", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cc55ee115ee270685c5f83706b87c17e", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "使我们的代码可移植到 GNU Hurd", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}, "url": "/docs/compare/?release=16.10#16.10-cc382785968c2ffd", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "90ebf543c131ee89f82ca4eb11b97f07", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "使我们的代码可移植到 GNU Hurd", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}, "url": "/docs/compare/?release=15.14#15.14-b3a664a9f7d74338", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "55057baacea65e22aa2c84955c4998c8", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "使我们的代码可移植到 GNU Hurd", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}, "url": "/docs/compare/?release=14.19#14.19-11114cd6fd992fb1", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "04457f149a6bdf7d2d93fc2f18ea6daa", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "使我们的代码可移植到 GNU Hurd", "evidence": {"same_day": true, "patch_ids": ["2535ac32e138397cf0c98158c84aeb0a", "f1de18aec4c0de6008e0f2a25c0560e5"], "statement_hash": "914bd0426349ac821f65b461aee5bd9d6c5f0e5c5a53d3724248d6f56924302b"}, "url": "/docs/compare/?release=13.22#13.22-ad71d79d923d3c35", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-ca120c363b24002c", "cves": [], "html": "<p>使我们对 <code>memset_s()</code> 的使用严格符合 C11 标准（Tom Lane）<a href=\"https://postgr.es/c/5355a2400\">§</a></p>\n<p>这可以避免某些平台上的编译失败。</p>", "text": "使我们对 memset_s() 的使用严格符合 C11 标准（Tom Lane）§ 这可以避免某些平台上的编译失败。", "title": "使我们对 memset_s() 的使用严格符合 C11 标准", "commits": ["5355a2400"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "8e8248227c94ef6d84d70b36fa679c7f216c08916b6e8e3cb73be44e4c1edcc5", "section_path": ["变更"], "commit_groups": [["00652b3c9", "4b53cb493", "9bc2d37cc", "a1e0e7076"], ["12eee85e5", "253cf661c", "5355a2400"]], "identity_text": "Make our usage of memset_s() conform strictly to the C11 standard (Tom Lane) This avoids compile failures on some platforms.", "commit_aliases": ["00652b3c9", "12eee85e5", "253cf661c", "4b53cb493", "5355a2400", "9bc2d37cc", "a1e0e7076"], "source_commits": ["4b53cb493", "5355a2400"], "source_entry_id": "17.6/changes/067", "db_id": "b19c16a22c915571a3272abb63ca64fd", "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f", "relations": [{"rule": 2, "type": "equivalent", "target": "5fcf76da3b8fa511b807f6218e5e00a0", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}}, {"rule": 2, "type": "equivalent", "target": "873c6db3919db9846ad325ffc8a87d43", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}}, {"rule": 2, "type": "equivalent", "target": "c81119c2c93568d779326ae147992118", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}}, {"rule": 2, "type": "equivalent", "target": "fb508b12b02308fe0bfa2df52ebf175a", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c81119c2c93568d779326ae147992118", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "使我们对 memset_s() 的使用严格符合 C11 标准", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}, "url": "/docs/compare/?release=16.10#16.10-86cb2dd2f5e6e262", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "fb508b12b02308fe0bfa2df52ebf175a", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "使我们对 memset_s() 的使用严格符合 C11 标准", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}, "url": "/docs/compare/?release=15.14#15.14-ca120c363b24002c", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "873c6db3919db9846ad325ffc8a87d43", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "使我们对 memset_s() 的使用严格符合 C11 标准", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}, "url": "/docs/compare/?release=14.19#14.19-ca120c363b24002c", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "5fcf76da3b8fa511b807f6218e5e00a0", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "使我们对 memset_s() 的使用严格遵循 C11 标准", "evidence": {"same_day": true, "patch_ids": ["152415ddd6ce0d088df0dfdd8775ba61", "c5fb5cc7de1c19c1fdaac7e3b056d35a"], "statement_hash": "57cf2dc152a482fefba1092981e5e8334e09bb8ee3daef8bc79b04e5b32dd32f"}, "url": "/docs/compare/?release=13.22#13.22-e5923b36ae31fff1", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-101e57122ec4a211", "cves": [], "html": "<p>消除使用 Meson 配合 MSVC 构建时的兼容性警告（Peter Eisentraut）<a href=\"https://postgr.es/c/2499c3490\">§</a></p>", "text": "消除使用 Meson 配合 MSVC 构建时的兼容性警告（Peter Eisentraut）§", "title": "消除使用 Meson 配合 MSVC 构建时的兼容性警告", "commits": ["2499c3490"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "b941112f46a06a22fd5230b4fe0b3c515c5eb867bad2992891db5ae3915727f2", "section_path": ["变更"], "commit_groups": [["2499c3490", "2c0d8b950", "629cc1623"]], "identity_text": "Silence compatibility warning when using Meson to build with MSVC (Peter Eisentraut)", "commit_aliases": ["2499c3490", "2c0d8b950", "629cc1623"], "source_commits": ["2499c3490"], "source_entry_id": "17.6/changes/068", "db_id": "a508bc78aa93acd0a60227d60c82d9d5", "patch_ids": ["6dd951e7f9e1680f600769c5e387c496"], "statement_hash": "42105cf1992ed361454f5529dfcd33645a4ddea4009403bb2860aac68886d61b", "relations": [{"rule": 2, "type": "equivalent", "target": "f5de31760f639d2c5314b8ed264f2d95", "evidence": {"same_day": true, "patch_ids": ["6dd951e7f9e1680f600769c5e387c496"], "statement_hash": "42105cf1992ed361454f5529dfcd33645a4ddea4009403bb2860aac68886d61b"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f5de31760f639d2c5314b8ed264f2d95", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "消除使用 Meson 配合 MSVC 构建时的兼容性警告", "evidence": {"same_day": true, "patch_ids": ["6dd951e7f9e1680f600769c5e387c496"], "statement_hash": "42105cf1992ed361454f5529dfcd33645a4ddea4009403bb2860aac68886d61b"}, "url": "/docs/compare/?release=16.10#16.10-101e57122ec4a211", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}]}, {"id": "17.6-f6db88c1769ddeb0", "cves": [], "html": "<p>防止 JSONB 比较代码中的未初始化值编译器警告（Tom Lane）<a href=\"https://postgr.es/c/5a2139a90\">§</a></p>", "text": "防止 JSONB 比较代码中的未初始化值编译器警告（Tom Lane）§", "title": "防止 JSONB 比较代码中的未初始化值编译器警告", "commits": ["5a2139a90"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "22f83f07bae97018c00005d5509e8f3e23077bd38d27d8f4405d5a658d40c563", "section_path": ["变更"], "commit_groups": [["0b6dfce0c", "5a2139a90", "5db55e13f", "6c93bf735", "8254b7e33", "aad1617b7", "f32e45641"]], "identity_text": "Prevent uninitialized-value compiler warnings in JSONB comparison code (Tom Lane)", "commit_aliases": ["0b6dfce0c", "5a2139a90", "5db55e13f", "6c93bf735", "8254b7e33", "aad1617b7", "f32e45641"], "source_commits": ["5a2139a90"], "source_entry_id": "17.6/changes/069", "db_id": "98469d2b32d89cbfb4f890b16567ed67", "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff", "relations": [{"rule": 2, "type": "equivalent", "target": "12f4afd596aa7bc04fb91eeb32141bfd", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}}, {"rule": 2, "type": "equivalent", "target": "46c4757b31bbf1593c2db36feb6338f3", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}}, {"rule": 2, "type": "equivalent", "target": "b1e2df399f2876369e269619f20874cf", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}}, {"rule": 2, "type": "equivalent", "target": "e5f47b223fa9be4f544c50b8b1d87f45", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "12f4afd596aa7bc04fb91eeb32141bfd", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "防止 JSONB 比较代码中的未初始化值编译器警告", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}, "url": "/docs/compare/?release=16.10#16.10-e2d0e1e515d3b0ad", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "e5f47b223fa9be4f544c50b8b1d87f45", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "防止 JSONB 比较代码中的未初始化值编译器警告", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}, "url": "/docs/compare/?release=15.14#15.14-74c38b2263bb46b0", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "b1e2df399f2876369e269619f20874cf", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "防止 JSONB 比较代码中的未初始化值编译器警告", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}, "url": "/docs/compare/?release=14.19#14.19-c33c12968657cbdf", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "46c4757b31bbf1593c2db36feb6338f3", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "防止 JSONB 比较代码中的未初始化值编译器警告", "evidence": {"same_day": true, "patch_ids": ["1c7c8e4d06e65980ebc06c130f9a5388"], "statement_hash": "bb3884425060926db4a5243efc395f3fbdd862589ab5ba43c574d387eb4e72ff"}, "url": "/docs/compare/?release=13.22#13.22-37f5c79edb1294a2", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-75a9055620549575", "cves": [], "html": "<p>避免在使用 <span>libxml2</span> 2.14 及更高版本构建时出现弃用警告（Michael Paquier）<a href=\"https://postgr.es/c/c911e7802\">§</a></p>", "text": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告（Michael Paquier）§", "title": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告", "commits": ["c911e7802"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "4b36ffbcc2faf32fc0b4ed695f7007a2b6d0b9e40ebbe086890427f6c7fd3244", "section_path": ["变更"], "commit_groups": [["75c1eb60b", "8aa54aa7e", "8d1071e7d", "ac166b19a", "c911e7802", "d24a96ce2", "e688cfc2b"]], "identity_text": "Avoid deprecation warnings when building with libxml2 2.14 and later (Michael Paquier)", "commit_aliases": ["75c1eb60b", "8aa54aa7e", "8d1071e7d", "ac166b19a", "c911e7802", "d24a96ce2", "e688cfc2b"], "source_commits": ["c911e7802"], "source_entry_id": "17.6/changes/070", "db_id": "e0a775f6c43ee0c2c107e429336236f0", "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce", "relations": [{"rule": 2, "type": "equivalent", "target": "45d03032c2bff698d9256a3bd780ee2f", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}}, {"rule": 2, "type": "equivalent", "target": "78b9e49af419b93ce85ef45a30af57ae", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}}, {"rule": 2, "type": "equivalent", "target": "805b40146a55dc1ae0f3eb5524b13343", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}}, {"rule": 2, "type": "equivalent", "target": "da6577a15e3e7e774b8a8e0e6560b995", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "78b9e49af419b93ce85ef45a30af57ae", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}, "url": "/docs/compare/?release=16.10#16.10-d8aefce5a76533ce", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "da6577a15e3e7e774b8a8e0e6560b995", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}, "url": "/docs/compare/?release=15.14#15.14-232cf3d64f572b66", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "805b40146a55dc1ae0f3eb5524b13343", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}, "url": "/docs/compare/?release=14.19#14.19-9358876efce4e3f8", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "45d03032c2bff698d9256a3bd780ee2f", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在使用 libxml2 2.14 及更高版本构建时出现弃用警告", "evidence": {"same_day": true, "patch_ids": ["d218f738bb6ade31c43d956e4b138087"], "statement_hash": "4dbd8cab24eabbe57fdd20140ea36da838bf925b78f64e2cd9c47ed68ccce3ce"}, "url": "/docs/compare/?release=13.22#13.22-31ea77e2f2c5453d", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}, {"id": "17.6-a867b8097ecb2002", "cves": [], "html": "<p>避免在 C++ 下编译 <code>pg_locale.h</code> 时的问题（John Naylor）<a href=\"https://postgr.es/c/21ae8fc5f\">§</a></p>\n<p><span>PostgreSQL</span> 头文件通常需要用 <code>extern \"C\" { ... }</code> 包裹才能在用 C++ 编写的扩展中被包含。对于 <code>pg_locale.h</code>，由于它使用了 <span>libicu</span> 头文件，这会失败，但我们可以通过在这些头文件中抑制仅限 C++ 的声明来解决此问题。想要使用 <span>libicu</span> 的 C++ API 的 C++ 扩展可以在包含 <code>pg_locale.h</code> 之前先包含 <span>libicu</span> 头文件。</p>", "text": "避免在 C++ 下编译 pg_locale.h 时的问题（John Naylor）§ PostgreSQL 头文件通常需要用 extern \"C\" { ... } 包裹才能在用 C++ 编写的扩展中被包含。对于 pg_locale.h，由于它使用了 libicu 头文件，这会失败，但我们可以通过在这些头文件中抑制仅限 C++ 的声明来解决此问题。想要使用 libicu 的 C++ API 的 C++ 扩展可以在包含 pg_locale.h 之前先包含 libicu 头文件。", "title": "避免在 C++ 下编译 pg_locale.h 时的问题", "commits": ["21ae8fc5f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.6/#RELEASE-17-6-CHANGES", "source_hash": "536fdf071ab0eae262f693957e3e64f917f62da05141107a8193b122df6ed293", "section_path": ["变更"], "commit_groups": [["21ae8fc5f", "90bfae9f9", "9560c1ec1", "a4f891b96", "aae9aad19", "baacfb9e6", "dd2926207"], ["ed26c4e25"]], "identity_text": "Avoid problems when compiling pg_locale.h under C++ (John Naylor) PostgreSQL header files generally need to be wrapped in extern \"C\" { ... } in order to be included in extensions written in C++. This failed for pg_locale.h because of its use of libicu headers, but we can work around that by suppressing C++-only declarations in those headers. C++ extensions that want to use libicu's C++ APIs can do so by including the libicu headers ahead of pg_locale.h.", "commit_aliases": ["21ae8fc5f", "90bfae9f9", "9560c1ec1", "a4f891b96", "aae9aad19", "baacfb9e6", "dd2926207", "ed26c4e25"], "source_commits": ["21ae8fc5f", "ed26c4e25"], "source_entry_id": "17.6/changes/071", "db_id": "465b03b5786c3ace1f8e24ae77dc1b96", "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a", "relations": [{"rule": 2, "type": "equivalent", "target": "574d5dbd83a7b7aee91f31efbb05eda7", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}}, {"rule": 2, "type": "equivalent", "target": "92057801d245043eab99578a5e8ae371", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}}, {"rule": 2, "type": "equivalent", "target": "ed028961b78fd9d0dad5b55f446f151f", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}}, {"rule": 2, "type": "equivalent", "target": "f8e843a90706d7c201b6f03324020afe", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}}], "version": "17.6", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f8e843a90706d7c201b6f03324020afe", "kind": "equivalent", "version": "16.10", "label": "16.10", "title": "避免在 C++ 下编译 pg_locale.h 时的问题", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}, "url": "/docs/compare/?release=16.10#16.10-11ac5fb8acc15e0d", "source_url": "/docs/release/16.10/#RELEASE-16-10-CHANGES"}, {"db_id": "ed028961b78fd9d0dad5b55f446f151f", "kind": "equivalent", "version": "15.14", "label": "15.14", "title": "避免在 C++ 下编译 pg_locale.h 时的问题", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}, "url": "/docs/compare/?release=15.14#15.14-021358a7a6479c6b", "source_url": "/docs/release/15.14/#ZH-AUTO-RELEASE-15-SECT2-8"}, {"db_id": "92057801d245043eab99578a5e8ae371", "kind": "equivalent", "version": "14.19", "label": "14.19", "title": "避免在 C++ 下编译 pg_locale.h 时的问题", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}, "url": "/docs/compare/?release=14.19#14.19-05a143bb858d93f4", "source_url": "/docs/release/14.19/#ZH-AUTO-RELEASE-14-SECT2-8"}, {"db_id": "574d5dbd83a7b7aee91f31efbb05eda7", "kind": "equivalent", "version": "13.22", "label": "13.22", "title": "避免在 C++ 下编译 pg_locale.h 时的问题", "evidence": {"same_day": true, "patch_ids": ["88c09a656232275f07341f46aa56ea44", "f26481addabc1a0f486b4666c91adef4"], "statement_hash": "00a1da47c6930b9ac721c6e6a20d12238e220cb05ad7ed65e7dd569cb041587a"}, "url": "/docs/compare/?release=13.22#13.22-6b02ec42506b3a29", "source_url": "/docs/release/13.22/#id-1.11.6.7.6"}]}]}, {"date": "2025-05-08", "build": "17.5", "major": "17", "minor": 5, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.5", "eol_date": "2029-11-08", "date_text": "2025-05-08", "supported": true, "manual_url": "/docs/17/release-17-5.html", "source_url": "/docs/release/17.5/", "entry_count": 61, "placeholder": false, "content_hash": "7d1a37fa5fc86ad5250de7b6df3e406d2659f386723ccfaf0b046864ebd245c8", "manual_build": "17.12", "source_as_of": "", "changes_count": 61, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你在分区表上有自引用外键约束，则可能需要重新创建这些约束，以确保它们得到正确实施。见下文第二条变更记录。</p>\n<p>此外，如果你有任何 BRIN bloom 索引，建议在更新后对其重建索引。见下文第三条变更记录。</p>\n<p>此外，如果你是从早于 17.1 的版本升级，请参见<a href=\"/docs/17/release-17-1.html\" title=\"E.11. 17.1 发布\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "17.5", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 555, "support_days": 1090, "entries": [{"id": "17.5-811aed0b2b3689f8", "cves": ["CVE-2025-4207"], "html": "<p>避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取（Noah Misch，Andres Freund）<a href=\"https://postgr.es/c/ec5f89e8a\">§</a> <a href=\"https://postgr.es/c/617d34908\">§</a></p>\n<p>虽然可能性不大，但如果不完整的多字节字符出现在内存末尾，可能会导致 SIGSEGV 崩溃。这在服务器和使用 <span>libpq</span> 的应用程序中都可能发生。（CVE-2025-4207）</p>", "text": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取（Noah Misch，Andres Freund）§ § 虽然可能性不大，但如果不完整的多字节字符出现在内存末尾，可能会导致 SIGSEGV 崩溃。这在服务器和使用 libpq 的应用程序中都可能发生。（CVE-2025-4207）", "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "commits": ["617d34908", "ec5f89e8a"], "section": "变更", "category": "security", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "60947e0669682c6d8f98a37f50f6140e5824a66d04fc50f6fd7c3837d54fd664", "section_path": ["变更"], "commit_groups": [["258cde839", "45fe7e08f", "5be213caa", "617d34908", "7279e5820", "f3bb0b2c4"], ["3f2ab7393", "44ba3f55f", "627acc3ca", "cbadeaca9", "d1264948f", "ec5f89e8a"]], "identity_text": "Avoid one-byte buffer overread when examining invalidly-encoded strings that are claimed to be in GB18030 encoding (Noah Misch, Andres Freund) While unlikely, a SIGSEGV crash could occur if an incomplete multibyte character appeared at the end of memory. This was possible both in the server and in libpq-using applications. (CVE-2025-4207)", "commit_aliases": ["258cde839", "3f2ab7393", "44ba3f55f", "45fe7e08f", "5be213caa", "617d34908", "627acc3ca", "7279e5820", "cbadeaca9", "d1264948f", "ec5f89e8a", "f3bb0b2c4"], "source_commits": ["617d34908", "ec5f89e8a"], "source_entry_id": "17.5/changes/001", "db_id": "b709e1b3e9d8624be870988b036fd152", "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af", "relations": [{"rule": 2, "type": "equivalent", "target": "324c2d77afbaedc0b35dc9fa474e1a3c", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}}, {"rule": 2, "type": "equivalent", "target": "52b291d40b26e80bfcbda168216ed19c", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}}, {"rule": 2, "type": "equivalent", "target": "90816d8cb748849f968f5acd56673365", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}}, {"rule": 2, "type": "equivalent", "target": "dd8842462b8fd9529571acc51a1f45c1", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}}], "version": "17.5", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "52b291d40b26e80bfcbda168216ed19c", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}, "url": "/docs/compare/?release=16.9#16.9-9333e72b42f314f4", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "324c2d77afbaedc0b35dc9fa474e1a3c", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}, "url": "/docs/compare/?release=15.13#15.13-ac5445ebcc0439eb", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "dd8842462b8fd9529571acc51a1f45c1", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}, "url": "/docs/compare/?release=14.18#14.18-e7c0d482f98a0ba1", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "90816d8cb748849f968f5acd56673365", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "evidence": {"same_day": true, "patch_ids": ["46c8bf47167ab191e3280201c2564861", "76df84f28287d373c8422ff9fd4dc342"], "statement_hash": "de9bc622c1afed2365e92af367e89d9502a1c466f4c6dba55f3cf061e1d932af"}, "url": "/docs/compare/?release=13.21#13.21-bc601768f2de7a35", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-33e46d9a26056cb4", "cves": [], "html": "<p>正确处理分区表上的自引用外键（Álvaro Herrera）<a href=\"https://postgr.es/c/f51ae3187\">§</a></p>\n<p>创建或附加分区时未能为外键约束创建所需的目录条目，如果该约束引用的表就是同一个分区表。这会导致该约束无法被完全执行。</p>\n<p>要修复此问题，如果在约束创建之后曾创建或附加过分区，则应删除并重新创建分区表上的任何自引用外键。请注意，可能已经存在违反约束的行，在这种情况下重新创建约束会失败，你需要先修复这些行后再重试。</p>", "text": "正确处理分区表上的自引用外键（Álvaro Herrera）§ 创建或附加分区时未能为外键约束创建所需的目录条目，如果该约束引用的表就是同一个分区表。这会导致该约束无法被完全执行。 要修复此问题，如果在约束创建之后曾创建或附加过分区，则应删除并重新创建分区表上的任何自引用外键。请注意，可能已经存在违反约束的行，在这种情况下重新创建约束会失败，你需要先修复这些行后再重试。", "title": "正确处理分区表上的自引用外键", "commits": ["f51ae3187"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "34acb88862cc01e1b3f535250ed1681aef05f3008636829b816b8cf75d88ab3e", "section_path": ["变更"], "commit_groups": [["1649d153a", "1817d62ec", "6ba979cf5", "b3a9c536d", "c83a38758", "f51ae3187"]], "identity_text": "Handle self-referential foreign keys on partitioned tables correctly (Álvaro Herrera) Creating or attaching partitions failed to make the required catalog entries for a foreign-key constraint, if the table referenced by the constraint was the same partitioned table. This resulted in failure to enforce the constraint fully. To fix this, you should drop and recreate any self-referential foreign keys on partitioned tables, if partitions have been created or attached since the constraint was created. Bear in mind that violating rows might already be present, in which case recreating the constraint will fail, and you'll need to fix up those rows before trying again.", "commit_aliases": ["1649d153a", "1817d62ec", "6ba979cf5", "b3a9c536d", "c83a38758", "f51ae3187"], "source_commits": ["f51ae3187"], "source_entry_id": "17.5/changes/002", "db_id": "74b0b653fc4b7867d9664b6f47e83cf2", "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03", "relations": [{"rule": 2, "type": "equivalent", "target": "00a212cca3e46b43408a50bfb3f001a2", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}}, {"rule": 2, "type": "equivalent", "target": "1597348d9b84b108c65df5a25ccdad57", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}}, {"rule": 2, "type": "equivalent", "target": "2e82178a9bafbe73cfec49a0a0c3913b", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}}, {"rule": 2, "type": "equivalent", "target": "80e3cc10f3858300ca77df2904c1925d", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e82178a9bafbe73cfec49a0a0c3913b", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "正确处理分区表上的自引用外键", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}, "url": "/docs/compare/?release=16.9#16.9-957bda7d3c81adad", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "80e3cc10f3858300ca77df2904c1925d", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "正确处理分区表上的自引用外键", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}, "url": "/docs/compare/?release=15.13#15.13-0a90d92fac91acc0", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "00a212cca3e46b43408a50bfb3f001a2", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "正确处理分区表上的自引用外键", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}, "url": "/docs/compare/?release=14.18#14.18-8508a57f7675f008", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "1597348d9b84b108c65df5a25ccdad57", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "正确处理分区表上的自引用外键", "evidence": {"same_day": true, "patch_ids": ["ad242ea23eebb0296f36fddb8b8111c0"], "statement_hash": "0c1635d2fbe51396a0afda654bfd96a5b65735f5ba956c95dbfb5862805e3a03"}, "url": "/docs/compare/?release=13.21#13.21-5dfcd8e50f9f1cd7", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-713c7047a302325a", "cves": [], "html": "<p>避免在 <code>brin_bloom_union()</code> 中合并压缩的 BRIN 摘要时丢失数据（Tomas Vondra）<a href=\"https://postgr.es/c/cb0ad70b8\">§</a></p>\n<p>该代码未能考虑到解压缩结果与输入对象不完全相同的情况，这会导致未能将部分数据添加到合并后的摘要中，从而在索引搜索中遗漏行。</p>\n<p>这个错误从引入 BRIN bloom 索引的 v14 就存在了，但当时这个代码路径很少被触及。在 v17 中由于并行索引构建现在使用了该代码，因此更容易被触发。</p>", "text": "避免在 brin_bloom_union() 中合并压缩的 BRIN 摘要时丢失数据（Tomas Vondra）§ 该代码未能考虑到解压缩结果与输入对象不完全相同的情况，这会导致未能将部分数据添加到合并后的摘要中，从而在索引搜索中遗漏行。 这个错误从引入 BRIN bloom 索引的 v14 就存在了，但当时这个代码路径很少被触及。在 v17 中由于并行索引构建现在使用了该代码，因此更容易被触发。", "title": "避免在 brin_bloom_union() 中合并压缩的 BRIN 摘要时丢失数据", "commits": ["cb0ad70b8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "19fd566382389b19294889a03476f67bcac50ecf5f649586d03ba5f32366a873", "section_path": ["变更"], "commit_groups": [["6be02bbc8", "818245506", "cb0ad70b8", "e064b770c", "ebcc799a7"]], "identity_text": "Avoid data loss when merging compressed BRIN summaries in brin_bloom_union() (Tomas Vondra) The code failed to account for decompression results not being identical to the input objects, which would result in failure to add some of the data to the merged summary, leading to missed rows in index searches. This mistake was present back to v14 where BRIN bloom indexes were introduced, but this code path was only rarely reached then. It's substantially more likely to be hit in v17 because parallel index builds now use the code.", "commit_aliases": ["6be02bbc8", "818245506", "cb0ad70b8", "e064b770c", "ebcc799a7"], "source_commits": ["cb0ad70b8"], "source_entry_id": "17.5/changes/003", "db_id": "485bff3c834029add3cd04127b9baf3b", "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609", "relations": [{"rule": 2, "type": "equivalent", "target": "3a11ecf5fadca551924c452d89cfd2ae", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}}, {"rule": 2, "type": "equivalent", "target": "4843f13cf3d1c267a1482aff53d43829", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}}, {"rule": 2, "type": "equivalent", "target": "bbe2be1a596ba923c5a319334510b4f8", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4843f13cf3d1c267a1482aff53d43829", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在 brin_bloom_union() 中合并压缩的 BRIN 摘要时丢失数据", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}, "url": "/docs/compare/?release=16.9#16.9-00a18a3ddf7896ba", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "3a11ecf5fadca551924c452d89cfd2ae", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在 brin_bloom_union() 中合并压缩的 BRIN 摘要时丢失数据", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}, "url": "/docs/compare/?release=15.13#15.13-32fb0ac8af362319", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "bbe2be1a596ba923c5a319334510b4f8", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在 brin_bloom_union() 中合并压缩的 BRIN 摘要时丢失数据", "evidence": {"same_day": true, "patch_ids": ["e7679010570c027f03bd2cfeabb18277"], "statement_hash": "4b381913723c5c4a3d0d3be5e7454df4efc248655249905dff5dc8a58a402609"}, "url": "/docs/compare/?release=14.18#14.18-f538b53a2f7f69ca", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-4ee041283b8d7df3", "cves": [], "html": "<p>修复在 <code>UPDATE</code>、<code>DELETE</code> 和 <code>MERGE</code> 查询中使用对视图或函数的整行表引用（在 <code>FROM</code> 中）时出现的意外 <span>“<span>attribute has wrong type</span>”</span> 错误（Tom Lane）<a href=\"https://postgr.es/c/ca0830e5a\">§</a></p>", "text": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误（Tom Lane）§", "title": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误", "commits": ["ca0830e5a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "d17c663a548153bd2774df9407219838e541f29352e557ca88f1bb63f080d4c8", "section_path": ["变更"], "commit_groups": [["1a20bc946", "7713f4592", "b200180de"], ["28a7e31d0", "317aba70e", "584f17a90"], ["39af32f78", "ae0be2f0b", "ca0830e5a", "d3a29ae6a", "f4e7756ef", "fec43428c"]], "identity_text": "Fix unexpected attribute has wrong type errors in UPDATE, DELETE, and MERGE queries that use whole-row table references to views or functions in FROM (Tom Lane)", "commit_aliases": ["1a20bc946", "28a7e31d0", "317aba70e", "39af32f78", "584f17a90", "7713f4592", "ae0be2f0b", "b200180de", "ca0830e5a", "d3a29ae6a", "f4e7756ef", "fec43428c"], "source_commits": ["317aba70e", "7713f4592", "ca0830e5a"], "source_entry_id": "17.5/changes/004", "db_id": "7a02987633308bab11c9305847a877d0", "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54", "relations": [{"rule": 2, "type": "equivalent", "target": "172f587e40b738a117b3f312ab43c52e", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}}, {"rule": 2, "type": "equivalent", "target": "6d9a4033cdb647a5127ebda891f45303", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}}, {"rule": 2, "type": "equivalent", "target": "78144efed294da8a2d5e820954befe01", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}}, {"rule": 2, "type": "equivalent", "target": "faecba315a6ff460195de2ac7c2156a1", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "6d9a4033cdb647a5127ebda891f45303", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}, "url": "/docs/compare/?release=16.9#16.9-285f67adcbce3ca8", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "172f587e40b738a117b3f312ab43c52e", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}, "url": "/docs/compare/?release=15.13#15.13-77004cecd223761f", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "faecba315a6ff460195de2ac7c2156a1", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}, "url": "/docs/compare/?release=14.18#14.18-410db6a272093912", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "78144efed294da8a2d5e820954befe01", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复在 UPDATE、DELETE 和 MERGE 查询中使用对视图或函数的整行表引用（在 FROM 中）时出现的意外 “attribute has wrong type” 错误", "evidence": {"same_day": true, "patch_ids": ["15bc8ca0e3cd0f7d7090dc8454de3307", "48fefa97f07c981f3d50626a2693f764", "59a3817ba039f85b8c7fd855a6cd7c4f"], "statement_hash": "bfb3da86e84e7549dc5b96dc76b02432005d15b99e43155b4cbfbb516d6cbf54"}, "url": "/docs/compare/?release=13.21#13.21-b31af4ef04e8f4e8", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-fb1ef27e6ad12133", "cves": [], "html": "<p>修复对带有 <code>DO NOTHING</code> 动作的分区表执行 <code>MERGE</code> 的问题（Tender Wang）<a href=\"https://postgr.es/c/25303678a\">§</a></p>\n<p>某些情况会出现 <span>“<span>unknown action in MERGE WHEN clause</span>”</span> 错误。</p>", "text": "修复对带有 DO NOTHING 动作的分区表执行 MERGE 的问题（Tender Wang）§ 某些情况会出现 “unknown action in MERGE WHEN clause” 错误。", "title": "修复对带有 DO NOTHING 动作的分区表执行 MERGE 的问题", "commits": ["25303678a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "3dee2ba0540a4c784d18020fef92a582551c0b8093cb9d0c6dd383827cceeb60", "section_path": ["变更"], "commit_groups": [["14a33d3f0", "25303678a", "8b6a0e239", "8d4cd3b4a"]], "identity_text": "Fix MERGE into a partitioned table with DO NOTHING actions (Tender Wang) Some cases failed with unknown action in MERGE WHEN clause errors.", "commit_aliases": ["14a33d3f0", "25303678a", "8b6a0e239", "8d4cd3b4a"], "source_commits": ["25303678a"], "source_entry_id": "17.5/changes/005", "db_id": "86af16fcd8c6b4a784b7476a3d942894", "patch_ids": ["513aa4deebdf3df8839bb06bae87b2de"], "statement_hash": "5fe417a7181c1d7cf2c97d0d55ffbacd8690db7faa1ee767a09dea3ed7953532", "relations": [{"rule": 2, "type": "equivalent", "target": "52e2c1747d54581c28441d3730cd211c", "evidence": {"same_day": true, "patch_ids": ["513aa4deebdf3df8839bb06bae87b2de"], "statement_hash": "5fe417a7181c1d7cf2c97d0d55ffbacd8690db7faa1ee767a09dea3ed7953532"}}, {"rule": 2, "type": "equivalent", "target": "62735bf2bbcc5084c2a05ae3d376af22", "evidence": {"same_day": true, "patch_ids": ["513aa4deebdf3df8839bb06bae87b2de"], "statement_hash": "5fe417a7181c1d7cf2c97d0d55ffbacd8690db7faa1ee767a09dea3ed7953532"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "52e2c1747d54581c28441d3730cd211c", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复对带有 DO NOTHING 动作的分区表执行 MERGE 的问题", "evidence": {"same_day": true, "patch_ids": ["513aa4deebdf3df8839bb06bae87b2de"], "statement_hash": "5fe417a7181c1d7cf2c97d0d55ffbacd8690db7faa1ee767a09dea3ed7953532"}, "url": "/docs/compare/?release=16.9#16.9-e85808310d3df6a7", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "62735bf2bbcc5084c2a05ae3d376af22", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复对带有 DO NOTHING 动作的分区表执行 MERGE 的问题", "evidence": {"same_day": true, "patch_ids": ["513aa4deebdf3df8839bb06bae87b2de"], "statement_hash": "5fe417a7181c1d7cf2c97d0d55ffbacd8690db7faa1ee767a09dea3ed7953532"}, "url": "/docs/compare/?release=15.13#15.13-573e0d1c859813ca", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}]}, {"id": "17.5-6526003e508c4382", "cves": [], "html": "<p>防止当表具有域数据类型的 <code>GENERATED</code> 列且该域的约束不允许空值时 <code>INSERT</code> 命令失败的问题（Jian He）<a href=\"https://postgr.es/c/3c39c000c\">§</a></p>\n<p>即使生成表达式产生了完全正常的结果，仍会报告约束违反错误。</p>", "text": "防止当表具有域数据类型的 GENERATED 列且该域的约束不允许空值时 INSERT 命令失败的问题（Jian He）§ 即使生成表达式产生了完全正常的结果，仍会报告约束违反错误。", "title": "防止当表具有域数据类型的 GENERATED 列且该域的约束不允许空值时 INSERT 命令失败的问题", "commits": ["3c39c000c"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "c7996034d5500676b26c555afba4c2e547bc01b378e2db52814f15785576400d", "section_path": ["变更"], "commit_groups": [["3c39c000c", "4604928ed", "7c8728494", "97d671672", "f04e0faa3"]], "identity_text": "Prevent failure in INSERT commands when the table has a GENERATED column of a domain data type and the domain's constraints disallow null values (Jian He) Constraint failure was reported even if the generation expression produced a perfectly okay result.", "commit_aliases": ["3c39c000c", "4604928ed", "7c8728494", "97d671672", "f04e0faa3"], "source_commits": ["3c39c000c"], "source_entry_id": "17.5/changes/006", "db_id": "a4bb8d60d9ad06081b90421ad2dae048", "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1", "relations": [{"rule": 2, "type": "equivalent", "target": "1abab24628ec9d80474ca478204b54b6", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}}, {"rule": 2, "type": "equivalent", "target": "90be6e04fee2db08987030dda7e61c1c", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}}, {"rule": 2, "type": "equivalent", "target": "9968353971b2d90aabe2974ce8ca0b17", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1abab24628ec9d80474ca478204b54b6", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "防止当表具有域数据类型的 GENERATED 列且该域的约束不允许空值时 INSERT 命令失败的问题", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}, "url": "/docs/compare/?release=16.9#16.9-9a8a93e856ab5a0d", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "90be6e04fee2db08987030dda7e61c1c", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "防止当表具有域数据类型的 GENERATED 列且该域的约束不允许空值时 INSERT 命令失败的问题", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}, "url": "/docs/compare/?release=15.13#15.13-dc64f1cefed2c049", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "9968353971b2d90aabe2974ce8ca0b17", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "防止当表具有域数据类型的 GENERATED 列且该域的约束不允许空值时 INSERT 命令失败的问题", "evidence": {"same_day": true, "patch_ids": ["511a283a7a0968a300bcd6f1f483561c"], "statement_hash": "b1bc50fa6460403502ac286fc1da724e43781afb7c442739f4cf1015e30f28d1"}, "url": "/docs/compare/?release=14.18#14.18-0db2ae0d4a6db748", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-b36cfca9c709aa6d", "cves": [], "html": "<p>正确处理出现在附加到 <code>INSERT</code>/<code>UPDATE</code>/<code>DELETE</code>/<code>MERGE</code> 命令（该命令本身在 <code>WITH</code> 内部）的 <code>WITH</code> 子句中对外部 CTE 名称的引用（Tom Lane）<a href=\"https://postgr.es/c/5e7be43f4\">§</a></p>\n<p>解析器未能检测到不允许的递归情况，也未能在将 CTE 排列为可用顺序时考虑此类引用。</p>", "text": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用（Tom Lane）§ 解析器未能检测到不允许的递归情况，也未能在将 CTE 排列为可用顺序时考虑此类引用。", "title": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用", "commits": ["5e7be43f4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "41343876fa355b03d904819fea3fe490a54642bb7e824a3f8102c5692fdd9305", "section_path": ["变更"], "commit_groups": [["1980ec2bc", "5e7be43f4", "691836405", "754a3d82d", "e276b5829", "ede29a1e4"]], "identity_text": "Correctly process references to outer CTE names that appear within a WITH clause attached to an INSERT/UPDATE/DELETE/MERGE command that's inside WITH (Tom Lane) The parser failed to detect disallowed recursion cases, nor did it account for such references when sorting CTEs into a usable order.", "commit_aliases": ["1980ec2bc", "5e7be43f4", "691836405", "754a3d82d", "e276b5829", "ede29a1e4"], "source_commits": ["5e7be43f4"], "source_entry_id": "17.5/changes/007", "db_id": "fe87096f3ff10f413ee4fd00bc85e2d2", "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096", "relations": [{"rule": 2, "type": "equivalent", "target": "43ef4362d82abd89c632923c19c63abe", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}}, {"rule": 2, "type": "equivalent", "target": "4e1153d84247e7968ad2cf656d1b8054", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}}, {"rule": 2, "type": "equivalent", "target": "7b32eae49c92985982175f39b0e0cd4e", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}}, {"rule": 2, "type": "equivalent", "target": "f6ef109aaf444cf2a6cefa7c247f050b", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7b32eae49c92985982175f39b0e0cd4e", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}, "url": "/docs/compare/?release=16.9#16.9-a8bff3d57a355b2b", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "f6ef109aaf444cf2a6cefa7c247f050b", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}, "url": "/docs/compare/?release=15.13#15.13-f4e8b698cacd5fe8", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "43ef4362d82abd89c632923c19c63abe", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}, "url": "/docs/compare/?release=14.18#14.18-1dfb1187293403b9", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "4e1153d84247e7968ad2cf656d1b8054", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "正确处理出现在附加到 INSERT/UPDATE/DELETE/MERGE 命令（该命令本身在 WITH 内部）的 WITH 子句中对外部 CTE 名称的引用", "evidence": {"same_day": true, "patch_ids": ["d1ef004bfb3ff87f530f4c58b02fe0f0"], "statement_hash": "bf2a0f590bb786488e65266418e36c3bf742fa81f661e219e66623e07c6f0096"}, "url": "/docs/compare/?release=13.21#13.21-a47f4cde204a1376", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-814797145ffde8c2", "cves": [], "html": "<p>修复 JSON 构造表达式的键中类型转换被错误处理的问题（Amit Langote）<a href=\"https://postgr.es/c/8b2392ae3\">§</a></p>", "text": "修复 JSON 构造表达式的键中类型转换被错误处理的问题（Amit Langote）§", "title": "修复 JSON 构造表达式的键中类型转换被错误处理的问题", "commits": ["8b2392ae3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "fcfcf0bb0f82e92794a286079df7f9629641f9ff74b559c65c0ea9114cf7b547", "section_path": ["变更"], "commit_groups": [["8b2392ae3", "d4f79865d"]], "identity_text": "Fix misprocessing of casts within the keys of JSON constructor expressions (Amit Langote)", "commit_aliases": ["8b2392ae3", "d4f79865d"], "source_commits": ["8b2392ae3"], "source_entry_id": "17.5/changes/008", "db_id": "2309db51c4c5ea921a3deb10efc32663", "patch_ids": ["2e3af970cf9ac9dd3bef967ba9b5cfeb"], "statement_hash": "e69b5539b0febf22bd50365eec0a43bfed4e7a8a55ba9535becee3ea9aed9258", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-477036bbba5fb502", "cves": [], "html": "<p>当参数为匿名记录类型时，不要尝试并行化 <code>array_agg()</code>（Richard Guo，Tom Lane）<a href=\"https://postgr.es/c/43847dd5e\">§</a></p>\n<p>与并行工作进程通信的协议不支持标识工作进程返回的具体记录类型。</p>", "text": "当参数为匿名记录类型时，不要尝试并行化 array_agg()（Richard Guo，Tom Lane）§ 与并行工作进程通信的协议不支持标识工作进程返回的具体记录类型。", "title": "当参数为匿名记录类型时，不要尝试并行化 array_agg()", "commits": ["43847dd5e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "c44f4602c5603b17285a7a30ef3e028d638285eea7dec8d8469974307d25f30a", "section_path": ["变更"], "commit_groups": [["43847dd5e", "a7aa9f21f", "fedfcf665"]], "identity_text": "Don't try to parallelize array_agg() when the argument is of an anonymous record type (Richard Guo, Tom Lane) The protocol for communicating with parallel workers doesn't support identifying the concrete record type that a worker is returning.", "commit_aliases": ["43847dd5e", "a7aa9f21f", "fedfcf665"], "source_commits": ["43847dd5e"], "source_entry_id": "17.5/changes/009", "db_id": "235124161002d7e5c1a271f73cacb961", "patch_ids": ["15e8c83408c9fb3acf8a91c7ba3bfabb"], "statement_hash": "63fcdc0732060f30e3f494f2a82ffdeea43bf9da5df487f9f94243940f063c17", "relations": [{"rule": 2, "type": "equivalent", "target": "0267f7695c15b591593396acd795b113", "evidence": {"same_day": true, "patch_ids": ["15e8c83408c9fb3acf8a91c7ba3bfabb"], "statement_hash": "63fcdc0732060f30e3f494f2a82ffdeea43bf9da5df487f9f94243940f063c17"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0267f7695c15b591593396acd795b113", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "当参数为匿名记录类型时，不要尝试并行化 array_agg()", "evidence": {"same_day": true, "patch_ids": ["15e8c83408c9fb3acf8a91c7ba3bfabb"], "statement_hash": "63fcdc0732060f30e3f494f2a82ffdeea43bf9da5df487f9f94243940f063c17"}, "url": "/docs/compare/?release=16.9#16.9-633282a04bcf0545", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-4a9dd248dfb091b7", "cves": [], "html": "<p>修复 <code>ARRAY(<em><code>subquery</code></em>)</code> 和 <code>ARRAY[<em><code>expression, ...</code></em>]</code> 构造，使其在输入类型为 <code>int2vector</code> 或 <code>oidvector</code> 时产生合理的结果（Tom Lane）<a href=\"https://postgr.es/c/c826cd1b1\">§</a></p>\n<p>此补丁恢复了 <span>PostgreSQL</span> 9.5 之前的行为：结果类型为 <code>int2vector[]</code> 或 <code>oidvector[]</code>。</p>", "text": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果（Tom Lane）§ 此补丁恢复了 PostgreSQL 9.5 之前的行为：结果类型为 int2vector[] 或 oidvector[]。", "title": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果", "commits": ["c826cd1b1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "e82446c9d55e9f7df3d6ea237c417d9579749ccbaec90dc9681e0807f14a13b7", "section_path": ["变更"], "commit_groups": [["0405982c7", "13dd6f772", "4618045be", "474aee3df", "c826cd1b1", "f7ae51312"]], "identity_text": "Fix ARRAY(subquery) and ARRAY[expression, ...] constructs to produce sane results when the input is of type int2vector or oidvector (Tom Lane) This patch restores the behavior that existed before PostgreSQL 9.5: the result is of type int2vector[] or oidvector[].", "commit_aliases": ["0405982c7", "13dd6f772", "4618045be", "474aee3df", "c826cd1b1", "f7ae51312"], "source_commits": ["c826cd1b1"], "source_entry_id": "17.5/changes/010", "db_id": "3222441c7723d9224344f9adaa6fdf0e", "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944", "relations": [{"rule": 2, "type": "equivalent", "target": "34305a36a827e7b4f59256045ef7ec72", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}}, {"rule": 2, "type": "equivalent", "target": "776a870e5f87a27f3d8fd7999acd7ce5", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}}, {"rule": 2, "type": "equivalent", "target": "a7950d93d654d654b785213f157499c7", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}}, {"rule": 2, "type": "equivalent", "target": "efaaf4024f5f5de0ba0862f7f3d99696", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "efaaf4024f5f5de0ba0862f7f3d99696", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}, "url": "/docs/compare/?release=16.9#16.9-5ed49886adc3d34a", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "a7950d93d654d654b785213f157499c7", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}, "url": "/docs/compare/?release=15.13#15.13-c6423740dd58b9c5", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "34305a36a827e7b4f59256045ef7ec72", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}, "url": "/docs/compare/?release=14.18#14.18-70198d240c4e5136", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "776a870e5f87a27f3d8fd7999acd7ce5", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复 ARRAY(subquery) 和 ARRAY[expression, ...] 构造，使其在输入类型为 int2vector 或 oidvector 时产生合理的结果", "evidence": {"same_day": true, "patch_ids": ["59bbe3085e9bcfcbfff1d9fc5b4c1c56"], "statement_hash": "7afc60033c3c40c571fedbd57a2c2e696aadfd82fb0b2198db9afe0faeb53944"}, "url": "/docs/compare/?release=13.21#13.21-5479a3227697d975", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-d1d934652e8cc19f", "cves": [], "html": "<p>修复解析 <span>Ispell</span> 字典时可能错误报告无效词缀的问题（Jacob Brazeal）<a href=\"https://postgr.es/c/99c01aadf\">§</a></p>", "text": "修复解析 Ispell 字典时可能错误报告无效词缀的问题（Jacob Brazeal）§", "title": "修复解析 Ispell 字典时可能错误报告无效词缀的问题", "commits": ["99c01aadf"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "c69cbcecbbdadc504ceb6c9f2c01e7195390e8fc25e96a1fa9a6b1d84d5eef14", "section_path": ["变更"], "commit_groups": [["61513da08", "7fb880102", "99c01aadf", "da85544ae", "e2921c0e9", "f1c1bafcd"]], "identity_text": "Fix possible erroneous reports of invalid affixes while parsing Ispell dictionaries (Jacob Brazeal)", "commit_aliases": ["61513da08", "7fb880102", "99c01aadf", "da85544ae", "e2921c0e9", "f1c1bafcd"], "source_commits": ["99c01aadf"], "source_entry_id": "17.5/changes/011", "db_id": "b921604055772bbf7e6449d7cc0b59cc", "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666", "relations": [{"rule": 2, "type": "equivalent", "target": "2d395b5defef434bec7ea4da45b42ad7", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}}, {"rule": 2, "type": "equivalent", "target": "8937ea7c9fd026836a5c262c8569963e", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}}, {"rule": 2, "type": "equivalent", "target": "8d306975e4b0a9c39e7fff8c8ad3613e", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}}, {"rule": 2, "type": "equivalent", "target": "eb58cef266f21c9edb703764403f7168", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8937ea7c9fd026836a5c262c8569963e", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复解析 Ispell 字典时可能错误报告无效词缀的问题", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}, "url": "/docs/compare/?release=16.9#16.9-120195bfc62f85d9", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "2d395b5defef434bec7ea4da45b42ad7", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复解析 Ispell 字典时可能错误报告无效词缀的问题", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}, "url": "/docs/compare/?release=15.13#15.13-327c96a58899c1ae", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "8d306975e4b0a9c39e7fff8c8ad3613e", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复解析 Ispell 字典时可能错误报告无效词缀的问题", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}, "url": "/docs/compare/?release=14.18#14.18-60d7303621919c68", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "eb58cef266f21c9edb703764403f7168", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复解析 Ispell 字典时可能错误报告无效词缀的问题", "evidence": {"same_day": true, "patch_ids": ["f2484a0ea37309c0a083683b6f24f404"], "statement_hash": "a99d8bf2396babe0930adb5536a57eee692561e5efed988b319c441a85e28666"}, "url": "/docs/compare/?release=13.21#13.21-c84be53354aebbd7", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-2de3ea680928346f", "cves": [], "html": "<p>修复 <code>ALTER TABLE ADD COLUMN</code> 以正确处理具有默认值的域类型的情况（Jian He，Tom Lane，Tender Wang）<a href=\"https://postgr.es/c/d6dd2a02b\">§</a> <a href=\"https://postgr.es/c/0941aadcd\">§</a></p>\n<p>如果域类型具有默认值，在不带显式 <code>DEFAULT</code> 子句的情况下添加该类型的列，未能在现有行中安装域的默认值，而是将新列保留为空值。</p>", "text": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况（Jian He，Tom Lane，Tender Wang）§ § 如果域类型具有默认值，在不带显式 DEFAULT 子句的情况下添加该类型的列，未能在现有行中安装域的默认值，而是将新列保留为空值。", "title": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况", "commits": ["0941aadcd", "d6dd2a02b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "e17bd486396d8f506b105d991bc248edfaadb8f4800c80e28135962eda527fc2", "section_path": ["变更"], "commit_groups": [["053222a97", "0941aadcd", "2d6cfb0cd", "bd178960c", "d31d39cfe", "dd34cbfce"], ["1d180931c", "95f650674", "aac07b562", "c75c830e2", "d6dd2a02b", "edc3bccd0"]], "identity_text": "Fix ALTER TABLE ADD COLUMN to correctly handle the case of a domain type that has a default (Jian He, Tom Lane, Tender Wang) If a domain type has a default, adding a column of that type (without any explicit DEFAULT clause) failed to install the domain's default value in existing rows, instead leaving the new column null.", "commit_aliases": ["053222a97", "0941aadcd", "1d180931c", "2d6cfb0cd", "95f650674", "aac07b562", "bd178960c", "c75c830e2", "d31d39cfe", "d6dd2a02b", "dd34cbfce", "edc3bccd0"], "source_commits": ["0941aadcd", "d6dd2a02b"], "source_entry_id": "17.5/changes/012", "db_id": "bda06720441f8b94b004bc75152072f7", "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448", "relations": [{"rule": 2, "type": "equivalent", "target": "37a827dba2a507a5634eda2d0066034c", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}}, {"rule": 2, "type": "equivalent", "target": "67b1fe09f72f93e8e744403275b7aa4e", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}}, {"rule": 2, "type": "equivalent", "target": "b21fa0b3c6540e52538f3695fe644b48", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}}, {"rule": 2, "type": "equivalent", "target": "e7731739d7e0e48daada65e0f3f2f700", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b21fa0b3c6540e52538f3695fe644b48", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}, "url": "/docs/compare/?release=16.9#16.9-f431ea6a5d783302", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "e7731739d7e0e48daada65e0f3f2f700", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}, "url": "/docs/compare/?release=15.13#15.13-15397e28cacbb50b", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "37a827dba2a507a5634eda2d0066034c", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}, "url": "/docs/compare/?release=14.18#14.18-338b3f4c18daa9a7", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "67b1fe09f72f93e8e744403275b7aa4e", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复 ALTER TABLE ADD COLUMN 以正确处理具有默认值的域类型的情况", "evidence": {"same_day": true, "patch_ids": ["63b929a73acffed8834764ac057b1130", "90edbbe7a64e4f9be0183e7d3a909fcb"], "statement_hash": "9dde4454d5d016960324b8efe0e0cbc6cb88a91609eec3a0aac95a6b33e97448"}, "url": "/docs/compare/?release=13.21#13.21-524aff75bb28f7d8", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-9ca373aa755a5d32", "cves": [], "html": "<p>修复外键约束的 <code>ON DELETE SET DEFAULT</code> 或 <code>SET NULL</code> 动作中存在重复列名时的异常行为（Tom Lane）<a href=\"https://postgr.es/c/5e6e97fbf\">§</a></p>", "text": "修复外键约束的 ON DELETE SET DEFAULT 或 SET NULL 动作中存在重复列名时的异常行为（Tom Lane）§", "title": "修复外键约束的 ON DELETE SET DEFAULT 或 SET NULL 动作中存在重复列名时的异常行为", "commits": ["5e6e97fbf"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "d1a8fc4908f6d35969d49c0f8ac6082c2ad19bca10fde48f9c9f7348f2ef50d5", "section_path": ["变更"], "commit_groups": [["43b8e6c4a", "5e6e97fbf", "f5069f026", "fb3a77fd9"]], "identity_text": "Repair misbehavior when there are duplicate column names in a foreign key constraint's ON DELETE SET DEFAULT or SET NULL action (Tom Lane)", "commit_aliases": ["43b8e6c4a", "5e6e97fbf", "f5069f026", "fb3a77fd9"], "source_commits": ["5e6e97fbf"], "source_entry_id": "17.5/changes/013", "db_id": "0a757a37fd2e72cdf597d7af06e9a5cc", "patch_ids": ["0463a615e1593dccb7b87c1603d1023e"], "statement_hash": "a71e56dee58800f016c8ea1ef9b1e6877059d15b1990a7f5fdc2c9072d744ff9", "relations": [{"rule": 2, "type": "equivalent", "target": "b3fe742dcc4f9be7c3fc225a8ac3f45c", "evidence": {"same_day": true, "patch_ids": ["0463a615e1593dccb7b87c1603d1023e"], "statement_hash": "a71e56dee58800f016c8ea1ef9b1e6877059d15b1990a7f5fdc2c9072d744ff9"}}, {"rule": 2, "type": "equivalent", "target": "f425eb6588619efaa05c5627ecfd1982", "evidence": {"same_day": true, "patch_ids": ["0463a615e1593dccb7b87c1603d1023e"], "statement_hash": "a71e56dee58800f016c8ea1ef9b1e6877059d15b1990a7f5fdc2c9072d744ff9"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f425eb6588619efaa05c5627ecfd1982", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复外键约束的 ON DELETE SET DEFAULT 或 SET NULL 动作中存在重复列名时的异常行为", "evidence": {"same_day": true, "patch_ids": ["0463a615e1593dccb7b87c1603d1023e"], "statement_hash": "a71e56dee58800f016c8ea1ef9b1e6877059d15b1990a7f5fdc2c9072d744ff9"}, "url": "/docs/compare/?release=16.9#16.9-1a5ffc33369b1eaa", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "b3fe742dcc4f9be7c3fc225a8ac3f45c", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复外键约束的 ON DELETE SET DEFAULT 或 SET NULL 动作中存在重复列名时的异常行为", "evidence": {"same_day": true, "patch_ids": ["0463a615e1593dccb7b87c1603d1023e"], "statement_hash": "a71e56dee58800f016c8ea1ef9b1e6877059d15b1990a7f5fdc2c9072d744ff9"}, "url": "/docs/compare/?release=15.13#15.13-70f292a582324966", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}]}, {"id": "17.5-4a57902eda945b83", "cves": [], "html": "<p>改进对不允许的外键约束属性修改尝试的错误消息（Álvaro Herrera）<a href=\"https://postgr.es/c/4e026be5f\">§</a></p>", "text": "改进对不允许的外键约束属性修改尝试的错误消息（Álvaro Herrera）§", "title": "改进对不允许的外键约束属性修改尝试的错误消息", "commits": ["4e026be5f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "639ca778e678bc1b49463be358ace32122d5ddce59cd19f9cb4ca7143fde374f", "section_path": ["变更"], "commit_groups": [["0f354e080", "4e026be5f", "7bbc46213", "931a1c023", "9ea5fe5b6", "bf1e2d2db"]], "identity_text": "Improve the error message for disallowed attempts to alter the properties of a foreign key constraint (Álvaro Herrera)", "commit_aliases": ["0f354e080", "4e026be5f", "7bbc46213", "931a1c023", "9ea5fe5b6", "bf1e2d2db"], "source_commits": ["4e026be5f"], "source_entry_id": "17.5/changes/014", "db_id": "c85aaec4454f3f6c178e25e80fc110f7", "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e", "relations": [{"rule": 2, "type": "equivalent", "target": "0b9e876fbe15368f7eb3e73dd5bde6fd", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}}, {"rule": 2, "type": "equivalent", "target": "0d1236e87dc3b61c47a965fdf13a3b6e", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}}, {"rule": 2, "type": "equivalent", "target": "5627f1c1d8a4f69c29448aee864c6b84", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}}, {"rule": 2, "type": "equivalent", "target": "dfe47a550f472aa86b315fdfc03d4aa5", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5627f1c1d8a4f69c29448aee864c6b84", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "改进对不允许的外键约束属性修改尝试的错误消息", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}, "url": "/docs/compare/?release=16.9#16.9-d72b0590a5240169", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "dfe47a550f472aa86b315fdfc03d4aa5", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "改进对不允许的外键约束属性修改尝试的错误消息", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}, "url": "/docs/compare/?release=15.13#15.13-5a8186c93235cabd", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "0b9e876fbe15368f7eb3e73dd5bde6fd", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "改进对不允许的外键约束属性修改尝试的错误消息", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}, "url": "/docs/compare/?release=14.18#14.18-c2054eb401976a11", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "0d1236e87dc3b61c47a965fdf13a3b6e", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "改进对不允许的外键约束属性修改尝试的错误消息", "evidence": {"same_day": true, "patch_ids": ["728bdeda1a76ff257ed4bba316259080"], "statement_hash": "69d10dbdc12bb154d1a6cea5ee9e09a2b99194bd690c1fcb18cb3ef905c1e82e"}, "url": "/docs/compare/?release=13.21#13.21-5056a890e5317fea", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-b17b36d23abec8d7", "cves": [], "html": "<p>避免在重置标记为 <code>ON COMMIT DELETE ROWS</code> 的临时表的 <code>relhassubclass</code> 标志时出错（Noah Misch）<a href=\"https://postgr.es/c/d0a049987\">§</a></p>", "text": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错（Noah Misch）§", "title": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错", "commits": ["d0a049987"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "3d12b7913cce11eb22a6fda6877f733ba76b3dd7bc6f44e800728d0a010a6b29", "section_path": ["变更"], "commit_groups": [["2d5350cfb", "5905e9935", "a61b67cd0", "d0a049987", "d34b671a6", "e0f53e669"]], "identity_text": "Avoid error when resetting the relhassubclass flag of a temporary table that's marked ON COMMIT DELETE ROWS (Noah Misch)", "commit_aliases": ["2d5350cfb", "5905e9935", "a61b67cd0", "d0a049987", "d34b671a6", "e0f53e669"], "source_commits": ["d0a049987"], "source_entry_id": "17.5/changes/015", "db_id": "c500adf4525e7393fbb98cdb336cc64a", "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716", "relations": [{"rule": 2, "type": "equivalent", "target": "2970c113ec75804e2bbeaf779747bffa", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}}, {"rule": 2, "type": "equivalent", "target": "89ce417881f616fe136cb14aa40da99f", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}}, {"rule": 2, "type": "equivalent", "target": "b6d27235f074c918e62b489bdf3cfbba", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}}, {"rule": 2, "type": "equivalent", "target": "efa1ed5e465f24cd978e2e5f6a028f46", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b6d27235f074c918e62b489bdf3cfbba", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}, "url": "/docs/compare/?release=16.9#16.9-1420db24bb1e2cab", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "89ce417881f616fe136cb14aa40da99f", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}, "url": "/docs/compare/?release=15.13#15.13-aeab43b9af8c9591", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "2970c113ec75804e2bbeaf779747bffa", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}, "url": "/docs/compare/?release=14.18#14.18-fc90ad8d130d1aa5", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "efa1ed5e465f24cd978e2e5f6a028f46", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在重置标记为 ON COMMIT DELETE ROWS 的临时表的 relhassubclass 标志时出错", "evidence": {"same_day": true, "patch_ids": ["094a862179c0b39d921a9e561fa15870"], "statement_hash": "6a67c492f1ab19533dfcea2a041a797a78f234546ded977e8443af5eed897716"}, "url": "/docs/compare/?release=13.21#13.21-23bb14178943d8c3", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-e343d9b64061a702", "cves": [], "html": "<p>增加对 <code>XMLSERIALIZE()</code> 的 <code>INDENT</code> 选项的缺失反解析支持（Jim Jones）<a href=\"https://postgr.es/c/2e0f93d7c\">§</a> <a href=\"https://postgr.es/c/310907aaf\">§</a></p>\n<p>此前，使用 <code>XMLSERIALIZE(... INDENT)</code> 的视图或规则在导出时不包含 <code>INDENT</code> 子句，导致恢复后结果不正确。</p>", "text": "增加对 XMLSERIALIZE() 的 INDENT 选项的缺失反解析支持（Jim Jones）§ § 此前，使用 XMLSERIALIZE(... INDENT) 的视图或规则在导出时不包含 INDENT 子句，导致恢复后结果不正确。", "title": "增加对 XMLSERIALIZE() 的 INDENT 选项的缺失反解析支持", "commits": ["2e0f93d7c", "310907aaf"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "59d8ebec7aae58ffe41ab03fef781b0fbc608ced2445748583eab92bab9cf804", "section_path": ["变更"], "commit_groups": [["0af3ae468", "2e0f93d7c", "984410b92"], ["310907aaf", "514d47dfb", "665cafe8a"]], "identity_text": "Add missing deparsing of the INDENT option of XMLSERIALIZE() (Jim Jones) Previously, views or rules using XMLSERIALIZE(... INDENT) were dumped without the INDENT clause, causing incorrect results after restore.", "commit_aliases": ["0af3ae468", "2e0f93d7c", "310907aaf", "514d47dfb", "665cafe8a", "984410b92"], "source_commits": ["2e0f93d7c", "310907aaf"], "source_entry_id": "17.5/changes/016", "db_id": "fac8b7c36ee577ad4e7f8247c9b5bd1a", "patch_ids": ["0e2fe4b8c0fea258d3eca04823f059eb", "e0b0a75a7474c639be152892f60539d8"], "statement_hash": "aadbeee94ef75446661d8a14331bd7e22063ff420d9c00bac7a44bd7465a8be1", "relations": [{"rule": 2, "type": "equivalent", "target": "d6c5420ccf434fdda6d425a9e7102916", "evidence": {"same_day": true, "patch_ids": ["0e2fe4b8c0fea258d3eca04823f059eb", "e0b0a75a7474c639be152892f60539d8"], "statement_hash": "aadbeee94ef75446661d8a14331bd7e22063ff420d9c00bac7a44bd7465a8be1"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "d6c5420ccf434fdda6d425a9e7102916", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "增加对 XMLSERIALIZE() 的 INDENT 选项的缺失反解析支持", "evidence": {"same_day": true, "patch_ids": ["0e2fe4b8c0fea258d3eca04823f059eb", "e0b0a75a7474c639be152892f60539d8"], "statement_hash": "aadbeee94ef75446661d8a14331bd7e22063ff420d9c00bac7a44bd7465a8be1"}, "url": "/docs/compare/?release=16.9#16.9-898af344fbc35455", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-268ffcaef0e5d586", "cves": [], "html": "<p>避免对同时具有 <code>FILTER</code> 和 <code>ORDER BY</code>（或 <code>DISTINCT</code>）选项的聚合函数的参数进行过早求值（David Rowley）<a href=\"https://postgr.es/c/065ce49a1\">§</a></p>\n<p>如果存在 <code>ORDER BY</code> 或 <code>DISTINCT</code>，我们会考虑对聚合输入值进行预排序，而不是在 Agg 计划节点内部排序。但如果聚合输入包含可能失败的表达式（例如，某些输入除数可能为零的除法运算），且存在用于防止此类失败的 <code>FILTER</code> 子句，这就会有问题。预排序会将表达式求值推到 <code>FILTER</code> 测试之前，使得失败仍然会发生。现在通过在存在 <code>FILTER</code> 且输入表达式比简单的 Var 或 Const 更复杂时不进行预排序来避免此问题。</p>", "text": "避免对同时具有 FILTER 和 ORDER BY（或 DISTINCT）选项的聚合函数的参数进行过早求值（David Rowley）§ 如果存在 ORDER BY 或 DISTINCT，我们会考虑对聚合输入值进行预排序，而不是在 Agg 计划节点内部排序。但如果聚合输入包含可能失败的表达式（例如，某些输入除数可能为零的除法运算），且存在用于防止此类失败的 FILTER 子句，这就会有问题。预排序会将表达式求值推到 FILTER 测试之前，使得失败仍然会发生。现在通过在存在 FILTER 且输入表达式比简单的 Var 或 Const 更复杂时不进行预排序来避免此问题。", "title": "避免对同时具有 FILTER 和 ORDER BY（或 DISTINCT）选项的聚合函数的参数进行过早求值", "commits": ["065ce49a1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "d9a3e385ebd30dd8e1d8dcdc911db422bbb6658cf3977907c75f81dff9c6f259", "section_path": ["变更"], "commit_groups": [["065ce49a1", "887a23237", "d47f92224"]], "identity_text": "Avoid premature evaluation of the arguments of an aggregate function that has both FILTER and ORDER BY (or DISTINCT) options (David Rowley) If there is ORDER BY or DISTINCT, we consider pre-sorting the aggregate input values rather than doing the sort within the Agg plan node. But this is problematic if the aggregate inputs include expressions that could fail (for example, a division where some of the input divisors could be zero) and there is a FILTER clause that's meant to prevent such failures. Pre-sorting would push the expression evaluations to before the FILTER test, allowing the failures to happen anyway. Avoid this by not pre-sorting if there's a FILTER and the input expressions are anything more complex than a simple Var or Const.", "commit_aliases": ["065ce49a1", "887a23237", "d47f92224"], "source_commits": ["065ce49a1"], "source_entry_id": "17.5/changes/017", "db_id": "e4dc0edd266ed1d136ff781d1eec9630", "patch_ids": ["742ea1bd97564d94d0ecee8eef10eb62"], "statement_hash": "fae5ed1fcfde906d6e900be5faed1152ce433ff93c2a1ecc5b453e89addeb053", "relations": [{"rule": 2, "type": "equivalent", "target": "c913ccbca6ac5f49a0fc52ab0ca8b1db", "evidence": {"same_day": true, "patch_ids": ["742ea1bd97564d94d0ecee8eef10eb62"], "statement_hash": "fae5ed1fcfde906d6e900be5faed1152ce433ff93c2a1ecc5b453e89addeb053"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c913ccbca6ac5f49a0fc52ab0ca8b1db", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免对同时具有 FILTER 和 ORDER BY（或 DISTINCT）选项的聚合函数的参数进行过早求值", "evidence": {"same_day": true, "patch_ids": ["742ea1bd97564d94d0ecee8eef10eb62"], "statement_hash": "fae5ed1fcfde906d6e900be5faed1152ce433ff93c2a1ecc5b453e89addeb053"}, "url": "/docs/compare/?release=16.9#16.9-3193d187af7b68f6", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-5028569f04e4503f", "cves": [], "html": "<p>修复在存在外连接时，依据列 <code>NOT NULL</code> 约束得出错误推论的问题（Richard Guo）<a href=\"https://postgr.es/c/bc5a08af3\">§</a></p>\n<p>在某些情况下，规划器会丢弃 <code>IS NOT NULL</code> 查询条件，即使该条件是在外连接之后生效，因此并非冗余。</p>", "text": "修复在存在外连接时，依据列 NOT NULL 约束得出错误推论的问题（Richard Guo）§ 在某些情况下，规划器会丢弃 IS NOT NULL 查询条件，即使该条件是在外连接之后生效，因此并非冗余。", "title": "修复在存在外连接时，依据列 NOT NULL 约束得出错误推论的问题", "commits": ["bc5a08af3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "9e023c72d90d859ec578eef50f9734c9db4f59d390603ce2b10613becf099f21", "section_path": ["变更"], "commit_groups": [["716a051aa", "bc5a08af3"]], "identity_text": "Fix erroneous deductions from column NOT NULL constraints in the presence of outer joins (Richard Guo) In some cases the planner would discard an IS NOT NULL query condition, even though the condition applies after an outer join and thus is not redundant.", "commit_aliases": ["716a051aa", "bc5a08af3"], "source_commits": ["bc5a08af3"], "source_entry_id": "17.5/changes/018", "db_id": "a813a8612a6abc5ae0686ac8f4dafc07", "patch_ids": ["5c319dc4d44e3317c4492713897da0aa"], "statement_hash": "2c84e6ddea4b46fa12877ac183f691d5839558b52f2bbd4a1d4e93081ef6e30f", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-0c9207e6c326d46d", "cves": [], "html": "<p>避免基于应用于复合值的 <code>IS [NOT] NULL</code> 测试进行不正确的优化（Bruce Momjian）<a href=\"https://postgr.es/c/b8b1e87b7\">§</a></p>", "text": "避免基于应用于复合值的 IS [NOT] NULL 测试进行不正确的优化（Bruce Momjian）§", "title": "避免基于应用于复合值的 IS [NOT] NULL 测试进行不正确的优化", "commits": ["b8b1e87b7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "258915c03e2d0b77176cf9363f6c1924385dd07a0f9bcdf847fb4ad5ec3f81d9", "section_path": ["变更"], "commit_groups": [["46b4ba533", "b8b1e87b7"]], "identity_text": "Avoid incorrect optimizations based on IS [NOT] NULL tests that are applied to composite values (Bruce Momjian)", "commit_aliases": ["46b4ba533", "b8b1e87b7"], "source_commits": ["b8b1e87b7"], "source_entry_id": "17.5/changes/019", "db_id": "6b787d35e5ff2fd4eb4e3ddb600aaca2", "patch_ids": ["daa1c2e7e970bed57e3a6753e1571f9d"], "statement_hash": "a47263022e83d25644a39d9f6cfc1982c30dced0b6bcda3dadeaf4f3d9c649b3", "relations": [], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-72f6f2b7819f75e2", "cves": [], "html": "<p>修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题（David Geier）<a href=\"https://postgr.es/c/5672a8399\">§</a></p>\n<p>这导致了本可以用 hash 表处理的额外子表达式（即右侧全为常量的 <code>IN</code>、<code>NOT IN</code> 或 <code>= ANY</code> 子句）执行效率不必要地低下。</p>", "text": "修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题（David Geier）§ 这导致了本可以用 hash 表处理的额外子表达式（即右侧全为常量的 IN、NOT IN 或 = ANY 子句）执行效率不必要地低下。", "title": "修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题", "commits": ["5672a8399"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "3d39ce4f5f32767c25aa12f00fa0afa0c5cd8eba04a79e2a31f6a49facb18df6", "section_path": ["变更"], "commit_groups": [["5672a8399", "5a0840b76", "a7f213b11", "b136db07c", "b68f664bb"]], "identity_text": "Fix planner's failure to identify more than one hashable ScalarArrayOpExpr subexpression within a top-level expression (David Geier) This resulted in unnecessarily-inefficient execution of any additional subexpressions that could have been processed with a hash table (that is, IN, NOT IN, or = ANY clauses with all-constant right-hand sides).", "commit_aliases": ["5672a8399", "5a0840b76", "a7f213b11", "b136db07c", "b68f664bb"], "source_commits": ["5672a8399"], "source_entry_id": "17.5/changes/020", "db_id": "c150b87872d0c81d516fa614daf2b7d7", "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437", "relations": [{"rule": 2, "type": "equivalent", "target": "112b9b34138b4b2bd64079c8b58a28f4", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}}, {"rule": 2, "type": "equivalent", "target": "66f870b5ef1cd244a3b518e906ac9cd2", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}}, {"rule": 2, "type": "equivalent", "target": "e34f77635f11982d50f3bce9f2835399", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "112b9b34138b4b2bd64079c8b58a28f4", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}, "url": "/docs/compare/?release=16.9#16.9-2d186c53852fc3ec", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "e34f77635f11982d50f3bce9f2835399", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}, "url": "/docs/compare/?release=15.13#15.13-157a0b9b63a2cd20", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "66f870b5ef1cd244a3b518e906ac9cd2", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复规划器在顶层表达式中无法识别多个可进行 hash 运算的 ScalarArrayOpExpr 子表达式的问题", "evidence": {"same_day": true, "patch_ids": ["7715be38dbf205b60f1999a58eaaafa5"], "statement_hash": "ebfd648fd24c795f3956756f7b503d27494bb599defa7b236acca07321b7d437"}, "url": "/docs/compare/?release=14.18#14.18-29258c00393168bc", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-6384325bf343b02a", "cves": [], "html": "<p>修复低填充因子时表大小估算不正确的问题（Tomas Vondra）<a href=\"https://postgr.es/c/587b6aa3f\">§</a></p>\n<p>当规划器估算一个尚未分析过的表的行数时，会把该表的 fillfactor 设置计入估算，但此前未将结果限制为每页至少一行。因此，低填充因子可能导致不合理地偏小的估算结果。</p>", "text": "修复低填充因子时表大小估算不正确的问题（Tomas Vondra）§ 当规划器估算一个尚未分析过的表的行数时，会把该表的 fillfactor 设置计入估算，但此前未将结果限制为每页至少一行。因此，低填充因子可能导致不合理地偏小的估算结果。", "title": "修复低填充因子时表大小估算不正确的问题", "commits": ["587b6aa3f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "d224e4d08dc951edfe8da840ccff1d1b5c2620349732393899fedfbd65080db2", "section_path": ["变更"], "commit_groups": [["587b6aa3f", "9ba7bcc89"]], "identity_text": "Fix incorrect table size estimate with low fill factor (Tomas Vondra) When the planner estimates the number of rows in a never-yet-analyzed table, it uses the table's fillfactor setting in the estimation, but it neglected to clamp the result to at least one row per page. A low fillfactor could thus result in an unreasonably small estimate.", "commit_aliases": ["587b6aa3f", "9ba7bcc89"], "source_commits": ["587b6aa3f"], "source_entry_id": "17.5/changes/021", "db_id": "f8b3993efe4b1cc33a7d48d17ca578d2", "patch_ids": ["816261129d787a6f2bd0989a506895f7"], "statement_hash": "59e83ab85d03a81a8f45c9e421e1703076c446148a9887625820f400efdb89b2", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-d0e0aee72000234f", "cves": [], "html": "<p>禁用位图堆扫描中的<span>“<span>跳过获取</span>”</span>优化（Matthias van de Meent）<a href=\"https://postgr.es/c/78cb2466f\">§</a></p>\n<p>事实证明，当并发 vacuum 将页面标记为全部可见时，此优化可能会返回死元组。</p>", "text": "禁用位图堆扫描中的“跳过获取”优化（Matthias van de Meent）§ 事实证明，当并发 vacuum 将页面标记为全部可见时，此优化可能会返回死元组。", "title": "禁用位图堆扫描中的“跳过获取”优化", "commits": ["78cb2466f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "8fcf0cdbdd47a77b3865bbc4c9085216fd1bc0e335fd83ac73a821d4426112a7", "section_path": ["变更"], "commit_groups": [["459e7bf8e", "4934d3875", "77d90d6d6", "78cb2466f", "980727b84", "b9ec8125d"]], "identity_text": "Disable skip fetch optimization in bitmap heap scan (Matthias van de Meent) It turns out that this optimization can result in returning dead tuples when a concurrent vacuum marks a page all-visible.", "commit_aliases": ["459e7bf8e", "4934d3875", "77d90d6d6", "78cb2466f", "980727b84", "b9ec8125d"], "source_commits": ["78cb2466f"], "source_entry_id": "17.5/changes/022", "db_id": "623c2024106007645fec5d71fb5712bb", "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67", "relations": [{"rule": 2, "type": "equivalent", "target": "5b84c530a1833db604577188570826f0", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}}, {"rule": 2, "type": "equivalent", "target": "aad339e7e9006b00a0a084b4f930d309", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}}, {"rule": 2, "type": "equivalent", "target": "b694546a946a05eab3a70dbe84ca5802", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}}, {"rule": 2, "type": "equivalent", "target": "fac79d43b3a211db66f6f7439608ee0d", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b694546a946a05eab3a70dbe84ca5802", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "禁用位图堆扫描中的“跳过获取”优化", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}, "url": "/docs/compare/?release=16.9#16.9-ec226192f4ec4117", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "fac79d43b3a211db66f6f7439608ee0d", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "禁用位图堆扫描中的“跳过获取”优化", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}, "url": "/docs/compare/?release=15.13#15.13-0fcfc7db639b5e6d", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "5b84c530a1833db604577188570826f0", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "禁用位图堆扫描中的“跳过获取”优化", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}, "url": "/docs/compare/?release=14.18#14.18-7fee35a12ed31c20", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "aad339e7e9006b00a0a084b4f930d309", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "禁用位图堆扫描中的“跳过获取”优化", "evidence": {"same_day": true, "patch_ids": ["24bd9f8c7d1c77a2c13ebf151d4f8c78"], "statement_hash": "8f4cf3b56c19d886317615b5f6a44c5d0e2b2b6a87c82a344367ba093f15aa67"}, "url": "/docs/compare/?release=13.21#13.21-a23918277d20303c", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-6b61702f0e96682e", "cves": [], "html": "<p>修复存在大量搜索键时 GIN 索引搜索启动的性能问题（Tom Lane，Vinod Sridharan）<a href=\"https://postgr.es/c/9094eb25b\">§</a> <a href=\"https://postgr.es/c/8c153fcfa\">§</a></p>\n<p>具有大量键的可索引子句（例如，<code>jsonbcol ?| array[...]</code> 包含数万个数组元素）启动时需要 O(N<sup>2</sup>) 的时间，并且在此期间也无法被取消。</p>", "text": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题（Tom Lane，Vinod Sridharan）§ § 具有大量键的可索引子句（例如，jsonbcol ?| array[...] 包含数万个数组元素）启动时需要 O(N2) 的时间，并且在此期间也无法被取消。", "title": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题", "commits": ["8c153fcfa", "9094eb25b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "2a01d04211f2ad6ab8211c369bb80d4f167e071b761d491e7241c57ce08b370a", "section_path": ["变更"], "commit_groups": [["0f21db36d", "2d313375c", "308d0d443", "9094eb25b", "d52221cf0", "e2a6934a8"], ["1b47a112a", "4b65b085a", "8c153fcfa", "9a8c16aec", "c7597a1d3", "e708ffe79"]], "identity_text": "Fix performance issues in GIN index search startup when there are many search keys (Tom Lane, Vinod Sridharan) An indexable clause with many keys (for example, jsonbcol ?| array[...] with tens of thousands of array elements) took O(N2) time to start up, and was uncancelable for that interval too.", "commit_aliases": ["0f21db36d", "1b47a112a", "2d313375c", "308d0d443", "4b65b085a", "8c153fcfa", "9094eb25b", "9a8c16aec", "c7597a1d3", "d52221cf0", "e2a6934a8", "e708ffe79"], "source_commits": ["8c153fcfa", "9094eb25b"], "source_entry_id": "17.5/changes/023", "db_id": "c2e95259bc7f81ee87e2761072380865", "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0", "relations": [{"rule": 2, "type": "equivalent", "target": "1ab0dec254a916d8527a62996788c2ae", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}}, {"rule": 2, "type": "equivalent", "target": "65badec0734fc6d175300062388f4788", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}}, {"rule": 2, "type": "equivalent", "target": "707313a20483b8bc0146a58eceddd16a", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}}, {"rule": 2, "type": "equivalent", "target": "e9ec96a7119ad1ceca446c7f063da569", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "707313a20483b8bc0146a58eceddd16a", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}, "url": "/docs/compare/?release=16.9#16.9-76f9b8a1ec89763d", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "65badec0734fc6d175300062388f4788", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}, "url": "/docs/compare/?release=15.13#15.13-2d5e284461370519", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "1ab0dec254a916d8527a62996788c2ae", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}, "url": "/docs/compare/?release=14.18#14.18-84519914d6f02e17", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "e9ec96a7119ad1ceca446c7f063da569", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复存在大量搜索键时 GIN 索引搜索启动的性能问题", "evidence": {"same_day": true, "patch_ids": ["de4829b5fcffd69ee19e71256ee340b9", "ec9c3e41474954f7fb3b16769b3eaf5f"], "statement_hash": "93737b3baf31ce844a14e13d2cb447939c4de0b0f6567d19e55d971b065c60b0"}, "url": "/docs/compare/?release=13.21#13.21-8e25b16da69e5339", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-71d6a890dc54737c", "cves": [], "html": "<p>检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃（Álvaro Herrera）<a href=\"https://postgr.es/c/ade976f8b\">§</a></p>", "text": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃（Álvaro Herrera）§", "title": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃", "commits": ["ade976f8b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "f36755eb23e6b931c7fd525b71ef93166a8e6a3f0841ba4759a854adc2edfcaa", "section_path": ["变更"], "commit_groups": [["17ce344f8", "5144e1f8f", "5d8c58800", "ade976f8b", "e0d8f49a3", "f5b4a0b49"]], "identity_text": "Detect missing support procedures in a BRIN index operator class, and report an error instead of crashing (Álvaro Herrera)", "commit_aliases": ["17ce344f8", "5144e1f8f", "5d8c58800", "ade976f8b", "e0d8f49a3", "f5b4a0b49"], "source_commits": ["ade976f8b"], "source_entry_id": "17.5/changes/024", "db_id": "5267301b9758c9e418c0bd305338d9d1", "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276", "relations": [{"rule": 2, "type": "equivalent", "target": "07795445e3fa35543669ce4ac06e9c03", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}}, {"rule": 2, "type": "equivalent", "target": "5013f22cc83ed83185fae40ec6f85d0c", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}}, {"rule": 2, "type": "equivalent", "target": "52095fe055fa798df8e06d9733eeeee4", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}}, {"rule": 2, "type": "equivalent", "target": "81a8c631d535b28a942e5afb558c8727", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "81a8c631d535b28a942e5afb558c8727", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}, "url": "/docs/compare/?release=16.9#16.9-d751d04da9ab2a78", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "52095fe055fa798df8e06d9733eeeee4", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}, "url": "/docs/compare/?release=15.13#15.13-b46b133391a86774", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "07795445e3fa35543669ce4ac06e9c03", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}, "url": "/docs/compare/?release=14.18#14.18-c82d8eee5284ac1f", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "5013f22cc83ed83185fae40ec6f85d0c", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "检测 BRIN 索引操作符类中缺失的支持函数，并报告错误而不是崩溃", "evidence": {"same_day": true, "patch_ids": ["a6ad3f27f4898d4cf7e1f8d5714f4623"], "statement_hash": "434633f2d6ebbae84da60c5fa9e653325724888f4ced50a9c929141223e20276"}, "url": "/docs/compare/?release=13.21#13.21-96cb58bb59f0ca93", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-3b760fb385f5b7f6", "cves": [], "html": "<p>在等待 Append 计划节点的异步子计划时响应中断（如查询取消）（Heikki Linnakangas）<a href=\"https://postgr.es/c/e731e9d5e\">§</a></p>\n<p>之前，在某个子计划就绪之前不会发生任何事情。</p>", "text": "在等待 Append 计划节点的异步子计划时响应中断（如查询取消）（Heikki Linnakangas）§ 之前，在某个子计划就绪之前不会发生任何事情。", "title": "在等待 Append 计划节点的异步子计划时响应中断（如查询取消）", "commits": ["e731e9d5e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "5a4c306f5ed769a084ac7cfbbd73fb5e514e1af0fbcdff92eac4f0c162e5b6f9", "section_path": ["变更"], "commit_groups": [["004dbbd72", "af717317a", "d2fb076be", "d4d34c08c", "e731e9d5e"]], "identity_text": "Respond to interrupts (such as query cancel) while waiting for asynchronous subplans of an Append plan node (Heikki Linnakangas) Previously, nothing would happen until one of the subplans becomes ready.", "commit_aliases": ["004dbbd72", "af717317a", "d2fb076be", "d4d34c08c", "e731e9d5e"], "source_commits": ["e731e9d5e"], "source_entry_id": "17.5/changes/025", "db_id": "bc6275afdb9fe4237e597f5a8a0f7d1e", "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3", "relations": [{"rule": 2, "type": "equivalent", "target": "266ac90fa5b9b2152af01edeb08fb5b7", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}}, {"rule": 2, "type": "equivalent", "target": "f65f31a24c7b824da5419e0fce1173eb", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}}, {"rule": 2, "type": "equivalent", "target": "f96c8bb00838600eb0266dddb8c5497e", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "266ac90fa5b9b2152af01edeb08fb5b7", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "在等待 Append 计划节点的异步子计划时响应中断（如查询取消）", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}, "url": "/docs/compare/?release=16.9#16.9-43771120e2df4821", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "f65f31a24c7b824da5419e0fce1173eb", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "在等待 Append 计划节点的异步子计划时响应中断（如查询取消）", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}, "url": "/docs/compare/?release=15.13#15.13-e2829c92cb9c1878", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "f96c8bb00838600eb0266dddb8c5497e", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "在等待 Append 计划节点的异步子计划时响应中断（如查询取消）", "evidence": {"same_day": true, "patch_ids": ["c064a1921c86b2d8f990d5d2c678cf3f"], "statement_hash": "f35a3ca56391c5cc0085b028fe9770aec4c6158b8a3e85b4f85a689282d9f1c3"}, "url": "/docs/compare/?release=14.18#14.18-ebb42881c8090b7d", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-cbbabe25f7f4e5fc", "cves": [], "html": "<p>更频繁地报告活跃 WAL 发送进程的 I/O 统计信息（Bertrand Drouvot）<a href=\"https://postgr.es/c/5cbbe70a9\">§</a></p>\n<p>此前，<code>pg_stat_io</code> 视图未能累积 WAL 发送进程执行的 I/O，直到该进程退出。现在此类 I/O 将在最多一秒的延迟后被报告。</p>", "text": "更频繁地报告活跃 WAL 发送进程的 I/O 统计信息（Bertrand Drouvot）§ 此前，pg_stat_io 视图未能累积 WAL 发送进程执行的 I/O，直到该进程退出。现在此类 I/O 将在最多一秒的延迟后被报告。", "title": "更频繁地报告活跃 WAL 发送进程的 I/O 统计信息", "commits": ["5cbbe70a9"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "77608c5172b1ae5a2f80c7f31154ce5b83c8c000b2fe0d8828ba8fb1f46632f9", "section_path": ["变更"], "commit_groups": [["039549d70", "5cbbe70a9", "e2a82cd23"]], "identity_text": "Report the I/O statistics of active WAL senders more frequently (Bertrand Drouvot) Previously, the pg_stat_io view failed to accumulate I/O performed by a WAL sender until that process exited. Now such I/O will be reported after at most one second's delay.", "commit_aliases": ["039549d70", "5cbbe70a9", "e2a82cd23"], "source_commits": ["5cbbe70a9"], "source_entry_id": "17.5/changes/026", "db_id": "c6a8797988841f09f0c29279d25dfd35", "patch_ids": ["bdaccba25b03ab7ba7cbed793dd7fd96"], "statement_hash": "e7e172475538692976735d86dc7117709ccbd2bd59cddcb8451cb30cd4894f37", "relations": [{"rule": 2, "type": "equivalent", "target": "ae2dee9ed8dfc12d0eacbb0ebe5a0ee9", "evidence": {"same_day": true, "patch_ids": ["bdaccba25b03ab7ba7cbed793dd7fd96"], "statement_hash": "e7e172475538692976735d86dc7117709ccbd2bd59cddcb8451cb30cd4894f37"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ae2dee9ed8dfc12d0eacbb0ebe5a0ee9", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "更频繁地报告活跃 WAL 发送进程的 I/O 统计信息", "evidence": {"same_day": true, "patch_ids": ["bdaccba25b03ab7ba7cbed793dd7fd96"], "statement_hash": "e7e172475538692976735d86dc7117709ccbd2bd59cddcb8451cb30cd4894f37"}, "url": "/docs/compare/?release=16.9#16.9-d302b1d61e06a034", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-f91016ff67d3fd61", "cves": [], "html": "<p>修复启动后立即处理 <code>synchronous_standby_names</code> 时的竞态条件（Melnikov Maksim，Michael Paquier）<a href=\"https://postgr.es/c/3339847cc\">§</a></p>\n<p>在系统启动后的短暂时间内，即使 <code>synchronous_standby_names</code> 已启用，后端可能也不会等待同步提交。</p>", "text": "修复启动后立即处理 synchronous_standby_names 时的竞态条件（Melnikov Maksim，Michael Paquier）§ 在系统启动后的短暂时间内，即使 synchronous_standby_names 已启用，后端可能也不会等待同步提交。", "title": "修复启动后立即处理 synchronous_standby_names 时的竞态条件", "commits": ["3339847cc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "e8cf6745fdfa668c21ce33e911f107ca1dde5e236c879ca9c6f95556276f3e87", "section_path": ["变更"], "commit_groups": [["2e5779083", "3339847cc", "873aff945", "c922ae2c4", "e2f42f812", "ec59500a1"]], "identity_text": "Fix race condition in handling of synchronous_standby_names immediately after startup (Melnikov Maksim, Michael Paquier) For a short period after system startup, backends might fail to wait for synchronous commit even though synchronous_standby_names is enabled.", "commit_aliases": ["2e5779083", "3339847cc", "873aff945", "c922ae2c4", "e2f42f812", "ec59500a1"], "source_commits": ["3339847cc"], "source_entry_id": "17.5/changes/027", "db_id": "9daf50395d2f4aead8175d388ace78ce", "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14", "relations": [{"rule": 2, "type": "equivalent", "target": "025a2fc043dac6b32bb98f471a1aabd7", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}}, {"rule": 2, "type": "equivalent", "target": "9b50aea034b0d7075666b593cc8d7a51", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}}, {"rule": 2, "type": "equivalent", "target": "dfb958de881085e4bc9b09b3e0e8e2ad", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}}, {"rule": 2, "type": "equivalent", "target": "f619fee730a419517f64c1c847ade820", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "dfb958de881085e4bc9b09b3e0e8e2ad", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复启动后立即处理 synchronous_standby_names 时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}, "url": "/docs/compare/?release=16.9#16.9-e1d42624d237cb4c", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "025a2fc043dac6b32bb98f471a1aabd7", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复启动后立即处理 synchronous_standby_names 时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}, "url": "/docs/compare/?release=15.13#15.13-bcea9256969a7e79", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "9b50aea034b0d7075666b593cc8d7a51", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复启动后立即处理 synchronous_standby_names 时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}, "url": "/docs/compare/?release=14.18#14.18-5c3390e2c8ae7fd4", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "f619fee730a419517f64c1c847ade820", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复启动后立即处理 synchronous_standby_names 时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["b2c5c57c59d2226fd83183d134c26bfb"], "statement_hash": "1bff9c7be1dcaac9e45a1e59931ceb888f07976bdf3e98fa0402ce01d5069e14"}, "url": "/docs/compare/?release=13.21#13.21-3cf6ae8c0b81ee2a", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-7801aa547de6646c", "cves": [], "html": "<p>处理同一查询期间 <code>io_combine_limit</code> 可能发生变化的情况（Thomas Munro）<a href=\"https://postgr.es/c/e27346807\">§</a></p>", "text": "处理同一查询期间 io_combine_limit 可能发生变化的情况（Thomas Munro）§", "title": "处理同一查询期间 io_combine_limit 可能发生变化的情况", "commits": ["e27346807"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "e36962f782e9839c442dece8b62fe7fde598d45b68a93c515c44e2bce3c15a88", "section_path": ["变更"], "commit_groups": [["75da2bece", "e27346807"]], "identity_text": "Cope with possible intra-query changes of io_combine_limit (Thomas Munro)", "commit_aliases": ["75da2bece", "e27346807"], "source_commits": ["e27346807"], "source_entry_id": "17.5/changes/028", "db_id": "0ec6f542da5cb9117e0ea17bcb4a3f26", "patch_ids": ["1525082485b8703fa2f89b52860a2d04"], "statement_hash": "0b929fd9f18ace427e1a09c7fb44d965d7ce028c9b15275647c50e33df7e8986", "relations": [], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-3f171945da52b986", "cves": [], "html": "<p>避免当 <code>scram_iterations</code> 设置为 <span>INT_MAX</span> 时的无限循环（Kevin K Biju）<a href=\"https://postgr.es/c/34fbfe1f5\">§</a></p>", "text": "避免当 scram_iterations 设置为 INT_MAX 时的无限循环（Kevin K Biju）§", "title": "避免当 scram_iterations 设置为 INT_MAX 时的无限循环", "commits": ["34fbfe1f5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "8f7f4f457391afce26e9f6957dc34fb0bf054350742b1a8725c56addf566590e", "section_path": ["变更"], "commit_groups": [["34fbfe1f5", "7c82b4f71", "de1484736"]], "identity_text": "Avoid infinite loop if scram_iterations is set to INT_MAX (Kevin K Biju)", "commit_aliases": ["34fbfe1f5", "7c82b4f71", "de1484736"], "source_commits": ["34fbfe1f5"], "source_entry_id": "17.5/changes/029", "db_id": "fd83db271349449bd2ee6899024d9e9b", "patch_ids": ["c0f8d7e4d168b551c094cdcbdf19b934"], "statement_hash": "945ae6facd593547c345aa235f3bf1e34891c2f88a1d28d6bad96424e3f822d9", "relations": [{"rule": 2, "type": "equivalent", "target": "364851aa8c68be771246b6cfc55e40c2", "evidence": {"same_day": true, "patch_ids": ["c0f8d7e4d168b551c094cdcbdf19b934"], "statement_hash": "945ae6facd593547c345aa235f3bf1e34891c2f88a1d28d6bad96424e3f822d9"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "364851aa8c68be771246b6cfc55e40c2", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免当 scram_iterations 设置为 INT_MAX 时的无限循环", "evidence": {"same_day": true, "patch_ids": ["c0f8d7e4d168b551c094cdcbdf19b934"], "statement_hash": "945ae6facd593547c345aa235f3bf1e34891c2f88a1d28d6bad96424e3f822d9"}, "url": "/docs/compare/?release=16.9#16.9-620608f12dc07284", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-b514267485be5146", "cves": [], "html": "<p>避免由于 <code>json_array()</code> 的子查询被双重转换而可能导致的崩溃（Tom Lane）<a href=\"https://postgr.es/c/717e8a1e5\">§</a></p>", "text": "避免由于 json_array() 的子查询被双重转换而可能导致的崩溃（Tom Lane）§", "title": "避免由于 json_array() 的子查询被双重转换而可能导致的崩溃", "commits": ["717e8a1e5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "30992705ab717e379e2d217f31331da63b899c8302043bfb5e0f9a7c5862dbfd", "section_path": ["变更"], "commit_groups": [["717e8a1e5", "ca54f9b70", "e33f2335a"]], "identity_text": "Avoid possible crashes due to double transformation of json_array()'s subquery (Tom Lane)", "commit_aliases": ["717e8a1e5", "ca54f9b70", "e33f2335a"], "source_commits": ["717e8a1e5"], "source_entry_id": "17.5/changes/030", "db_id": "bf925633d6d7ef18ab00166f249e799a", "patch_ids": ["eb010ef2e4458e606c1119a25a5a2267"], "statement_hash": "742ef4d824ddafe968a93a312648fba638d1a2b3a7734b138151cb886648836d", "relations": [{"rule": 2, "type": "equivalent", "target": "56ec9ed6dc4ab869b00615c0c007122f", "evidence": {"same_day": true, "patch_ids": ["eb010ef2e4458e606c1119a25a5a2267"], "statement_hash": "742ef4d824ddafe968a93a312648fba638d1a2b3a7734b138151cb886648836d"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "56ec9ed6dc4ab869b00615c0c007122f", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免由于 json_array() 的子查询被双重转换而可能导致的崩溃", "evidence": {"same_day": true, "patch_ids": ["eb010ef2e4458e606c1119a25a5a2267"], "statement_hash": "742ef4d824ddafe968a93a312648fba638d1a2b3a7734b138151cb886648836d"}, "url": "/docs/compare/?release=16.9#16.9-77b663f616c56781", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-8e29d20712a0fb85", "cves": [], "html": "<p>修复 <code>pg_strtof()</code> 在空 endptr 时崩溃的问题（Alexander Lakhin，Tom Lane）<a href=\"https://postgr.es/c/d69c78108\">§</a></p>", "text": "修复 pg_strtof() 在空 endptr 时崩溃的问题（Alexander Lakhin，Tom Lane）§", "title": "修复 pg_strtof() 在空 endptr 时崩溃的问题", "commits": ["d69c78108"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "06f8d809b8e81658e66f614ba9a2131742fa4c039bc8454ed3231b25d4d2d223", "section_path": ["变更"], "commit_groups": [["00d61a08c", "5c64ece8a", "76fbb38ef", "c7303f01c", "d69c78108", "ebe919e95"]], "identity_text": "Fix pg_strtof() to not crash with null endptr (Alexander Lakhin, Tom Lane)", "commit_aliases": ["00d61a08c", "5c64ece8a", "76fbb38ef", "c7303f01c", "d69c78108", "ebe919e95"], "source_commits": ["d69c78108"], "source_entry_id": "17.5/changes/031", "db_id": "c50ce57a6db50401acd8695788584541", "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980", "relations": [{"rule": 2, "type": "equivalent", "target": "291c1b10af654d11c4f58eca3ba7f03a", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}}, {"rule": 2, "type": "equivalent", "target": "5a9fac352de1c6dc8c61e9196414a07f", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}}, {"rule": 2, "type": "equivalent", "target": "7f2b718202a5a9c141d5f9543c3d8422", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}}, {"rule": 2, "type": "equivalent", "target": "ccd517602e74f9b689358e51afeece0f", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f2b718202a5a9c141d5f9543c3d8422", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复 pg_strtof() 在空 endptr 时崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}, "url": "/docs/compare/?release=16.9#16.9-9cb2e21ff3e54366", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "5a9fac352de1c6dc8c61e9196414a07f", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复 pg_strtof() 在空 endptr 时崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}, "url": "/docs/compare/?release=15.13#15.13-3832bc9bcdef8ae6", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "291c1b10af654d11c4f58eca3ba7f03a", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复 pg_strtof() 在空 endptr 时崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}, "url": "/docs/compare/?release=14.18#14.18-faecb4df8b710ad1", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "ccd517602e74f9b689358e51afeece0f", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复 pg_strtof() 在空 endptr 时崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["cf60307fd4303d87ba2e2b826fe85843"], "statement_hash": "6f00ddb45ac2f0ee4d0f0c3be7297735b4cbfce76dda50a1e9284695b618f980"}, "url": "/docs/compare/?release=13.21#13.21-7c56dbb1dfbb40f8", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-9e7394eed41b4e55", "cves": [], "html": "<p>修复在某些 GUC 赋值中内存不足后的崩溃问题（Daniel Gustafsson）<a href=\"https://postgr.es/c/8afec4ef6\">§</a></p>", "text": "修复在某些 GUC 赋值中内存不足后的崩溃问题（Daniel Gustafsson）§", "title": "修复在某些 GUC 赋值中内存不足后的崩溃问题", "commits": ["8afec4ef6"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "03e4f63f99f6de6e481027a5b40271b70f812faf05bb9917546fb1e3ebdce37f", "section_path": ["变更"], "commit_groups": [["058b5152f", "8afec4ef6", "8d48e84c5"]], "identity_text": "Fix crash after out-of-memory in certain GUC assignments (Daniel Gustafsson)", "commit_aliases": ["058b5152f", "8afec4ef6", "8d48e84c5"], "source_commits": ["8afec4ef6"], "source_entry_id": "17.5/changes/032", "db_id": "23ab01db1072a15e27055e650563ed70", "patch_ids": ["b961dd64c1458fef941542b2e8a23e07"], "statement_hash": "9cd377fdfeddf7651326fcb6374f6a13ae7cef4cceb4a82af30847a078caf330", "relations": [{"rule": 2, "type": "equivalent", "target": "c6f996699b4b5ce09633d8bc53e3e8c3", "evidence": {"same_day": true, "patch_ids": ["b961dd64c1458fef941542b2e8a23e07"], "statement_hash": "9cd377fdfeddf7651326fcb6374f6a13ae7cef4cceb4a82af30847a078caf330"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c6f996699b4b5ce09633d8bc53e3e8c3", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复在某些 GUC 赋值中内存不足后的崩溃问题", "evidence": {"same_day": true, "patch_ids": ["b961dd64c1458fef941542b2e8a23e07"], "statement_hash": "9cd377fdfeddf7651326fcb6374f6a13ae7cef4cceb4a82af30847a078caf330"}, "url": "/docs/compare/?release=16.9#16.9-2747f0582bb26746", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-88fad50b7b3b2e15", "cves": [], "html": "<p>避免在 Snowball 词干提取器遇到内存不足条件时崩溃（Maksim Korotkov）<a href=\"https://postgr.es/c/7edd2cbc5\">§</a></p>", "text": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃（Maksim Korotkov）§", "title": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃", "commits": ["7edd2cbc5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "863a6d6b30d6296b5cc226db53c7adb643459be9731c11a3ceadfee06537e461", "section_path": ["变更"], "commit_groups": [["197427fb3", "7edd2cbc5", "8388cae55", "9c46d902b", "b464e51ab", "c0c364fa1"]], "identity_text": "Avoid crash when a Snowball stemmer encounters an out-of-memory condition (Maksim Korotkov)", "commit_aliases": ["197427fb3", "7edd2cbc5", "8388cae55", "9c46d902b", "b464e51ab", "c0c364fa1"], "source_commits": ["7edd2cbc5"], "source_entry_id": "17.5/changes/033", "db_id": "fe6fa87c7f7a2f01e5226fc8b75d4395", "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5", "relations": [{"rule": 2, "type": "equivalent", "target": "00feddbb8384a7a8cefe4217cd497215", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}}, {"rule": 2, "type": "equivalent", "target": "43dbc69a435522e8a12bbf37193bcbca", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}}, {"rule": 2, "type": "equivalent", "target": "c2850458f2850974df366bef8a85488e", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}}, {"rule": 2, "type": "related", "target": "d02c90e2590d4a47f73a5782496b4966", "evidence": {"same_day": false, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"]}}, {"rule": 2, "type": "equivalent", "target": "d6bf0f560b8ac8cad3c1d6a070b45594", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d02c90e2590d4a47f73a5782496b4966", "kind": "related", "version": "18.0", "label": "18.0", "title": "添加爱沙尼亚语的全文检索词干提取", "evidence": {"same_day": false, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"]}, "url": "/docs/compare/?release=18.0#18.0-ddc75ea0db8ffc49", "source_url": "/docs/release/18.0/#RELEASE-18-DATATYPES"}, {"db_id": "c2850458f2850974df366bef8a85488e", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}, "url": "/docs/compare/?release=16.9#16.9-71f38ed0f1b64f88", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "00feddbb8384a7a8cefe4217cd497215", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}, "url": "/docs/compare/?release=15.13#15.13-6fa1c30b53ef4a7a", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "d6bf0f560b8ac8cad3c1d6a070b45594", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}, "url": "/docs/compare/?release=14.18#14.18-813abffbc8584526", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "43dbc69a435522e8a12bbf37193bcbca", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在 Snowball 词干提取器遇到内存不足条件时崩溃", "evidence": {"same_day": true, "patch_ids": ["d20fbffc83ee90d1348f1d03836b8f18"], "statement_hash": "6c8d8c6f1cd71c3e595998d2cabe403f95a5078a14911e8bf0245a28e047a7c5"}, "url": "/docs/compare/?release=13.21#13.21-7de382d5402e6e82", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-7710d321654aba90", "cves": [], "html": "<p>修复规划期间过度释放 SpecialJoinInfo 结构体的问题（Richard Guo）<a href=\"https://postgr.es/c/727bc6ac3\">§</a></p>\n<p>如果启用了分区连接，这会在规划期间导致崩溃。</p>", "text": "修复规划期间过度释放 SpecialJoinInfo 结构体的问题（Richard Guo）§ 如果启用了分区连接，这会在规划期间导致崩溃。", "title": "修复规划期间过度释放 SpecialJoinInfo 结构体的问题", "commits": ["727bc6ac3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "67f2fd66d17d12bc0127432dc4a1ee621254e71141bab1304f4bcbe4ee5b0445", "section_path": ["变更"], "commit_groups": [["727bc6ac3", "c39392eba"]], "identity_text": "Fix over-enthusiastic freeing of SpecialJoinInfo structs during planning (Richard Guo) This led to crashes during planning if partitionwise joining is enabled.", "commit_aliases": ["727bc6ac3", "c39392eba"], "source_commits": ["727bc6ac3"], "source_entry_id": "17.5/changes/034", "db_id": "ebdda7e082e30154b83d9936a391bd88", "patch_ids": ["42ec8138b2a25ccf518470e4df4202b0"], "statement_hash": "15ded82f73c70eec7feb88b753b5810fd5a76ddd53da757ee29f9cbb1203e6e1", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-329d6dcb7a52243f", "cves": [], "html": "<p>禁止复制已失效的复制槽（Shlok Kyal）<a href=\"https://postgr.es/c/a4309e85f\">§</a></p>\n<p>这可以防止当失效的槽指向已被删除的 WAL 时出现问题。</p>", "text": "禁止复制已失效的复制槽（Shlok Kyal）§ 这可以防止当失效的槽指向已被删除的 WAL 时出现问题。", "title": "禁止复制已失效的复制槽", "commits": ["a4309e85f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "90fba1c2bb06ca3edc0ddf0131e65964d8004b1f6a4695f42c1733ffc84c3355", "section_path": ["变更"], "commit_groups": [["87e8599e0", "a4309e85f", "fd09c1316"]], "identity_text": "Disallow copying of invalidated replication slots (Shlok Kyal) This prevents trouble when the invalid slot points to WAL that's already been removed.", "commit_aliases": ["87e8599e0", "a4309e85f", "fd09c1316"], "source_commits": ["a4309e85f"], "source_entry_id": "17.5/changes/035", "db_id": "25b777c14569e1cb00949eac804f9143", "patch_ids": ["69ebb07e5bcd7b2d9d9bfa4f1d54662d"], "statement_hash": "9d0ca5ad3289b329470f78c6ea4f4c49eb5ca655ffe9bef3b6a98b1a0e87484f", "relations": [{"rule": 2, "type": "equivalent", "target": "0c8d1ecbb6aae9ff0d34325d9b83d568", "evidence": {"same_day": true, "patch_ids": ["69ebb07e5bcd7b2d9d9bfa4f1d54662d"], "statement_hash": "9d0ca5ad3289b329470f78c6ea4f4c49eb5ca655ffe9bef3b6a98b1a0e87484f"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0c8d1ecbb6aae9ff0d34325d9b83d568", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "禁止复制已失效的复制槽", "evidence": {"same_day": true, "patch_ids": ["69ebb07e5bcd7b2d9d9bfa4f1d54662d"], "statement_hash": "9d0ca5ad3289b329470f78c6ea4f4c49eb5ca655ffe9bef3b6a98b1a0e87484f"}, "url": "/docs/compare/?release=16.9#16.9-80b936166da650b8", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-d0e83697be29c629", "cves": [], "html": "<p>禁止在非热备模式的备库上恢复逻辑复制槽（Masahiko Sawada）<a href=\"https://postgr.es/c/174952ece\">§</a></p>\n<p>这可以防止在 <code>wal_level</code> 过低的情况下，槽在提升后仍然保持有效的场景。</p>", "text": "禁止在非热备模式的备库上恢复逻辑复制槽（Masahiko Sawada）§ 这可以防止在 wal_level 过低的情况下，槽在提升后仍然保持有效的场景。", "title": "禁止在非热备模式的备库上恢复逻辑复制槽", "commits": ["174952ece"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "8d1283c3d162832ab66b516b9d886e8deeebb52a9520e2df8d06d1340f6f29aa", "section_path": ["变更"], "commit_groups": [["174952ece", "48796a98d", "cc628f661"]], "identity_text": "Disallow restoring logical replication slots on standby servers that are not in hot-standby mode (Masahiko Sawada) This prevents a scenario where the slot could remain valid after promotion even if wal_level is too low.", "commit_aliases": ["174952ece", "48796a98d", "cc628f661"], "source_commits": ["174952ece"], "source_entry_id": "17.5/changes/036", "db_id": "c06de49303a4c6fd14a3ebfcad60b460", "patch_ids": ["d009a8193192a9656ba9d52c14536f2c"], "statement_hash": "b36cf74a9c1046069cdebf9c23f7250189b432d674d47be3d6145a44fffad35e", "relations": [{"rule": 2, "type": "equivalent", "target": "c0d6d9bba3854572f15633401bb427a9", "evidence": {"same_day": true, "patch_ids": ["d009a8193192a9656ba9d52c14536f2c"], "statement_hash": "b36cf74a9c1046069cdebf9c23f7250189b432d674d47be3d6145a44fffad35e"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0d6d9bba3854572f15633401bb427a9", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "禁止在非热备模式的备库上恢复逻辑复制槽", "evidence": {"same_day": true, "patch_ids": ["d009a8193192a9656ba9d52c14536f2c"], "statement_hash": "b36cf74a9c1046069cdebf9c23f7250189b432d674d47be3d6145a44fffad35e"}, "url": "/docs/compare/?release=16.9#16.9-ef0155b0291bc435", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-2bb0e54648533251", "cves": [], "html": "<p>防止在逻辑解码的<span>“<span>快进</span>”</span>模式中过度推进 catalog xmin（Zhijie Hou）<a href=\"https://postgr.es/c/36148b22e\">§</a></p>\n<p>这个错误可能导致已删除的目录条目被清理掉，即使 WAL 读取进程仍可能需要它们。</p>", "text": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin（Zhijie Hou）§ 这个错误可能导致已删除的目录条目被清理掉，即使 WAL 读取进程仍可能需要它们。", "title": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin", "commits": ["36148b22e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "f4bf34acb275b131516221a7e9876ac9db8182e152764c449b6c329ee9bc81f4", "section_path": ["变更"], "commit_groups": [["1f63b3626", "21a7caeeb", "36148b22e", "aaf9e95e8", "d65485b02", "f6429bd7d"]], "identity_text": "Prevent over-advancement of catalog xmin in fast forward mode of logical decoding (Zhijie Hou) This mistake could allow deleted catalog entries to be vacuumed away even though they were still potentially needed by the WAL-reading process.", "commit_aliases": ["1f63b3626", "21a7caeeb", "36148b22e", "aaf9e95e8", "d65485b02", "f6429bd7d"], "source_commits": ["36148b22e"], "source_entry_id": "17.5/changes/037", "db_id": "db9ffe506fd9139225111a635c8cd253", "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a", "relations": [{"rule": 2, "type": "equivalent", "target": "3ab082e1dcff51c82a077f2f62e6407c", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}}, {"rule": 2, "type": "equivalent", "target": "57b3f47815396fdd9a70a193be305bf1", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}}, {"rule": 2, "type": "equivalent", "target": "cfae289c787a92c54518341586bfbe9a", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}}, {"rule": 2, "type": "equivalent", "target": "ddf70cdfdcf26f0a407827ed50eeab10", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "ddf70cdfdcf26f0a407827ed50eeab10", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}, "url": "/docs/compare/?release=16.9#16.9-c9dae01c18776f9c", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "cfae289c787a92c54518341586bfbe9a", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}, "url": "/docs/compare/?release=15.13#15.13-bb45c4bf697c7ebc", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "3ab082e1dcff51c82a077f2f62e6407c", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}, "url": "/docs/compare/?release=14.18#14.18-bec28c31b4951bab", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "57b3f47815396fdd9a70a193be305bf1", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "防止在逻辑解码的“快进”模式中过度推进 catalog xmin", "evidence": {"same_day": true, "patch_ids": ["c6475433b3466d0d333287697a22d76c"], "statement_hash": "31124da856306a5fd3e362458ee2fb654f10aae3d57980427c12efefa655eb2a"}, "url": "/docs/compare/?release=13.21#13.21-0d96e68077e9aca8", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-e21de69a327984e5", "cves": [], "html": "<p>避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据（Shlok Kyal，Hayato Kuroda）<a href=\"https://postgr.es/c/cadaf0ac4\">§</a> <a href=\"https://postgr.es/c/d96206f25\">§</a></p>\n<p>DDL 命令导致的目录变更未被反映到 WAL 解码进程中，使其可能使用过期的目录数据解码后续变更，很可能导致数据损坏。</p>", "text": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据（Shlok Kyal，Hayato Kuroda）§ § DDL 命令导致的目录变更未被反映到 WAL 解码进程中，使其可能使用过期的目录数据解码后续变更，很可能导致数据损坏。", "title": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据", "commits": ["cadaf0ac4", "d96206f25"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "859430c59211b2c40bad258ebf9a0117a784bbddbd35b1aa58d382c0c5acd03c", "section_path": ["变更"], "commit_groups": [["0434033e8", "247ee9415", "4909b38af", "9a2f8b4f0", "9f21be08e", "cadaf0ac4"], ["4164d6976", "50b8ad30f", "90bc4523f", "9987c9466", "bb1bc9fa9", "d96206f25"]], "identity_text": "Avoid data loss when DDL operations that don't take a strong lock affect tables that are being logically replicated (Shlok Kyal, Hayato Kuroda) The catalog changes caused by the DDL command were not reflected into WAL-decoding processes, allowing them to decode subsequent changes using stale catalog data, probably resulting in data corruption.", "commit_aliases": ["0434033e8", "247ee9415", "4164d6976", "4909b38af", "50b8ad30f", "90bc4523f", "9987c9466", "9a2f8b4f0", "9f21be08e", "bb1bc9fa9", "cadaf0ac4", "d96206f25"], "source_commits": ["cadaf0ac4", "d96206f25"], "source_entry_id": "17.5/changes/038", "db_id": "8e6377590f7704ee937288d5751d0fe8", "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a", "relations": [{"rule": 2, "type": "equivalent", "target": "19e936ef0715c52fd027234b084245a4", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}}, {"rule": 2, "type": "equivalent", "target": "db54a729c489a33329efd16078c5f632", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}}, {"rule": 2, "type": "equivalent", "target": "ee4a2645d0b3d70cbf64253af5bf4bbd", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}}, {"rule": 2, "type": "equivalent", "target": "f2d1d9e7b4a609d7869646462b740f14", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "db54a729c489a33329efd16078c5f632", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}, "url": "/docs/compare/?release=16.9#16.9-99af33434b873ed3", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "19e936ef0715c52fd027234b084245a4", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}, "url": "/docs/compare/?release=15.13#15.13-2f66029919c20aba", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "f2d1d9e7b4a609d7869646462b740f14", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}, "url": "/docs/compare/?release=14.18#14.18-f53a16ec53117501", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "ee4a2645d0b3d70cbf64253af5bf4bbd", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在不需要强锁的 DDL 操作影响正在进行逻辑复制的表时丢失数据", "evidence": {"same_day": true, "patch_ids": ["3b9707f5e94616c6b08bba7b727d1833", "7aa92ec4c1375172371c770fad1e069d"], "statement_hash": "5087b6eeaa58053beb4e5956f3a1760c3fdcd576933d1be27f37a897f9b40e9a"}, "url": "/docs/compare/?release=13.21#13.21-c43037ec57336487", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-76d7d613d8c9d02f", "cves": [], "html": "<p>防止当应用工作进程遇到错误但该错误被捕获且未导致工作进程退出时，复制来源被错误重置的问题（Hayato Kuroda）<a href=\"https://postgr.es/c/05676d87e\">§</a></p>\n<p>此错误可能导致重复数据被应用。</p>", "text": "防止当应用工作进程遇到错误但该错误被捕获且未导致工作进程退出时，复制来源被错误重置的问题（Hayato Kuroda）§ 此错误可能导致重复数据被应用。", "title": "防止当应用工作进程遇到错误但该错误被捕获且未导致工作进程退出时，复制来源被错误重置的问题", "commits": ["05676d87e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "ebab63d5309df5859384f55a3a70385705d9503e7d28d057b679d7b2920df907", "section_path": ["变更"], "commit_groups": [["05676d87e", "0de091a4b", "0e091ce40"]], "identity_text": "Prevent incorrect reset of replication origin when an apply worker encounters an error but the error is caught and does not result in worker exit (Hayato Kuroda) This mistake could allow duplicate data to be applied.", "commit_aliases": ["05676d87e", "0de091a4b", "0e091ce40"], "source_commits": ["05676d87e"], "source_entry_id": "17.5/changes/039", "db_id": "97fc95fe95eed695a9fba5b146e4972e", "patch_ids": ["3f57aa19ed6dd957d617a77afd66ca76"], "statement_hash": "34fb209a9078179d510b0d8ddd2899638bfb64344ca3c532392dcbafdf15fe64", "relations": [{"rule": 2, "type": "equivalent", "target": "c8feb35ceaa7026c93c8c635b74fe68a", "evidence": {"same_day": true, "patch_ids": ["3f57aa19ed6dd957d617a77afd66ca76"], "statement_hash": "34fb209a9078179d510b0d8ddd2899638bfb64344ca3c532392dcbafdf15fe64"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c8feb35ceaa7026c93c8c635b74fe68a", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "防止当应用工作进程遇到错误但该错误被捕获且未导致工作进程退出时，复制来源被错误重置的问题", "evidence": {"same_day": true, "patch_ids": ["3f57aa19ed6dd957d617a77afd66ca76"], "statement_hash": "34fb209a9078179d510b0d8ddd2899638bfb64344ca3c532392dcbafdf15fe64"}, "url": "/docs/compare/?release=16.9#16.9-4269b86b0113c792", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-695e58875a412993", "cves": [], "html": "<p>修复逻辑复制中订阅端分区表具有 BRIN 索引时的崩溃问题（Tom Lane）<a href=\"https://postgr.es/c/788baa9a2\">§</a></p>", "text": "修复逻辑复制中订阅端分区表具有 BRIN 索引时的崩溃问题（Tom Lane）§", "title": "修复逻辑复制中订阅端分区表具有 BRIN 索引时的崩溃问题", "commits": ["788baa9a2"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "d84fdf9b85f2349cdb4e77f44a430312497a3ac5a7fb01d59a901f52ad50266c", "section_path": ["变更"], "commit_groups": [["788baa9a2", "9ff68679b"]], "identity_text": "Fix crash in logical replication if the subscriber's partitioned table has a BRIN index (Tom Lane)", "commit_aliases": ["788baa9a2", "9ff68679b"], "source_commits": ["788baa9a2"], "source_entry_id": "17.5/changes/040", "db_id": "4437e7e953c6617616f898acb66311be", "patch_ids": ["a275b46b93cee650f3a78dd55b93f1bd"], "statement_hash": "25566aca909c4ee454884d933f692e4c902ba99d38c37468b2f76c8f9ed1a85d", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-2069efadcbfce474", "cves": [], "html": "<p>避免在逻辑复制索引查找中重复创建快照（Heikki Linnakangas）<a href=\"https://postgr.es/c/c1dd3a944\">§</a> <a href=\"https://postgr.es/c/f1ef111a0\">§</a></p>", "text": "避免在逻辑复制索引查找中重复创建快照（Heikki Linnakangas）§ §", "title": "避免在逻辑复制索引查找中重复创建快照", "commits": ["c1dd3a944", "f1ef111a0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "90d0201eb3e09e67418e69ae62d6919644033c126b99c25ef89c740adc02a9a4", "section_path": ["变更"], "commit_groups": [["136e68b46", "324e0b656", "6c1e79589", "d765226cb", "f1ef111a0", "f7c566a1a"], ["236750317", "2ef048855", "50c589992", "8171d2dae", "9b3914f18", "c1dd3a944"]], "identity_text": "Avoid duplicate snapshot creation in logical replication index lookups (Heikki Linnakangas)", "commit_aliases": ["136e68b46", "236750317", "2ef048855", "324e0b656", "50c589992", "6c1e79589", "8171d2dae", "9b3914f18", "c1dd3a944", "d765226cb", "f1ef111a0", "f7c566a1a"], "source_commits": ["c1dd3a944", "f1ef111a0"], "source_entry_id": "17.5/changes/041", "db_id": "68a6f444e2dd1111866e1692a09eaee9", "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9", "relations": [{"rule": 2, "type": "equivalent", "target": "27c56fefd26a3de8d757bbd085e3ccf7", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}}, {"rule": 2, "type": "equivalent", "target": "4cbd410dcacccd81b5e565436db7bc7a", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}}, {"rule": 2, "type": "equivalent", "target": "62d7ad831c6b591f2d8c9f0a041d221b", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}}, {"rule": 2, "type": "equivalent", "target": "c4856066739f35020574380d1ebe619e", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c4856066739f35020574380d1ebe619e", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在逻辑复制索引查找中重复创建快照", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}, "url": "/docs/compare/?release=16.9#16.9-844f220134ec081b", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "4cbd410dcacccd81b5e565436db7bc7a", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在逻辑复制索引查找中重复创建快照", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}, "url": "/docs/compare/?release=15.13#15.13-a7ab6f2ad8ceed1e", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "62d7ad831c6b591f2d8c9f0a041d221b", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在逻辑复制索引查找中重复创建快照", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}, "url": "/docs/compare/?release=14.18#14.18-8a94534beb8d394b", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "27c56fefd26a3de8d757bbd085e3ccf7", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在逻辑复制索引查找中重复创建快照", "evidence": {"same_day": true, "patch_ids": ["1adc95ac621663bc7fa51f18ad33a68d", "809047aed79be0ed50900ccbf42f80fa"], "statement_hash": "16fba735d9e2dacfd355019baedc5bac39309c551378ee63052a10c4debdade9"}, "url": "/docs/compare/?release=13.21#13.21-b909fdf92799340c", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-35844b784dd5bae0", "cves": [], "html": "<p>改进对混合来源订阅的检测（Hou Zhijie，Shlok Kyal）<a href=\"https://postgr.es/c/0ae1245e0\">§</a></p>\n<p>在创建订阅时，如果被订阅的表同时通过其他发布被关注，会发出警告，因为这可能导致接收重复数据。此变更改进了该逻辑，使其也能检测到通过另一个发布关注的是分区父表或子表的情况。</p>", "text": "改进对混合来源订阅的检测（Hou Zhijie，Shlok Kyal）§ 在创建订阅时，如果被订阅的表同时通过其他发布被关注，会发出警告，因为这可能导致接收重复数据。此变更改进了该逻辑，使其也能检测到通过另一个发布关注的是分区父表或子表的情况。", "title": "改进对混合来源订阅的检测", "commits": ["0ae1245e0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "1ecc4b6db4538add2189b14996b49c502d9677d4d0c8471c2ade7da1e67ba5a0", "section_path": ["变更"], "commit_groups": [["0ae1245e0", "1c2a2354c", "b4e0d0c53"]], "identity_text": "Improve detection of mixed-origin subscriptions (Hou Zhijie, Shlok Kyal) Subscription creation gives a warning if a subscribed-to table is also being followed through other publications, since that could cause duplicate data to be received. This change improves that logic to also detect cases where a partition parent or child table is the one being followed through another publication.", "commit_aliases": ["0ae1245e0", "1c2a2354c", "b4e0d0c53"], "source_commits": ["0ae1245e0"], "source_entry_id": "17.5/changes/042", "db_id": "44f32c590db44e0e093238175b097e5c", "patch_ids": ["a9dcfd6c5ab2c0d0072c9c34d19ba607"], "statement_hash": "a8411c07b850b1506fee93c6db5a926461b099a56d515bc2a262b9bfde26492b", "relations": [{"rule": 2, "type": "equivalent", "target": "9f81f44ae53fd35d2b6ab6323f017683", "evidence": {"same_day": true, "patch_ids": ["a9dcfd6c5ab2c0d0072c9c34d19ba607"], "statement_hash": "a8411c07b850b1506fee93c6db5a926461b099a56d515bc2a262b9bfde26492b"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "9f81f44ae53fd35d2b6ab6323f017683", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "改进对混合来源订阅的检测", "evidence": {"same_day": true, "patch_ids": ["a9dcfd6c5ab2c0d0072c9c34d19ba607"], "statement_hash": "a8411c07b850b1506fee93c6db5a926461b099a56d515bc2a262b9bfde26492b"}, "url": "/docs/compare/?release=16.9#16.9-5ae54dbf9fc83b1d", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}]}, {"id": "17.5-5d0c95873c035713", "cves": [], "html": "<p>修复关于不正确恢复时间线选择的错误消息中的检查点详情错误（David Steele）<a href=\"https://postgr.es/c/29cce279b\">§</a></p>\n<p>如果请求的恢复时间线不可达，报告的检查点和时间线应该是从 backup_label 中读取的值（如果有的话）。之前此消息报告的是控制文件中的值，这在没有 backup_label 从控制文件恢复时是正确的，但在有 backup_label 时则不正确。</p>", "text": "修复关于不正确恢复时间线选择的错误消息中的检查点详情错误（David Steele）§ 如果请求的恢复时间线不可达，报告的检查点和时间线应该是从 backup_label 中读取的值（如果有的话）。之前此消息报告的是控制文件中的值，这在没有 backup_label 从控制文件恢复时是正确的，但在有 backup_label 时则不正确。", "title": "修复关于不正确恢复时间线选择的错误消息中的检查点详情错误", "commits": ["29cce279b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "4a11d4bbc124f676a937847b289634056e22305c96388148c6589a244d33525a", "section_path": ["变更"], "commit_groups": [["29cce279b", "62bed7bb0", "71f17823b", "b4969a296"]], "identity_text": "Fix wrong checkpoint details in error message about incorrect recovery timeline choice (David Steele) If the requested recovery timeline is not reachable, the reported checkpoint and timeline should be the values read from the backup_label, if there is one. This message previously reported values from the control file, which is correct when recovering from the control file without a backup_label, but not when there is a backup_label.", "commit_aliases": ["29cce279b", "62bed7bb0", "71f17823b", "b4969a296"], "source_commits": ["29cce279b"], "source_entry_id": "17.5/changes/043", "db_id": "a246338555d823bc8f689670b84ea7a0", "patch_ids": ["791e0478918d750ff09e10d599952384"], "statement_hash": "e2dfc107fdae95cf7907303d4f0659f00f9b7c145f7fc3cf16d5b0f4d82af4ff", "relations": [{"rule": 2, "type": "equivalent", "target": "54c2c91919ba0bb07a3b8c1d61f42e31", "evidence": {"same_day": true, "patch_ids": ["791e0478918d750ff09e10d599952384"], "statement_hash": "e2dfc107fdae95cf7907303d4f0659f00f9b7c145f7fc3cf16d5b0f4d82af4ff"}}, {"rule": 2, "type": "equivalent", "target": "98f7fe84bec7c123507049c72ef3a854", "evidence": {"same_day": true, "patch_ids": ["791e0478918d750ff09e10d599952384"], "statement_hash": "e2dfc107fdae95cf7907303d4f0659f00f9b7c145f7fc3cf16d5b0f4d82af4ff"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "98f7fe84bec7c123507049c72ef3a854", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复关于不正确恢复时间线选择的错误消息中的检查点详情错误", "evidence": {"same_day": true, "patch_ids": ["791e0478918d750ff09e10d599952384"], "statement_hash": "e2dfc107fdae95cf7907303d4f0659f00f9b7c145f7fc3cf16d5b0f4d82af4ff"}, "url": "/docs/compare/?release=16.9#16.9-a1968804eab98396", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "54c2c91919ba0bb07a3b8c1d61f42e31", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复关于不正确恢复时间线选择的错误消息中的检查点详情错误", "evidence": {"same_day": true, "patch_ids": ["791e0478918d750ff09e10d599952384"], "statement_hash": "e2dfc107fdae95cf7907303d4f0659f00f9b7c145f7fc3cf16d5b0f4d82af4ff"}, "url": "/docs/compare/?release=15.13#15.13-a501f629b2353dfa", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}]}, {"id": "17.5-9bcbd09b8a148aa1", "cves": [], "html": "<p>修复 <code>smgropen()</code> 中的操作顺序（Andres Freund）<a href=\"https://postgr.es/c/ee578921b\">§</a></p>\n<p>确保在调用 smgr_open 回调之前，SMgrRelation 对象已经完成初始化，这样一旦回调失败，就能正确清理。</p>", "text": "修复 smgropen() 中的操作顺序（Andres Freund）§ 确保在调用 smgr_open 回调之前，SMgrRelation 对象已经完成初始化，这样一旦回调失败，就能正确清理。", "title": "修复 smgropen() 中的操作顺序", "commits": ["ee578921b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "a12840fe271d563a4282c4d0c898af06886299f61d8c58d93ccecf5ae16865eb", "section_path": ["变更"], "commit_groups": [["499faf906", "ee578921b"]], "identity_text": "Fix order of operations in smgropen() (Andres Freund) Ensure that the SMgrRelation object is fully initialized before calling the smgr_open callback, so that it can be cleaned up properly if the callback fails.", "commit_aliases": ["499faf906", "ee578921b"], "source_commits": ["ee578921b"], "source_entry_id": "17.5/changes/044", "db_id": "e9a50ec7ca67f2c4679255406d0c6a77", "patch_ids": ["f481d5337e18827c4d8faa8c466bd4df"], "statement_hash": "cb989da0ed651666f73571842ce104ed836dcfc77ac8d00535a608e0ab8d5c3d", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-6642898be230c9df", "cves": [], "html": "<p>移除 <code>pgstat_report_stat()</code> 中不正确的断言（Michael Paquier）<a href=\"https://postgr.es/c/4b6331e0f\">§</a></p>", "text": "移除 pgstat_report_stat() 中不正确的断言（Michael Paquier）§", "title": "移除 pgstat_report_stat() 中不正确的断言", "commits": ["4b6331e0f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "2e07f89c12b772f2f0c402a638857ac32e0750a52049ce20b2cbdb79ca358e76", "section_path": ["变更"], "commit_groups": [["1f7878c33", "4b6331e0f", "c1201ffcf", "e9ab8677b"]], "identity_text": "Remove incorrect assertion in pgstat_report_stat() (Michael Paquier)", "commit_aliases": ["1f7878c33", "4b6331e0f", "c1201ffcf", "e9ab8677b"], "source_commits": ["4b6331e0f"], "source_entry_id": "17.5/changes/045", "db_id": "740b501f9ad0d12d3e015bea5033032e", "patch_ids": ["9f5de7a945360ec8523628333d065282"], "statement_hash": "cf1b85c19947fa249a82f4ae4067e568fd8c2f2d25abdbbb20a28ea87cb119b4", "relations": [{"rule": 2, "type": "equivalent", "target": "3535c68f62f90779f5719aab87e0d3b2", "evidence": {"same_day": true, "patch_ids": ["9f5de7a945360ec8523628333d065282"], "statement_hash": "cf1b85c19947fa249a82f4ae4067e568fd8c2f2d25abdbbb20a28ea87cb119b4"}}, {"rule": 2, "type": "equivalent", "target": "3d0463cc82249270c6297e0a99ee2a87", "evidence": {"same_day": true, "patch_ids": ["9f5de7a945360ec8523628333d065282"], "statement_hash": "cf1b85c19947fa249a82f4ae4067e568fd8c2f2d25abdbbb20a28ea87cb119b4"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3535c68f62f90779f5719aab87e0d3b2", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "移除 pgstat_report_stat() 中不正确的断言", "evidence": {"same_day": true, "patch_ids": ["9f5de7a945360ec8523628333d065282"], "statement_hash": "cf1b85c19947fa249a82f4ae4067e568fd8c2f2d25abdbbb20a28ea87cb119b4"}, "url": "/docs/compare/?release=16.9#16.9-fb310d1507562369", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "3d0463cc82249270c6297e0a99ee2a87", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "移除 pgstat_report_stat() 中不正确的断言", "evidence": {"same_day": true, "patch_ids": ["9f5de7a945360ec8523628333d065282"], "statement_hash": "cf1b85c19947fa249a82f4ae4067e568fd8c2f2d25abdbbb20a28ea87cb119b4"}, "url": "/docs/compare/?release=15.13#15.13-f82e2e1180369446", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}]}, {"id": "17.5-2088f11ca5c4831c", "cves": [], "html": "<p>修复 <code>gistFindCorrectParent()</code> 中过于严格的断言（Heikki Linnakangas）<a href=\"https://postgr.es/c/6526d0794\">§</a></p>", "text": "修复 gistFindCorrectParent() 中过于严格的断言（Heikki Linnakangas）§", "title": "修复 gistFindCorrectParent() 中过于严格的断言", "commits": ["6526d0794"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "5fbab8b18410903c5e6847d364b97ee6bbef3c108cc25608524ca4910cf354c6", "section_path": ["变更"], "commit_groups": [["3c0fe75c4", "419321398", "6526d0794", "7afca7ede", "a749c6f18", "b92482dc3"]], "identity_text": "Fix overly-strict assertion in gistFindCorrectParent() (Heikki Linnakangas)", "commit_aliases": ["3c0fe75c4", "419321398", "6526d0794", "7afca7ede", "a749c6f18", "b92482dc3"], "source_commits": ["6526d0794"], "source_entry_id": "17.5/changes/046", "db_id": "ca5aa9bfc0cd6a3986c25a9bb834efea", "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43", "relations": [{"rule": 2, "type": "equivalent", "target": "27a1adb1cdf9f664d38d47c14da8e9a1", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}}, {"rule": 2, "type": "equivalent", "target": "47c7b886e00ee5dd3ededee611b2d16a", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}}, {"rule": 2, "type": "equivalent", "target": "8d4744d9a3fed01ed5b740a2da43b6eb", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}}, {"rule": 2, "type": "equivalent", "target": "e6d6bd528a6a18567eddf6d6d0bd348d", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8d4744d9a3fed01ed5b740a2da43b6eb", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复 gistFindCorrectParent() 中过于严格的断言", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}, "url": "/docs/compare/?release=16.9#16.9-4c94d4fcc8fe7123", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "47c7b886e00ee5dd3ededee611b2d16a", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复 gistFindCorrectParent() 中过于严格的断言", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}, "url": "/docs/compare/?release=15.13#15.13-62cae577b4df954b", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "27a1adb1cdf9f664d38d47c14da8e9a1", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复 gistFindCorrectParent() 中过于严格的断言", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}, "url": "/docs/compare/?release=14.18#14.18-6a368ff09e31fc48", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "e6d6bd528a6a18567eddf6d6d0bd348d", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复 gistFindCorrectParent() 中过于严格的断言", "evidence": {"same_day": true, "patch_ids": ["0fbdfd9512143481ddba29600dae91de"], "statement_hash": "7991ac5c15dda3f769161967c88693ea957ab1e582f1ecb61df8823d0f1d4f43"}, "url": "/docs/compare/?release=13.21#13.21-43c27eaaeb1d9bf4", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-b6dc5aea73fb8657", "cves": [], "html": "<p>避免在 <code>maintenance_work_mem</code> 值非常小时，并行 vacuum 中发生断言失败（Masahiko Sawada）<a href=\"https://postgr.es/c/a38dce3c4\">§</a></p>", "text": "避免在 maintenance_work_mem 值非常小时，并行 vacuum 中发生断言失败（Masahiko Sawada）§", "title": "避免在 maintenance_work_mem 值非常小时，并行 vacuum 中发生断言失败", "commits": ["a38dce3c4"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "32f9930857cc65d6bf6859fee5a0a4df0acebc6df5bb89dc4cd4968080301c56", "section_path": ["变更"], "commit_groups": [["a38dce3c4", "f4290f20d"]], "identity_text": "Avoid assertion failure in parallel vacuum when maintenance_work_mem has a very small value (Masahiko Sawada)", "commit_aliases": ["a38dce3c4", "f4290f20d"], "source_commits": ["a38dce3c4"], "source_entry_id": "17.5/changes/047", "db_id": "4a59e8cde523f7b227bdcca9060be71c", "patch_ids": ["e813e6bf3fa89401d4818880c27a6cd2"], "statement_hash": "084b11091bb977a3ce1342c08943b766950ad0a7784b50423a83e560ff1e3d4a", "relations": [], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-aad4bd1803b8b133", "cves": [], "html": "<p>修复当主库重启时备库中罕见的断言失败（Heikki Linnakangas）<a href=\"https://postgr.es/c/302ce5bd9\">§</a></p>", "text": "修复当主库重启时备库中罕见的断言失败（Heikki Linnakangas）§", "title": "修复当主库重启时备库中罕见的断言失败", "commits": ["302ce5bd9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "aa4b6026d251c1bfa1a3979952d3fad2379c2ebb2330085a44a74725c6290c3f", "section_path": ["变更"], "commit_groups": [["2817525f0", "2f33de3cd", "302ce5bd9", "66235baab", "b30c77a0e"]], "identity_text": "Fix rare assertion failure in standby servers when the primary is restarted (Heikki Linnakangas)", "commit_aliases": ["2817525f0", "2f33de3cd", "302ce5bd9", "66235baab", "b30c77a0e"], "source_commits": ["302ce5bd9"], "source_entry_id": "17.5/changes/048", "db_id": "2e5dab43fa75fedfa20b60368b606121", "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47", "relations": [{"rule": 2, "type": "equivalent", "target": "66b073699b174d84b287cd5ba0bb5c0b", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}}, {"rule": 2, "type": "equivalent", "target": "92378c11f17a7de0c034937e90f5f438", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}}, {"rule": 2, "type": "equivalent", "target": "b243add7e25b9349d3df07b8524bbb10", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b243add7e25b9349d3df07b8524bbb10", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复当主库重启时备库中罕见的断言失败", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}, "url": "/docs/compare/?release=16.9#16.9-d4a51d0e3bd64212", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "66b073699b174d84b287cd5ba0bb5c0b", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复当主库重启时备库中罕见的断言失败", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}, "url": "/docs/compare/?release=15.13#15.13-a5839a410d8f1699", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "92378c11f17a7de0c034937e90f5f438", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复当主库重启时备库中罕见的断言失败", "evidence": {"same_day": true, "patch_ids": ["9563520801fea9e205ae16e82ea7855b"], "statement_hash": "e03ba0b3fc8a8995594cd92902313647f941a8d013faea0b71e91ba7c6dcbd47"}, "url": "/docs/compare/?release=14.18#14.18-c0e9cfa3a39cfe3a", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-49aae01e3ea0240a", "cves": [], "html": "<p>在 PL/pgSQL 中，避免当可滚动游标定义在简单 <code>SELECT <em><code>expression</code></em></code> 查询上时出现 <span>“<span>unexpected plan node type</span>”</span> 错误（Andrei Lepikhov）<a href=\"https://postgr.es/c/1353b1161\">§</a></p>", "text": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误（Andrei Lepikhov）§", "title": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误", "commits": ["1353b1161"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "66ff0186feb54b477156c90be2e710f07c835c8f1ca45e63b0ea303011bd1176", "section_path": ["变更"], "commit_groups": [["0f60e1fba", "1353b1161", "5e56efa7c", "7fe312f60", "a28c1fb61", "c196c610b"]], "identity_text": "In PL/pgSQL, avoid unexpected plan node type error when a scrollable cursor is defined on a simple SELECT expression query (Andrei Lepikhov)", "commit_aliases": ["0f60e1fba", "1353b1161", "5e56efa7c", "7fe312f60", "a28c1fb61", "c196c610b"], "source_commits": ["1353b1161"], "source_entry_id": "17.5/changes/049", "db_id": "5d327155f21daa11c824f675329dd129", "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8", "relations": [{"rule": 2, "type": "equivalent", "target": "1cf4e3ccb27beb351563e92204699ddf", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}}, {"rule": 2, "type": "equivalent", "target": "3d77b38c14caf8186c9c4c8d7073f660", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}}, {"rule": 2, "type": "equivalent", "target": "3e2662777ac979f38f4588bb5b04a2d3", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}}, {"rule": 2, "type": "equivalent", "target": "7c6fc81e4da27ce44047105c6c5470d3", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3d77b38c14caf8186c9c4c8d7073f660", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}, "url": "/docs/compare/?release=16.9#16.9-5a72f158f19fb45f", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "1cf4e3ccb27beb351563e92204699ddf", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}, "url": "/docs/compare/?release=15.13#15.13-4f40d70662d8882c", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "3e2662777ac979f38f4588bb5b04a2d3", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}, "url": "/docs/compare/?release=14.18#14.18-d202fbcf25295587", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "7c6fc81e4da27ce44047105c6c5470d3", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "在 PL/pgSQL 中，避免当可滚动游标定义在简单 SELECT expression 查询上时出现 “unexpected plan node type” 错误", "evidence": {"same_day": true, "patch_ids": ["f12a136931a2c9b85092405b258f239d"], "statement_hash": "b4aad974b17bda0a76dd37ef72496e590fcabf2c46a61ba4894df2a3e4e60bf8"}, "url": "/docs/compare/?release=13.21#13.21-3bd8b23d952a1816", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-130186541e057b56", "cves": [], "html": "<p>在 <span>pg_dump</span> 的 <code>--clean</code> 模式中不再尝试删除单个索引分区（Jian He）<a href=\"https://postgr.es/c/3424c1075\">§</a></p>\n<p>服务器会拒绝这样的 <code>DROP</code> 命令。这实际上没有什么影响，因为这些分区在后续对其父表或分区索引执行 <code>DROP</code> 时会被自动删除。但是，尝试删除时报告的错误会在以 <code>--single-transaction</code> 模式恢复时造成问题。</p>", "text": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区（Jian He）§ 服务器会拒绝这样的 DROP 命令。这实际上没有什么影响，因为这些分区在后续对其父表或分区索引执行 DROP 时会被自动删除。但是，尝试删除时报告的错误会在以 --single-transaction 模式恢复时造成问题。", "title": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区", "commits": ["3424c1075"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "9038104609a2da33715983cf892c666084865aad6f20830ab023c597c1686906", "section_path": ["变更"], "commit_groups": [["148cc0105", "1fc340362", "3424c1075", "6a3e57865", "7144cd538", "a25f21d99"]], "identity_text": "Don't try to drop individual index partitions in pg_dump's --clean mode (Jian He) The server rejects such DROP commands. That has no real consequences, since the partitions will go away anyway in the subsequent DROPs of either their parent tables or their partitioned index. However, the error reported for the attempted drop causes problems when restoring in --single-transaction mode.", "commit_aliases": ["148cc0105", "1fc340362", "3424c1075", "6a3e57865", "7144cd538", "a25f21d99"], "source_commits": ["3424c1075"], "source_entry_id": "17.5/changes/050", "db_id": "4b6e027be9c24d09a0bd8e953edf317c", "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13", "relations": [{"rule": 2, "type": "equivalent", "target": "42df3da7d8c6955067fbe63c28f79b7f", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}}, {"rule": 2, "type": "equivalent", "target": "69851138f2b853be3168d802588a9520", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}}, {"rule": 2, "type": "equivalent", "target": "d6903e20c3eee4fa2356e0d2b2c154d8", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}}, {"rule": 2, "type": "equivalent", "target": "eb7b42e15648d7b8b3c440a7101915a2", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "69851138f2b853be3168d802588a9520", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}, "url": "/docs/compare/?release=16.9#16.9-5ae9f3957cb2bed6", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "eb7b42e15648d7b8b3c440a7101915a2", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}, "url": "/docs/compare/?release=15.13#15.13-48059b5256fc8763", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "d6903e20c3eee4fa2356e0d2b2c154d8", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}, "url": "/docs/compare/?release=14.18#14.18-a62c77db7183ddb7", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "42df3da7d8c6955067fbe63c28f79b7f", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "在 pg_dump 的 --clean 模式中不再尝试删除单个索引分区", "evidence": {"same_day": true, "patch_ids": ["9cc39f67b2112ad724d3dd4a32e53e3b"], "statement_hash": "e67fba1cf484eebaf3c4c42d5ece9796503851f5392fb5c05c0952acff3b2b13"}, "url": "/docs/compare/?release=13.21#13.21-ae695bef185b433b", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-2696110d8fb93792", "cves": [], "html": "<p>在 <span>pg_dumpall</span> 中，避免在 <code>pg_auth_members</code> 包含无效角色 OID 时生成无效的角色 <code>GRANT</code> 命令（Tom Lane）<a href=\"https://postgr.es/c/16eff4261\">§</a></p>\n<p>改为打印警告并跳过该条目。这能更好地处理在后端分支中因 <code>GRANT</code> 和 <code>DROP ROLE</code> 之间的竞态条件而导致的目录损坏。</p>", "text": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令（Tom Lane）§ 改为打印警告并跳过该条目。这能更好地处理在后端分支中因 GRANT 和 DROP ROLE 之间的竞态条件而导致的目录损坏。", "title": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令", "commits": ["16eff4261"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "1f0947569a450b13443eecb9bf880865f29e2beea35725eb3331e81331dfec88", "section_path": ["变更"], "commit_groups": [["16eff4261", "29d75b25b", "5302ff95c", "6df3be415", "ce1475acd", "d850a6600"]], "identity_text": "In pg_dumpall, avoid emitting invalid role GRANT commands if pg_auth_members contains invalid role OIDs (Tom Lane) Instead, print a warning and skip the entry. This copes better with catalog corruption that has been seen to occur in back branches as a result of race conditions between GRANT and DROP ROLE.", "commit_aliases": ["16eff4261", "29d75b25b", "5302ff95c", "6df3be415", "ce1475acd", "d850a6600"], "source_commits": ["16eff4261"], "source_entry_id": "17.5/changes/051", "db_id": "14be69327836b06f72a5afffc236458d", "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a", "relations": [{"rule": 2, "type": "equivalent", "target": "037e06a9150261d4225482652afbae69", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}}, {"rule": 2, "type": "equivalent", "target": "4220609cab0faa9ff9b9847d6eaf69af", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}}, {"rule": 2, "type": "equivalent", "target": "592072835cdff737b256d67238063430", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}}, {"rule": 2, "type": "equivalent", "target": "e29abb4009fe4358d8ffa797134f6858", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4220609cab0faa9ff9b9847d6eaf69af", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}, "url": "/docs/compare/?release=16.9#16.9-9ea97d37c27d913b", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "e29abb4009fe4358d8ffa797134f6858", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}, "url": "/docs/compare/?release=15.13#15.13-f1fceade151b6e7f", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "592072835cdff737b256d67238063430", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}, "url": "/docs/compare/?release=14.18#14.18-3480ee8713990fb4", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "037e06a9150261d4225482652afbae69", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "在 pg_dumpall 中，避免在 pg_auth_members 包含无效角色 OID 时生成无效的角色 GRANT 命令", "evidence": {"same_day": true, "patch_ids": ["f2b1be5bd5a37e4c2f6310eac9a9677e"], "statement_hash": "6729e0781366fce928be3cedd2434b59ba0db94ff9e8f2492dfbca532d833f8a"}, "url": "/docs/compare/?release=13.21#13.21-70bdf129a37d033e", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-5ad323aca8e79aef", "cves": [], "html": "<p>在 <span>pg_amcheck</span> 和 <span>pg_upgrade</span> 中，使用正确的函数释放由 <span>libpq</span> 分配的内存（Michael Paquier，Ranier Vilela）<a href=\"https://postgr.es/c/ee78823ff\">§</a> <a href=\"https://postgr.es/c/0851b6573\">§</a> <a href=\"https://postgr.es/c/f903d4da9\">§</a></p>\n<p>这些疏忽可能导致在某些 Windows 构建配置下崩溃，例如调试版本的 <span>libpq</span> 被非调试版本的调用程序使用时。</p>", "text": "在 pg_amcheck 和 pg_upgrade 中，使用正确的函数释放由 libpq 分配的内存（Michael Paquier，Ranier Vilela）§ § § 这些疏忽可能导致在某些 Windows 构建配置下崩溃，例如调试版本的 libpq 被非调试版本的调用程序使用时。", "title": "在 pg_amcheck 和 pg_upgrade 中，使用正确的函数释放由 libpq 分配的内存", "commits": ["0851b6573", "ee78823ff", "f903d4da9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "00f8f6c6fde75a5bfd02f8963be768516755c2d26974f33d832891c2dd5b97e5", "section_path": ["变更"], "commit_groups": [["0851b6573", "57467ec7b", "945126234"], ["2a083ab80", "9ca2145b0", "ee78823ff"], ["35a591a04", "48e4ae9a0", "816149dc6", "ec741d480", "f903d4da9"]], "identity_text": "In pg_amcheck and pg_upgrade, use the correct function to free allocations made by libpq (Michael Paquier, Ranier Vilela) These oversights could result in crashes in certain Windows build configurations, such as a debug build of libpq used by a non-debug build of the calling application.", "commit_aliases": ["0851b6573", "2a083ab80", "35a591a04", "48e4ae9a0", "57467ec7b", "816149dc6", "945126234", "9ca2145b0", "ec741d480", "ee78823ff", "f903d4da9"], "source_commits": ["0851b6573", "ee78823ff", "f903d4da9"], "source_entry_id": "17.5/changes/052", "db_id": "8a119f30aebe8217bd24c84ac83c5357", "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6", "relations": [{"rule": 2, "type": "equivalent", "target": "60340d64ebc76c76673aee7bbdf1bf84", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}}, {"rule": 2, "type": "equivalent", "target": "ec8806ac157013d5a48910bd3a2696f9", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}}, {"rule": 2, "type": "equivalent", "target": "ef4d0bd11b44a555d9ff5417d9062b2d", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "60340d64ebc76c76673aee7bbdf1bf84", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "在 pg_amcheck 和 pg_upgrade 中，使用正确的函数释放由 libpq 分配的内存", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}, "url": "/docs/compare/?release=16.9#16.9-76778728b70e985f", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "ec8806ac157013d5a48910bd3a2696f9", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "在 pg_amcheck 和 pg_upgrade 中，使用正确的函数释放由 libpq 分配的内存", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}, "url": "/docs/compare/?release=15.13#15.13-9bad788e9e990512", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "ef4d0bd11b44a555d9ff5417d9062b2d", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "在 pg_amcheck 和 pg_upgrade 中，使用正确的函数释放由 libpq 分配的内存", "evidence": {"same_day": true, "patch_ids": ["34b26a2c0bc11f53689f56c106a22dd3", "5db415aa9fa83b6f5da048d1aaff9003", "7d2d1045e1e8db0bcdd0ec88b43e297b"], "statement_hash": "147a35118d1eb034a96eb96159a572da3cddff6637a9f24a2dbd4d0497d59fb6"}, "url": "/docs/compare/?release=14.18#14.18-7a70a94b4f51a3ee", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}]}, {"id": "17.5-60ef3907c8e8a85d", "cves": [], "html": "<p>修复 <span>reindexdb</span> 对并行重建索引操作的调度（Alexander Korotkov）<a href=\"https://postgr.es/c/09ef2f8df\">§</a></p>\n<p>原先的代码未能达到预期的并行度。</p>", "text": "修复 reindexdb 对并行重建索引操作的调度（Alexander Korotkov）§ 原先的代码未能达到预期的并行度。", "title": "修复 reindexdb 对并行重建索引操作的调度", "commits": ["09ef2f8df"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "c53a21e29754c5bb26c2e9f0e24672eb9f1f662f2d0df792260f3229ed0981ab", "section_path": ["变更"], "commit_groups": [["09ef2f8df", "682c5be25"]], "identity_text": "Fix reindexdb's scheduling of parallel reindex operations (Alexander Korotkov) The original coding failed to achieve the expected amount of parallelism.", "commit_aliases": ["09ef2f8df", "682c5be25"], "source_commits": ["09ef2f8df"], "source_entry_id": "17.5/changes/053", "db_id": "575a07a33fc92b96172ff638298c2451", "patch_ids": ["421c3df946e276be2ee09356d0dadc82"], "statement_hash": "95350f6e9c6d80196cea726acee69d0fd313959d0375bd8a7921ad3d3c8050d6", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-0e11947bab051637", "cves": [], "html": "<p>避免在 <code>contrib/pageinspect</code> 的 <code>heap_page_items()</code> 中因损坏的输入数据而崩溃（Dmitry Kovalenko）<a href=\"https://postgr.es/c/ecb8e5641\">§</a></p>", "text": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃（Dmitry Kovalenko）§", "title": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃", "commits": ["ecb8e5641"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "463ce6b974b8c70fd49fa4d82fff889e2f7b1abed62e380390a3f8e121514487", "section_path": ["变更"], "commit_groups": [["2d33cf7b8", "3c2ea65bd", "3f9132ed2", "90a3fd811", "d05996340", "ecb8e5641"]], "identity_text": "Avoid crashing with corrupt input data in contrib/pageinspect's heap_page_items() (Dmitry Kovalenko)", "commit_aliases": ["2d33cf7b8", "3c2ea65bd", "3f9132ed2", "90a3fd811", "d05996340", "ecb8e5641"], "source_commits": ["ecb8e5641"], "source_entry_id": "17.5/changes/054", "db_id": "ce0bbe28db794f9f70b7f7db6b8181ea", "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40", "relations": [{"rule": 2, "type": "equivalent", "target": "582e08e155bdd58b1d1937a654a61592", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}}, {"rule": 2, "type": "equivalent", "target": "8881e1af5842b40914bd9c207c6751b0", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}}, {"rule": 2, "type": "equivalent", "target": "aa20cf1d90a687514d529cf07c387ac3", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}}, {"rule": 2, "type": "equivalent", "target": "ace2bc25865466ba2e780658d626980b", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8881e1af5842b40914bd9c207c6751b0", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}, "url": "/docs/compare/?release=16.9#16.9-4e36ed5d94cadcea", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "ace2bc25865466ba2e780658d626980b", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}, "url": "/docs/compare/?release=15.13#15.13-a090ff4536e44a9a", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "582e08e155bdd58b1d1937a654a61592", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}, "url": "/docs/compare/?release=14.18#14.18-5b312ef265127ea5", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "aa20cf1d90a687514d529cf07c387ac3", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "避免在 contrib/pageinspect 的 heap_page_items() 中因损坏的输入数据而崩溃", "evidence": {"same_day": true, "patch_ids": ["2435530dffce06becc5d751283d5f833"], "statement_hash": "790d101cd9311d28874a47621867e0f86ac13af8fc3973712618b15dc6acdf40"}, "url": "/docs/compare/?release=13.21#13.21-fd890674555ab03b", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-1dffc3d6b9d4a839", "cves": [], "html": "<p>防止 <code>contrib/pg_freespacemap</code> 的 <code>pg_freespacemap()</code> 中的断言失败（Tender Wang）<a href=\"https://postgr.es/c/51d038da8\">§</a></p>\n<p>对没有存储的关系（如视图）应用 <code>pg_freespacemap()</code> 会导致断言失败，尽管在非断言构建中没有不良影响。增加了错误检查以拒绝这种情况。</p>", "text": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败（Tender Wang）§ 对没有存储的关系（如视图）应用 pg_freespacemap() 会导致断言失败，尽管在非断言构建中没有不良影响。增加了错误检查以拒绝这种情况。", "title": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败", "commits": ["51d038da8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "8bbcf6ae5666b22dc834a4168a4fa01d97f95e2a9e196220c76c36117d654996", "section_path": ["变更"], "commit_groups": [["0e86bad38", "41ed749e4", "4623d7144", "51d038da8", "5ff827389", "db8238da4"]], "identity_text": "Prevent assertion failure in contrib/pg_freespacemap's pg_freespacemap() (Tender Wang) Applying pg_freespacemap() to a relation lacking storage (such as a view) caused an assertion failure, although there was no ill effect in non-assert builds. Add an error check to reject that case.", "commit_aliases": ["0e86bad38", "41ed749e4", "4623d7144", "51d038da8", "5ff827389", "db8238da4"], "source_commits": ["51d038da8"], "source_entry_id": "17.5/changes/055", "db_id": "ed681893dd2413de875556a68dd1f326", "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d", "relations": [{"rule": 2, "type": "equivalent", "target": "2b6a0f3f7be35f404a9c6d630e81966f", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}}, {"rule": 2, "type": "equivalent", "target": "81e603618cc6cfaecbb907958d188bb0", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}}, {"rule": 2, "type": "equivalent", "target": "a31972a05b0a88178f98582dd5a915ab", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}}, {"rule": 2, "type": "equivalent", "target": "adfcc6ef0adfbe59858de60aa47488f2", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a31972a05b0a88178f98582dd5a915ab", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}, "url": "/docs/compare/?release=16.9#16.9-7f0fd7a665d6f996", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "2b6a0f3f7be35f404a9c6d630e81966f", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}, "url": "/docs/compare/?release=15.13#15.13-c355b8b2ba341fdd", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "81e603618cc6cfaecbb907958d188bb0", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}, "url": "/docs/compare/?release=14.18#14.18-d9a739915b758a3d", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "adfcc6ef0adfbe59858de60aa47488f2", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "防止 contrib/pg_freespacemap 的 pg_freespacemap() 中的断言失败", "evidence": {"same_day": true, "patch_ids": ["3e5cc9e814c9dece1afb8c66792c24b0"], "statement_hash": "ac76386686f5a22f3f9f87e3acb88251eb3917b665302519ad233f4c0b2cd83d"}, "url": "/docs/compare/?release=13.21#13.21-de4430d9db2f49d8", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-63cd4b0e852d85d1", "cves": [], "html": "<p>在 <code>contrib/postgres_fdw</code> 中，避免从子查询中上拉限制条件（Alexander Pyhalov）<a href=\"https://postgr.es/c/729fe699e\">§</a></p>\n<p>此修复可防止罕见的 <span>“<span>unexpected expression in subquery output</span>”</span> 错误。</p>", "text": "在 contrib/postgres_fdw 中，避免从子查询中上拉限制条件（Alexander Pyhalov）§ 此修复可防止罕见的 “unexpected expression in subquery output” 错误。", "title": "在 contrib/postgres_fdw 中，避免从子查询中上拉限制条件", "commits": ["729fe699e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "8c2b58f0befb5f3f89b421dbdc8c2c864e29fde69143b433e21b23f676399505", "section_path": ["变更"], "commit_groups": [["023fb5127", "729fe699e"]], "identity_text": "In contrib/postgres_fdw, avoid pulling up restriction conditions from subqueries (Alexander Pyhalov) This fix prevents rare cases of unexpected expression in subquery output errors.", "commit_aliases": ["023fb5127", "729fe699e"], "source_commits": ["729fe699e"], "source_entry_id": "17.5/changes/056", "db_id": "59b59c4ce5bad86f8bc9e6ec18d4e3da", "patch_ids": ["50afeb520a37af80d551b825565a54fe"], "statement_hash": "069b46634cf58ca16329cb076bebb0e156339c298d752ec151fa02f9a6dde690", "relations": [], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-277d2ff2ba18f1fa", "cves": [], "html": "<p>修复系统 include 目录中存在旧版 <code>libpq_fe.h</code> 时的构建失败（Tom Lane）<a href=\"https://postgr.es/c/f186f90e5\">§</a></p>", "text": "修复系统 include 目录中存在旧版 libpq_fe.h 时的构建失败（Tom Lane）§", "title": "修复系统 include 目录中存在旧版 libpq_fe.h 时的构建失败", "commits": ["f186f90e5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "3d3c63d2b721fde7c6fb7a13104df5f02c01b4c474b20097062b2beed71e84b6", "section_path": ["变更"], "commit_groups": [["cb36f8ec2", "f186f90e5"]], "identity_text": "Fix build failure when an old version of libpq_fe.h is present in system include directories (Tom Lane)", "commit_aliases": ["cb36f8ec2", "f186f90e5"], "source_commits": ["f186f90e5"], "source_entry_id": "17.5/changes/057", "db_id": "90a957ac31162ec698d5b94b49a40c6f", "patch_ids": ["eeffc9704828887ca584ad5271c75467"], "statement_hash": "298dfeada71ab57b70ba273250758000a5b4bc89167836ff5b7bae2e7d5d5439", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-d6e8a72bfcea4b53", "cves": [], "html": "<p>修复在 macOS 15.4 上的构建失败（Tom Lane，Peter Eisentraut）<a href=\"https://postgr.es/c/915e88968\">§</a></p>\n<p>此 macOS 更新破坏了我们对 <code>strchrnul()</code> 的配置探测。</p>", "text": "修复在 macOS 15.4 上的构建失败（Tom Lane，Peter Eisentraut）§ 此 macOS 更新破坏了我们对 strchrnul() 的配置探测。", "title": "修复在 macOS 15.4 上的构建失败", "commits": ["915e88968"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "b86c1b55597f6cbbafa0f80cd63463a229a996c69c7ecdbcf5ce1121e2f0be60", "section_path": ["变更"], "commit_groups": [["0de9560ba", "6da2ba1d8", "71790aef1", "915e88968", "a39eb9c77", "e4440a73c"]], "identity_text": "Fix build failure on macOS 15.4 (Tom Lane, Peter Eisentraut) This macOS update broke our configuration probe for strchrnul().", "commit_aliases": ["0de9560ba", "6da2ba1d8", "71790aef1", "915e88968", "a39eb9c77", "e4440a73c"], "source_commits": ["915e88968"], "source_entry_id": "17.5/changes/058", "db_id": "de586d1393e514a8fd81f47aaa090f70", "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189", "relations": [{"rule": 2, "type": "equivalent", "target": "b63702f305707fa1db21237db0526102", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}}, {"rule": 2, "type": "equivalent", "target": "d81851b981e6555614e00ec1b2accc47", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}}, {"rule": 2, "type": "equivalent", "target": "df8ba4ebb72714714838bb3067224a56", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}}, {"rule": 2, "type": "equivalent", "target": "ff82d3e77efcd654ca0d58a8b8a7b301", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}}], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d81851b981e6555614e00ec1b2accc47", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "修复在 macOS 15.4 上的构建失败", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}, "url": "/docs/compare/?release=16.9#16.9-d09a72f3b5c71225", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "b63702f305707fa1db21237db0526102", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "修复在 macOS 15.4 上的构建失败", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}, "url": "/docs/compare/?release=15.13#15.13-6538bafc805a3489", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "ff82d3e77efcd654ca0d58a8b8a7b301", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "修复在 macOS 15.4 上的构建失败", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}, "url": "/docs/compare/?release=14.18#14.18-9c9b5926d69ff118", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "df8ba4ebb72714714838bb3067224a56", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "修复在 macOS 15.4 上的构建失败", "evidence": {"same_day": true, "patch_ids": ["2c43c28d6c52dc62356a0bdf9130845e"], "statement_hash": "dc558bd7f237a01581ee701a0432e3c4e6a8a5891bf7de9f894b410cd957d189"}, "url": "/docs/compare/?release=13.21#13.21-1d245447bc27aad2", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}, {"id": "17.5-78ef6df2040d37e7", "cves": [], "html": "<p>修复读流按缓冲区数据的 valgrind 标记（Thomas Munro）<a href=\"https://postgr.es/c/57dca6faa\">§</a></p>\n<p>这不会影响已发布版本的 <span>PostgreSQL</span> 核心代码，但使用该按缓冲区数据特性的扩展在 valgrind 下测试时，可能会遇到伪失败。</p>", "text": "修复读流按缓冲区数据的 valgrind 标记（Thomas Munro）§ 这不会影响已发布版本的 PostgreSQL 核心代码，但使用该按缓冲区数据特性的扩展在 valgrind 下测试时，可能会遇到伪失败。", "title": "修复读流按缓冲区数据的 valgrind 标记", "commits": ["57dca6faa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "274259667367bb8986ecfc5bc79d9a4747768ca05b611b8e37cc5e837d54c741", "section_path": ["变更"], "commit_groups": [["2509b857c", "57dca6faa"], ["2a8a00674"]], "identity_text": "Fix valgrind labeling of per-buffer data of read streams (Thomas Munro) This affects no core code in released versions of PostgreSQL, but an extension using the per-buffer data feature might have encountered spurious failures when being tested under valgrind.", "commit_aliases": ["2509b857c", "2a8a00674", "57dca6faa"], "source_commits": ["2a8a00674", "57dca6faa"], "source_entry_id": "17.5/changes/059", "db_id": "c6006e297ecf4038064cd1324250371a", "patch_ids": ["491722e2b97dbaeb2888757ef951adce", "d7cb4d88d5e633a66c791dab78fc17aa"], "statement_hash": "ea7fd31dbfa9be720f1721891c1b9aaccecce920825505fcbe565b8ce8132714", "relations": [], "version": "17.5", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-ef528f149d478c78", "cves": [], "html": "<p>避免 valgrind 对字符串 hash 代码发出告警（John Naylor）<a href=\"https://postgr.es/c/fde7c0164\">§</a></p>", "text": "避免 valgrind 对字符串 hash 代码发出告警（John Naylor）§", "title": "避免 valgrind 对字符串 hash 代码发出告警", "commits": ["fde7c0164"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "1c6833d0f5dc0a2d330b2412c1183a030b72fa397987440f6b827220cb5cfff3", "section_path": ["变更"], "commit_groups": [["0600d276d", "fde7c0164"]], "identity_text": "Avoid valgrind complaints about string hashing code (John Naylor)", "commit_aliases": ["0600d276d", "fde7c0164"], "source_commits": ["fde7c0164"], "source_entry_id": "17.5/changes/060", "db_id": "1f341c0f67dfa32ebeb22ab0463e650b", "patch_ids": ["87fc177fd7286e5d7228fe1945112c77"], "statement_hash": "4bf381bd6569b8a6a184430a7870d66d2bf517ddfbdf9674ee35d21f3bea62c2", "relations": [], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.5-1787eeef076438cb", "cves": [], "html": "<p>更新时区数据文件至 <span>tzdata</span> 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正（Tom Lane）<a href=\"https://postgr.es/c/5d5970b9f\">§</a></p>\n<p>新增时区 America/Coyhaique 用于智利的 Aysén 大区，以反映其改为全年使用 UTC-03，从而与 America/Santiago 产生差异。</p>", "text": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正（Tom Lane）§ 新增时区 America/Coyhaique 用于智利的 Aysén 大区，以反映其改为全年使用 UTC-03，从而与 America/Santiago 产生差异。", "title": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正", "commits": ["5d5970b9f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.5/#RELEASE-17-5-CHANGES", "source_hash": "162778503a7ccc4a487dfcb0fd2c1a4a1147a3e60e11eb85a122c3a26963e300", "section_path": ["变更"], "commit_groups": [["368c3fbf9", "5d5970b9f", "9da548df3", "a144cf145", "e076120d9", "fa4244a43"]], "identity_text": "Update time zone data files to tzdata release 2025b for DST law changes in Chile, plus historical corrections for Iran (Tom Lane) There is a new time zone America/Coyhaique for Chile's Aysén Region, to account for it changing to UTC-03 year-round and thus diverging from America/Santiago.", "commit_aliases": ["368c3fbf9", "5d5970b9f", "9da548df3", "a144cf145", "e076120d9", "fa4244a43"], "source_commits": ["5d5970b9f"], "source_entry_id": "17.5/changes/061", "db_id": "b46b51b6ab58678c9616193380655da3", "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4", "relations": [{"rule": 2, "type": "equivalent", "target": "2e73cf839c165cbbaf867b7175690bd0", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}}, {"rule": 2, "type": "equivalent", "target": "85360ac1e18899dc279978e17903e0fd", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}}, {"rule": 2, "type": "equivalent", "target": "89bbdc6060fef88d085afd6409e10416", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}}, {"rule": 2, "type": "equivalent", "target": "c1730518d55761ba90941aa06c170dfb", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}}], "version": "17.5", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "89bbdc6060fef88d085afd6409e10416", "kind": "equivalent", "version": "16.9", "label": "16.9", "title": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}, "url": "/docs/compare/?release=16.9#16.9-edae619b47bafc29", "source_url": "/docs/release/16.9/#RELEASE-16-9-CHANGES"}, {"db_id": "2e73cf839c165cbbaf867b7175690bd0", "kind": "equivalent", "version": "15.13", "label": "15.13", "title": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}, "url": "/docs/compare/?release=15.13#15.13-7905b2aef76f37fd", "source_url": "/docs/release/15.13/#ZH-AUTO-RELEASE-15-SECT2-10"}, {"db_id": "85360ac1e18899dc279978e17903e0fd", "kind": "equivalent", "version": "14.18", "label": "14.18", "title": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}, "url": "/docs/compare/?release=14.18#14.18-08e4060ba79b5c53", "source_url": "/docs/release/14.18/#ZH-AUTO-RELEASE-14-SECT2-10"}, {"db_id": "c1730518d55761ba90941aa06c170dfb", "kind": "equivalent", "version": "13.21", "label": "13.21", "title": "更新时区数据文件至 tzdata 2025b 版本，包含智利的夏令时法律变更以及伊朗的历史修正", "evidence": {"same_day": true, "patch_ids": ["37a58a33f41e391eeea747c321eac090"], "statement_hash": "c09a94c4e1b7ddfa12a3f8c5c4ab5fff67151ab86b10b4c4da218d744a15f8b4"}, "url": "/docs/compare/?release=13.21#13.21-fa15b367f3d46c9d", "source_url": "/docs/release/13.21/#id-1.11.6.8.6"}]}]}, {"date": "2025-02-20", "build": "17.4", "major": "17", "minor": 4, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.4", "eol_date": "2029-11-08", "date_text": "2025-02-20", "supported": true, "manual_url": "/docs/17/release-17-4.html", "source_url": "/docs/release/17.4/", "entry_count": 3, "placeholder": false, "content_hash": "8282366341b983e53cde070ab1e6eeac3779aa2480256a7ca95d950e770f6a9a", "manual_build": "17.12", "source_as_of": "", "changes_count": 3, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你是从早于 17.1 的版本升级，请参见<a href=\"/docs/17/release-17-1.html\" title=\"E.11. 17.1 发布\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "17.4", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 632, "support_days": 1090, "entries": [{"id": "17.4-d477ecad89a3b81e", "cves": ["CVE-2025-1094"], "html": "<p>改进 <span>libpq</span> 引用函数的行为（Andres Freund，Tom Lane）<a href=\"https://postgr.es/c/a92db3d02\">§</a> <a href=\"https://postgr.es/c/3abe6e04c\">§</a> <a href=\"https://postgr.es/c/3977bd298\">§</a></p>\n<p>为 CVE-2025-1094 所做的修改有一个严重的疏忽：<code>PQescapeLiteral()</code> 和 <code>PQescapeIdentifier()</code> 未能遵循其字符串长度参数，而是始终读取到输入字符串的末尾空字符。这导致在调用者打算通过长度参数截断字符串时，输出中包含了不需要的文本。在极端不幸的情况下，可能因读取超出内存末尾而导致崩溃。</p>\n<p>此外，修改了所有这些引用函数，使得在检测到无效编码时，仅替换假定字符的第一个字节为无效序列，而不是全部字节。这降低了在调用应用程序对引用后的字符串进行额外处理时出现问题的风险。</p>", "text": "改进 libpq 引用函数的行为（Andres Freund，Tom Lane）§ § § 为 CVE-2025-1094 所做的修改有一个严重的疏忽：PQescapeLiteral() 和 PQescapeIdentifier() 未能遵循其字符串长度参数，而是始终读取到输入字符串的末尾空字符。这导致在调用者打算通过长度参数截断字符串时，输出中包含了不需要的文本。在极端不幸的情况下，可能因读取超出内存末尾而导致崩溃。 此外，修改了所有这些引用函数，使得在检测到无效编码时，仅替换假定字符的第一个字节为无效序列，而不是全部字节。这降低了在调用应用程序对引用后的字符串进行额外处理时出现问题的风险。", "title": "改进 libpq 引用函数的行为", "commits": ["3977bd298", "3abe6e04c", "a92db3d02"], "section": "变更", "category": "security", "source_url": "/docs/release/17.4/#RELEASE-17-4-CHANGES", "source_hash": "df5454038007b88df8733584820a457d3ac17a4a51865df26d72027ea3fcd906", "section_path": ["变更"], "commit_groups": [["111f4dd27", "1f7a05324", "22ffbbf24", "985908df1", "a92db3d02", "efdadeb22"], ["2226a2e26", "3977bd298", "644b7d686", "9f052613e", "a7f95859e", "f864a4cdf"], ["3abe6e04c", "991a60a9f", "9f45e6a91", "c08309584", "d6d29b213", "e782a63cc"]], "identity_text": "Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) The changes made for CVE-2025-1094 had one serious oversight: PQescapeLiteral() and PQescapeIdentifier() failed to honor their string length parameter, instead always reading to the input string's trailing null. This resulted in including unwanted text in the output, if the caller intended to truncate the string via the length parameter. With very bad luck it could cause a crash due to reading off the end of memory. In addition, modify all these quoting functions so that when invalid encoding is detected, an invalid sequence is substituted for just the first byte of the presumed character, not all of it. This reduces the risk of problems if a calling application performs additional processing on the quoted string.", "commit_aliases": ["111f4dd27", "1f7a05324", "2226a2e26", "22ffbbf24", "3977bd298", "3abe6e04c", "644b7d686", "985908df1", "991a60a9f", "9f052613e", "9f45e6a91", "a7f95859e", "a92db3d02", "c08309584", "d6d29b213", "e782a63cc", "efdadeb22", "f864a4cdf"], "source_commits": ["3977bd298", "3abe6e04c", "a92db3d02"], "source_entry_id": "17.4/changes/001", "db_id": "c7960ab441796e11f499e5bba716166e", "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e", "relations": [{"rule": 2, "type": "equivalent", "target": "10e97b40c924a8c01435396c5cec5c41", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}}, {"rule": 2, "type": "equivalent", "target": "4646f216ed794505b943757978907404", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}}, {"rule": 2, "type": "equivalent", "target": "93606c971fb27b15f66a071ba02ed94f", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}}, {"rule": 2, "type": "equivalent", "target": "9f693cbaa1b27909dc5ea6b2372ebffc", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}}], "version": "17.4", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "10e97b40c924a8c01435396c5cec5c41", "kind": "equivalent", "version": "16.8", "label": "16.8", "title": "改进 libpq 引用函数的行为", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}, "url": "/docs/compare/?release=16.8#16.8-37cc8c2afc9a961e", "source_url": "/docs/release/16.8/#RELEASE-16-8-CHANGES"}, {"db_id": "4646f216ed794505b943757978907404", "kind": "equivalent", "version": "15.12", "label": "15.12", "title": "改进 libpq 引用函数的行为", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}, "url": "/docs/compare/?release=15.12#15.12-43f9b4124d940cad", "source_url": "/docs/release/15.12/#ZH-AUTO-RELEASE-15-SECT2-12"}, {"db_id": "93606c971fb27b15f66a071ba02ed94f", "kind": "equivalent", "version": "14.17", "label": "14.17", "title": "改进 libpq 引用函数的行为", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}, "url": "/docs/compare/?release=14.17#14.17-5608e94c3b2dd6d1", "source_url": "/docs/release/14.17/#ZH-AUTO-RELEASE-14-SECT2-12"}, {"db_id": "9f693cbaa1b27909dc5ea6b2372ebffc", "kind": "equivalent", "version": "13.20", "label": "13.20", "title": "改进 libpq 引用函数的行为", "evidence": {"same_day": true, "patch_ids": ["0e981f968b952d9cf7d0d6a3a22cc247", "6f7805d8e67721bf35bd17443b6b5f5d", "b0ea6cce1c2d6113f422ff8aee23ccfc"], "statement_hash": "82ceafbe009cc55c8bbb783c79cd0468287302477d70ae849a35027e0bec658e"}, "url": "/docs/compare/?release=13.20#13.20-27312e34c6df83be", "source_url": "/docs/release/13.20/#id-1.11.6.9.6"}]}, {"id": "17.4-e0c81d2cba126652", "cves": [], "html": "<p>修复 <span>pg_createsubscriber</span> 中的轻微内存泄漏（Ranier Vilela）<a href=\"https://postgr.es/c/ff6d9cfcb\">§</a></p>", "text": "修复 pg_createsubscriber 中的轻微内存泄漏（Ranier Vilela）§", "title": "修复 pg_createsubscriber 中的轻微内存泄漏", "commits": ["ff6d9cfcb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.4/#RELEASE-17-4-CHANGES", "source_hash": "073a114dab6fe74cf6560ff8ec461b817b393df59b97f84635889267d27cdcd6", "section_path": ["变更"], "commit_groups": [["5b94e2753", "ff6d9cfcb"]], "identity_text": "Fix small memory leak in pg_createsubscriber (Ranier Vilela)", "commit_aliases": ["5b94e2753", "ff6d9cfcb"], "source_commits": ["ff6d9cfcb"], "source_entry_id": "17.4/changes/002", "db_id": "285be6e0e7a74086c0b57f74d1b0ff80", "patch_ids": ["c1239f7bac6a8a540403b6538c9eec5d"], "statement_hash": "a256c57eadaf80bcdda9ec79418d7a98a24f6675a91f9e1d4b7846e393d4187e", "relations": [], "version": "17.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.4-1a6bc652fff7cf0a", "cves": [], "html": "<p>修复 meson 构建系统以正确检测 <code>bsd_auth.h</code> 系统头文件的可用性（Nazir Bilal Yavuz）<a href=\"https://postgr.es/c/c9a1d2135\">§</a></p>", "text": "修复 meson 构建系统以正确检测 bsd_auth.h 系统头文件的可用性（Nazir Bilal Yavuz）§", "title": "修复 meson 构建系统以正确检测 bsd_auth.h 系统头文件的可用性", "commits": ["c9a1d2135"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.4/#RELEASE-17-4-CHANGES", "source_hash": "f1132bd20ed901b3818c8e83245485c4d2597cc573b4348ce38ec44f93d57241", "section_path": ["变更"], "commit_groups": [["01cdb98e4", "b64d83115", "c9a1d2135"]], "identity_text": "Fix meson build system to correctly detect availability of the bsd_auth.h system header (Nazir Bilal Yavuz)", "commit_aliases": ["01cdb98e4", "b64d83115", "c9a1d2135"], "source_commits": ["c9a1d2135"], "source_entry_id": "17.4/changes/003", "db_id": "9fc8fdde993a4a48701d10e07034570f", "patch_ids": ["61b1915751100c13bd760999fb17ec00"], "statement_hash": "d3d3194505718a731f276d47517f983f0dda2b954325e29cd9a0fe9452bb30c6", "relations": [{"rule": 2, "type": "equivalent", "target": "597a9c1610cbb9c827ee1a00c45c22e2", "evidence": {"same_day": true, "patch_ids": ["61b1915751100c13bd760999fb17ec00"], "statement_hash": "d3d3194505718a731f276d47517f983f0dda2b954325e29cd9a0fe9452bb30c6"}}], "version": "17.4", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "597a9c1610cbb9c827ee1a00c45c22e2", "kind": "equivalent", "version": "16.8", "label": "16.8", "title": "修复 meson 构建系统以正确检测 bsd_auth.h 系统头文件的可用性", "evidence": {"same_day": true, "patch_ids": ["61b1915751100c13bd760999fb17ec00"], "statement_hash": "d3d3194505718a731f276d47517f983f0dda2b954325e29cd9a0fe9452bb30c6"}, "url": "/docs/compare/?release=16.8#16.8-18729901882dd169", "source_url": "/docs/release/16.8/#RELEASE-16-8-CHANGES"}]}]}, {"date": "2025-02-13", "build": "17.3", "major": "17", "minor": 3, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.3", "eol_date": "2029-11-08", "date_text": "2025-02-13", "supported": true, "manual_url": "/docs/17/release-17-3.html", "source_url": "/docs/release/17.3/", "entry_count": 71, "placeholder": false, "content_hash": "bda1aeed410b964e5a2fafe4409f63bfcc73460ff2749fda89bce346d9bd6c68", "manual_build": "17.12", "source_as_of": "", "changes_count": 71, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你是从早于 17.1 的版本升级，请参见<a href=\"/docs/17/release-17-1.html\" title=\"E.11. 17.1 发布\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "17.3", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 639, "support_days": 1090, "entries": [{"id": "17.3-ec56c13500d18830", "cves": ["CVE-2025-1094"], "html": "<p>加强 <code>PQescapeString</code> 及相关函数对无效编码输入字符串的防护（Andres Freund，Noah Misch）<a href=\"https://postgr.es/c/43a77239d\">§</a> <a href=\"https://postgr.es/c/7d43ca6fe\">§</a> <a href=\"https://postgr.es/c/61ad93cdd\">§</a> <a href=\"https://postgr.es/c/02d4d87ac\">§</a> <a href=\"https://postgr.es/c/05abb0f83\">§</a> <a href=\"https://postgr.es/c/85c1fcc65\">§</a></p>\n<p><span>libpq</span> 提供的数据引用函数现在会完全检查其输入的编码有效性。如果检测到无效字符，会尽可能报告错误。对于缺少错误返回机制的函数，输出字符串会被调整以确保服务器会报告无效编码，并且中间处理不会被恰好匹配单引号、反斜杠等的字节所欺骗。</p>\n<p>此变更的目的是防范在使用这些函数对精心构造的输入进行引用时可能发生的 SQL 注入攻击。当结果字符串直接发送到 <span>PostgreSQL</span> 服务器时没有风险（服务器无论如何都会检查编码），但当它通过 <span>psql</span> 或其他客户端代码传递时存在风险。历史上此类代码未仔细审查编码，在许多情况下如果检测到此类问题也不清楚应该怎么做。</p>\n<p>此修复仅在数据引用函数、服务器以及任何中间处理对所使用的字符编码达成一致时才有效。插入不可信输入到 SQL 命令中的应用程序应特别注意确保这一点。</p>\n<p>不使用这些 <span>libpq</span> 函数而引用不可信输入的应用程序和驱动程序可能面临类似问题的风险。它们应首先确认数据在服务器期望的编码中是有效的。</p>\n<p>PostgreSQL 项目感谢 Stephen Fewer 报告此问题。（CVE-2025-1094）</p>", "text": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护（Andres Freund，Noah Misch）§ § § § § § libpq 提供的数据引用函数现在会完全检查其输入的编码有效性。如果检测到无效字符，会尽可能报告错误。对于缺少错误返回机制的函数，输出字符串会被调整以确保服务器会报告无效编码，并且中间处理不会被恰好匹配单引号、反斜杠等的字节所欺骗。 此变更的目的是防范在使用这些函数对精心构造的输入进行引用时可能发生的 SQL 注入攻击。当结果字符串直接发送到 PostgreSQL 服务器时没有风险（服务器无论如何都会检查编码），但当它通过 psql 或其他客户端代码传递时存在风险。历史上此类代码未仔细审查编码，在许多情况下如果检测到此类问题也不清楚应该怎么做。 此修复仅在数据引用函数、服务器以及任何中间处理对所使用的字符编码达成一致时才有效。插入不可信输入到 SQL 命令中的应用程序应特别注意确保这一点。 不使用这些 libpq 函数而引用不可信输入的应用程序和驱动程序可能面临类似问题的风险。它们应首先确认数据在服务器期望的编码中是有效的。 PostgreSQL 项目感谢 Stephen Fewer 报告此问题。（CVE-2025-1094）", "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "commits": ["02d4d87ac", "05abb0f83", "43a77239d", "61ad93cdd", "7d43ca6fe", "85c1fcc65"], "section": "变更", "category": "security", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "4f8e4cecca5724d07f47a43a87054fdf82e0b470cc27db280ae273d75f6aba48", "section_path": ["变更"], "commit_groups": [["0075a5c6c", "5bf12323b", "85c1fcc65", "9862de917", "e1f1b030d", "f9fceef6e"], ["00f1a1f66"], ["01784793f", "02d4d87ac", "46ddf98df", "4ea3f5ef3", "ac00ff1c9", "de4b92f33"], ["05abb0f83", "41343f840", "4a6825c76", "7beb2af5e", "979205e47", "a085fa731"], ["2ae54ae17", "3e98c8ce5", "56aa2dcdd", "5df4e1632", "61ad93cdd", "b1756da75"], ["370c94d4c", "43a77239d", "5dc1e42b4", "92e4170f4", "c906bfe1b", "e0ef3d776"], ["4dc289635", "5bc33cbea", "6e05b195d", "703b3fd5d", "7d43ca6fe", "db3eb0e82"]], "identity_text": "Harden PQescapeString and allied functions against invalidly-encoded input strings (Andres Freund, Noah Misch) Data-quoting functions supplied by libpq now fully check the encoding validity of their input. If invalid characters are detected, they report an error if possible. For the ones that lack an error return convention, the output string is adjusted to ensure that the server will report invalid encoding and no intervening processing will be fooled by bytes that might happen to match single quote, backslash, etc. The purpose of this change is to guard against SQL-injection attacks that are possible if one of these functions is used to quote crafted input. There is no hazard when the resulting string is sent directly to a PostgreSQL server (which would check its encoding anyway), but there is a risk when it is passed through psql or other client-side code. Historically such code has not carefully vetted encoding, and in many cases it's not clear what it should do if it did detect such a problem. This fix is effective only if the data-quoting function, the server, and any intermediate processing agree on the character encoding that's being used. Applications that insert untrusted input into SQL commands should take special care to ensure that that's true. Applications and drivers that quote untrusted input without using these libpq functions may be at risk of similar problems. They should first confirm the data is valid in the encoding expected by the server. The PostgreSQL Project thanks Stephen Fewer for reporting this problem. (CVE-2025-1094)", "commit_aliases": ["0075a5c6c", "00f1a1f66", "01784793f", "02d4d87ac", "05abb0f83", "2ae54ae17", "370c94d4c", "3e98c8ce5", "41343f840", "43a77239d", "46ddf98df", "4a6825c76", "4dc289635", "4ea3f5ef3", "56aa2dcdd", "5bc33cbea", "5bf12323b", "5dc1e42b4", "5df4e1632", "61ad93cdd", "6e05b195d", "703b3fd5d", "7beb2af5e", "7d43ca6fe", "85c1fcc65", "92e4170f4", "979205e47", "9862de917", "a085fa731", "ac00ff1c9", "b1756da75", "c906bfe1b", "db3eb0e82", "de4b92f33", "e0ef3d776", "e1f1b030d", "f9fceef6e"], "source_commits": ["00f1a1f66", "02d4d87ac", "05abb0f83", "43a77239d", "61ad93cdd", "7d43ca6fe", "85c1fcc65"], "source_entry_id": "17.3/changes/001", "db_id": "d394c7dd9345d5f8b712225bcd0d756b", "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510", "relations": [{"rule": 2, "type": "equivalent", "target": "90ded14b63ff2f1ce6a02628434a92b8", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}}, {"rule": 2, "type": "equivalent", "target": "c67f7d11537493045db911b0c721db16", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}}, {"rule": 2, "type": "equivalent", "target": "f13ab6baf3e95ab97b902e09323ae11f", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}}, {"rule": 2, "type": "equivalent", "target": "f649b02262a5f42707d74fc679509c8c", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}}], "version": "17.3", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "90ded14b63ff2f1ce6a02628434a92b8", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}, "url": "/docs/compare/?release=16.7#16.7-76a3b23ceb65c9a6", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "f649b02262a5f42707d74fc679509c8c", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}, "url": "/docs/compare/?release=15.11#15.11-ed0b0c5a5ce7c384", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "c67f7d11537493045db911b0c721db16", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}, "url": "/docs/compare/?release=14.16#14.16-84a4341a43ed7fd0", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "f13ab6baf3e95ab97b902e09323ae11f", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "evidence": {"same_day": true, "patch_ids": ["36d050a352e3681f016aae85ff33c242", "42bd3444d87759f098d683bb0621758f", "68db3958432c71bd49dc86922fdd9429", "a77ed2598533109291af8fa46693bc0f", "cb6e008bedd5c5651ea8f3a6308364cd", "ccab9b95f046d8825dd5e7383acac8d9", "cf569d785ea56dc3e8e51265eb2a2173"], "statement_hash": "3c8d46a332df9f37c7dd23c123b5dd02657355e121999f59dd6c72e35750c510"}, "url": "/docs/compare/?release=13.19#13.19-53e824654163768f", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-6f390eacbfd00623", "cves": [], "html": "<p>恢复对连接请求中出现的数据库名和用户名的自动截断（Nathan Bossart）<a href=\"https://postgr.es/c/d09fbf645\">§</a></p>\n<p>这撤销了 v17 中一项后来证明给部分用户带来麻烦的变更。过长名称本应以感知编码的方式截断，但目前先恢复为此前在 <code>NAMEDATALEN-1</code> 字节处盲目截断的行为。</p>", "text": "恢复对连接请求中出现的数据库名和用户名的自动截断（Nathan Bossart）§ 这撤销了 v17 中一项后来证明给部分用户带来麻烦的变更。过长名称本应以感知编码的方式截断，但目前先恢复为此前在 NAMEDATALEN-1 字节处盲目截断的行为。", "title": "恢复对连接请求中出现的数据库名和用户名的自动截断", "commits": ["d09fbf645"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "bed01aa6f8a48a4e2845e268c21fe09bb6c537e7b511d6281697d9b028faa3af", "section_path": ["变更"], "commit_groups": [["a0ff56e2d", "d09fbf645"]], "identity_text": "Restore auto-truncation of database and user names appearing in connection requests (Nathan Bossart) This reverts a v17 change that proved to cause trouble for some users. Over-length names should be truncated in an encoding-aware fashion, but for now just return to the former behavior of blind truncation at NAMEDATALEN-1 bytes.", "commit_aliases": ["a0ff56e2d", "d09fbf645"], "source_commits": ["d09fbf645"], "source_entry_id": "17.3/changes/002", "db_id": "d07abf644caf756afbc9b80b202e68f4", "patch_ids": ["cfe2ccd75b66a2901312f66be10cc942"], "statement_hash": "6ac2ac4f64b2ad754b219184d0d87492cf761923bbe0d6159282fa4f50f9f9a0", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-8e0e0e411c9531e9", "cves": [], "html": "<p>将并行工作进程排除在连接权限检查和限制之外（Tom Lane）<a href=\"https://postgr.es/c/15b4c46c3\">§</a></p>\n<p>启动并行工作进程时不再检查 <code>datallowconn</code>、<code>rolcanlogin</code> 和 <code>ACL_CONNECT</code> 权限，而是假定领导进程最初通过了类似检查就足够了。这避免了例如当领导进程以缺少登录权限的角色运行时，并行化查询出现意外失败的情况。同样，<code>ReservedConnections</code>、<code>datconnlimit</code> 和 <code>rolconnlimit</code> 限制仅对普通后端执行，且仅计算普通后端的数量来检查是否已达到限制。这些限制旨在防止普通后端过度占用进程槽位——而并行工作进程和其他特殊进程有自己的进程槽池和自己的限制检查。</p>", "text": "将并行工作进程排除在连接权限检查和限制之外（Tom Lane）§ 启动并行工作进程时不再检查 datallowconn、rolcanlogin 和 ACL_CONNECT 权限，而是假定领导进程最初通过了类似检查就足够了。这避免了例如当领导进程以缺少登录权限的角色运行时，并行化查询出现意外失败的情况。同样，ReservedConnections、datconnlimit 和 rolconnlimit 限制仅对普通后端执行，且仅计算普通后端的数量来检查是否已达到限制。这些限制旨在防止普通后端过度占用进程槽位——而并行工作进程和其他特殊进程有自己的进程槽池和自己的限制检查。", "title": "将并行工作进程排除在连接权限检查和限制之外", "commits": ["15b4c46c3"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "4bd2abd4f52227612e2b042fe139566beb8672f007c9b822b860491d9dc9dd43", "section_path": ["变更"], "commit_groups": [["15b4c46c3", "34486b609", "3d1ecc92a", "41a252c2c", "70d067cec", "c58b0c43d"]], "identity_text": "Exclude parallel workers from connection privilege checks and limits (Tom Lane) Do not check datallowconn, rolcanlogin, and ACL_CONNECT privileges when starting a parallel worker, instead assuming that it's enough for the leader process to have passed similar checks originally. This avoids, for example, unexpected failures of parallelized queries when the leader is running as a role that lacks login privilege. In the same vein, enforce ReservedConnections, datconnlimit, and rolconnlimit limits only against regular backends, and count only regular backends while checking if the limits were already reached. Those limits are meant to prevent excessive consumption of process slots for regular backends --- but parallel workers and other special processes have their own pools of process slots with their own limit checks.", "commit_aliases": ["15b4c46c3", "34486b609", "3d1ecc92a", "41a252c2c", "70d067cec", "c58b0c43d"], "source_commits": ["15b4c46c3"], "source_entry_id": "17.3/changes/003", "db_id": "cdeed81f629caa811ec702068133bc4a", "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671", "relations": [{"rule": 2, "type": "equivalent", "target": "15692fd4f27cce0d38dfac0945b320fe", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}}, {"rule": 2, "type": "equivalent", "target": "611cec6759e39a36e4e5aebd0f245e40", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}}, {"rule": 2, "type": "equivalent", "target": "7bdaf302950b9c4d73cfa637782e05d6", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}}, {"rule": 2, "type": "equivalent", "target": "959ccace4d122a3d6fb7a1620ff1b6cd", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "611cec6759e39a36e4e5aebd0f245e40", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "将并行工作进程排除在连接权限检查和限制之外", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}, "url": "/docs/compare/?release=16.7#16.7-5d0e5552310bdb12", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "7bdaf302950b9c4d73cfa637782e05d6", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "将并行工作进程排除在连接权限检查和限制之外", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}, "url": "/docs/compare/?release=15.11#15.11-eedafa207b080eca", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "959ccace4d122a3d6fb7a1620ff1b6cd", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "将并行工作进程排除在连接权限检查和限制之外", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}, "url": "/docs/compare/?release=14.16#14.16-be7c14323620943f", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "15692fd4f27cce0d38dfac0945b320fe", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "将并行工作进程排除在连接权限检查和限制之外", "evidence": {"same_day": true, "patch_ids": ["1a8a91c3571756085438fad51819dda2"], "statement_hash": "82ed0553f764eb7a515dd74f509a6745b833a676294cde2512d8d94e37edb671"}, "url": "/docs/compare/?release=13.19#13.19-6e033c2272312979", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-27d399a89699201b", "cves": [], "html": "<p>从 LWLock 等待事件名称中移除 <span>“<span>Lock</span>”</span> 后缀（Bertrand Drouvot）<a href=\"https://postgr.es/c/5ffbbcfa1\">§</a></p>\n<p>重构意外导致 <code>pg_stat_activity</code> 视图显示的锁相关等待事件名称带上了 <span>“<span>Lock</span>”</span> 后缀，这除其他影响外，还破坏了它与 <code>pg_wait_events</code> 的连接。</p>", "text": "从 LWLock 等待事件名称中移除 “Lock” 后缀（Bertrand Drouvot）§ 重构意外导致 pg_stat_activity 视图显示的锁相关等待事件名称带上了 “Lock” 后缀，这除其他影响外，还破坏了它与 pg_wait_events 的连接。", "title": "从 LWLock 等待事件名称中移除 “Lock” 后缀", "commits": ["5ffbbcfa1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "d2a995d056a884b4c4367064149c3a02b86ae31799fb8f63471f7fc37de6f65f", "section_path": ["变更"], "commit_groups": [["1e5ef3a2a", "5ffbbcfa1"]], "identity_text": "Drop Lock suffix from LWLock wait event names (Bertrand Drouvot) Refactoring unintentionally caused the pg_stat_activity view to show lock-related wait event names with a Lock suffix, which among other things broke joining it to pg_wait_events.", "commit_aliases": ["1e5ef3a2a", "5ffbbcfa1"], "source_commits": ["5ffbbcfa1"], "source_entry_id": "17.3/changes/004", "db_id": "156ac640d05a19cfa9138cc9415c788c", "patch_ids": ["72a7822f715ef46fbe4415c431fe961c"], "statement_hash": "1ccb92969322139f2be81afe96b1791ee94a15648a6756462a4520e99a6671c6", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-0d62439710b578bb", "cves": [], "html": "<p>修复带有 ScalarArrayOp（<code>= ANY</code>）条件的 B-树索引扫描可能无法返回所有匹配元组的问题（Peter Geoghegan）<a href=\"https://postgr.es/c/9e85b20da\">§</a></p>", "text": "修复带有 ScalarArrayOp（= ANY）条件的 B-树索引扫描可能无法返回所有匹配元组的问题（Peter Geoghegan）§", "title": "修复带有 ScalarArrayOp（= ANY）条件的 B-树索引扫描可能无法返回所有匹配元组的问题", "commits": ["9e85b20da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "874b58beab72f8c14bff1b2cb71bb358f014e0db0591aadf5ce9c2ec57cd9e5d", "section_path": ["变更"], "commit_groups": [["31b0a8f04", "9e85b20da"]], "identity_text": "Fix possible failure to return all matching tuples for a btree index scan with a ScalarArrayOp (= ANY) condition (Peter Geoghegan)", "commit_aliases": ["31b0a8f04", "9e85b20da"], "source_commits": ["9e85b20da"], "source_entry_id": "17.3/changes/005", "db_id": "089266612cee7b0253f29de36ee7d970", "patch_ids": ["999bd7f6e55e04cbd326c652a4322ca4"], "statement_hash": "4660e1308d8739cfbe43d0ab3385ab050cec185744e8c7a6d6483b3761f4ee55", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-f3848e6992b5ba8d", "cves": [], "html": "<p>修复窗口聚合中可能重用过时结果的问题（David Rowley）<a href=\"https://postgr.es/c/9d5ce4f1a\">§</a></p>\n<p>具有<span>“<span>运行条件</span>”</span>优化和按引用传递结果类型的窗口聚合可能错误地返回上一个分区的结果，而不是执行新的计算。</p>", "text": "修复窗口聚合中可能重用过时结果的问题（David Rowley）§ 具有“运行条件”优化和按引用传递结果类型的窗口聚合可能错误地返回上一个分区的结果，而不是执行新的计算。", "title": "修复窗口聚合中可能重用过时结果的问题", "commits": ["9d5ce4f1a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "079d16754e3c6b59efe95be2b2f1d433460eb3e675566a4491ff05fe3c9bcb0a", "section_path": ["变更"], "commit_groups": [["1fe5a347e", "9d5ce4f1a", "c1d6506ac", "d54378e98"]], "identity_text": "Fix possible re-use of stale results in window aggregates (David Rowley) A window aggregate with a run condition optimization and a pass-by-reference result type might incorrectly return the result from the previous partition instead of performing a fresh calculation.", "commit_aliases": ["1fe5a347e", "9d5ce4f1a", "c1d6506ac", "d54378e98"], "source_commits": ["9d5ce4f1a"], "source_entry_id": "17.3/changes/006", "db_id": "8e257e8176086cef546cb8c600a2fb7b", "patch_ids": ["dc92bb8a053fda23c6cdbb5d527dab86"], "statement_hash": "3348968e1772f69b37843c78b6190a0dfa50788f92ee1c5992a55373fd833936", "relations": [{"rule": 2, "type": "equivalent", "target": "c57a5e58b3071a80c1237977113f07bc", "evidence": {"same_day": true, "patch_ids": ["dc92bb8a053fda23c6cdbb5d527dab86"], "statement_hash": "3348968e1772f69b37843c78b6190a0dfa50788f92ee1c5992a55373fd833936"}}, {"rule": 2, "type": "equivalent", "target": "ee143dad58aee392b913c703e066d97d", "evidence": {"same_day": true, "patch_ids": ["dc92bb8a053fda23c6cdbb5d527dab86"], "statement_hash": "3348968e1772f69b37843c78b6190a0dfa50788f92ee1c5992a55373fd833936"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c57a5e58b3071a80c1237977113f07bc", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复窗口聚合中可能重用过时结果的问题", "evidence": {"same_day": true, "patch_ids": ["dc92bb8a053fda23c6cdbb5d527dab86"], "statement_hash": "3348968e1772f69b37843c78b6190a0dfa50788f92ee1c5992a55373fd833936"}, "url": "/docs/compare/?release=16.7#16.7-b15a407e0c13a1e0", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "ee143dad58aee392b913c703e066d97d", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复窗口聚合中可能重用过时结果的问题", "evidence": {"same_day": true, "patch_ids": ["dc92bb8a053fda23c6cdbb5d527dab86"], "statement_hash": "3348968e1772f69b37843c78b6190a0dfa50788f92ee1c5992a55373fd833936"}, "url": "/docs/compare/?release=15.11#15.11-ff23c1f288dbecc9", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}]}, {"id": "17.3-64d8331c91e7da7b", "cves": [], "html": "<p>保持 <code>TransactionXmin</code> 与 <code>MyProc-&gt;xmin</code> 同步（Heikki Linnakangas）<a href=\"https://postgr.es/c/7cfdb4d1e\">§</a></p>\n<p>此疏忽可能允许进程尝试访问已被清理掉的数据。一个已知的后果是出现临时性的 <span>“<span>could not access status of transaction</span>”</span> 错误。</p>", "text": "保持 TransactionXmin 与 MyProc->xmin 同步（Heikki Linnakangas）§ 此疏忽可能允许进程尝试访问已被清理掉的数据。一个已知的后果是出现临时性的 “could not access status of transaction” 错误。", "title": "保持 TransactionXmin 与 MyProc->xmin 同步", "commits": ["7cfdb4d1e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "0b808d6a00a8bc3ca48ebf76a3094e02d333a5173262571d9bbf74d69f4e532f", "section_path": ["变更"], "commit_groups": [["41eafbb49", "578a7fe7b", "7cfdb4d1e", "9c1afd344", "9d8ab2c46", "acd5c28db"]], "identity_text": "Keep TransactionXmin in sync with MyProc->xmin (Heikki Linnakangas) This oversight could permit a process to try to access data that had already been vacuumed away. One known consequence is transient could not access status of transaction errors.", "commit_aliases": ["41eafbb49", "578a7fe7b", "7cfdb4d1e", "9c1afd344", "9d8ab2c46", "acd5c28db"], "source_commits": ["7cfdb4d1e"], "source_entry_id": "17.3/changes/007", "db_id": "f41d1eff08bdff771230aeb8e3ed62d7", "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533", "relations": [{"rule": 2, "type": "equivalent", "target": "0f7d09315a70377991e6a72997b3ba55", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}}, {"rule": 2, "type": "equivalent", "target": "95bc5c6b6c30d84fe3e9651574bf0744", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}}, {"rule": 2, "type": "equivalent", "target": "b17ef1f417debb4410a01a0a5a78dc49", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}}, {"rule": 2, "type": "equivalent", "target": "c65490f6c757feec0acb4cae39b05bd5", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c65490f6c757feec0acb4cae39b05bd5", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "保持 TransactionXmin 与 MyProc->xmin 同步", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}, "url": "/docs/compare/?release=16.7#16.7-ab66fa2b5cecb35b", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "b17ef1f417debb4410a01a0a5a78dc49", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "保持 TransactionXmin 与 MyProc->xmin 同步", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}, "url": "/docs/compare/?release=15.11#15.11-10d6ee2ef80e51a0", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "0f7d09315a70377991e6a72997b3ba55", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "保持 TransactionXmin 与 MyProc->xmin 同步", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}, "url": "/docs/compare/?release=14.16#14.16-354f959d2328db47", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "95bc5c6b6c30d84fe3e9651574bf0744", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "保持 TransactionXmin 与 MyProc->xmin 同步", "evidence": {"same_day": true, "patch_ids": ["bc04e75a3557ff0fba978b0ee94d9217"], "statement_hash": "e1ee6f02ac8b75a16565bcc611feee1f00fac45626cbddd73089d3e79e6aa533"}, "url": "/docs/compare/?release=13.19#13.19-2a0429c69913222c", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-d49aa538a89c2e9d", "cves": [], "html": "<p>修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件（Heikki Linnakangas）<a href=\"https://postgr.es/c/96e61b279\">§</a></p>\n<p>例如，这可能导致在现有会话中无法使用新创建的函数。</p>", "text": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件（Heikki Linnakangas）§ 例如，这可能导致在现有会话中无法使用新创建的函数。", "title": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件", "commits": ["96e61b279"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "662ca51d925c2d31dbec3bb3d9efefc63560e98a991b4dbea3e90e7eb4ac40a5", "section_path": ["变更"], "commit_groups": [["91fc447c2", "96e61b279", "af8cd1639", "ce7c406f0", "f217c4105", "fce17c3a5"]], "identity_text": "Fix race condition that could cause failure to add a newly-inserted catalog entry to a catalog cache list (Heikki Linnakangas) This could result, for example, in failure to use a newly-created function within an existing session.", "commit_aliases": ["91fc447c2", "96e61b279", "af8cd1639", "ce7c406f0", "f217c4105", "fce17c3a5"], "source_commits": ["96e61b279"], "source_entry_id": "17.3/changes/008", "db_id": "f825fa61541437a3b4bb7f8ede4da592", "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13", "relations": [{"rule": 2, "type": "equivalent", "target": "428eec456d3609f76929a2b038f85e8a", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}}, {"rule": 2, "type": "equivalent", "target": "819024b2a3054af412673022665b0b12", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}}, {"rule": 2, "type": "equivalent", "target": "ba88944c6494770af7de1c741188a801", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}}, {"rule": 2, "type": "equivalent", "target": "cd11a1e538f07e62b6fc668dbd1402ac", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "819024b2a3054af412673022665b0b12", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}, "url": "/docs/compare/?release=16.7#16.7-d3e1ddb3e3b864fa", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "428eec456d3609f76929a2b038f85e8a", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}, "url": "/docs/compare/?release=15.11#15.11-27d7ae34526121f3", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "ba88944c6494770af7de1c741188a801", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}, "url": "/docs/compare/?release=14.16#14.16-e9c0b08aff686af1", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "cd11a1e538f07e62b6fc668dbd1402ac", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复可能导致无法将新插入的目录条目添加到目录缓存列表中的竞态条件", "evidence": {"same_day": true, "patch_ids": ["30a0b58db53c2dde7b527eb3351b6729"], "statement_hash": "0787edc695f81f699e49d8b9bb26054790beb156285a90f41a407c4582951c13"}, "url": "/docs/compare/?release=13.19#13.19-feed443fed43a11e", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-f3e54e13e653a3e5", "cves": [], "html": "<p>防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏（Noah Misch）<a href=\"https://postgr.es/c/1587f7b9f\">§</a> <a href=\"https://postgr.es/c/f4af4515b\">§</a></p>", "text": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏（Noah Misch）§ §", "title": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏", "commits": ["1587f7b9f", "f4af4515b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "e0679c83f4454c77543ac49188ea44d4d53de934da6e0297e106258c46e6e90e", "section_path": ["变更"], "commit_groups": [["1587f7b9f", "81772a495"], ["25e99483c", "8bfd2ceba", "9311fcb86", "d28cd3e7b", "dc02b98bd", "f4af4515b"]], "identity_text": "Prevent possible catalog corruption when a system catalog is vacuumed concurrently with an update (Noah Misch)", "commit_aliases": ["1587f7b9f", "25e99483c", "81772a495", "8bfd2ceba", "9311fcb86", "d28cd3e7b", "dc02b98bd", "f4af4515b"], "source_commits": ["1587f7b9f", "f4af4515b"], "source_entry_id": "17.3/changes/009", "db_id": "53e2d4d1a5f179c948796b4a85c497a0", "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382", "relations": [{"rule": 2, "type": "equivalent", "target": "1c538425f3222136473c1bd1f195a41c", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}}, {"rule": 2, "type": "equivalent", "target": "d552bf163f629e4ce3880b1314bf6e2f", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}}, {"rule": 2, "type": "equivalent", "target": "e2fc775ae660cbfe5909a35ba85930cf", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}}, {"rule": 2, "type": "equivalent", "target": "f3712147b2c17e6407c3aaa1c6b905b5", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "1c538425f3222136473c1bd1f195a41c", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}, "url": "/docs/compare/?release=16.7#16.7-a055f3b905c546b3", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "f3712147b2c17e6407c3aaa1c6b905b5", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}, "url": "/docs/compare/?release=15.11#15.11-a1d8fcc306540815", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "e2fc775ae660cbfe5909a35ba85930cf", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}, "url": "/docs/compare/?release=14.16#14.16-9f57888fe6641937", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "d552bf163f629e4ce3880b1314bf6e2f", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "防止在系统目录被并发更新时进行 vacuum 可能导致的目录损坏", "evidence": {"same_day": true, "patch_ids": ["1da4fd752464ea7b33c418f1ffc2761f", "5a322d332e5b2574706cfef626d68da0"], "statement_hash": "e69a8422a00ac3a14bdfa2cbfda1c75d28c90905a13e9a277cff4a0bc8136382"}, "url": "/docs/compare/?release=13.19#13.19-cb91e58d180e62e3", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-1628e1c1870a7451", "cves": [], "html": "<p>修复关系截断失败时的数据损坏问题（Thomas Munro）<a href=\"https://postgr.es/c/0350b876b\">§</a> <a href=\"https://postgr.es/c/66aaabe7a\">§</a> <a href=\"https://postgr.es/c/45aef9f6b\">§</a></p>\n<p>执行关系截断所需的文件系统调用可能会失败，导致磁盘上留下不一致的状态（例如，实际上恢复了已删除的数据）。我们无法真正阻止这种情况，但可以通过将此类失败提升为 PANIC 来进行恢复，这样可以通过从 WAL 重放到尝试截断之前来恢复一致性。这并不是一个非常理想的行为，但由于此类失败足够罕见，因此似乎是一个可以接受的解决方案。</p>", "text": "修复关系截断失败时的数据损坏问题（Thomas Munro）§ § § 执行关系截断所需的文件系统调用可能会失败，导致磁盘上留下不一致的状态（例如，实际上恢复了已删除的数据）。我们无法真正阻止这种情况，但可以通过将此类失败提升为 PANIC 来进行恢复，这样可以通过从 WAL 重放到尝试截断之前来恢复一致性。这并不是一个非常理想的行为，但由于此类失败足够罕见，因此似乎是一个可以接受的解决方案。", "title": "修复关系截断失败时的数据损坏问题", "commits": ["0350b876b", "45aef9f6b", "66aaabe7a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "093e4b0bd9aaf2e7ac4a3270f2d7dbdb836bd7b11d0dc678aa8f92d596edece1", "section_path": ["变更"], "commit_groups": [["0350b876b", "228091216", "23c743b64", "38c579b08", "ba02d24ba", "fb540b6aa"], ["049c8cb9a", "190054e61", "417d41c65", "45aef9f6b", "9defaaa1d"], ["3181befdc", "66aaabe7a", "a1d17a894", "c957d7444", "f154f028d"]], "identity_text": "Fix data corruption when relation truncation fails (Thomas Munro) The filesystem calls needed to perform relation truncation could fail, leaving inconsistent state on disk (for example, effectively reviving deleted data). We can't really prevent that, but we can recover by dint of making such failures into PANICs, so that consistency is restored by replaying from WAL up to just before the attempted truncation. This isn't a hugely desirable behavior, but such failures are rare enough that it seems an acceptable solution.", "commit_aliases": ["0350b876b", "049c8cb9a", "190054e61", "228091216", "23c743b64", "3181befdc", "38c579b08", "417d41c65", "45aef9f6b", "66aaabe7a", "9defaaa1d", "a1d17a894", "ba02d24ba", "c957d7444", "f154f028d", "fb540b6aa"], "source_commits": ["0350b876b", "45aef9f6b", "66aaabe7a"], "source_entry_id": "17.3/changes/010", "db_id": "c876272e00edeea60adb978f3ab1e194", "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90", "relations": [{"rule": 2, "type": "equivalent", "target": "29a3dd579cd7acb075f4eb7f34cadf6d", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}}, {"rule": 2, "type": "equivalent", "target": "6e2d54cee98be477c06d5503209286d2", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}}, {"rule": 2, "type": "equivalent", "target": "a705757c88e8dc114469492bca11380e", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}}, {"rule": 2, "type": "equivalent", "target": "affd693034e908911e8335280c40337c", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a705757c88e8dc114469492bca11380e", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复关系截断失败时的数据损坏问题", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}, "url": "/docs/compare/?release=16.7#16.7-adc6f7d2ce7990fa", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "6e2d54cee98be477c06d5503209286d2", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复关系截断失败时的数据损坏问题", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}, "url": "/docs/compare/?release=15.11#15.11-bfc0aa4fc8a74702", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "29a3dd579cd7acb075f4eb7f34cadf6d", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复关系截断失败时的数据损坏问题", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}, "url": "/docs/compare/?release=14.16#14.16-80a213144aae7b2c", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "affd693034e908911e8335280c40337c", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复关系截断失败时的数据损坏问题", "evidence": {"same_day": true, "patch_ids": ["13b727a8d3d7e0cd9bc0c3b68e1e7642", "22bba484f561f9abb1172fd40d38d02e", "ed7a32160204c88287960b3de8181d7c"], "statement_hash": "e288a5da590e21c8e69da460b1fc2e484df1e640552bad1d8e596c1194c10a90"}, "url": "/docs/compare/?release=13.19#13.19-122ddb0a90db2f62", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-39227326b9aa5e8e", "cves": [], "html": "<p>防止在关系截断期间启动检查点（Robert Haas）<a href=\"https://postgr.es/c/d4ffbf47b\">§</a></p>\n<p>这避免了一种竞态条件，即修改后的文件可能在完成检查点之前未被 fsync，从而在操作系统崩溃后不久产生数据损坏的风险。</p>", "text": "防止在关系截断期间启动检查点（Robert Haas）§ 这避免了一种竞态条件，即修改后的文件可能在完成检查点之前未被 fsync，从而在操作系统崩溃后不久产生数据损坏的风险。", "title": "防止在关系截断期间启动检查点", "commits": ["d4ffbf47b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "3f6c02553679a5f3646c52a5348ca34a871d6622075f66d4ae764c5eaae004cc", "section_path": ["变更"], "commit_groups": [["1168acbca", "75818b3af", "7d0b91a28", "a501fe5a9", "ad5aa7bfd", "d4ffbf47b"]], "identity_text": "Prevent checkpoints from starting during relation truncation (Robert Haas) This avoids a race condition wherein the modified file might not get fsync'd before completing the checkpoint, creating a risk of data corruption if the operating system crashes soon after.", "commit_aliases": ["1168acbca", "75818b3af", "7d0b91a28", "a501fe5a9", "ad5aa7bfd", "d4ffbf47b"], "source_commits": ["d4ffbf47b"], "source_entry_id": "17.3/changes/011", "db_id": "a574173fa6e03fae58fa4d27b0e1c766", "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d", "relations": [{"rule": 2, "type": "equivalent", "target": "470f2470a3f35434fb1d59ff2b3944f7", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}}, {"rule": 2, "type": "equivalent", "target": "48e63346cf5f2bd983ad4aa906ad04c3", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}}, {"rule": 2, "type": "equivalent", "target": "563d9f0f77b3eee26c49723296ec9b79", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}}, {"rule": 2, "type": "equivalent", "target": "b014a39e8931c48ade8177ec91e5da8e", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "48e63346cf5f2bd983ad4aa906ad04c3", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "防止在关系截断期间启动检查点", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}, "url": "/docs/compare/?release=16.7#16.7-d552b4e09791f05c", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "470f2470a3f35434fb1d59ff2b3944f7", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "防止在关系截断期间启动检查点", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}, "url": "/docs/compare/?release=15.11#15.11-be8211ced912411c", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "563d9f0f77b3eee26c49723296ec9b79", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "防止在关系截断期间启动检查点", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}, "url": "/docs/compare/?release=14.16#14.16-c9b2392b6b20c044", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "b014a39e8931c48ade8177ec91e5da8e", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "防止在关系截断期间启动检查点", "evidence": {"same_day": true, "patch_ids": ["c12b962bcfc7f1116a0a1e82ac97d466"], "statement_hash": "5a7f80ce273dd03c64be48fd9f34bac3e72ea14b376b7fd414f3f61971e9c70d"}, "url": "/docs/compare/?release=13.19#13.19-e9956e400bc3e5e5", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-8b723e176b0f446c", "cves": [], "html": "<p>避免在 <code>VACUUM</code> 与更改该数据库所有者的 <code>REASSIGN OWNED</code> 并发运行时可能丢失 <code>pg_database</code>.<code>datfrozenxid</code> 更新（Kirill Reshke）<a href=\"https://postgr.es/c/fa6131377\">§</a></p>", "text": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新（Kirill Reshke）§", "title": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新", "commits": ["fa6131377"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "57bafebb5d186556262fddef245da916e359fa085335c43ae511fee617343e3e", "section_path": ["变更"], "commit_groups": [["102546322", "536acda0b", "5d94aa4dc", "83bb52375", "fa6131377", "ff90ee614"]], "identity_text": "Avoid possibly losing an update of pg_database.datfrozenxid when VACUUM runs concurrently with a REASSIGN OWNED that changes that database's owner (Kirill Reshke)", "commit_aliases": ["102546322", "536acda0b", "5d94aa4dc", "83bb52375", "fa6131377", "ff90ee614"], "source_commits": ["fa6131377"], "source_entry_id": "17.3/changes/012", "db_id": "83e275474e47821b92f025b6e90139cf", "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4", "relations": [{"rule": 2, "type": "equivalent", "target": "524ee1859a9a3001a80e40e7b0a39b0b", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}}, {"rule": 2, "type": "equivalent", "target": "95b24594fb8dfba364e543d578552e82", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}}, {"rule": 2, "type": "equivalent", "target": "f7627264415aa2ab9fb18d0f94ac2d9d", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}}, {"rule": 2, "type": "equivalent", "target": "feb50589d281ea3e1b37054116fcc81e", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "524ee1859a9a3001a80e40e7b0a39b0b", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}, "url": "/docs/compare/?release=16.7#16.7-80f6efebe5169fa5", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "95b24594fb8dfba364e543d578552e82", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}, "url": "/docs/compare/?release=15.11#15.11-5610643fcb43a3fe", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "feb50589d281ea3e1b37054116fcc81e", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}, "url": "/docs/compare/?release=14.16#14.16-3c647ec0597ac4c4", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "f7627264415aa2ab9fb18d0f94ac2d9d", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "避免在 VACUUM 与更改该数据库所有者的 REASSIGN OWNED 并发运行时可能丢失 pg_database.datfrozenxid 更新", "evidence": {"same_day": true, "patch_ids": ["b6a0d195c978f1e57d8c1f021f276468"], "statement_hash": "1d1026625c7d5c5cf058f81b8def7d331e66adf63ae251ea55f0e7f0cc8541b4"}, "url": "/docs/compare/?release=13.19#13.19-ab0c90bf54d9f5c2", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-e511638002b0a923", "cves": [], "html": "<p>修复传递给 <code>AFTER UPDATE</code> 触发器的不正确 <code>tg_updatedcols</code> 值（Tom Lane）<a href=\"https://postgr.es/c/2b72fed2d\">§</a></p>\n<p>在某些情况下，<code>tg_updatedcols</code> 位图可能描述的是同一事务中较早命令更新的列集合，从而导致触发器做出错误的操作。</p>\n<p>同时，防止由于制作过多 <code>tg_updatedcols</code> 位图副本而导致的内存膨胀。</p>", "text": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值（Tom Lane）§ 在某些情况下，tg_updatedcols 位图可能描述的是同一事务中较早命令更新的列集合，从而导致触发器做出错误的操作。 同时，防止由于制作过多 tg_updatedcols 位图副本而导致的内存膨胀。", "title": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值", "commits": ["2b72fed2d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "9385220d4f21d1db101861dc1ad98c5aaacbecbe77079659575c2b327b058cf9", "section_path": ["变更"], "commit_groups": [["001c09d8b", "2b72fed2d", "308599305", "8c57f5485", "cdeed4de7", "ea68ea632"]], "identity_text": "Fix incorrect tg_updatedcols values passed to AFTER UPDATE triggers (Tom Lane) In some cases the tg_updatedcols bitmap could describe the set of columns updated by an earlier command in the same transaction, fooling the trigger into doing the wrong thing. Also, prevent memory bloat caused by making too many copies of the tg_updatedcols bitmap.", "commit_aliases": ["001c09d8b", "2b72fed2d", "308599305", "8c57f5485", "cdeed4de7", "ea68ea632"], "source_commits": ["2b72fed2d"], "source_entry_id": "17.3/changes/013", "db_id": "c6140d114e2b88402e84ac2376adfaed", "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038", "relations": [{"rule": 2, "type": "equivalent", "target": "25234cf13e328eb8a93c26e631925f08", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}}, {"rule": 2, "type": "equivalent", "target": "50e8ee2b0a0aa287efae573e27cb7b58", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}}, {"rule": 2, "type": "equivalent", "target": "c379fe0c55ce00f703f60214521a1296", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}}, {"rule": 2, "type": "equivalent", "target": "da1d05e172cbdd0f65139dfdb1379c23", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "50e8ee2b0a0aa287efae573e27cb7b58", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}, "url": "/docs/compare/?release=16.7#16.7-25e7d7fda3f0c685", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "25234cf13e328eb8a93c26e631925f08", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}, "url": "/docs/compare/?release=15.11#15.11-091abc3c4ed700b1", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "da1d05e172cbdd0f65139dfdb1379c23", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}, "url": "/docs/compare/?release=14.16#14.16-d7dbe77a2d3bf9f8", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "c379fe0c55ce00f703f60214521a1296", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复传递给 AFTER UPDATE 触发器的不正确 tg_updatedcols 值", "evidence": {"same_day": true, "patch_ids": ["935ea3d2c8941396d63af7511d0ae3f3"], "statement_hash": "424023c39dab88c81aa91a632bc171165fb296a8defacf4742f31103b4e6f038"}, "url": "/docs/compare/?release=13.19#13.19-56197f371c786612", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-4e7167d058648ef5", "cves": [], "html": "<p>修复具有自己引用分区表的外键约束的分区的分离操作（Amul Sul）<a href=\"https://postgr.es/c/2f30847d1\">§</a></p>\n<p>通常情况下，外键定义在分区表的顶层；但如果外键定义在分区上并引用分区表，且该引用分区被分离，则相关的 <code>pg_constraint</code> 条目会被错误更新。这导致类似 <span>“<span>could not find ON INSERT check triggers of foreign key constraint</span>”</span> 的错误。</p>", "text": "修复具有自己引用分区表的外键约束的分区的分离操作（Amul Sul）§ 通常情况下，外键定义在分区表的顶层；但如果外键定义在分区上并引用分区表，且该引用分区被分离，则相关的 pg_constraint 条目会被错误更新。这导致类似 “could not find ON INSERT check triggers of foreign key constraint” 的错误。", "title": "修复具有自己引用分区表的外键约束的分区的分离操作", "commits": ["2f30847d1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "bdae3b9bdc8dbceeffa00cb0541abd83c70f45fc89fd8f5d7a640d4315b134f9", "section_path": ["变更"], "commit_groups": [["1bc092519", "2f30847d1", "9b21f203d", "ddab512eb"]], "identity_text": "Fix detach of a partition that has its own foreign-key constraint referencing a partitioned table (Amul Sul) In common cases, foreign keys are defined on a partitioned table's top level; but if instead one is defined on a partition and references a partitioned table, and the referencing partition is detached, the relevant pg_constraint entries were updated incorrectly. This led to errors like could not find ON INSERT check triggers of foreign key constraint.", "commit_aliases": ["1bc092519", "2f30847d1", "9b21f203d", "ddab512eb"], "source_commits": ["2f30847d1"], "source_entry_id": "17.3/changes/014", "db_id": "f04e0d35cf7e0eda082db38466425128", "patch_ids": ["56a4adbaf336565b606904e16958f024"], "statement_hash": "f0c7c7f1e68f7ebac3a3fcca055db11a5d372eef947e4e5af75302976312afb3", "relations": [{"rule": 2, "type": "equivalent", "target": "3cbd5b2e1e43a85166a6b26e05a6a287", "evidence": {"same_day": true, "patch_ids": ["56a4adbaf336565b606904e16958f024"], "statement_hash": "f0c7c7f1e68f7ebac3a3fcca055db11a5d372eef947e4e5af75302976312afb3"}}, {"rule": 2, "type": "equivalent", "target": "62ea3270983b1201fc5c2f26b03a430b", "evidence": {"same_day": true, "patch_ids": ["56a4adbaf336565b606904e16958f024"], "statement_hash": "f0c7c7f1e68f7ebac3a3fcca055db11a5d372eef947e4e5af75302976312afb3"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3cbd5b2e1e43a85166a6b26e05a6a287", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复具有自己引用分区表的外键约束的分区的分离操作", "evidence": {"same_day": true, "patch_ids": ["56a4adbaf336565b606904e16958f024"], "statement_hash": "f0c7c7f1e68f7ebac3a3fcca055db11a5d372eef947e4e5af75302976312afb3"}, "url": "/docs/compare/?release=16.7#16.7-05a1926c939c4247", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "62ea3270983b1201fc5c2f26b03a430b", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复具有自己引用分区表的外键约束的分区的分离操作", "evidence": {"same_day": true, "patch_ids": ["56a4adbaf336565b606904e16958f024"], "statement_hash": "f0c7c7f1e68f7ebac3a3fcca055db11a5d372eef947e4e5af75302976312afb3"}, "url": "/docs/compare/?release=15.11#15.11-da8fddd51602d14b", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}]}, {"id": "17.3-c57872bbb7a3940c", "cves": [], "html": "<p>修复 <code>pg_get_constraintdef</code> 对域上的 <code>NOT NULL</code> 约束的支持（Álvaro Herrera）<a href=\"https://postgr.es/c/6e793582b\">§</a></p>", "text": "修复 pg_get_constraintdef 对域上的 NOT NULL 约束的支持（Álvaro Herrera）§", "title": "修复 pg_get_constraintdef 对域上的 NOT NULL 约束的支持", "commits": ["6e793582b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "b0d6e5aac55c51a7f11883e2aa494a712655c4cb18e2d3a55acf670cc150c5cd", "section_path": ["变更"], "commit_groups": [["09d09d429", "6e793582b"]], "identity_text": "Fix pg_get_constraintdef's support for NOT NULL constraints on domains (Álvaro Herrera)", "commit_aliases": ["09d09d429", "6e793582b"], "source_commits": ["6e793582b"], "source_entry_id": "17.3/changes/015", "db_id": "8e0473ae8bdb9fe6cbec83e8d6b3822f", "patch_ids": ["69f5f48f4df0b004484d18201fa5e5da"], "statement_hash": "0fd65c427fcc699c0d6a6ea3ff964764055025feac2c727af6b595ae73c4b80a", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-9a9b00da00a87b67", "cves": [], "html": "<p>修复 <code>to_timestamp</code> 的 <code>FF<em><code>n</code></em></code> 格式代码的错误处理（Tom Lane）<a href=\"https://postgr.es/c/765f76d8c\">§</a></p>\n<p>紧接在 <code>FF<em><code>n</code></em></code> 之前的整数格式代码会消耗所有可用数字，导致 <code>FF<em><code>n</code></em></code> 没有剩余数字可用。</p>", "text": "修复 to_timestamp 的 FFn 格式代码的错误处理（Tom Lane）§ 紧接在 FFn 之前的整数格式代码会消耗所有可用数字，导致 FFn 没有剩余数字可用。", "title": "修复 to_timestamp 的 FFn 格式代码的错误处理", "commits": ["765f76d8c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "65353d0405a0b7ea060e01cd1cdd0ad05b7bf6a583850ce0474559ee5d175f62", "section_path": ["变更"], "commit_groups": [["26c233b8b", "3220ceaf7", "5882a4ba0", "765f76d8c", "d2f59497a", "f2eba400b"]], "identity_text": "Fix mis-processing of to_timestamp's FFn format codes (Tom Lane) An integer format code immediately preceding FFn would consume all available digits, leaving none for FFn.", "commit_aliases": ["26c233b8b", "3220ceaf7", "5882a4ba0", "765f76d8c", "d2f59497a", "f2eba400b"], "source_commits": ["765f76d8c"], "source_entry_id": "17.3/changes/016", "db_id": "eebbf7931122f3c04edabca2c7f94fd5", "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02", "relations": [{"rule": 2, "type": "equivalent", "target": "708c25931a5a5533caafd45623f40f4e", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}}, {"rule": 2, "type": "equivalent", "target": "7dd3257020bebe52ff3ef900a18ebd7a", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}}, {"rule": 2, "type": "equivalent", "target": "8e1c73afd3add4e3b7f1e51ce24f9606", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}}, {"rule": 2, "type": "equivalent", "target": "b1940c983577bfa9cb74895b4b76c823", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8e1c73afd3add4e3b7f1e51ce24f9606", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 to_timestamp 的 FFn 格式代码的错误处理", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}, "url": "/docs/compare/?release=16.7#16.7-bbe18259859b42ba", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "7dd3257020bebe52ff3ef900a18ebd7a", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 to_timestamp 的 FFn 格式代码的错误处理", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}, "url": "/docs/compare/?release=15.11#15.11-42a91a93bce3135e", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "b1940c983577bfa9cb74895b4b76c823", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 to_timestamp 的 FFn 格式代码的错误处理", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}, "url": "/docs/compare/?release=14.16#14.16-ba07a3fc5ec3fd4f", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "708c25931a5a5533caafd45623f40f4e", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 to_timestamp 的 FFn 格式代码的错误处理", "evidence": {"same_day": true, "patch_ids": ["e85da8e7281d6de48c03128a3bd420a0"], "statement_hash": "0ce0d0598607e91ca2c1fa1dc72a19a1c97e74b3267461e9fb3d93af8f427b02"}, "url": "/docs/compare/?release=13.19#13.19-020ee4a1121d713d", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-e9d7b5adf36c245b", "cves": [], "html": "<p>在反解析 SQL/JSON 查询函数中的 <code>PASSING</code> 子句时，确保在必要时对变量名加双引号（Dean Rasheed）<a href=\"https://postgr.es/c/d037cc2af\">§</a></p>", "text": "在反解析 SQL/JSON 查询函数中的 PASSING 子句时，确保在必要时对变量名加双引号（Dean Rasheed）§", "title": "在反解析 SQL/JSON 查询函数中的 PASSING 子句时，确保在必要时对变量名加双引号", "commits": ["d037cc2af"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "7b755ce9c7696c1e42ce6eac505e38f37f826e0b39015e24f4710dccdd627693", "section_path": ["变更"], "commit_groups": [["a93e2a1e2", "d037cc2af"]], "identity_text": "When deparsing a PASSING clause in a SQL/JSON query function, ensure that variable names are double-quoted when necessary (Dean Rasheed)", "commit_aliases": ["a93e2a1e2", "d037cc2af"], "source_commits": ["d037cc2af"], "source_entry_id": "17.3/changes/017", "db_id": "26fabcd249f26ade9c50f28cf793a6c4", "patch_ids": ["589e983c2222c30f34d37c54e0ae0bd5"], "statement_hash": "e79ee3e6e7c03ef71833d7718fb9090f2851ecc5fd236c01a2c89fb9fb50f1d9", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-dde0befe430b8b5e", "cves": [], "html": "<p>在反解析 <code>XMLTABLE()</code> 表达式时，确保必要时对 XML 命名空间名称进行双引号引用（Dean Rasheed）<a href=\"https://postgr.es/c/61b12135f\">§</a></p>", "text": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用（Dean Rasheed）§", "title": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用", "commits": ["61b12135f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "e6b2bb80fa5dac22f8b9377e4d9943630964e768f869b7771f0b181e5d04ea2b", "section_path": ["变更"], "commit_groups": [["61b12135f", "77763f3be", "7c0379516", "8f137f038", "d673eefd4", "dc8cd9cd0"]], "identity_text": "When deparsing an XMLTABLE() expression, ensure that XML namespace names are double-quoted when necessary (Dean Rasheed)", "commit_aliases": ["61b12135f", "77763f3be", "7c0379516", "8f137f038", "d673eefd4", "dc8cd9cd0"], "source_commits": ["61b12135f"], "source_entry_id": "17.3/changes/018", "db_id": "0af53f7c5e3097855ee32aa6a1aa9e63", "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e", "relations": [{"rule": 2, "type": "equivalent", "target": "5b9c169b5e3dc82c53535371949050c0", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}}, {"rule": 2, "type": "equivalent", "target": "5df4b305447c7d90cf304fb82c7c9f98", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}}, {"rule": 2, "type": "equivalent", "target": "c5b2e691ba0b23e719d48e4df56bb6bd", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}}, {"rule": 2, "type": "equivalent", "target": "d695a15f74458f5d818787b3208305da", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "5b9c169b5e3dc82c53535371949050c0", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}, "url": "/docs/compare/?release=16.7#16.7-c02f19f51339be75", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "c5b2e691ba0b23e719d48e4df56bb6bd", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}, "url": "/docs/compare/?release=15.11#15.11-b33080fa6990693c", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "5df4b305447c7d90cf304fb82c7c9f98", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}, "url": "/docs/compare/?release=14.16#14.16-dad74e6ed75c1496", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "d695a15f74458f5d818787b3208305da", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在反解析 XMLTABLE() 表达式时，确保必要时对 XML 命名空间名称进行双引号引用", "evidence": {"same_day": true, "patch_ids": ["d13f899ef390ecf93a12c2222eeb5b28"], "statement_hash": "88f7934a7519b26eb7ad3346d897a29f296750feb41e2803869f844ae0478c2e"}, "url": "/docs/compare/?release=13.19#13.19-76acce2516207748", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-9d9d185c36c8eeaa", "cves": [], "html": "<p>在 <code>pg_hba_file_rules()</code> 输出中包含 <code>ldapscheme</code> 选项（Laurenz Albe）<a href=\"https://postgr.es/c/8ed9bf0a3\">§</a> <a href=\"https://postgr.es/c/dc24c9ad5\">§</a></p>", "text": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项（Laurenz Albe）§ §", "title": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项", "commits": ["8ed9bf0a3", "dc24c9ad5"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "a101e75bd6fc1da7ab02839fa3c8516449aeef2015f6eea5a68763525d93d51b", "section_path": ["变更"], "commit_groups": [["116036d81", "7b1f50d8c", "97698cc51", "9ad7a32b2", "9e596a099", "dc24c9ad5"], ["27a1f8d10", "830215a4c", "83ffb9f20", "84b8f6d9f", "8ed9bf0a3", "c35bbdfbc"]], "identity_text": "Include the ldapscheme option in pg_hba_file_rules() output (Laurenz Albe)", "commit_aliases": ["116036d81", "27a1f8d10", "7b1f50d8c", "830215a4c", "83ffb9f20", "84b8f6d9f", "8ed9bf0a3", "97698cc51", "9ad7a32b2", "9e596a099", "c35bbdfbc", "dc24c9ad5"], "source_commits": ["8ed9bf0a3", "dc24c9ad5"], "source_entry_id": "17.3/changes/019", "db_id": "d9ac57e3cd371a5fdb47562104ab7fc1", "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be", "relations": [{"rule": 2, "type": "equivalent", "target": "319120f2e1128d7ac81ef6f2e9a68157", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}}, {"rule": 2, "type": "equivalent", "target": "3be576a3440d7e460855c731abc91d37", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}}, {"rule": 2, "type": "equivalent", "target": "57067792917182bd98503a5f54f7a29b", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}}, {"rule": 2, "type": "equivalent", "target": "bdd807e964cdba787960242aac8215b6", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3be576a3440d7e460855c731abc91d37", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}, "url": "/docs/compare/?release=16.7#16.7-6b1f93f0a06562ea", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "57067792917182bd98503a5f54f7a29b", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}, "url": "/docs/compare/?release=15.11#15.11-ec09aa57ea9d25c6", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "319120f2e1128d7ac81ef6f2e9a68157", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}, "url": "/docs/compare/?release=14.16#14.16-4e97c6b911a46fe9", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "bdd807e964cdba787960242aac8215b6", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在 pg_hba_file_rules() 输出中包含 ldapscheme 选项", "evidence": {"same_day": true, "patch_ids": ["4ecc304f8a1f99db6880b6684fb3b5e7", "8b6740e71cfdaf35da50ba9b3f16f445"], "statement_hash": "e469a8a1f49c10d9e1f858460ec9591e2953d8d00772f62606d58a3a574860be"}, "url": "/docs/compare/?release=13.19#13.19-df9fe6b3e9261eb8", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-3c61e3cc9f40a0fc", "cves": [], "html": "<p>修复在输入列数据类型并不完全匹配时，对预排序 <code>UNION</code> 操作的规划（David Rowley）<a href=\"https://postgr.es/c/5db9367e5\">§</a></p>\n<p>这个错误可能导致使用错误的排序操作符对数据排序，后果从没有明显问题到 core dump 都有可能。</p>", "text": "修复在输入列数据类型并不完全匹配时，对预排序 UNION 操作的规划（David Rowley）§ 这个错误可能导致使用错误的排序操作符对数据排序，后果从没有明显问题到 core dump 都有可能。", "title": "修复在输入列数据类型并不完全匹配时，对预排序 UNION 操作的规划", "commits": ["5db9367e5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "4c0fa1c7b9d6df170f277a1c62eea447879847ee1e64adc7e54a86b7ab814672", "section_path": ["变更"], "commit_groups": [["231006451", "5db9367e5"]], "identity_text": "Fix planning of pre-sorted UNION operations for cases where the input column datatypes don't all match (David Rowley) This error could lead to sorting data with the wrong sort operator, with consequences ranging from no visible problem to core dumps.", "commit_aliases": ["231006451", "5db9367e5"], "source_commits": ["5db9367e5"], "source_entry_id": "17.3/changes/020", "db_id": "8a5b905645a09bdf8df8d30e0bf5ab9a", "patch_ids": ["39d0353486637aa5cf432e950d3cab85"], "statement_hash": "7518e261dc8a359ad3fb77473d13b675706f1c33ac3641455213b2d696d53732", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-755f2cde6c6720cf", "cves": [], "html": "<p>当列排序规则不一致时不合并 <code>UNION</code> 操作（Tom Lane）<a href=\"https://postgr.es/c/c1ebef3c1\">§</a></p>\n<p>之前在判断是否可以安全地将 <code>UNION</code> 步骤合并为单个 N 路 <code>UNION</code> 操作时忽略了排序规则。在引入非确定性排序规则之前这可能是合理的，但现在不再如此，因为使用中的排序规则可以影响唯一性的定义。</p>", "text": "当列排序规则不一致时不合并 UNION 操作（Tom Lane）§ 之前在判断是否可以安全地将 UNION 步骤合并为单个 N 路 UNION 操作时忽略了排序规则。在引入非确定性排序规则之前这可能是合理的，但现在不再如此，因为使用中的排序规则可以影响唯一性的定义。", "title": "当列排序规则不一致时不合并 UNION 操作", "commits": ["c1ebef3c1"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "9287970d25516e6c0afac3017756e9c6b9d75153ba2ad4de7604034ce838f891", "section_path": ["变更"], "commit_groups": [["44a4a521d", "6b66dba3f", "a43d7a8c7", "c1ebef3c1", "f286f64bc", "fd3383ff1"]], "identity_text": "Don't merge UNION operations if their column collations aren't consistent (Tom Lane) Previously we ignored collations when deciding if it's safe to merge UNION steps into a single N-way UNION operation. This was arguably valid before the introduction of nondeterministic collations, but it's not anymore, since the collation in use can affect the definition of uniqueness.", "commit_aliases": ["44a4a521d", "6b66dba3f", "a43d7a8c7", "c1ebef3c1", "f286f64bc", "fd3383ff1"], "source_commits": ["c1ebef3c1"], "source_entry_id": "17.3/changes/021", "db_id": "2fb73c801ce6dc16337ee00c1262319e", "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0", "relations": [{"rule": 2, "type": "equivalent", "target": "111faed7b6450b10fedc13d75c638679", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}}, {"rule": 2, "type": "equivalent", "target": "1444ed7aa9de17e7c28a13a09bdc3418", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}}, {"rule": 2, "type": "equivalent", "target": "19a77251c42923d7037a514bb57b2963", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}}, {"rule": 2, "type": "equivalent", "target": "5ebad87229837d71b10b4539321b1d1f", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "111faed7b6450b10fedc13d75c638679", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "当列排序规则不一致时不合并 UNION 操作", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}, "url": "/docs/compare/?release=16.7#16.7-99613d8b3b9f9bb8", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "5ebad87229837d71b10b4539321b1d1f", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "当列排序规则不一致时不合并 UNION 操作", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}, "url": "/docs/compare/?release=15.11#15.11-3bc96b27b19866c5", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "1444ed7aa9de17e7c28a13a09bdc3418", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "当列排序规则不一致时不合并 UNION 操作", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}, "url": "/docs/compare/?release=14.16#14.16-81cd147163df1037", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "19a77251c42923d7037a514bb57b2963", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "当列排序规则不一致时不合并 UNION 操作", "evidence": {"same_day": true, "patch_ids": ["fff35c5bdf05c934b8c81975f534605f"], "statement_hash": "884683c074c13fd34f4e3cc7b203545bc8c93cbb87902f7021352801237d7fa0"}, "url": "/docs/compare/?release=13.19#13.19-44f0b8d390639b1a", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-0322df66c1b6d2d4", "cves": [], "html": "<p>防止在将位于外连接下方的子查询上拉后出现 <span>“<span>wrong varnullingrels</span>”</span> 规划器错误（Tom Lane）<a href=\"https://postgr.es/c/72822a99d\">§</a> <a href=\"https://postgr.es/c/78883cd90\">§</a></p>", "text": "防止在将位于外连接下方的子查询上拉后出现 “wrong varnullingrels” 规划器错误（Tom Lane）§ §", "title": "防止在将位于外连接下方的子查询上拉后出现 “wrong varnullingrels” 规划器错误", "commits": ["72822a99d", "78883cd90"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "b7021901c6f06bdedffb57fac74f58843b40055f27086cb312a516b83b54d03a", "section_path": ["变更"], "commit_groups": [["5c9d8636d", "72822a99d", "85990e2fd"], ["78883cd90", "7b456f040", "e032e4c7d"]], "identity_text": "Prevent wrong varnullingrels planner errors after pulling up a subquery that's underneath an outer join (Tom Lane)", "commit_aliases": ["5c9d8636d", "72822a99d", "78883cd90", "7b456f040", "85990e2fd", "e032e4c7d"], "source_commits": ["72822a99d", "78883cd90"], "source_entry_id": "17.3/changes/022", "db_id": "35d6fcb358c16df19f7c8d219cc311a2", "patch_ids": ["8779e21e34c76266f909cace4bf46334", "cca7c628610742166bcfeb586b971a8d"], "statement_hash": "e51cd2872d798cf56d5fea424d6e175ef48b4df7592c4a95a1c52e7ec692aaf5", "relations": [{"rule": 2, "type": "equivalent", "target": "15e3faca0d01e2124183a4fe2a717da7", "evidence": {"same_day": true, "patch_ids": ["8779e21e34c76266f909cace4bf46334", "cca7c628610742166bcfeb586b971a8d"], "statement_hash": "e51cd2872d798cf56d5fea424d6e175ef48b4df7592c4a95a1c52e7ec692aaf5"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "15e3faca0d01e2124183a4fe2a717da7", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "防止在将位于外连接下方的子查询上拉后出现 “wrong varnullingrels” 规划器错误", "evidence": {"same_day": true, "patch_ids": ["8779e21e34c76266f909cace4bf46334", "cca7c628610742166bcfeb586b971a8d"], "statement_hash": "e51cd2872d798cf56d5fea424d6e175ef48b4df7592c4a95a1c52e7ec692aaf5"}, "url": "/docs/compare/?release=16.7#16.7-2973a8b31584eb94", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-2052529fad628663", "cves": [], "html": "<p>在查找统计信息时忽略 nulling-relation 标记位（Richard Guo）<a href=\"https://postgr.es/c/297b280ab\">§</a></p>\n<p>此疏忽可能导致未能使用关于表达式的相关统计信息，或出现 <span>“<span>corrupt MVNDistinct entry</span>”</span> 错误。</p>", "text": "在查找统计信息时忽略 nulling-relation 标记位（Richard Guo）§ 此疏忽可能导致未能使用关于表达式的相关统计信息，或出现 “corrupt MVNDistinct entry” 错误。", "title": "在查找统计信息时忽略 nulling-relation 标记位", "commits": ["297b280ab"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "51d6beafd80449489ed2b3975a5cd837086d8438ac4a09c2364b00b8e51df74b", "section_path": ["变更"], "commit_groups": [["297b280ab", "a1a9120c7", "e28033fe1"]], "identity_text": "Ignore nulling-relation marker bits when looking up statistics (Richard Guo) This oversight could lead to failure to use relevant statistics about expressions, or to corrupt MVNDistinct entry errors.", "commit_aliases": ["297b280ab", "a1a9120c7", "e28033fe1"], "source_commits": ["297b280ab"], "source_entry_id": "17.3/changes/023", "db_id": "4a7b2af0753b35ec155e5155ce304110", "patch_ids": ["101d91c908f087d8a718ce1891305aaf"], "statement_hash": "6aeaa1d32c6cf0a1044a748ef2ee197c84c9ce13bc46ff0b73d099c2527f2951", "relations": [{"rule": 2, "type": "equivalent", "target": "256cc3b4dcc5eaf921a1d651a2c67e80", "evidence": {"same_day": true, "patch_ids": ["101d91c908f087d8a718ce1891305aaf"], "statement_hash": "6aeaa1d32c6cf0a1044a748ef2ee197c84c9ce13bc46ff0b73d099c2527f2951"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "256cc3b4dcc5eaf921a1d651a2c67e80", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在查找统计信息时忽略 nulling-relation 标记位", "evidence": {"same_day": true, "patch_ids": ["101d91c908f087d8a718ce1891305aaf"], "statement_hash": "6aeaa1d32c6cf0a1044a748ef2ee197c84c9ce13bc46ff0b73d099c2527f2951"}, "url": "/docs/compare/?release=16.7#16.7-686d9c5e0e07b261", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-13c2873d21939448", "cves": [], "html": "<p>修复分区剪枝步骤中遗漏的表达式处理（Tom Lane）<a href=\"https://postgr.es/c/0671a71e0\">§</a></p>\n<p>此疏忽可能导致在访问分区表的查询中出现 <span>“<span>unrecognized node type</span>”</span> 错误以及其他可能的问题。</p>", "text": "修复分区剪枝步骤中遗漏的表达式处理（Tom Lane）§ 此疏忽可能导致在访问分区表的查询中出现 “unrecognized node type” 错误以及其他可能的问题。", "title": "修复分区剪枝步骤中遗漏的表达式处理", "commits": ["0671a71e0"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "b1e70c8965fb45c0ec3a66a77ba906db8ec212a8dfd6b29112db0977e2024d2e", "section_path": ["变更"], "commit_groups": [["0671a71e0", "45004f527", "5f725648f", "724ebebb1", "94c02bd33", "bf826ea06"]], "identity_text": "Fix missed expression processing for partition pruning steps (Tom Lane) This oversight could lead to unrecognized node type errors, and perhaps other problems, in queries accessing partitioned tables.", "commit_aliases": ["0671a71e0", "45004f527", "5f725648f", "724ebebb1", "94c02bd33", "bf826ea06"], "source_commits": ["0671a71e0"], "source_entry_id": "17.3/changes/024", "db_id": "54bec316da2ce059adbac0a0dbc8e9b6", "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b", "relations": [{"rule": 2, "type": "equivalent", "target": "64aaf6067e2f499a849b519969ab7e4b", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}}, {"rule": 2, "type": "equivalent", "target": "92378b1193935bbe98423ded57c0f7a0", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}}, {"rule": 2, "type": "equivalent", "target": "d03371888cc7150b3deafc4ad1b65c61", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}}, {"rule": 2, "type": "equivalent", "target": "f57a46c5163b3e5919b130be79f25ce5", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "92378b1193935bbe98423ded57c0f7a0", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复分区剪枝步骤中遗漏的表达式处理", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}, "url": "/docs/compare/?release=16.7#16.7-7e432f19a9f91448", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "f57a46c5163b3e5919b130be79f25ce5", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复分区剪枝步骤中遗漏的表达式处理", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}, "url": "/docs/compare/?release=15.11#15.11-126d9ceb0a19d1f7", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "d03371888cc7150b3deafc4ad1b65c61", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复分区剪枝步骤中遗漏的表达式处理", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}, "url": "/docs/compare/?release=14.16#14.16-e76cb5deecce3a19", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "64aaf6067e2f499a849b519969ab7e4b", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复分区剪枝步骤中遗漏的表达式处理", "evidence": {"same_day": true, "patch_ids": ["5551cc7fd0dd9d66c578783ac84f1896"], "statement_hash": "a179f258a05f2c3cfdf6806107736461e71d0130f204ff5a764c84b4d924406b"}, "url": "/docs/compare/?release=13.19#13.19-bb60e571dcd1116e", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-7c4722ae3aba8c2f", "cves": [], "html": "<p>为 slotsync 工作进程提供独立的进程槽位（Tom Lane、Hou Zhijie）<a href=\"https://postgr.es/c/14141bbbc\">§</a></p>\n<p>在加入 slotsync 工作进程时忽略了这一点，结果它的进程槽位实际上是从供常规后端进程使用的池中占用的。如果常规后端进程数量逼近 <code>max_connections</code>，这可能导致该工作进程无法启动，或使后续本应按配置成功的连接请求失败。</p>", "text": "为 slotsync 工作进程提供独立的进程槽位（Tom Lane、Hou Zhijie）§ 在加入 slotsync 工作进程时忽略了这一点，结果它的进程槽位实际上是从供常规后端进程使用的池中占用的。如果常规后端进程数量逼近 max_connections，这可能导致该工作进程无法启动，或使后续本应按配置成功的连接请求失败。", "title": "为 slotsync 工作进程提供独立的进程槽位", "commits": ["14141bbbc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c182ecb2dbe557a655de70fb516f4e73e008ee0a26083f98634d0de6003fa104", "section_path": ["变更"], "commit_groups": [["14141bbbc", "2bdf1b2a2"]], "identity_text": "Give the slotsync worker process its own process slot (Tom Lane, Hou Zhijie) This was overlooked in the addition of the slotsync worker, with the result that its process slot effectively came out of the pool meant for regular backend processes. This could result in failure to launch the worker, or to subsequent failures of connection requests that should have succeeded according to the configured settings, if the number of regular backend processes approached max_connections.", "commit_aliases": ["14141bbbc", "2bdf1b2a2"], "source_commits": ["14141bbbc"], "source_entry_id": "17.3/changes/025", "db_id": "326c64032419e35582e0d6d2f7f803e7", "patch_ids": ["29916616ee2e544a119c9993a3807381"], "statement_hash": "3c67c35e6656be8e243de3a938fb9c17a56f75b7620494f1aafb42a585f841b8", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-01e60c1471a16974", "cves": [], "html": "<p>允许 dshash 表增长超过 1GB（Matthias van de Meent）<a href=\"https://postgr.es/c/18452b70a\">§</a></p>\n<p>这避免了诸如 <span>“<span>invalid DSA memory alloc request size</span>”</span> 之类的错误。例如，在处理数百万个表的事务中可能会出现这种情况。</p>", "text": "允许 dshash 表增长超过 1GB（Matthias van de Meent）§ 这避免了诸如 “invalid DSA memory alloc request size” 之类的错误。例如，在处理数百万个表的事务中可能会出现这种情况。", "title": "允许 dshash 表增长超过 1GB", "commits": ["18452b70a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "2f6a08495b4a911652bcf7129394e8650e488370a5acec8ea19ec4db7568c105", "section_path": ["变更"], "commit_groups": [["18452b70a", "2a7402322", "84dc1303c", "84f1b0b03", "853cef097", "9f7b7d516"]], "identity_text": "Allow dshash tables to grow past 1GB (Matthias van de Meent) This avoids errors like invalid DSA memory alloc request size. The case can occur for example in transactions that process several million tables.", "commit_aliases": ["18452b70a", "2a7402322", "84dc1303c", "84f1b0b03", "853cef097", "9f7b7d516"], "source_commits": ["18452b70a"], "source_entry_id": "17.3/changes/026", "db_id": "6356be9dc3a4ccb3d25583a601b052d7", "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8", "relations": [{"rule": 2, "type": "equivalent", "target": "559be1008e5dc3b8471a163d74e0e555", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}}, {"rule": 2, "type": "equivalent", "target": "c1707a3dbd154a011972a406a0fe3177", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}}, {"rule": 2, "type": "equivalent", "target": "c32bee4d5d51b2dfdb45db1d2db22cb1", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}}, {"rule": 2, "type": "equivalent", "target": "c51c9c918546c72f7a773592db3d7108", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "c1707a3dbd154a011972a406a0fe3177", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "允许 dshash 表增长超过 1GB", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}, "url": "/docs/compare/?release=16.7#16.7-0c925e1e9ecd0922", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "c32bee4d5d51b2dfdb45db1d2db22cb1", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "允许 dshash 表增长超过 1GB", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}, "url": "/docs/compare/?release=15.11#15.11-bd0deef2a9ca340c", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "559be1008e5dc3b8471a163d74e0e555", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "允许 dshash 表增长超过 1GB", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}, "url": "/docs/compare/?release=14.16#14.16-d37432d80add9128", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "c51c9c918546c72f7a773592db3d7108", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "允许 dshash 表增长超过 1GB", "evidence": {"same_day": true, "patch_ids": ["4a1c75d9a6546bdd5d261ba5d3a227c1"], "statement_hash": "faf10a7922a2f18a9774d93e321afa5a0c92f8c3c8987552c55415bd13c387e8"}, "url": "/docs/compare/?release=13.19#13.19-6c810fa8b81fd565", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-a04d6e576513146f", "cves": [], "html": "<p>避免 <code>bringetbitmap()</code> 中可能的整数溢出（James Hunter，Evgeniy Gorbanyov）<a href=\"https://postgr.es/c/e027ee990\">§</a></p>\n<p>由于结果仅用于统计目的，此错误的影响大多是修饰性的。</p>", "text": "避免 bringetbitmap() 中可能的整数溢出（James Hunter，Evgeniy Gorbanyov）§ 由于结果仅用于统计目的，此错误的影响大多是修饰性的。", "title": "避免 bringetbitmap() 中可能的整数溢出", "commits": ["e027ee990"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "db1e247a656bf848d0c8903fb2b67adb5c3c1a36ad4331b143343f6dd458430d", "section_path": ["变更"], "commit_groups": [["332023e2d", "720e52984", "9e9f30139", "bfda7d8dd", "e027ee990", "e35ff6520"]], "identity_text": "Avoid possible integer overflow in bringetbitmap() (James Hunter, Evgeniy Gorbanyov) Since the result is only used for statistical purposes, the effects of this error were mostly cosmetic.", "commit_aliases": ["332023e2d", "720e52984", "9e9f30139", "bfda7d8dd", "e027ee990", "e35ff6520"], "source_commits": ["e027ee990"], "source_entry_id": "17.3/changes/027", "db_id": "3382e0a80f8ca0563eb8cac40f2d851b", "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec", "relations": [{"rule": 2, "type": "equivalent", "target": "1fe83d7e0b7aa17a1f0f729b4a0c12f0", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}}, {"rule": 2, "type": "equivalent", "target": "3c029255e641bec15f2ee6842ff93a77", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}}, {"rule": 2, "type": "equivalent", "target": "4c0001cec4b021e935b71b3a37aa73fe", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}}, {"rule": 2, "type": "equivalent", "target": "921aaf580d2aca9ce93450c0492e7423", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "921aaf580d2aca9ce93450c0492e7423", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "避免 bringetbitmap() 中可能的整数溢出", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}, "url": "/docs/compare/?release=16.7#16.7-b97ed85237994136", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "1fe83d7e0b7aa17a1f0f729b4a0c12f0", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "避免 bringetbitmap() 中可能的整数溢出", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}, "url": "/docs/compare/?release=15.11#15.11-4f9db6103a233435", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "4c0001cec4b021e935b71b3a37aa73fe", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "避免 bringetbitmap() 中可能的整数溢出", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}, "url": "/docs/compare/?release=14.16#14.16-b175488683721a19", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "3c029255e641bec15f2ee6842ff93a77", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "避免 bringetbitmap() 中可能的整数溢出", "evidence": {"same_day": true, "patch_ids": ["43a263cfc4076d37afa82ad82a07bdb5"], "statement_hash": "0df21d34231d373da53a6bee55e2b328ac8048d21323da7f65a482bc0db673ec"}, "url": "/docs/compare/?release=13.19#13.19-65695708975bb439", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-c2f171528715b535", "cves": [], "html": "<p>纠正 SLRU bank 编号的错误计算（Yura Sokolov）<a href=\"https://postgr.es/c/ffd9b8134\">§</a></p>\n<p>这个错误导致实际使用的 bank 数量少于预期，从而增加了争用，但没有造成功能性错误。</p>", "text": "纠正 SLRU bank 编号的错误计算（Yura Sokolov）§ 这个错误导致实际使用的 bank 数量少于预期，从而增加了争用，但没有造成功能性错误。", "title": "纠正 SLRU bank 编号的错误计算", "commits": ["ffd9b8134"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "82a10634e470f5b993f3a964eeb4c10caf067817cbe0e1eabd472f9c9963c7c6", "section_path": ["变更"], "commit_groups": [["69ab44651", "ffd9b8134"]], "identity_text": "Correct miscalculation of SLRU bank numbers (Yura Sokolov) This error led to using a smaller number of banks than intended, causing more contention but no functional misbehavior.", "commit_aliases": ["69ab44651", "ffd9b8134"], "source_commits": ["ffd9b8134"], "source_entry_id": "17.3/changes/028", "db_id": "216f0c7358444cb2df9e276de347f887", "patch_ids": ["299e029e15e9d372c2d63ff539321951"], "statement_hash": "6ba7796d82c715c0dccbd07be182a9adcaad244e491ba9f29c43e6d88d277ecf", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-2f52ccd04b3c82e8", "cves": [], "html": "<p>确保已设置的进程锁存器不会阻止 postmaster 注意到套接字事件（Thomas Munro）<a href=\"https://postgr.es/c/44f400fbc\">§</a></p>\n<p>在后端启动工作进程和工作进程退出的极重工作负载下，可能导致 postmaster 无法及时响应传入的客户端连接。</p>", "text": "确保已设置的进程锁存器不会阻止 postmaster 注意到套接字事件（Thomas Munro）§ 在后端启动工作进程和工作进程退出的极重工作负载下，可能导致 postmaster 无法及时响应传入的客户端连接。", "title": "确保已设置的进程锁存器不会阻止 postmaster 注意到套接字事件", "commits": ["44f400fbc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "a75cdcaba96806a11c4fe2d50e5c586d1a28448e45f208e12b67aa2f5acb8d72", "section_path": ["变更"], "commit_groups": [["44f400fbc", "73f6b9a3b", "b4b52c911"]], "identity_text": "Ensure that an already-set process latch doesn't prevent the postmaster from noticing socket events (Thomas Munro) An extremely heavy workload of backends launching workers and workers exiting could prevent the postmaster from responding to incoming client connections in a timely fashion.", "commit_aliases": ["44f400fbc", "73f6b9a3b", "b4b52c911"], "source_commits": ["44f400fbc"], "source_entry_id": "17.3/changes/029", "db_id": "0aeeea30a1398421ffc19c9b88e3d47d", "patch_ids": ["26f3c294fc4c7a4dc5f79c68f8c5e836"], "statement_hash": "7043ffdabadf088472c9cf1cc1be25f1750238a6e51989cbe311cbc8af37dbf1", "relations": [{"rule": 2, "type": "equivalent", "target": "58f560957a49bc1a7b13f51ab753f20d", "evidence": {"same_day": true, "patch_ids": ["26f3c294fc4c7a4dc5f79c68f8c5e836"], "statement_hash": "7043ffdabadf088472c9cf1cc1be25f1750238a6e51989cbe311cbc8af37dbf1"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "58f560957a49bc1a7b13f51ab753f20d", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "确保已设置的进程锁存器不会阻止 postmaster 注意到套接字事件", "evidence": {"same_day": true, "patch_ids": ["26f3c294fc4c7a4dc5f79c68f8c5e836"], "statement_hash": "7043ffdabadf088472c9cf1cc1be25f1750238a6e51989cbe311cbc8af37dbf1"}, "url": "/docs/compare/?release=16.7#16.7-c9b569de46610159", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-e9e73d99c1cfb098", "cves": [], "html": "<p>防止流复制备库在读取跨页的 WAL 记录时无限循环（Kyotaro Horiguchi，Alexander Kukushkin）<a href=\"https://postgr.es/c/e6767c0ed\">§</a></p>\n<p>当记录的后续部分位于需要从不同 WAL 源读取的页面上时会发生此问题。</p>", "text": "防止流复制备库在读取跨页的 WAL 记录时无限循环（Kyotaro Horiguchi，Alexander Kukushkin）§ 当记录的后续部分位于需要从不同 WAL 源读取的页面上时会发生此问题。", "title": "防止流复制备库在读取跨页的 WAL 记录时无限循环", "commits": ["e6767c0ed"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "a1050799aa81cb51f035413fc9678175572d40e2f730dcf3275fe19b5470294f", "section_path": ["变更"], "commit_groups": [["0f0431e91", "26554facc", "2c2e1d4f4", "6cf1647d8", "a2d4f806c", "e6767c0ed"]], "identity_text": "Prevent streaming standby servers from looping infinitely when reading a WAL record that crosses pages (Kyotaro Horiguchi, Alexander Kukushkin) This would happen when the record's continuation is on a page that needs to be read from a different WAL source.", "commit_aliases": ["0f0431e91", "26554facc", "2c2e1d4f4", "6cf1647d8", "a2d4f806c", "e6767c0ed"], "source_commits": ["e6767c0ed"], "source_entry_id": "17.3/changes/030", "db_id": "6659c5f8e0df6f1f962f8df015c68b49", "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac", "relations": [{"rule": 2, "type": "equivalent", "target": "44f9cbeda7bc216ab467698d3eef592e", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}}, {"rule": 2, "type": "equivalent", "target": "67dafb471f2271a6320dfe0f290a0ce0", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}}, {"rule": 2, "type": "equivalent", "target": "76f611c374c0323f13dc341fb4721c32", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}}, {"rule": 2, "type": "equivalent", "target": "fdc72a7668046cce65c8c39dedeb9249", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "44f9cbeda7bc216ab467698d3eef592e", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "防止流复制备库在读取跨页的 WAL 记录时无限循环", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}, "url": "/docs/compare/?release=16.7#16.7-df1eee243145f866", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "67dafb471f2271a6320dfe0f290a0ce0", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "防止流复制备库在读取跨页的 WAL 记录时无限循环", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}, "url": "/docs/compare/?release=15.11#15.11-9354a205b1e1b91e", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "76f611c374c0323f13dc341fb4721c32", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "防止流复制备库在读取跨页的 WAL 记录时无限循环", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}, "url": "/docs/compare/?release=14.16#14.16-b3b12c0bad0d0bc8", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fdc72a7668046cce65c8c39dedeb9249", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "防止流复制备库在读取跨页的 WAL 记录时无限循环", "evidence": {"same_day": true, "patch_ids": ["6bd1862645031c383d6f5fa3e87d128a"], "statement_hash": "8163d04f4c6709be020365b3558ab3cfb180c7df4e85776a541cc615047564ac"}, "url": "/docs/compare/?release=13.19#13.19-4169e9202c255d82", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-96bd4a8fad85c533", "cves": [], "html": "<p>修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题（Noah Misch）<a href=\"https://postgr.es/c/4bd9de3f4\">§</a></p>\n<p>这修复了一些不太可能发生的情况，这些情况会导致 <span>“<span>PANIC: proc_exit() called in child process</span>”</span>。</p>", "text": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题（Noah Misch）§ 这修复了一些不太可能发生的情况，这些情况会导致 “PANIC: proc_exit() called in child process”。", "title": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题", "commits": ["4bd9de3f4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "ccd86924ca15135af1380f6a6732387e0b1bcec3599ef597288229d498ead1d5", "section_path": ["变更"], "commit_groups": [["315264d70", "4bd9de3f4", "6151769f6", "839da50bd", "8b9cbf492", "ac4a2b403"]], "identity_text": "Fix unintended promotion of FATAL errors to PANIC during early process startup (Noah Misch) This fixes some unlikely cases that would result in PANIC: proc_exit() called in child process.", "commit_aliases": ["315264d70", "4bd9de3f4", "6151769f6", "839da50bd", "8b9cbf492", "ac4a2b403"], "source_commits": ["4bd9de3f4"], "source_entry_id": "17.3/changes/031", "db_id": "93eca6f7915b54f74b93e375c2513842", "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4", "relations": [{"rule": 2, "type": "equivalent", "target": "b14c042be747a937c3c74162b1b09321", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}}, {"rule": 2, "type": "equivalent", "target": "da9210bd08299df78861342f7e09c5d9", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}}, {"rule": 2, "type": "equivalent", "target": "f984d853bfadab0b79bd0501cc75f59c", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}}, {"rule": 2, "type": "equivalent", "target": "fc52476d2fcf5579cadcfd273916020c", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "b14c042be747a937c3c74162b1b09321", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}, "url": "/docs/compare/?release=16.7#16.7-795da8c683c4ad88", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "da9210bd08299df78861342f7e09c5d9", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}, "url": "/docs/compare/?release=15.11#15.11-e74c5a37c2620a7b", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "f984d853bfadab0b79bd0501cc75f59c", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}, "url": "/docs/compare/?release=14.16#14.16-a449a8f550e33341", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fc52476d2fcf5579cadcfd273916020c", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复在进程早期启动阶段 FATAL 错误被意外提升为 PANIC 的问题", "evidence": {"same_day": true, "patch_ids": ["3dc2ed380d29cd0391ceb9c75aa1e4af"], "statement_hash": "bb23336aef9609b55069d3a3682e82c4adb4c0d727e67333f854df824add2da4"}, "url": "/docs/compare/?release=13.19#13.19-e7ab576b34d2feae", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-c6abed0f8e2bb3a8", "cves": [], "html": "<p>修复操作符族成员操作符或支持函数可能成为悬空引用的情况（Tom Lane）<a href=\"https://postgr.es/c/ec7b89cc5\">§</a> <a href=\"https://postgr.es/c/5b44a317a\">§</a></p>\n<p>在某些情况下，数据类型可能在其 OID 引用仍然存在于 <code>pg_amop</code> 或 <code>pg_amproc</code> 中时被删除。虽然这不会立即造成问题，但尝试删除所属操作符族会失败，并且 <span>pg_dump</span> 在导出该操作符族时会产生错误的输出。此修复使操作符族/类的创建和修改添加必要的依赖条目，以便删除数据类型时也会删除任何依赖的操作符族元素。但这对已存在的有问题的操作符族没有帮助，因此还在 <code>DROP OPERATOR FAMILY</code> 中增加了一个应急措施，以防止在删除具有悬空成员的族时失败。</p>", "text": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况（Tom Lane）§ § 在某些情况下，数据类型可能在其 OID 引用仍然存在于 pg_amop 或 pg_amproc 中时被删除。虽然这不会立即造成问题，但尝试删除所属操作符族会失败，并且 pg_dump 在导出该操作符族时会产生错误的输出。此修复使操作符族/类的创建和修改添加必要的依赖条目，以便删除数据类型时也会删除任何依赖的操作符族元素。但这对已存在的有问题的操作符族没有帮助，因此还在 DROP OPERATOR FAMILY 中增加了一个应急措施，以防止在删除具有悬空成员的族时失败。", "title": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况", "commits": ["5b44a317a", "ec7b89cc5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "f832542ffe3441fbc0e57f7aa4b0329e7adda261a49f6c6c1b5ffc3b6834d831", "section_path": ["变更"], "commit_groups": [["0e4fa06ba", "1a34cf0f4", "3f9b96217", "725d98102", "be5db08ed", "ec7b89cc5"], ["531cbd8b7", "5b44a317a", "c82003760", "d40191467", "d9d5e1b48", "faad01835"]], "identity_text": "Fix cases where an operator family member operator or support procedure could become a dangling reference (Tom Lane) In some cases a data type could be dropped while references to its OID still remain in pg_amop or pg_amproc. While that caused no immediate issues, an attempt to drop the owning operator family would fail, and pg_dump would produce bogus output when dumping the operator family. This fix causes creation and modification of operator families/classes to add needed dependency entries so that dropping a data type will also drop any dependent operator family elements. That does not help vulnerable pre-existing operator families, though, so a band-aid has also been added to DROP OPERATOR FAMILY to prevent failure when dropping a family that has dangling members.", "commit_aliases": ["0e4fa06ba", "1a34cf0f4", "3f9b96217", "531cbd8b7", "5b44a317a", "725d98102", "be5db08ed", "c82003760", "d40191467", "d9d5e1b48", "ec7b89cc5", "faad01835"], "source_commits": ["5b44a317a", "ec7b89cc5"], "source_entry_id": "17.3/changes/032", "db_id": "b893b83469747828041e23575b6becad", "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356", "relations": [{"rule": 2, "type": "equivalent", "target": "3a292f4b1a44d4abe77ccc4ce2e3f615", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}}, {"rule": 2, "type": "equivalent", "target": "852c329ec3909d265b3bad80c3ac798b", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}}, {"rule": 2, "type": "equivalent", "target": "d861457038b8978ee33b63aff90940c4", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}}, {"rule": 2, "type": "equivalent", "target": "ffeb4a2fe1782672a84dc4d064b00e4a", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "d861457038b8978ee33b63aff90940c4", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}, "url": "/docs/compare/?release=16.7#16.7-c657434a0bda78ba", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "852c329ec3909d265b3bad80c3ac798b", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}, "url": "/docs/compare/?release=15.11#15.11-272efbabc61d005b", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "3a292f4b1a44d4abe77ccc4ce2e3f615", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}, "url": "/docs/compare/?release=14.16#14.16-59648940f61270ce", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "ffeb4a2fe1782672a84dc4d064b00e4a", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复操作符族成员操作符或支持函数可能成为悬空引用的情况", "evidence": {"same_day": true, "patch_ids": ["135c9629d93bad2ef92966c3a09523c8", "89d8a09d4223474aa10b54f36b93854b"], "statement_hash": "6ab3fdc7d8478fbf69f58ee61e9fa0f8851902d752a14f6b1fbf45071c292356"}, "url": "/docs/compare/?release=13.19#13.19-49d365b591d370b3", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-f8da83cc6b6fcff8", "cves": [], "html": "<p>修复逻辑解码输出中的多个内存泄漏（Vignesh C，Masahiko Sawada，Boyu Yang）<a href=\"https://postgr.es/c/836435424\">§</a> <a href=\"https://postgr.es/c/bbe68c13a\">§</a> <a href=\"https://postgr.es/c/afe9b0d9f\">§</a></p>", "text": "修复逻辑解码输出中的多个内存泄漏（Vignesh C，Masahiko Sawada，Boyu Yang）§ § §", "title": "修复逻辑解码输出中的多个内存泄漏", "commits": ["836435424", "afe9b0d9f", "bbe68c13a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "82746a4ab6079d6210e26f01c32c702bd624366894a4afb01a358d73927e8af9", "section_path": ["变更"], "commit_groups": [["4d45e7490", "6c9b39754", "ba230ce40", "bbe68c13a", "cfd6cbcf9"], ["6fc30c24c", "afe9b0d9f", "e749eaf46", "ea792bfd9"], ["836435424", "a786cf04d", "c53d90bb4", "c9b3d4909", "da8bd5d42", "e3a27fd06"]], "identity_text": "Fix multiple memory leaks in logical decoding output (Vignesh C, Masahiko Sawada, Boyu Yang)", "commit_aliases": ["4d45e7490", "6c9b39754", "6fc30c24c", "836435424", "a786cf04d", "afe9b0d9f", "ba230ce40", "bbe68c13a", "c53d90bb4", "c9b3d4909", "cfd6cbcf9", "da8bd5d42", "e3a27fd06", "e749eaf46", "ea792bfd9"], "source_commits": ["836435424", "afe9b0d9f", "bbe68c13a"], "source_entry_id": "17.3/changes/033", "db_id": "72d566e30a8d7b411efea718bcd02235", "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3", "relations": [{"rule": 2, "type": "equivalent", "target": "13d179398909add9970f46ab481b9189", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}}, {"rule": 2, "type": "equivalent", "target": "4d10718ab097a65a0eb68ddf6be4859c", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}}, {"rule": 2, "type": "equivalent", "target": "7b50a2183c182642d28afec0183d605b", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}}, {"rule": 2, "type": "equivalent", "target": "d3be3c9794f3530e444e4a59e5badd78", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "13d179398909add9970f46ab481b9189", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复逻辑解码输出中的多个内存泄漏", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}, "url": "/docs/compare/?release=16.7#16.7-8a82d9eb7b056fa3", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "d3be3c9794f3530e444e4a59e5badd78", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复逻辑解码输出中的多个内存泄漏", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}, "url": "/docs/compare/?release=15.11#15.11-4ddb503d2428c1e4", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "7b50a2183c182642d28afec0183d605b", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复逻辑解码输出中的多个内存泄漏", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}, "url": "/docs/compare/?release=14.16#14.16-bfc8d46c250ae217", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "4d10718ab097a65a0eb68ddf6be4859c", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复逻辑解码输出中的多个内存泄漏", "evidence": {"same_day": true, "patch_ids": ["083b3d92b52591987156749d03a56ca8", "29a2d645a1b73678c67988f3f9010a5b", "50035a0a455b496bdee09300ecbd87d5"], "statement_hash": "d36acd9215ab16034e1e7aa511f9ed84121072688abdeba96f8e7547f04a32f3"}, "url": "/docs/compare/?release=13.19#13.19-fbacd441376f2672", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-f47ade87d4a293b0", "cves": [], "html": "<p>修复更新 <code>application_name</code> 或 <code>cluster_name</code> 设置时的小型内存泄漏（Tofig Aliev）<a href=\"https://postgr.es/c/9add1bbfa\">§</a></p>", "text": "修复更新 application_name 或 cluster_name 设置时的小型内存泄漏（Tofig Aliev）§", "title": "修复更新 application_name 或 cluster_name 设置时的小型内存泄漏", "commits": ["9add1bbfa"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "4ea2d441e1a02ed799d34d35146cee374e47143f1ca05a954d7d6728092a64eb", "section_path": ["变更"], "commit_groups": [["73a392d23", "9add1bbfa", "be9dac9af"]], "identity_text": "Fix small memory leak when updating the application_name or cluster_name settings (Tofig Aliev)", "commit_aliases": ["73a392d23", "9add1bbfa", "be9dac9af"], "source_commits": ["9add1bbfa"], "source_entry_id": "17.3/changes/034", "db_id": "197d9b195e0bdcd3070be76a662a5a97", "patch_ids": ["268ecf9665c79ab81b9370efb075cb25"], "statement_hash": "ac7c5b7f138c33f89ab03a032c5df5a57f08eaa62e7e18580686176962c3fd75", "relations": [{"rule": 2, "type": "equivalent", "target": "897a40fd7ae4bc60e1564bcd0d694ba1", "evidence": {"same_day": true, "patch_ids": ["268ecf9665c79ab81b9370efb075cb25"], "statement_hash": "ac7c5b7f138c33f89ab03a032c5df5a57f08eaa62e7e18580686176962c3fd75"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "897a40fd7ae4bc60e1564bcd0d694ba1", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复更新 application_name 或 cluster_name 设置时的小型内存泄漏", "evidence": {"same_day": true, "patch_ids": ["268ecf9665c79ab81b9370efb075cb25"], "statement_hash": "ac7c5b7f138c33f89ab03a032c5df5a57f08eaa62e7e18580686176962c3fd75"}, "url": "/docs/compare/?release=16.7#16.7-d336a23747dfe511", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-c85bc489e532ebf5", "cves": [], "html": "<p>避免后台进程尝试检查 <code>synchronized_standby_slots</code> 的新值时崩溃（Álvaro Herrera）<a href=\"https://postgr.es/c/9abdc1841\">§</a></p>", "text": "避免后台进程尝试检查 synchronized_standby_slots 的新值时崩溃（Álvaro Herrera）§", "title": "避免后台进程尝试检查 synchronized_standby_slots 的新值时崩溃", "commits": ["9abdc1841"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "adcaab01d51b60b0ee1bc8b93d15d601eee345a080ba165402caf3baf754a54f", "section_path": ["变更"], "commit_groups": [["3c5f9f12c", "9abdc1841"]], "identity_text": "Avoid crash when a background process tries to check a new value of synchronized_standby_slots (Álvaro Herrera)", "commit_aliases": ["3c5f9f12c", "9abdc1841"], "source_commits": ["9abdc1841"], "source_entry_id": "17.3/changes/035", "db_id": "003f44d4ac35a5b700990c4bf08916d2", "patch_ids": ["646b07f2e67f61e1ef2987521a2f9336"], "statement_hash": "a1307adc72ab8fa64c9bc7b9ff82b8c01cdc3d090344fdfe845d0410b96997e1", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-8ac5d4bfbcbb5d25", "cves": [], "html": "<p>避免在测试 <code>wal_skip_threshold</code> 条件时的整数溢出（Tom Lane）<a href=\"https://postgr.es/c/1e25cdb21\">§</a></p>\n<p>创建非常大的关系的事务可能会错误地决定通过将关系复制到 WAL 而非 fsync 来确保持久性，从而否定了 <code>wal_skip_threshold</code> 的意义。（这仅在 <code>wal_level</code> 设置为 <code>minimal</code> 时才有影响，否则无论如何都需要 WAL 复制。）</p>", "text": "避免在测试 wal_skip_threshold 条件时的整数溢出（Tom Lane）§ 创建非常大的关系的事务可能会错误地决定通过将关系复制到 WAL 而非 fsync 来确保持久性，从而否定了 wal_skip_threshold 的意义。（这仅在 wal_level 设置为 minimal 时才有影响，否则无论如何都需要 WAL 复制。）", "title": "避免在测试 wal_skip_threshold 条件时的整数溢出", "commits": ["1e25cdb21"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c0e1f99de14b78c798a965f895eb3121b56369ca0093c60916aa8953f4f65984", "section_path": ["变更"], "commit_groups": [["1e25cdb21", "49a38238e", "6a33bb35c", "b296e55b4", "b9aa4166f", "f7a08b6e9"]], "identity_text": "Avoid integer overflow while testing wal_skip_threshold condition (Tom Lane) A transaction that created a very large relation could mistakenly decide to ensure durability by copying the relation into WAL instead of fsync'ing it, thereby negating the point of wal_skip_threshold. (This only matters when wal_level is set to minimal, else a WAL copy is required anyway.)", "commit_aliases": ["1e25cdb21", "49a38238e", "6a33bb35c", "b296e55b4", "b9aa4166f", "f7a08b6e9"], "source_commits": ["1e25cdb21"], "source_entry_id": "17.3/changes/036", "db_id": "4a9ab5b98b21a0bc98f070f7b4418bd1", "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756", "relations": [{"rule": 2, "type": "equivalent", "target": "036487ce99ab3583ec7787bf59ef67db", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}}, {"rule": 2, "type": "equivalent", "target": "3a1de6612b7098a5555f8182a10c837e", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}}, {"rule": 2, "type": "equivalent", "target": "5e4bc4c20438be304693151c71fe270f", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}}, {"rule": 2, "type": "equivalent", "target": "afb2181fa143ace342a9073cf70eb0d5", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "036487ce99ab3583ec7787bf59ef67db", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "避免在测试 wal_skip_threshold 条件时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}, "url": "/docs/compare/?release=16.7#16.7-05c92ca34032b9af", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "afb2181fa143ace342a9073cf70eb0d5", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "避免在测试 wal_skip_threshold 条件时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}, "url": "/docs/compare/?release=15.11#15.11-e87c8144e08244a1", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "5e4bc4c20438be304693151c71fe270f", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "避免在测试 wal_skip_threshold 条件时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}, "url": "/docs/compare/?release=14.16#14.16-68d081834c225ae2", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "3a1de6612b7098a5555f8182a10c837e", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "避免在测试 wal_skip_threshold 条件时的整数溢出", "evidence": {"same_day": true, "patch_ids": ["f1a52f661e637e66389e047df4aa3b74"], "statement_hash": "e3e007861ef1734eaaa59d0df0312aa4083d0a93d0be2378ccf29a914ddbc756"}, "url": "/docs/compare/?release=13.19#13.19-79b957ad36d76b77", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-8d8d78ef730d9b8d", "cves": [], "html": "<p>修复缓存查找期间不安全的操作顺序（Noah Misch）<a href=\"https://postgr.es/c/718af10da\">§</a></p>\n<p>唯一已知的后果是在 <code>GRANT TABLESPACE</code> 期间出现通常无害的 <span>“<span>you don't own a lock of type ExclusiveLock</span>”</span> 警告。</p>", "text": "修复缓存查找期间不安全的操作顺序（Noah Misch）§ 唯一已知的后果是在 GRANT TABLESPACE 期间出现通常无害的 “you don't own a lock of type ExclusiveLock” 警告。", "title": "修复缓存查找期间不安全的操作顺序", "commits": ["718af10da"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "fce4d6cb7588fd7b5c987ce1c98f7278b095af78c92eecd2fc98157b65092e96", "section_path": ["变更"], "commit_groups": [["01745fb04", "2690a4f5d", "4ba84de45", "718af10da", "941e0c0df", "c1285bbeb"]], "identity_text": "Fix unsafe order of operations during cache lookups (Noah Misch) The only known consequence was a usually-harmless you don't own a lock of type ExclusiveLock warning during GRANT TABLESPACE.", "commit_aliases": ["01745fb04", "2690a4f5d", "4ba84de45", "718af10da", "941e0c0df", "c1285bbeb"], "source_commits": ["718af10da"], "source_entry_id": "17.3/changes/037", "db_id": "b53b1fddaa6de9ea19c3a1df912082c6", "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7", "relations": [{"rule": 2, "type": "equivalent", "target": "29eaedf263d7d665738e5017df2fd61c", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}}, {"rule": 2, "type": "equivalent", "target": "396527e8aac8d78c2bd80385c5a0aa37", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}}, {"rule": 2, "type": "equivalent", "target": "6721f452728e6ed0252a28f8faefc5df", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}}, {"rule": 2, "type": "equivalent", "target": "cdb8b7e387eeffda2e95081967aca3e6", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "396527e8aac8d78c2bd80385c5a0aa37", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复缓存查找期间不安全的操作顺序", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}, "url": "/docs/compare/?release=16.7#16.7-ee9fae75cbd5256d", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "29eaedf263d7d665738e5017df2fd61c", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复缓存查找期间不安全的操作顺序", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}, "url": "/docs/compare/?release=15.11#15.11-e7337ac508adc939", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "cdb8b7e387eeffda2e95081967aca3e6", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复缓存查找期间不安全的操作顺序", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}, "url": "/docs/compare/?release=14.16#14.16-63b892d90f0858e7", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "6721f452728e6ed0252a28f8faefc5df", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复缓存查找期间不安全的操作顺序", "evidence": {"same_day": true, "patch_ids": ["90ce9a9c50755ab4800d4dff04ee45b2"], "statement_hash": "c3aeb5ac90f764b32fe5ea237ea7d7c20d7ba3cc7c2a6d746cabfa7e3a4444c7"}, "url": "/docs/compare/?release=13.19#13.19-b75073eb0ad357e2", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-2948a41ce2a7cffb", "cves": [], "html": "<p>避免并行清理中潜在的释放后使用问题（Vallimaharajan G、John Naylor）<a href=\"https://postgr.es/c/83ce20d67\">§</a></p>\n<p>这个 bug 在标准构建中似乎不会造成后果，但理论上仍然存在风险。</p>", "text": "避免并行清理中潜在的释放后使用问题（Vallimaharajan G、John Naylor）§ 这个 bug 在标准构建中似乎不会造成后果，但理论上仍然存在风险。", "title": "避免并行清理中潜在的释放后使用问题", "commits": ["83ce20d67"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "0708a93125bd1d8d9d5e2664e10f1e72d2299a25ce53ac32f2927ce6595551dc", "section_path": ["变更"], "commit_groups": [["83ce20d67", "ccc8194e4"]], "identity_text": "Avoid potential use-after-free in parallel vacuum (Vallimaharajan G, John Naylor) This bug seems to have no consequences in standard builds, but it's theoretically a hazard.", "commit_aliases": ["83ce20d67", "ccc8194e4"], "source_commits": ["83ce20d67"], "source_entry_id": "17.3/changes/038", "db_id": "547833d0a4e833205982bea5b210cce9", "patch_ids": ["06a4778621170aff8a7af6ea38fca11c"], "statement_hash": "0d602dd086c0319e5ee123ad3bc1e03421292dda3e13b6e9b6c6abc084efa63c", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-b69a7beee297aecf", "cves": [], "html": "<p>修复在较旧 ARM 平台上使用 JIT 时可能出现的 <span>“<span>failed to resolve name</span>”</span> 失败（Thomas Munro）<a href=\"https://postgr.es/c/8a9a51518\">§</a></p>\n<p>这可能是由于 gcc 和 clang 之间对 <code>-moutline-atomics</code> 默认设置不一致导致的。至少已知 Debian 和 Ubuntu 提供了针对 armv8-a 的 gcc 和 clang 编译器，但它们在默认使用 outline atomics 方面存在差异。</p>", "text": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败（Thomas Munro）§ 这可能是由于 gcc 和 clang 之间对 -moutline-atomics 默认设置不一致导致的。至少已知 Debian 和 Ubuntu 提供了针对 armv8-a 的 gcc 和 clang 编译器，但它们在默认使用 outline atomics 方面存在差异。", "title": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败", "commits": ["8a9a51518"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "49a5a1a6695fdfd9ca16a1d74949b680ad65c9c45055c35cd024bc61012e88b0", "section_path": ["变更"], "commit_groups": [["15ab513fe", "6de14dbb3", "78c09bd9f", "7ca388fd0", "8a9a51518", "8aefd8b6f"]], "identity_text": "Fix possible failed to resolve name failures when using JIT on older ARM platforms (Thomas Munro) This could occur as a consequence of inconsistency about the default setting of -moutline-atomics between gcc and clang. At least Debian and Ubuntu are known to ship gcc and clang compilers that target armv8-a but differ on the use of outline atomics by default.", "commit_aliases": ["15ab513fe", "6de14dbb3", "78c09bd9f", "7ca388fd0", "8a9a51518", "8aefd8b6f"], "source_commits": ["8a9a51518"], "source_entry_id": "17.3/changes/039", "db_id": "5e873c5cda6b6776ea205630fb8a1722", "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d", "relations": [{"rule": 2, "type": "equivalent", "target": "153cab4ac3c7860f3d32874fb3e2eb7e", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}}, {"rule": 2, "type": "equivalent", "target": "32f6695d1503d792c5734474725c76a7", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}}, {"rule": 2, "type": "equivalent", "target": "4604fdb2fe7f2f639f6657625a4471b4", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}}, {"rule": 2, "type": "equivalent", "target": "763fcac4eafa5b661eec57738e003839", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "153cab4ac3c7860f3d32874fb3e2eb7e", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}, "url": "/docs/compare/?release=16.7#16.7-71288afa6d80727d", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "4604fdb2fe7f2f639f6657625a4471b4", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}, "url": "/docs/compare/?release=15.11#15.11-db0e07abc9bf3aa5", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "32f6695d1503d792c5734474725c76a7", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}, "url": "/docs/compare/?release=14.16#14.16-e18f6846443698df", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "763fcac4eafa5b661eec57738e003839", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复在较旧 ARM 平台上使用 JIT 时可能出现的 “failed to resolve name” 失败", "evidence": {"same_day": true, "patch_ids": ["7fbc39127460b9650f0f0c5d8030a7b5"], "statement_hash": "bd0573da2cd07370ec32895d0af4aea3b2e012be15f19ea20170ef86fed0451d"}, "url": "/docs/compare/?release=13.19#13.19-23cf154cc7caef00", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-b7adad553817ec07", "cves": [], "html": "<p>修复 <code>WITH RECURSIVE ... UNION</code> 查询中的断言失败（David Rowley）<a href=\"https://postgr.es/c/7b8d45d27\">§</a></p>", "text": "修复 WITH RECURSIVE ... UNION 查询中的断言失败（David Rowley）§", "title": "修复 WITH RECURSIVE ... UNION 查询中的断言失败", "commits": ["7b8d45d27"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c6cddde401afaee405beccf67c34fb571b10d293fc0b90d12b95ceddcf0b6f6d", "section_path": ["变更"], "commit_groups": [["093fc156b", "2c7887c9d", "7b8d45d27", "8f4ee9626", "bdb07d241", "ef178d38b"]], "identity_text": "Fix assertion failure in WITH RECURSIVE ... UNION queries (David Rowley)", "commit_aliases": ["093fc156b", "2c7887c9d", "7b8d45d27", "8f4ee9626", "bdb07d241", "ef178d38b"], "source_commits": ["7b8d45d27"], "source_entry_id": "17.3/changes/040", "db_id": "2217250a1ba843d1d01c592bdeead0cb", "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122", "relations": [{"rule": 2, "type": "equivalent", "target": "4f352f98cfddfcd289d7f783037ab568", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}}, {"rule": 2, "type": "equivalent", "target": "b26ab25ec03dbd9f071df4bb4b76da34", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}}, {"rule": 2, "type": "equivalent", "target": "ef28f44fe07fedced1ccacc3e7f54847", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}}, {"rule": 2, "type": "equivalent", "target": "fdb20d2131f4456b6c2891c6a7708218", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ef28f44fe07fedced1ccacc3e7f54847", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 WITH RECURSIVE ... UNION 查询中的断言失败", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}, "url": "/docs/compare/?release=16.7#16.7-3f427ee178a16726", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "b26ab25ec03dbd9f071df4bb4b76da34", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 WITH RECURSIVE ... UNION 查询中的断言失败", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}, "url": "/docs/compare/?release=15.11#15.11-a668635ca891d649", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "4f352f98cfddfcd289d7f783037ab568", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 WITH RECURSIVE ... UNION 查询中的断言失败", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}, "url": "/docs/compare/?release=14.16#14.16-240c61ebb38c4a89", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fdb20d2131f4456b6c2891c6a7708218", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 WITH RECURSIVE ... UNION 查询中的断言失败", "evidence": {"same_day": true, "patch_ids": ["cda8a4a84413105a7db4574c83a8b6db"], "statement_hash": "e97fbb3f8d6686fdb271a007ac20251d645737c9dd88c7ede2f2366b74061122"}, "url": "/docs/compare/?release=13.19#13.19-a6c43551d61d5be7", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-298a145035b17ae1", "cves": [], "html": "<p>避免在集合操作叶查询包含集合操作时规则反解析中的断言失败（Man Zeng，Tom Lane）<a href=\"https://postgr.es/c/fea81aee8\">§</a></p>", "text": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败（Man Zeng，Tom Lane）§", "title": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败", "commits": ["fea81aee8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c6ed681a9ab22198bfb8cf0bab7c0dcefe730f6e6936a5cd660052b05a6d8cec", "section_path": ["变更"], "commit_groups": [["3eb26524c", "630520c22", "94131cd53", "9b9689e26", "fe084039e", "fea81aee8"]], "identity_text": "Avoid assertion failure in rule deparsing if a set operation leaf query contains set operations (Man Zeng, Tom Lane)", "commit_aliases": ["3eb26524c", "630520c22", "94131cd53", "9b9689e26", "fe084039e", "fea81aee8"], "source_commits": ["fea81aee8"], "source_entry_id": "17.3/changes/041", "db_id": "fb21bd83fba5eb8385f3edc1dbf0a7f3", "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6", "relations": [{"rule": 2, "type": "equivalent", "target": "430ea600c60e03d11df898e94770372a", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}}, {"rule": 2, "type": "equivalent", "target": "50000347e8a508f0aaef39e9f6f46b3a", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}}, {"rule": 2, "type": "equivalent", "target": "788662ba7d1019b44607912fceb78494", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}}, {"rule": 2, "type": "equivalent", "target": "7f4412cd75dc72714d7ab2bc7274e4b1", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "7f4412cd75dc72714d7ab2bc7274e4b1", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}, "url": "/docs/compare/?release=16.7#16.7-64b8371eaf4d37e0", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "50000347e8a508f0aaef39e9f6f46b3a", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}, "url": "/docs/compare/?release=15.11#15.11-9782e96a5d6e6210", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "788662ba7d1019b44607912fceb78494", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}, "url": "/docs/compare/?release=14.16#14.16-f9a2837076e3ff29", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "430ea600c60e03d11df898e94770372a", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "避免在集合操作叶查询包含集合操作时规则反解析中的断言失败", "evidence": {"same_day": true, "patch_ids": ["35f4eaf8ee261956e392123bcc2aed5e"], "statement_hash": "d49aa748ad3e4a3666aabd63408b98480407e26d03b35fa0e4c40aeaa81830f6"}, "url": "/docs/compare/?release=13.19#13.19-5492d6a199377d8e", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-722a0397cafeb199", "cves": [], "html": "<p>避免并行查询启动时的边界情况断言失败（Tom Lane）<a href=\"https://postgr.es/c/556f7b7bc\">§</a></p>", "text": "避免并行查询启动时的边界情况断言失败（Tom Lane）§", "title": "避免并行查询启动时的边界情况断言失败", "commits": ["556f7b7bc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "3b2a72c20728be145debd4ae7ba383231e0e3ff9cc37563b9324d0976061f884", "section_path": ["变更"], "commit_groups": [["3eea7a0c9", "4089b9bd6", "4d20bad5e", "556f7b7bc", "8a95ad3b2", "bb649b553"]], "identity_text": "Avoid edge-case assertion failure in parallel query startup (Tom Lane)", "commit_aliases": ["3eea7a0c9", "4089b9bd6", "4d20bad5e", "556f7b7bc", "8a95ad3b2", "bb649b553"], "source_commits": ["556f7b7bc"], "source_entry_id": "17.3/changes/042", "db_id": "afb62e2219d6171b37153e1b07c79a3c", "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7", "relations": [{"rule": 2, "type": "equivalent", "target": "3abae71410ce108faa00b2da6ec38a1a", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}}, {"rule": 2, "type": "equivalent", "target": "bfd249fdf1d29e1a2671b588f5c25368", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}}, {"rule": 2, "type": "equivalent", "target": "f773276377191676df7c3642b74798a8", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}}, {"rule": 2, "type": "equivalent", "target": "fd91c149b0074746d42181c8ca343d83", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3abae71410ce108faa00b2da6ec38a1a", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "避免并行查询启动时的边界情况断言失败", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}, "url": "/docs/compare/?release=16.7#16.7-98a37c42135391b3", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "bfd249fdf1d29e1a2671b588f5c25368", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "避免并行查询启动时的边界情况断言失败", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}, "url": "/docs/compare/?release=15.11#15.11-5e432f4b08cbf92e", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "f773276377191676df7c3642b74798a8", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "避免并行查询启动时的边界情况断言失败", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}, "url": "/docs/compare/?release=14.16#14.16-89a40fa712bb947f", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fd91c149b0074746d42181c8ca343d83", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "避免并行查询启动时的边界情况断言失败", "evidence": {"same_day": true, "patch_ids": ["f298e10f6df8ed0882f70ae44117812c"], "statement_hash": "b1ddf81bce204c8887e79d306680fe956f6af3c784286f19c74ced31e3063be7"}, "url": "/docs/compare/?release=13.19#13.19-382281fdd907f983", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-e2b39e4cdc7369bf", "cves": [], "html": "<p>修复关闭时写出统计文件的断言失败（Michael Paquier）<a href=\"https://postgr.es/c/dc5f90541\">§</a></p>", "text": "修复关闭时写出统计文件的断言失败（Michael Paquier）§", "title": "修复关闭时写出统计文件的断言失败", "commits": ["dc5f90541"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "bbbefe7cd67cb27485bb7b0c1bf4fc5188609ece4d458eb2384c5f94ede9ed9e", "section_path": ["变更"], "commit_groups": [["1df1e1e78", "ae77bcc3a", "da99fedf8", "dc5f90541"]], "identity_text": "Fix assertion failure at shutdown when writing out the statistics file (Michael Paquier)", "commit_aliases": ["1df1e1e78", "ae77bcc3a", "da99fedf8", "dc5f90541"], "source_commits": ["dc5f90541"], "source_entry_id": "17.3/changes/043", "db_id": "fc6b8ece9dca73b6ed8a677cad5d3a41", "patch_ids": ["139f4351ce5e8f64631532154fb0e296"], "statement_hash": "c58e651d917e83b95ccf1437733fc06beb988fea87a791145e15976beeb98d5a", "relations": [{"rule": 2, "type": "equivalent", "target": "66b75237d9decf1c873e08d8ad836a17", "evidence": {"same_day": true, "patch_ids": ["139f4351ce5e8f64631532154fb0e296"], "statement_hash": "c58e651d917e83b95ccf1437733fc06beb988fea87a791145e15976beeb98d5a"}}, {"rule": 2, "type": "equivalent", "target": "e0fb3503c73b1acbb61df48fa10a26ff", "evidence": {"same_day": true, "patch_ids": ["139f4351ce5e8f64631532154fb0e296"], "statement_hash": "c58e651d917e83b95ccf1437733fc06beb988fea87a791145e15976beeb98d5a"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "66b75237d9decf1c873e08d8ad836a17", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复关闭时写出统计文件的断言失败", "evidence": {"same_day": true, "patch_ids": ["139f4351ce5e8f64631532154fb0e296"], "statement_hash": "c58e651d917e83b95ccf1437733fc06beb988fea87a791145e15976beeb98d5a"}, "url": "/docs/compare/?release=16.7#16.7-99006adb7f39a151", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "e0fb3503c73b1acbb61df48fa10a26ff", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复关闭时写出统计文件的断言失败", "evidence": {"same_day": true, "patch_ids": ["139f4351ce5e8f64631532154fb0e296"], "statement_hash": "c58e651d917e83b95ccf1437733fc06beb988fea87a791145e15976beeb98d5a"}, "url": "/docs/compare/?release=15.11#15.11-d3a085ec168d2201", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}]}, {"id": "17.3-a7c9556e71a7b6a8", "cves": [], "html": "<p>避免 valgrind 对字符串 hash 代码发出告警（John Naylor）<a href=\"https://postgr.es/c/6555fe197\">§</a></p>", "text": "避免 valgrind 对字符串 hash 代码发出告警（John Naylor）§", "title": "避免 valgrind 对字符串 hash 代码发出告警", "commits": ["6555fe197"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "ca4b79bb1bf837ff394dd6edbe29528edae464dc65b44661ca9d605af09258bb", "section_path": ["变更"], "commit_groups": [["235328ee4", "6555fe197"]], "identity_text": "Avoid valgrind complaints about string hashing code (John Naylor)", "commit_aliases": ["235328ee4", "6555fe197"], "source_commits": ["6555fe197"], "source_entry_id": "17.3/changes/044", "db_id": "47c0a121b4a634ef37016c3f8d8e6941", "patch_ids": ["b3eed8748adc1f33951ac91f32e837e6"], "statement_hash": "4bf381bd6569b8a6a184430a7870d66d2bf517ddfbdf9674ee35d21f3bea62c2", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-dd0d552be92812cf", "cves": [], "html": "<p>在 <code>NULLIF()</code> 中，避免将可读写的扩展对象指针传递给数据类型的等值函数（Tom Lane）<a href=\"https://postgr.es/c/97be02ad0\">§</a></p>\n<p>如果给定可读写指针，等值函数可能会修改或删除该对象，如果我们随后决定将其作为 <code>NULLIF()</code> 的结果返回，这将是有问题的。对于任何内置等值函数可能没有问题，但用 PL/pgSQL 编写的函数很容易展示出故障。</p>", "text": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数（Tom Lane）§ 如果给定可读写指针，等值函数可能会修改或删除该对象，如果我们随后决定将其作为 NULLIF() 的结果返回，这将是有问题的。对于任何内置等值函数可能没有问题，但用 PL/pgSQL 编写的函数很容易展示出故障。", "title": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数", "commits": ["97be02ad0"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "9b6a8524d1e80bfe0d37c7e1d59d5f9ba8a37b252a0306ed0fcf2142e1ab6aea", "section_path": ["变更"], "commit_groups": [["48a6cd1ae", "4aba56adc", "5b8728cd7", "80cd33bad", "97be02ad0", "a1168855e"]], "identity_text": "In NULLIF(), avoid passing a read-write expanded object pointer to the data type's equality function (Tom Lane) The equality function could modify or delete the object if it's given a read-write pointer, which would be bad if we decide to return it as the NULLIF() result. There is probably no problem with any built-in equality function, but it's easy to demonstrate a failure with one coded in PL/pgSQL.", "commit_aliases": ["48a6cd1ae", "4aba56adc", "5b8728cd7", "80cd33bad", "97be02ad0", "a1168855e"], "source_commits": ["97be02ad0"], "source_entry_id": "17.3/changes/045", "db_id": "c4ccc551e7e79a141d6c41447a2334fb", "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1", "relations": [{"rule": 2, "type": "equivalent", "target": "3ddc9f10fd399f2a6a2ab724c0fb04ae", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}}, {"rule": 2, "type": "equivalent", "target": "6238d90d78105e9584c4dfcbf52d8931", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}}, {"rule": 2, "type": "equivalent", "target": "a3e01d7c7837e6081fbba4ba0ca05dec", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}}, {"rule": 2, "type": "equivalent", "target": "c78d8e6e8c55b8ee156c3a9aa25ddef5", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "a3e01d7c7837e6081fbba4ba0ca05dec", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}, "url": "/docs/compare/?release=16.7#16.7-1b29d32f9782ec60", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "3ddc9f10fd399f2a6a2ab724c0fb04ae", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}, "url": "/docs/compare/?release=15.11#15.11-535c0ccee1ef4c18", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "6238d90d78105e9584c4dfcbf52d8931", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}, "url": "/docs/compare/?release=14.16#14.16-0e70592b47df05ca", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "c78d8e6e8c55b8ee156c3a9aa25ddef5", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在 NULLIF() 中，避免将可读写的扩展对象指针传递给数据类型的等值函数", "evidence": {"same_day": true, "patch_ids": ["463f307c6072a88e9fe3c57d976d1fb1"], "statement_hash": "1ce9d9461efb1b1413456691f856d759a865d9d7ab4b129a7e605f127ed329d1"}, "url": "/docs/compare/?release=13.19#13.19-aff04126fefdb92f", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-7be5325298b8f565", "cves": [], "html": "<p>确保对 <code>INSERT</code> 中默认空值的表达式预处理被正确应用（Tom Lane）<a href=\"https://postgr.es/c/6e41e9e5e\">§</a></p>\n<p>如果目标列是域类型，规划器必须插入一个强制转换到域的步骤而不仅仅是一个空常量，而此表达式遗漏了一些必要的处理步骤。对于基于核心数据类型的域没有已知后果，但理论上对于基于扩展类型的域可能会出错。</p>", "text": "确保对 INSERT 中默认空值的表达式预处理被正确应用（Tom Lane）§ 如果目标列是域类型，规划器必须插入一个强制转换到域的步骤而不仅仅是一个空常量，而此表达式遗漏了一些必要的处理步骤。对于基于核心数据类型的域没有已知后果，但理论上对于基于扩展类型的域可能会出错。", "title": "确保对 INSERT 中默认空值的表达式预处理被正确应用", "commits": ["6e41e9e5e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "8b18b0e562ccbd4de00856e475c3fcd5e75d2a3f69acf9b8544e6ad95d4fb8b6", "section_path": ["变更"], "commit_groups": [["0da39aa76", "6655d931c", "6e41e9e5e", "bb85d0935", "c05268e6e"]], "identity_text": "Ensure that expression preprocessing is applied to a default null value in INSERT (Tom Lane) If the target column is of a domain type, the planner must insert a coerce-to-domain step not just a null constant, and this expression missed going through some required processing steps. There is no known consequence with domains based on core data types, but in theory an error could occur with domains based on extension types.", "commit_aliases": ["0da39aa76", "6655d931c", "6e41e9e5e", "bb85d0935", "c05268e6e"], "source_commits": ["6e41e9e5e"], "source_entry_id": "17.3/changes/046", "db_id": "5c924d14c948271fbc38c8d281ec24e1", "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483", "relations": [{"rule": 2, "type": "equivalent", "target": "e38ec1d2b1103ec9341c5b1123335159", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}}, {"rule": 2, "type": "equivalent", "target": "e461e7ee096e6254fa7012871a9c1f40", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}}, {"rule": 2, "type": "equivalent", "target": "f058a89b390c55869f483a660569b0aa", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f058a89b390c55869f483a660569b0aa", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "确保对 INSERT 中默认空值的表达式预处理被正确应用", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}, "url": "/docs/compare/?release=16.7#16.7-6680b0773026d87c", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "e38ec1d2b1103ec9341c5b1123335159", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "确保对 INSERT 中默认空值的表达式预处理被正确应用", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}, "url": "/docs/compare/?release=15.11#15.11-7e089e52061bb4f6", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "e461e7ee096e6254fa7012871a9c1f40", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "确保对 INSERT 中默认空值的表达式预处理被正确应用", "evidence": {"same_day": true, "patch_ids": ["81912066ba5e75af1340feda03524ddb"], "statement_hash": "c981aff907b93603eaf7ded2109968ea62ca66b71894982bce348a2ddd2a1483"}, "url": "/docs/compare/?release=14.16#14.16-5ed580f6f0ac7b55", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}]}, {"id": "17.3-aee89e47aff52201", "cves": [], "html": "<p>避免在已含有数据的关系 fork 上启动批量写入时发生数据丢失（Matthias van de Meent）<a href=\"https://postgr.es/c/969583553\">§</a></p>\n<p>任何已有数据都会被零值覆盖。核心 <span>PostgreSQL</span> 本身从不会这么做，因此不受影响；不过某些扩展可能希望这样做。</p>", "text": "避免在已含有数据的关系 fork 上启动批量写入时发生数据丢失（Matthias van de Meent）§ 任何已有数据都会被零值覆盖。核心 PostgreSQL 本身从不会这么做，因此不受影响；不过某些扩展可能希望这样做。", "title": "避免在已含有数据的关系 fork 上启动批量写入时发生数据丢失", "commits": ["969583553"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "f301ecccf785e6958ecd9a07a86d0d3da9a5ecdd49ace8967b49de056b42d1be", "section_path": ["变更"], "commit_groups": [["969583553", "ee937f040"]], "identity_text": "Avoid data loss when starting a bulk write on a relation fork that already contains data (Matthias van de Meent) Any pre-existing data was overwritten with zeroes. This is not an issue for core PostgreSQL, which never does that. Some extensions would like to, however.", "commit_aliases": ["969583553", "ee937f040"], "source_commits": ["969583553"], "source_entry_id": "17.3/changes/047", "db_id": "71d807b4c6fb85d4d87cf631f83775af", "patch_ids": ["9a769927fd1282d155e5f2f37a8c6c3c"], "statement_hash": "0611e544e64dacd71186178c55d35f2799666f14b1e1a63e5a734c3edf94c328", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-5319d0384d56ccd2", "cves": [], "html": "<p>避免服务器进程试图遍历一个并非由自己创建的共享 radix tree 时崩溃（Masahiko Sawada）<a href=\"https://postgr.es/c/9af2b3435\">§</a></p>\n<p>核心 <span>PostgreSQL</span> 中没有任何代码会这样做，但扩展可能会有这种需求。</p>", "text": "避免服务器进程试图遍历一个并非由自己创建的共享 radix tree 时崩溃（Masahiko Sawada）§ 核心 PostgreSQL 中没有任何代码会这样做，但扩展可能会有这种需求。", "title": "避免服务器进程试图遍历一个并非由自己创建的共享 radix tree 时崩溃", "commits": ["9af2b3435"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "95094425aeb6f843f63a501951a4fb11d2dd0077b59b9fc8703861440d6f3cdc", "section_path": ["变更"], "commit_groups": [["9af2b3435"]], "identity_text": "Avoid crash if a server process tried to iterate over a shared radix tree that it didn't create (Masahiko Sawada) There is no code in core PostgreSQL that does this, but an extension might wish to.", "commit_aliases": ["9af2b3435"], "source_commits": ["9af2b3435"], "source_entry_id": "17.3/changes/048", "db_id": "2d142595158e0344e548fe6ac8e7b0f6", "patch_ids": ["38bde953a4ea68aa5121f05df8e2e67f"], "statement_hash": "66dcdf465aff20164f14daf7a4ae44b438e1fe0eab94f202000a26f3b0d58be1", "relations": [], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-fb5e839658ad18ea", "cves": [], "html": "<p>修复 PL/Python 中的内存泄漏（Mat Arye，Tom Lane）<a href=\"https://postgr.es/c/e98df02df\">§</a></p>\n<p>重复使用 <code>PLyPlan.execute</code> 或 <code>plpy.cursor</code> 会导致在调用 PL/Python 函数的持续时间内产生内存泄漏。</p>", "text": "修复 PL/Python 中的内存泄漏（Mat Arye，Tom Lane）§ 重复使用 PLyPlan.execute 或 plpy.cursor 会导致在调用 PL/Python 函数的持续时间内产生内存泄漏。", "title": "修复 PL/Python 中的内存泄漏", "commits": ["e98df02df"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "a63d3764d39a2018cd2b543c1a7b90808b2a14d70224840541f5f4a000f904a1", "section_path": ["变更"], "commit_groups": [["02a38bc84", "29dfffae0", "33a4e656d", "71bb9c4b2", "bcb4db0d3", "e98df02df"]], "identity_text": "Repair memory leaks in PL/Python (Mat Arye, Tom Lane) Repeated use of PLyPlan.execute or plpy.cursor resulted in memory leakage for the duration of the calling PL/Python function.", "commit_aliases": ["02a38bc84", "29dfffae0", "33a4e656d", "71bb9c4b2", "bcb4db0d3", "e98df02df"], "source_commits": ["e98df02df"], "source_entry_id": "17.3/changes/049", "db_id": "2dbdc153a738761de97eba83f03bcaad", "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38", "relations": [{"rule": 2, "type": "equivalent", "target": "40ee594295ff06af236129cad1523353", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}}, {"rule": 2, "type": "equivalent", "target": "63a6f8a0caa451f01402d7c1774dbf03", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}}, {"rule": 2, "type": "equivalent", "target": "95fa2d1a99b849d24dd66d6142633fcd", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}}, {"rule": 2, "type": "equivalent", "target": "a2b47930182e06363dd2a3ee4241161b", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "63a6f8a0caa451f01402d7c1774dbf03", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 PL/Python 中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}, "url": "/docs/compare/?release=16.7#16.7-7450148e9cea4451", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "a2b47930182e06363dd2a3ee4241161b", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 PL/Python 中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}, "url": "/docs/compare/?release=15.11#15.11-d9ea85c89498e9e9", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "40ee594295ff06af236129cad1523353", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 PL/Python 中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}, "url": "/docs/compare/?release=14.16#14.16-6409d189d030139a", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "95fa2d1a99b849d24dd66d6142633fcd", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 PL/Python 中的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["48776f36f5681a2f5b8b4ae4ea62bad6"], "statement_hash": "0ac52c87483881bcb201e81d3c320573f1d78e2e09dd98c843df7a17ccb75c38"}, "url": "/docs/compare/?release=13.19#13.19-146e3e264c684fa3", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-3ed7f6c30ba4fca8", "cves": [], "html": "<p>修复 PL/Tcl 使其能在 Tcl 9 下编译（Peter Eisentraut）<a href=\"https://postgr.es/c/f979197eb\">§</a></p>", "text": "修复 PL/Tcl 使其能在 Tcl 9 下编译（Peter Eisentraut）§", "title": "修复 PL/Tcl 使其能在 Tcl 9 下编译", "commits": ["f979197eb"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "750d35ecdba7517523e20db7fc1d19620df80f2df6c4ed462acb5ee5b692e270", "section_path": ["变更"], "commit_groups": [["07c77803c", "17d081a6f", "32a2aa77e", "a5f9cbde9", "f230e27a2", "f979197eb"]], "identity_text": "Fix PL/Tcl to compile with Tcl 9 (Peter Eisentraut)", "commit_aliases": ["07c77803c", "17d081a6f", "32a2aa77e", "a5f9cbde9", "f230e27a2", "f979197eb"], "source_commits": ["f979197eb"], "source_entry_id": "17.3/changes/050", "db_id": "eab1bcb0a34c2e2111bf60e2805ede38", "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24", "relations": [{"rule": 2, "type": "equivalent", "target": "0d6f80ed82ee1b2e80a6f8ca9c87a12d", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}}, {"rule": 2, "type": "equivalent", "target": "129c07a2f63ef2dd97017ea2d4602005", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}}, {"rule": 2, "type": "equivalent", "target": "43ec78dc409230e526b689e924ccab90", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}}, {"rule": 2, "type": "equivalent", "target": "b5e22eeed852a78978fa5b94ff645acf", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "43ec78dc409230e526b689e924ccab90", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 PL/Tcl 使其能在 Tcl 9 下编译", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}, "url": "/docs/compare/?release=16.7#16.7-0eaf6e78dbdc6912", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "129c07a2f63ef2dd97017ea2d4602005", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 PL/Tcl 使其能在 Tcl 9 下编译", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}, "url": "/docs/compare/?release=15.11#15.11-3d33af5f4d4ad225", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "b5e22eeed852a78978fa5b94ff645acf", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 PL/Tcl 使其能在 Tcl 9 下编译", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}, "url": "/docs/compare/?release=14.16#14.16-b84663fdc8246216", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "0d6f80ed82ee1b2e80a6f8ca9c87a12d", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 PL/Tcl 使其能在 Tcl 9 下编译", "evidence": {"same_day": true, "patch_ids": ["ec3541438c80f52fc50bed404695777e"], "statement_hash": "3bf0856bd07cd27e1b94839bf3ad9387face99c5bba929e356d86223f0660f24"}, "url": "/docs/compare/?release=13.19#13.19-c88b3b083e0ea08f", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-dfe5a8c2c2423920", "cves": [], "html": "<p>在 <span>ecpg</span> 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题（Tom Lane）<a href=\"https://postgr.es/c/a963abd54\">§</a></p>", "text": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题（Tom Lane）§", "title": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题", "commits": ["a963abd54"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "44f1a849d3d37a35889fe3d2a08c79c2465766b06e4d66631ea197dce426986b", "section_path": ["变更"], "commit_groups": [["2f696453d", "52c7a44e9", "60b47525c", "a963abd54", "cca34f68c", "e359cbb84"]], "identity_text": "In the ecpg preprocessor, fix possible misprocessing of cursors that reference out-of-scope variables (Tom Lane)", "commit_aliases": ["2f696453d", "52c7a44e9", "60b47525c", "a963abd54", "cca34f68c", "e359cbb84"], "source_commits": ["a963abd54"], "source_entry_id": "17.3/changes/051", "db_id": "c4ec9fcca2f80cbbf22f2737f8f5fcb6", "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33", "relations": [{"rule": 2, "type": "equivalent", "target": "20aa43ec07c27d96fa929c253c41d044", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}}, {"rule": 2, "type": "equivalent", "target": "36dfe57940df538e7fb47cd7fdbd37be", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}}, {"rule": 2, "type": "equivalent", "target": "674e320ee70fdf11884316cc30475c46", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}}, {"rule": 2, "type": "equivalent", "target": "f1227cacc29d5455e9dce3398b0622d4", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "f1227cacc29d5455e9dce3398b0622d4", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}, "url": "/docs/compare/?release=16.7#16.7-5309e9bb99c52b63", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "674e320ee70fdf11884316cc30475c46", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}, "url": "/docs/compare/?release=15.11#15.11-0c6c96c4fed5dcb6", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "20aa43ec07c27d96fa929c253c41d044", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}, "url": "/docs/compare/?release=14.16#14.16-e15053be8332fda8", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "36dfe57940df538e7fb47cd7fdbd37be", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在 ecpg 预处理器中，修复引用超出作用域变量的游标可能被错误处理的问题", "evidence": {"same_day": true, "patch_ids": ["652db5485711a687b7406349a4c34e0e"], "statement_hash": "e0ed27912744c40aae8cb5494cb7622520121573dc0119e7c295c1e55156bc33"}, "url": "/docs/compare/?release=13.19#13.19-96df37ab6e655d81", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-fe0d2d65c5d4aa3b", "cves": [], "html": "<p>在 <span>ecpg</span> 中，修复关于不支持使用 <code>COPY ... FROM STDIN</code> 的编译时警告（Ryo Kanbayashi）<a href=\"https://postgr.es/c/ba2dbedd5\">§</a></p>\n<p>之前，由于拼写错误，预期的警告未被发出。</p>", "text": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告（Ryo Kanbayashi）§ 之前，由于拼写错误，预期的警告未被发出。", "title": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告", "commits": ["ba2dbedd5"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "0a7373ad206f2302c531b71dabcf0dcc3f4aede87773538f9ecfd1518693a07f", "section_path": ["变更"], "commit_groups": [["226c9048d", "5c7c34db2", "71ef47cf0", "94b914f60", "ba2dbedd5", "d06ab3c0c"]], "identity_text": "In ecpg, fix compile-time warnings about unsupported use of COPY ... FROM STDIN (Ryo Kanbayashi) Previously, the intended warning was not issued due to a typo.", "commit_aliases": ["226c9048d", "5c7c34db2", "71ef47cf0", "94b914f60", "ba2dbedd5", "d06ab3c0c"], "source_commits": ["ba2dbedd5"], "source_entry_id": "17.3/changes/052", "db_id": "84b39b054b34211ea1d18a290c6cddf4", "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f", "relations": [{"rule": 2, "type": "equivalent", "target": "16348925260a3ff03e3723c9dd8c2397", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}}, {"rule": 2, "type": "equivalent", "target": "3ff78f3d2c970b520dbfb8115656b8f2", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}}, {"rule": 2, "type": "equivalent", "target": "bb2b663ff581a3c13fc37566fef8aea2", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}}, {"rule": 2, "type": "equivalent", "target": "bec199ad48fa75cf12e6e0349c6252cf", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "bec199ad48fa75cf12e6e0349c6252cf", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}, "url": "/docs/compare/?release=16.7#16.7-5ec2b4f354ab6cca", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "3ff78f3d2c970b520dbfb8115656b8f2", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}, "url": "/docs/compare/?release=15.11#15.11-18a63d75a25dde2a", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "16348925260a3ff03e3723c9dd8c2397", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}, "url": "/docs/compare/?release=14.16#14.16-56ba6358d3159b1f", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "bb2b663ff581a3c13fc37566fef8aea2", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在 ecpg 中，修复关于不支持使用 COPY ... FROM STDIN 的编译时警告", "evidence": {"same_day": true, "patch_ids": ["859d58d96aa40e53f1e9fef9aa3f19a9"], "statement_hash": "697f5927852e7b4fbd940f3cf6672127a6ee3d4e28a3272462181a43d4f07b0f"}, "url": "/docs/compare/?release=13.19#13.19-6b7efc6e2fb6ea0b", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-5fa35c7bbb96c75e", "cves": [], "html": "<p>修复 <span>psql</span> 以安全处理以 SJIS 编码的文件路径名（Tom Lane）<a href=\"https://postgr.es/c/0b713b94b\">§</a></p>\n<p>SJIS 中的一些双字节字符的第二个字节等于 ASCII 反斜杠（<code>\\</code>）。这些字符会被路径名规范化所损坏，导致无法访问名称中包含此类字符的文件。</p>", "text": "修复 psql 以安全处理以 SJIS 编码的文件路径名（Tom Lane）§ SJIS 中的一些双字节字符的第二个字节等于 ASCII 反斜杠（\\）。这些字符会被路径名规范化所损坏，导致无法访问名称中包含此类字符的文件。", "title": "修复 psql 以安全处理以 SJIS 编码的文件路径名", "commits": ["0b713b94b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "18dd5483be5e5cb583467218ca1b943ade82d4a6810ff76d96b994192ee712fc", "section_path": ["变更"], "commit_groups": [["0b713b94b", "54f9afea7", "6cddecdfb", "98df8bace", "998c4fc7c", "b17e3970c"]], "identity_text": "Fix psql to safely handle file path names that are encoded in SJIS (Tom Lane) Some two-byte characters in SJIS have a second byte that is equal to ASCII backslash (\\). These characters were corrupted by path name normalization, preventing access to files whose names include such characters.", "commit_aliases": ["0b713b94b", "54f9afea7", "6cddecdfb", "98df8bace", "998c4fc7c", "b17e3970c"], "source_commits": ["0b713b94b"], "source_entry_id": "17.3/changes/053", "db_id": "ea3a90c482735ddfd14ce3e358c41897", "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6", "relations": [{"rule": 2, "type": "equivalent", "target": "109721325132c88ac5fd1bbe2930c805", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}}, {"rule": 2, "type": "equivalent", "target": "33434d4380b2c3e8760206390faec7ad", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}}, {"rule": 2, "type": "equivalent", "target": "7810faadbead7b69c95a3658c4d4331d", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}}, {"rule": 2, "type": "equivalent", "target": "842b7501ba11c3730521f400fcfd5ddf", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "33434d4380b2c3e8760206390faec7ad", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 psql 以安全处理以 SJIS 编码的文件路径名", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}, "url": "/docs/compare/?release=16.7#16.7-00c7350e9e33d14d", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "7810faadbead7b69c95a3658c4d4331d", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 psql 以安全处理以 SJIS 编码的文件路径名", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}, "url": "/docs/compare/?release=15.11#15.11-2d591ffc6f9abc7e", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "842b7501ba11c3730521f400fcfd5ddf", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 psql 以安全处理以 SJIS 编码的文件路径名", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}, "url": "/docs/compare/?release=14.16#14.16-428e8a150cc86cec", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "109721325132c88ac5fd1bbe2930c805", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 psql 以安全处理以 SJIS 编码的文件路径名", "evidence": {"same_day": true, "patch_ids": ["9517a66691369d72660e3b9a64abc257"], "statement_hash": "96f79ca6fdefb59af9c1367474a5ce27e4f865d7bdf8ed84e1cc313e4bec4af6"}, "url": "/docs/compare/?release=13.19#13.19-4343f6c4f860c64c", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-408688cdb3b4c4b1", "cves": [], "html": "<p>为 <span>psql</span> 增加 <code>COPY (MERGE INTO)</code> 的 Tab 补全（Jian He）<a href=\"https://postgr.es/c/4527b9e26\">§</a></p>", "text": "为 psql 增加 COPY (MERGE INTO) 的 Tab 补全（Jian He）§", "title": "为 psql 增加 COPY (MERGE INTO) 的 Tab 补全", "commits": ["4527b9e26"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "a9a2db80da3c0cd64fcf725d06b14a1a868c188be80dd4b3f3cd43e3a58cbba7", "section_path": ["变更"], "commit_groups": [["25ec329af", "4527b9e26"]], "identity_text": "Add psql tab completion for COPY (MERGE INTO) (Jian He)", "commit_aliases": ["25ec329af", "4527b9e26"], "source_commits": ["4527b9e26"], "source_entry_id": "17.3/changes/054", "db_id": "52f43d8da6f6a4b459cb148a70e2fab1", "patch_ids": ["1ac8ee847dc949c7065d437486c64b27"], "statement_hash": "ccd7f55f6cdcc7dd0d322a68c618e4ba0e2a194e5b2a7c82f74fc703dd26b27f", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-8491cf622868433f", "cves": [], "html": "<p>修复 <span>pgbench</span> 和 <span>psql</span> 中使用错误版本的 <code>pqsignal()</code> 的问题（Fujii Masao，Tom Lane）<a href=\"https://postgr.es/c/a0dfeae0d\">§</a></p>\n<p>此错误可能导致在 <span>pgbench</span> 中使用 <code>-T</code> 选项或在 <span>psql</span> 中使用 <code>\\watch</code> 命令时出现异常行为，原因是被中断的系统调用未能按预期恢复。</p>", "text": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题（Fujii Masao，Tom Lane）§ 此错误可能导致在 pgbench 中使用 -T 选项或在 psql 中使用 \\watch 命令时出现异常行为，原因是被中断的系统调用未能按预期恢复。", "title": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题", "commits": ["a0dfeae0d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "316f31343d4fc09b1dd8ed3d193763bad1254787e53d673e988ff3705ed45930", "section_path": ["变更"], "commit_groups": [["02e69313a", "9a45a89c3", "a0dfeae0d", "a3b709cf7", "b935691b8", "cfd7aadeb"]], "identity_text": "Fix use of wrong version of pqsignal() in pgbench and psql (Fujii Masao, Tom Lane) This error could lead to misbehavior when using the -T option in pgbench or the \\watch command in psql, due to interrupted system calls not being resumed as expected.", "commit_aliases": ["02e69313a", "9a45a89c3", "a0dfeae0d", "a3b709cf7", "b935691b8", "cfd7aadeb"], "source_commits": ["a0dfeae0d"], "source_entry_id": "17.3/changes/055", "db_id": "0f4e4fec8174c65523ec8440a8841f8d", "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda", "relations": [{"rule": 2, "type": "equivalent", "target": "6ae73199ecf710fe1b1ab806b847b2cc", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}}, {"rule": 2, "type": "equivalent", "target": "ce1446f57fe7a5915c0ee7a58238a894", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}}, {"rule": 2, "type": "equivalent", "target": "dd58715fd0a139dcaffc8b16516b0160", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}}, {"rule": 2, "type": "equivalent", "target": "ecffc3228e5c043ed474418d4402821f", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "dd58715fd0a139dcaffc8b16516b0160", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}, "url": "/docs/compare/?release=16.7#16.7-3632feca0237d822", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "ce1446f57fe7a5915c0ee7a58238a894", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}, "url": "/docs/compare/?release=15.11#15.11-1d6bc5bb0371e1b9", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "6ae73199ecf710fe1b1ab806b847b2cc", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}, "url": "/docs/compare/?release=14.16#14.16-8226cd7d588b58cd", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "ecffc3228e5c043ed474418d4402821f", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 pgbench 和 psql 中使用错误版本的 pqsignal() 的问题", "evidence": {"same_day": true, "patch_ids": ["bc91497f29456dc385f45185bb597124"], "statement_hash": "a70296d25b79a4c2b65ff13f0ee31ff8849fe912d789f02e7ff6c74e6b24ddda"}, "url": "/docs/compare/?release=13.19#13.19-3083cac62e73f162", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-59fedd824c62f688", "cves": [], "html": "<p>修复 <span>pgbench</span> 中某些嵌套 <code>\\if</code> 构造的错误执行（Michail Nikolaev）<a href=\"https://postgr.es/c/ff9dc96f3\">§</a></p>\n<p>出现在为假（未执行）的 <code>\\if</code> 分支中的 <code>\\if</code> 命令被错误地当作 <code>\\elif</code> 处理。</p>", "text": "修复 pgbench 中某些嵌套 \\if 构造的错误执行（Michail Nikolaev）§ 出现在为假（未执行）的 \\if 分支中的 \\if 命令被错误地当作 \\elif 处理。", "title": "修复 pgbench 中某些嵌套 \\if 构造的错误执行", "commits": ["ff9dc96f3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c3c1abd0b218d35435e2451d0943dc7c1e9813635fe86e9537f2097bc346f543", "section_path": ["变更"], "commit_groups": [["076b09123", "2a23dbcf3", "530f89e64", "ec0dc2c59", "ff88db910", "ff9dc96f3"]], "identity_text": "Fix misexecution of some nested \\if constructs in pgbench (Michail Nikolaev) An \\if command appearing within a false (not-being-executed) \\if branch was incorrectly treated the same as \\elif.", "commit_aliases": ["076b09123", "2a23dbcf3", "530f89e64", "ec0dc2c59", "ff88db910", "ff9dc96f3"], "source_commits": ["ff9dc96f3"], "source_entry_id": "17.3/changes/056", "db_id": "784a1aa4b8ccc1a22c05f7805ddf2060", "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3", "relations": [{"rule": 2, "type": "equivalent", "target": "0d4e6d38d2683064f9acfe9218d4803d", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}}, {"rule": 2, "type": "equivalent", "target": "20a67b74d3629b6b8134b336609853e8", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}}, {"rule": 2, "type": "equivalent", "target": "4107ab8cf20b75b159d29988f9ff6aa1", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}}, {"rule": 2, "type": "equivalent", "target": "74909682211daa18dd784cf00d993edc", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "0d4e6d38d2683064f9acfe9218d4803d", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 pgbench 中某些嵌套 \\if 构造的错误执行", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}, "url": "/docs/compare/?release=16.7#16.7-3b6d632c421a6bf9", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "4107ab8cf20b75b159d29988f9ff6aa1", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 pgbench 中某些嵌套 \\if 构造的错误执行", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}, "url": "/docs/compare/?release=15.11#15.11-16df00c242274408", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "20a67b74d3629b6b8134b336609853e8", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 pgbench 中某些嵌套 \\if 构造的错误执行", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}, "url": "/docs/compare/?release=14.16#14.16-cc1f8be5caf27e4f", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "74909682211daa18dd784cf00d993edc", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 pgbench 中某些嵌套 \\if 构造的错误执行", "evidence": {"same_day": true, "patch_ids": ["e2e616c848a4ea1cfc35c811c28a285d"], "statement_hash": "b1659ad3c765241501e7fdaa5432f27ca189962823b6dd72ea2e7836515fc0e3"}, "url": "/docs/compare/?release=13.19#13.19-8dd9caa1e82b26d3", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-f7e58e392f141f50", "cves": [], "html": "<p>在 <span>pgbench</span> 中，修复表初始化期间进度消息可能显示错误的问题（Yushi Ogiwara，Tatsuo Ishii，Fujii Masao）<a href=\"https://postgr.es/c/adb103fca\">§</a> <a href=\"https://postgr.es/c/e35d396ec\">§</a></p>", "text": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题（Yushi Ogiwara，Tatsuo Ishii，Fujii Masao）§ §", "title": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题", "commits": ["adb103fca", "e35d396ec"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "b4a02430d3b6fc369b83a48a4ec3853bc4965275c15919d3e51ebc9c3e1f3ab3", "section_path": ["变更"], "commit_groups": [["0f13e1a78", "1cf646957", "1e46f7351", "adb103fca", "af35fe501", "f1cb5e51f"], ["21b815f92", "499d1cf55", "5addea71c", "b6decfc1d", "e35d396ec", "fb056564e"]], "identity_text": "In pgbench, fix possible misdisplay of progress messages during table initialization (Yushi Ogiwara, Tatsuo Ishii, Fujii Masao)", "commit_aliases": ["0f13e1a78", "1cf646957", "1e46f7351", "21b815f92", "499d1cf55", "5addea71c", "adb103fca", "af35fe501", "b6decfc1d", "e35d396ec", "f1cb5e51f", "fb056564e"], "source_commits": ["adb103fca", "e35d396ec"], "source_entry_id": "17.3/changes/057", "db_id": "519999f09977133cde405726c01a0d11", "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76", "relations": [{"rule": 2, "type": "equivalent", "target": "4d088578b652179ddacd9d70bbb67986", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}}, {"rule": 2, "type": "equivalent", "target": "54b30b07e73ec94fa147169ad6a3af52", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}}, {"rule": 2, "type": "equivalent", "target": "8f2041403d7330cc62885e5b2bb1b72c", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}}, {"rule": 2, "type": "equivalent", "target": "ae3970b18e126ca505a736ef0e883895", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ae3970b18e126ca505a736ef0e883895", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}, "url": "/docs/compare/?release=16.7#16.7-dab6dcfe958af472", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "54b30b07e73ec94fa147169ad6a3af52", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}, "url": "/docs/compare/?release=15.11#15.11-d8a80d74420572fa", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "4d088578b652179ddacd9d70bbb67986", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}, "url": "/docs/compare/?release=14.16#14.16-a825ab8faa66bc93", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "8f2041403d7330cc62885e5b2bb1b72c", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "在 pgbench 中，修复表初始化期间进度消息可能显示错误的问题", "evidence": {"same_day": true, "patch_ids": ["0a5560582674fb45b4e6f22746d1bef2", "e270f759bbf6626c1840935d15c5fbea"], "statement_hash": "685f8c62e53f6f81d21dd2fc16a858df233322c8a6f14aff5be0703a71d2ba76"}, "url": "/docs/compare/?release=13.19#13.19-531838d465c87787", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-6599d51fbb604228", "cves": [], "html": "<p>增强 <span>pg_controldata</span> 对损坏的 <code>pg_control</code> 文件的健壮性（Ilyasov Ian，Anton Voloshin）<a href=\"https://postgr.es/c/1b8a9533f\">§</a></p>\n<p>由于 <span>pg_controldata</span> 即使在 CRC 检查失败时也会尝试打印 <code>pg_control</code> 的内容，因此必须注意不要因无效字段值而出现异常行为。此补丁修复了无效时间戳和看似为负数的 WAL 段大小触发的一些问题。</p>", "text": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性（Ilyasov Ian，Anton Voloshin）§ 由于 pg_controldata 即使在 CRC 检查失败时也会尝试打印 pg_control 的内容，因此必须注意不要因无效字段值而出现异常行为。此补丁修复了无效时间戳和看似为负数的 WAL 段大小触发的一些问题。", "title": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性", "commits": ["1b8a9533f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "8d1d2128a9049eb01307220c4886541dd3898aea67c6abe9da61f881a9a142af", "section_path": ["变更"], "commit_groups": [["1b8a9533f", "c24311c1f", "d54d5668b", "f1e0b078b", "f2205448b", "ff1975ddd"]], "identity_text": "Make pg_controldata more robust against corrupted pg_control files (Ilyasov Ian, Anton Voloshin) Since pg_controldata will attempt to print the contents of pg_control even if the CRC check fails, it must take care not to misbehave for invalid field values. This patch fixes some issues triggered by invalid timestamps and apparently-negative WAL segment sizes.", "commit_aliases": ["1b8a9533f", "c24311c1f", "d54d5668b", "f1e0b078b", "f2205448b", "ff1975ddd"], "source_commits": ["1b8a9533f"], "source_entry_id": "17.3/changes/058", "db_id": "898f3f594e6f455e554ee24a4c384ca9", "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181", "relations": [{"rule": 2, "type": "equivalent", "target": "2a3d461c506454b86b4d280bef51654c", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}}, {"rule": 2, "type": "equivalent", "target": "643a982d6628e1b1ae3ed5e600d4d804", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}}, {"rule": 2, "type": "equivalent", "target": "b76e139be0c8c30b88b298ba2dd1c06f", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}}, {"rule": 2, "type": "equivalent", "target": "e164bba916ca92553e0ed44e36a33f12", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "2a3d461c506454b86b4d280bef51654c", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}, "url": "/docs/compare/?release=16.7#16.7-64ff08963af3c3de", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "643a982d6628e1b1ae3ed5e600d4d804", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}, "url": "/docs/compare/?release=15.11#15.11-37d5c387e8405380", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "e164bba916ca92553e0ed44e36a33f12", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}, "url": "/docs/compare/?release=14.16#14.16-ecd2f9229d5327aa", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "b76e139be0c8c30b88b298ba2dd1c06f", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "增强 pg_controldata 对损坏的 pg_control 文件的健壮性", "evidence": {"same_day": true, "patch_ids": ["1bae89b5650eb95064692dc583fcc18e"], "statement_hash": "f6ab6421752c68a5c411c07c9a9b583816ff1a50e468cf94f8a2ff4ca6f21181"}, "url": "/docs/compare/?release=13.19#13.19-22ca2f2ea9bc68e8", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-11aed5731d7ba38d", "cves": [], "html": "<p>修复 <span>pg_dump</span> 中当身份序列附加到作为扩展成员的表时可能崩溃的问题（Tom Lane）<a href=\"https://postgr.es/c/ad950ea98\">§</a></p>", "text": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题（Tom Lane）§", "title": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题", "commits": ["ad950ea98"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "4673be3dc5805dbd539a629b90d205c6f353f9789c14b5e59412338d4f4b7269", "section_path": ["变更"], "commit_groups": [["6978129b4", "782cc1aa3", "7b8cb9cd6", "ad950ea98", "b6df2d6e5", "c7f3c414f"]], "identity_text": "Fix possible crash in pg_dump with identity sequences attached to tables that are extension members (Tom Lane)", "commit_aliases": ["6978129b4", "782cc1aa3", "7b8cb9cd6", "ad950ea98", "b6df2d6e5", "c7f3c414f"], "source_commits": ["ad950ea98"], "source_entry_id": "17.3/changes/059", "db_id": "7f23a5667f7e389c5f499ce86c38be10", "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e", "relations": [{"rule": 2, "type": "equivalent", "target": "477e86c272f9e2c3dbeca3e4c5fcc955", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}}, {"rule": 2, "type": "equivalent", "target": "8d305380dee5f3d46413d953276a0dad", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}}, {"rule": 2, "type": "equivalent", "target": "c0991c19a95931f5a1fb7aff94c40366", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}}, {"rule": 2, "type": "equivalent", "target": "fac028cab5754384359540890bb37419", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c0991c19a95931f5a1fb7aff94c40366", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}, "url": "/docs/compare/?release=16.7#16.7-b1ae83939398a4a5", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "477e86c272f9e2c3dbeca3e4c5fcc955", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}, "url": "/docs/compare/?release=15.11#15.11-335b0c9dfbab5ea3", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "8d305380dee5f3d46413d953276a0dad", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}, "url": "/docs/compare/?release=14.16#14.16-4cd4c5bf7ebc45dc", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fac028cab5754384359540890bb37419", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 pg_dump 中当身份序列附加到作为扩展成员的表时可能崩溃的问题", "evidence": {"same_day": true, "patch_ids": ["b9eaf84f0baf1dfcbda334cf6921c7c2"], "statement_hash": "dc91f6a071dd8a9fa613462ac52d080a59f42dd4940b888412cfb27b4262447e"}, "url": "/docs/compare/?release=13.19#13.19-5c1a4b77b70a416c", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-36b1dae489af1a17", "cves": [], "html": "<p>修复 <span>pg_restore</span> 处理 zstd 压缩数据时的内存泄漏（Tom Lane）<a href=\"https://postgr.es/c/04b860198\">§</a></p>\n<p>该泄漏是每次解压缩操作都会发生的，因此在包含许多表或大对象的导出中最为明显。</p>", "text": "修复 pg_restore 处理 zstd 压缩数据时的内存泄漏（Tom Lane）§ 该泄漏是每次解压缩操作都会发生的，因此在包含许多表或大对象的导出中最为明显。", "title": "修复 pg_restore 处理 zstd 压缩数据时的内存泄漏", "commits": ["04b860198"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "ec17e10801801cf4e0d872fd910b1d466ca1e96fc7118f575f872461ff3f8f38", "section_path": ["变更"], "commit_groups": [["04b860198", "3f0632470", "8cfff087b"]], "identity_text": "Fix memory leak in pg_restore with zstd-compressed data (Tom Lane) The leak was per-decompression-operation, so would be most noticeable with a dump containing many tables or large objects.", "commit_aliases": ["04b860198", "3f0632470", "8cfff087b"], "source_commits": ["04b860198"], "source_entry_id": "17.3/changes/060", "db_id": "adb5998aed434cca9c15b8fd23383274", "patch_ids": ["7eb6902f7552709b0ef56d1ac3fb0aad"], "statement_hash": "4fe197941538b9a34f6e43181edb550ddf8c6a08d9b4475398ab4c5536c2816f", "relations": [{"rule": 2, "type": "equivalent", "target": "cad2e74ea43f4fcfbec539f141f9d823", "evidence": {"same_day": true, "patch_ids": ["7eb6902f7552709b0ef56d1ac3fb0aad"], "statement_hash": "4fe197941538b9a34f6e43181edb550ddf8c6a08d9b4475398ab4c5536c2816f"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "cad2e74ea43f4fcfbec539f141f9d823", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 pg_restore 处理 zstd 压缩数据时的内存泄漏", "evidence": {"same_day": true, "patch_ids": ["7eb6902f7552709b0ef56d1ac3fb0aad"], "statement_hash": "4fe197941538b9a34f6e43181edb550ddf8c6a08d9b4475398ab4c5536c2816f"}, "url": "/docs/compare/?release=16.7#16.7-a9fdcc16c16b7460", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-b502208598d05e25", "cves": [], "html": "<p>修复 <span>pg_basebackup</span> 以正确处理 Windows 上超过 2GB 的 <code>pg_wal.tar</code> 文件（Davinder Singh，Thomas Munro）<a href=\"https://postgr.es/c/faee3185a\">§</a> <a href=\"https://postgr.es/c/af109e339\">§</a></p>", "text": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件（Davinder Singh，Thomas Munro）§ §", "title": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件", "commits": ["af109e339", "faee3185a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c899aec3894f5c0423e35aabf0cf50d9e8ebe49402894c903c3506cb55569bf8", "section_path": ["变更"], "commit_groups": [["026762dae", "0bff6f1da", "1636c5e56", "70a7a3761", "af109e339", "d02486cc8"], ["6b6901a26", "8f40d4612", "970b97eeb", "bd0564f61", "be7489662", "faee3185a"]], "identity_text": "Fix pg_basebackup to correctly handle pg_wal.tar files exceeding 2GB on Windows (Davinder Singh, Thomas Munro)", "commit_aliases": ["026762dae", "0bff6f1da", "1636c5e56", "6b6901a26", "70a7a3761", "8f40d4612", "970b97eeb", "af109e339", "bd0564f61", "be7489662", "d02486cc8", "faee3185a"], "source_commits": ["af109e339", "faee3185a"], "source_entry_id": "17.3/changes/061", "db_id": "9065afe86815ba73cb894a36fa754948", "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c", "relations": [{"rule": 2, "type": "equivalent", "target": "3c9746e780599ec0271a57355f843878", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}}, {"rule": 2, "type": "equivalent", "target": "7cb0ac21fc793949c94d0ea29ff543ec", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}}, {"rule": 2, "type": "equivalent", "target": "c01194e19dfa9b53415a3468b267f726", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}}, {"rule": 2, "type": "equivalent", "target": "fe927e15eaa9848ec160fe7b519260f9", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "3c9746e780599ec0271a57355f843878", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}, "url": "/docs/compare/?release=16.7#16.7-27d6b77578650b92", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "7cb0ac21fc793949c94d0ea29ff543ec", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}, "url": "/docs/compare/?release=15.11#15.11-5477d8c99498bcdd", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "c01194e19dfa9b53415a3468b267f726", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}, "url": "/docs/compare/?release=14.16#14.16-6354e6bdb73b219e", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "fe927e15eaa9848ec160fe7b519260f9", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "修复 pg_basebackup 以正确处理 Windows 上超过 2GB 的 pg_wal.tar 文件", "evidence": {"same_day": true, "patch_ids": ["1aa624d548f5696f660f50624f280fed", "b344e8330e2a4afdbb26de91a8a6101c"], "statement_hash": "4a9fade81f354c12ae86f32bcdd4c49621bf0f3a89cd1cf4cc2e340af6c7bf7c"}, "url": "/docs/compare/?release=13.19#13.19-a52c2a6e2bc6ac9f", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-81c9e9b30ac5b4b5", "cves": [], "html": "<p>在 <code>contrib/earthdistance</code> 的 SQL 语言函数声明中使用 SQL 标准函数体（Tom Lane，Ronan Dunklau）<a href=\"https://postgr.es/c/3652de36e\">§</a></p>\n<p>此变更允许在扩展创建期间解析其对 <code>contrib/cube</code> 的引用，降低了基于搜索路径的失败和可能攻击的风险。</p>\n<p>特别是，这恢复了它们在生成列等上下文中的可用性，<span>PostgreSQL</span> v17 出于安全原因限制了这些上下文中的搜索路径。我们收到了由于此原因导致数据库无法升级到 v17 的报告。此补丁包含在 v16 中以提供一个解决方案：事先将 <code>earthdistance</code> 扩展更新到此版本应该可以使升级成功。</p>", "text": "在 contrib/earthdistance 的 SQL 语言函数声明中使用 SQL 标准函数体（Tom Lane，Ronan Dunklau）§ 此变更允许在扩展创建期间解析其对 contrib/cube 的引用，降低了基于搜索路径的失败和可能攻击的风险。 特别是，这恢复了它们在生成列等上下文中的可用性，PostgreSQL v17 出于安全原因限制了这些上下文中的搜索路径。我们收到了由于此原因导致数据库无法升级到 v17 的报告。此补丁包含在 v16 中以提供一个解决方案：事先将 earthdistance 扩展更新到此版本应该可以使升级成功。", "title": "在 contrib/earthdistance 的 SQL 语言函数声明中使用 SQL 标准函数体", "commits": ["3652de36e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "778d184a83632380cf35f7c8669074cd98ebcb3eafcc166117ebbd18f7d60a90", "section_path": ["变更"], "commit_groups": [["31daa10fa", "3652de36e", "969bbd0fa"]], "identity_text": "Use SQL-standard function bodies in the declarations of contrib/earthdistance's SQL-language functions (Tom Lane, Ronan Dunklau) This change allows their references to contrib/cube to be resolved during extension creation, reducing the risk of search-path-based failures and possible attacks. In particular, this restores their usability in contexts like generated columns, for which PostgreSQL v17 restricts the search path on security grounds. We have received reports of databases failing to be upgraded to v17 because of that. This patch has been included in v16 to provide a workaround: updating the earthdistance extension to this version beforehand should allow an upgrade to succeed.", "commit_aliases": ["31daa10fa", "3652de36e", "969bbd0fa"], "source_commits": ["3652de36e"], "source_entry_id": "17.3/changes/062", "db_id": "39021fe244411f6fbd2a87662977e727", "patch_ids": ["4166b39528335f0a576fafa3b64467f9"], "statement_hash": "97591150afeaafa2818831087d05ee4d8d5c519b6fa22876a4800baebf628937", "relations": [{"rule": 2, "type": "equivalent", "target": "015f86ba00a8c62cc2bcacd3ff836312", "evidence": {"same_day": true, "patch_ids": ["4166b39528335f0a576fafa3b64467f9"], "statement_hash": "97591150afeaafa2818831087d05ee4d8d5c519b6fa22876a4800baebf628937"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "015f86ba00a8c62cc2bcacd3ff836312", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在 contrib/earthdistance 的 SQL 语言函数声明中使用 SQL 标准函数体", "evidence": {"same_day": true, "patch_ids": ["4166b39528335f0a576fafa3b64467f9"], "statement_hash": "97591150afeaafa2818831087d05ee4d8d5c519b6fa22876a4800baebf628937"}, "url": "/docs/compare/?release=16.7#16.7-68b4a754aada8bca", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-c829313afa8e8caf", "cves": [], "html": "<p>检测 <code>contrib/pageinspect</code> 的 SQL 声明与底层共享库之间的版本不匹配（Tomas Vondra）<a href=\"https://postgr.es/c/3668c1d50\">§</a></p>\n<p>此前，这种不匹配在调用 <code>brin_page_items()</code> 时可能导致崩溃。现在则会抛出一条建议更新扩展的错误消息。</p>", "text": "检测 contrib/pageinspect 的 SQL 声明与底层共享库之间的版本不匹配（Tomas Vondra）§ 此前，这种不匹配在调用 brin_page_items() 时可能导致崩溃。现在则会抛出一条建议更新扩展的错误消息。", "title": "检测 contrib/pageinspect 的 SQL 声明与底层共享库之间的版本不匹配", "commits": ["3668c1d50"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "fc8fb6dbe2cbd3815b7948e9899ff08f1cfca9b1e15492dfd3f913603b69e4aa", "section_path": ["变更"], "commit_groups": [["3668c1d50", "957ba9ff1"]], "identity_text": "Detect version mismatch between contrib/pageinspect's SQL declarations and the underlying shared library (Tomas Vondra) Previously, such a mismatch could result in a crash while calling brin_page_items(). Instead throw an error recommending updating the extension.", "commit_aliases": ["3668c1d50", "957ba9ff1"], "source_commits": ["3668c1d50"], "source_entry_id": "17.3/changes/063", "db_id": "9ba03272346936224eab383cf2a45c67", "patch_ids": ["38f8118101cddb95ee30d143942235d8"], "statement_hash": "ea718a2154d5e6658f5c2170484f0beecd67c4409599f40bebdba2fbfea8177f", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-1d9d99d54df071b9", "cves": [], "html": "<p>在尝试取消 <code>contrib/postgres_fdw</code> 中的远程查询时，如果取消请求看起来没有生效，则会重发数次（Tom Lane）<a href=\"https://postgr.es/c/89962bfef\">§</a></p>\n<p>这修复了一种竞争条件：我们可能在远程服务器尚未开始处理刚发出的查询前就尝试取消它，从而导致首次取消请求被忽略。</p>", "text": "在尝试取消 contrib/postgres_fdw 中的远程查询时，如果取消请求看起来没有生效，则会重发数次（Tom Lane）§ 这修复了一种竞争条件：我们可能在远程服务器尚未开始处理刚发出的查询前就尝试取消它，从而导致首次取消请求被忽略。", "title": "在尝试取消 contrib/postgres_fdw 中的远程查询时，如果取消请求看起来没有生效，则会重发数次", "commits": ["89962bfef"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "c6717b137d822966548a56d5d0918c9e79187b4fb6f45e35411f37906f540b98", "section_path": ["变更"], "commit_groups": [["89962bfef", "c431986de"]], "identity_text": "When trying to cancel a remote query in contrib/postgres_fdw, re-issue the cancel request a few times if it didn't seem to do anything (Tom Lane) This fixes a race condition where we might try to cancel a just-sent query before the remote server has started to process it, so that the initial cancel request is ignored.", "commit_aliases": ["89962bfef", "c431986de"], "source_commits": ["89962bfef"], "source_entry_id": "17.3/changes/064", "db_id": "45bfe667a71ddfcc832c55e61a6ffc66", "patch_ids": ["91c4d5272a7535638e11a3b68d306dbd"], "statement_hash": "8978810a56a9bcd108afcb7f46175600307575de6d9b991d0e49040659e2745d", "relations": [], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.3-8a671992c235df32", "cves": [], "html": "<p>更新确定访问 ARM CRC 指令所需编译器开关的配置探测（Tom Lane）<a href=\"https://postgr.es/c/e266a0ed6\">§</a></p>\n<p>在基线 CPU 目标缺少 CRC 指令的 ARM 平台上，我们需要提供 <code>-march</code> 开关来说服编译器编译此类指令。较新版本的 gcc 会拒绝我们尝试使用的值，导致静默回退到软件 CRC。</p>", "text": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测（Tom Lane）§ 在基线 CPU 目标缺少 CRC 指令的 ARM 平台上，我们需要提供 -march 开关来说服编译器编译此类指令。较新版本的 gcc 会拒绝我们尝试使用的值，导致静默回退到软件 CRC。", "title": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测", "commits": ["e266a0ed6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "9af6e29e5f0844b9d7853f1af1d0abaecf94ef00de8cbaf9e073aa3f2e8fa442", "section_path": ["变更"], "commit_groups": [["1f4aadec4", "2fc0199a5", "32057a0f7", "5980f1884", "851c6ff18", "e266a0ed6"]], "identity_text": "Update configuration probes that determine the compiler switches needed to access ARM CRC instructions (Tom Lane) On ARM platforms where the baseline CPU target lacks CRC instructions, we need to supply a -march switch to persuade the compiler to compile such instructions. Recent versions of gcc reject the value we were trying, leading to silently falling back to software CRC.", "commit_aliases": ["1f4aadec4", "2fc0199a5", "32057a0f7", "5980f1884", "851c6ff18", "e266a0ed6"], "source_commits": ["e266a0ed6"], "source_entry_id": "17.3/changes/065", "db_id": "7c8a25ae045c947ceb8481059eedcad6", "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff", "relations": [{"rule": 2, "type": "equivalent", "target": "013804caf7d663365e5b1791e27a1165", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}}, {"rule": 2, "type": "equivalent", "target": "066d2cfb2d4a8a019169ec8382d70405", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}}, {"rule": 2, "type": "equivalent", "target": "8d052bbfa78af5a4ff3ef6a2acbfea22", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}}, {"rule": 2, "type": "equivalent", "target": "efde16b479de96d5468b6417828e333f", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "013804caf7d663365e5b1791e27a1165", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}, "url": "/docs/compare/?release=16.7#16.7-349b1c6e3082782f", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "8d052bbfa78af5a4ff3ef6a2acbfea22", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}, "url": "/docs/compare/?release=15.11#15.11-821b3e259435043c", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "efde16b479de96d5468b6417828e333f", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}, "url": "/docs/compare/?release=14.16#14.16-5a49e77b3158c578", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "066d2cfb2d4a8a019169ec8382d70405", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "更新确定访问 ARM CRC 指令所需编译器开关的配置探测", "evidence": {"same_day": true, "patch_ids": ["b55e71b4ca2319e1ba5cf9905dcc1247"], "statement_hash": "ca52ff95e34b5e2345a30c54af023ca9068c6a3b44cd6223e7f20d8a8b2982ff"}, "url": "/docs/compare/?release=13.19#13.19-c358a0bafc40fb0c", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}, {"id": "17.3-549db9de65568473", "cves": [], "html": "<p>修复 meson 构建系统，使其在 Windows 上支持旧版 OpenSSL 库（Darek Slusarczyk）<a href=\"https://postgr.es/c/0951d4ee4\">§</a></p>\n<p>新增对旧式库名 <code>ssleay32</code> 和 <code>libeay32</code> 的支持。</p>", "text": "修复 meson 构建系统，使其在 Windows 上支持旧版 OpenSSL 库（Darek Slusarczyk）§ 新增对旧式库名 ssleay32 和 libeay32 的支持。", "title": "修复 meson 构建系统，使其在 Windows 上支持旧版 OpenSSL 库", "commits": ["0951d4ee4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "60bf6d078ef8736aa5b459e9fc4efbf6d6d3b2e943f675d2f77fbd7ccaa29a9b", "section_path": ["变更"], "commit_groups": [["0951d4ee4", "60516fc8b"]], "identity_text": "Fix meson build system to support old OpenSSL libraries on Windows (Darek Slusarczyk) Add support for the legacy library names ssleay32 and libeay32.", "commit_aliases": ["0951d4ee4", "60516fc8b"], "source_commits": ["0951d4ee4"], "source_entry_id": "17.3/changes/066", "db_id": "aa00ee4390413fa3543622d09f54a47b", "patch_ids": ["0351e282c487856f12934ed4971e869d"], "statement_hash": "304cb98b004a6406b891a240318b530e9084ea57a75f3314214a729eac412e68", "relations": [{"rule": 2, "type": "equivalent", "target": "167a6ea604fd45ed8a281b002112ed71", "evidence": {"same_day": true, "patch_ids": ["0351e282c487856f12934ed4971e869d"], "statement_hash": "304cb98b004a6406b891a240318b530e9084ea57a75f3314214a729eac412e68"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "167a6ea604fd45ed8a281b002112ed71", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 meson 构建系统，使其在 Windows 上支持旧版 OpenSSL 库", "evidence": {"same_day": true, "patch_ids": ["0351e282c487856f12934ed4971e869d"], "statement_hash": "304cb98b004a6406b891a240318b530e9084ea57a75f3314214a729eac412e68"}, "url": "/docs/compare/?release=16.7#16.7-549db9de65568473", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-cdfcf7e830c92c76", "cves": [], "html": "<p>在使用 meson 的 Windows 构建中，确保所有 libcommon 和 libpgport 函数都被导出（Vladlen Popolitov，Heikki Linnakangas）<a href=\"https://postgr.es/c/c80acbc6f\">§</a> <a href=\"https://postgr.es/c/d8b0c6411\">§</a></p>\n<p>这修复了扩展的 <span>“<span>unresolved external symbol</span>”</span> 构建错误。</p>", "text": "在使用 meson 的 Windows 构建中，确保所有 libcommon 和 libpgport 函数都被导出（Vladlen Popolitov，Heikki Linnakangas）§ § 这修复了扩展的 “unresolved external symbol” 构建错误。", "title": "在使用 meson 的 Windows 构建中，确保所有 libcommon 和 libpgport 函数都被导出", "commits": ["c80acbc6f", "d8b0c6411"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "177da14b0fbb7994aaa3d6881ce191668362e5335e2569e9a49f1b2ad19f041e", "section_path": ["变更"], "commit_groups": [["07f902bd7", "643efb18b", "d8b0c6411"], ["2571c1d5c", "4e0d71ff2", "c80acbc6f"]], "identity_text": "In Windows builds using meson, ensure all libcommon and libpgport functions are exported (Vladlen Popolitov, Heikki Linnakangas) This fixes unresolved external symbol build errors for extensions.", "commit_aliases": ["07f902bd7", "2571c1d5c", "4e0d71ff2", "643efb18b", "c80acbc6f", "d8b0c6411"], "source_commits": ["c80acbc6f", "d8b0c6411"], "source_entry_id": "17.3/changes/067", "db_id": "da327ea5a2357f6b7a56dcff1f652dbf", "patch_ids": ["65debd777c59314281870528f7dea135", "b169d5a0d35fa5bc464bb73a0ff399cb"], "statement_hash": "1928d3b1486463c44887b3f92a72c78378a987baeb1989c718feeaa08f8753e9", "relations": [{"rule": 2, "type": "equivalent", "target": "4b26119fdb134955f7779c7a65f8d6d4", "evidence": {"same_day": true, "patch_ids": ["65debd777c59314281870528f7dea135", "b169d5a0d35fa5bc464bb73a0ff399cb"], "statement_hash": "1928d3b1486463c44887b3f92a72c78378a987baeb1989c718feeaa08f8753e9"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4b26119fdb134955f7779c7a65f8d6d4", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "在使用 meson 的 Windows 构建中，确保所有 libcommon 和 libpgport 函数都被导出", "evidence": {"same_day": true, "patch_ids": ["65debd777c59314281870528f7dea135", "b169d5a0d35fa5bc464bb73a0ff399cb"], "statement_hash": "1928d3b1486463c44887b3f92a72c78378a987baeb1989c718feeaa08f8753e9"}, "url": "/docs/compare/?release=16.7#16.7-60e136bcf536c64e", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-5bf0574e2c4f4693", "cves": [], "html": "<p>修复 meson 配置过程，使其能够在 MSVC 下正确检测 OSSP 的 <code>uuid.h</code> 头文件（Andrew Dunstan）<a href=\"https://postgr.es/c/7c655a04a\">§</a></p>", "text": "修复 meson 配置过程，使其能够在 MSVC 下正确检测 OSSP 的 uuid.h 头文件（Andrew Dunstan）§", "title": "修复 meson 配置过程，使其能够在 MSVC 下正确检测 OSSP 的 uuid.h 头文件", "commits": ["7c655a04a"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "46ede42c0ceb764e1cfc1d681888de4825e4a9d0e79a63e925f6b605f1ad5454", "section_path": ["变更"], "commit_groups": [["1250adfdf", "7c655a04a"]], "identity_text": "Fix meson configuration process to correctly detect OSSP's uuid.h header file under MSVC (Andrew Dunstan)", "commit_aliases": ["1250adfdf", "7c655a04a"], "source_commits": ["7c655a04a"], "source_entry_id": "17.3/changes/068", "db_id": "aa6783fb4dd4dfe9acdf09c3a9262b3e", "patch_ids": ["bf62311ff605af43c3ffbcbffa0a2c61"], "statement_hash": "54b8d7a479dcd40cc54698304c561dbd82266d3639dac9cde63478bd6879c2bf", "relations": [{"rule": 2, "type": "equivalent", "target": "c30aa416d1402c216fd1126b7ce12734", "evidence": {"same_day": true, "patch_ids": ["bf62311ff605af43c3ffbcbffa0a2c61"], "statement_hash": "54b8d7a479dcd40cc54698304c561dbd82266d3639dac9cde63478bd6879c2bf"}}], "version": "17.3", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "c30aa416d1402c216fd1126b7ce12734", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "修复 meson 配置过程，使其能够在 MSVC 下正确检测 OSSP 的 uuid.h 头文件", "evidence": {"same_day": true, "patch_ids": ["bf62311ff605af43c3ffbcbffa0a2c61"], "statement_hash": "54b8d7a479dcd40cc54698304c561dbd82266d3639dac9cde63478bd6879c2bf"}, "url": "/docs/compare/?release=16.7#16.7-5bf0574e2c4f4693", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-160a2816ff517421", "cves": [], "html": "<p>使用 meson 构建时，将 <code>pgevent</code> 安装到 <em><code>pkglibdir</code></em> 而不是 <em><code>bindir</code></em>（Peter Eisentraut）<a href=\"https://postgr.es/c/e00c1e249\">§</a></p>\n<p>这与基于 make 的构建系统和旧的 MSVC 构建系统的行为一致。</p>", "text": "使用 meson 构建时，将 pgevent 安装到 pkglibdir 而不是 bindir（Peter Eisentraut）§ 这与基于 make 的构建系统和旧的 MSVC 构建系统的行为一致。", "title": "使用 meson 构建时，将 pgevent 安装到 pkglibdir 而不是 bindir", "commits": ["e00c1e249"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "3fb23c52476706ea7b9cbe4ab77989e995f1f57916bad4001cb644f7e3150a0c", "section_path": ["变更"], "commit_groups": [["4ee130c6e", "766b0b40a", "e00c1e249"]], "identity_text": "When building with meson, install pgevent in pkglibdir not bindir (Peter Eisentraut) This matches the behavior of the make-based build system and the old MSVC build system.", "commit_aliases": ["4ee130c6e", "766b0b40a", "e00c1e249"], "source_commits": ["e00c1e249"], "source_entry_id": "17.3/changes/069", "db_id": "bee7fa30399678db283a444722fb509c", "patch_ids": ["a1e0da7f877b2369bacd3ae49ee9a11e"], "statement_hash": "54ba556cda2e41fd738d93e0aaa441935a1429ebf065528d74879655ada50780", "relations": [{"rule": 2, "type": "equivalent", "target": "87581ff0c0fbe8029a5aefd20ca85eca", "evidence": {"same_day": true, "patch_ids": ["a1e0da7f877b2369bacd3ae49ee9a11e"], "statement_hash": "54ba556cda2e41fd738d93e0aaa441935a1429ebf065528d74879655ada50780"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "87581ff0c0fbe8029a5aefd20ca85eca", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "使用 meson 构建时，将 pgevent 安装到 pkglibdir 而不是 bindir", "evidence": {"same_day": true, "patch_ids": ["a1e0da7f877b2369bacd3ae49ee9a11e"], "statement_hash": "54ba556cda2e41fd738d93e0aaa441935a1429ebf065528d74879655ada50780"}, "url": "/docs/compare/?release=16.7#16.7-8303bc83c95e666c", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-2b777acca3f50926", "cves": [], "html": "<p>使用 meson 构建时，将 <code>sepgsql.sql</code> 安装到 <code>share/contrib/</code> 而不是 <code>share/extension/</code>（Peter Eisentraut）<a href=\"https://postgr.es/c/24c5b73eb\">§</a></p>\n<p>这与基于 make 的构建系统的行为一致。</p>", "text": "使用 meson 构建时，将 sepgsql.sql 安装到 share/contrib/ 而不是 share/extension/（Peter Eisentraut）§ 这与基于 make 的构建系统的行为一致。", "title": "使用 meson 构建时，将 sepgsql.sql 安装到 share/contrib/ 而不是 share/extension/", "commits": ["24c5b73eb"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "5eb5559d5e023a0df446737d368b5d29d7c259ff47bf2fe5ce4884052490f17e", "section_path": ["变更"], "commit_groups": [["02ed3c2bd", "155d6162e", "24c5b73eb"]], "identity_text": "When building with meson, install sepgsql.sql under share/contrib/ not share/extension/ (Peter Eisentraut) This matches what the make-based build system does.", "commit_aliases": ["02ed3c2bd", "155d6162e", "24c5b73eb"], "source_commits": ["24c5b73eb"], "source_entry_id": "17.3/changes/070", "db_id": "8e7ad12fc517c61dc6a91d2b881cb496", "patch_ids": ["4e11fad9a4c5664cf294ef38993f602c"], "statement_hash": "2c092e252cb03be63e1603b863560e7f70047da9a0e836a8fa8d5175f0224c6a", "relations": [{"rule": 2, "type": "equivalent", "target": "47127e8eaea3452c65bdc178df3adc86", "evidence": {"same_day": true, "patch_ids": ["4e11fad9a4c5664cf294ef38993f602c"], "statement_hash": "2c092e252cb03be63e1603b863560e7f70047da9a0e836a8fa8d5175f0224c6a"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "47127e8eaea3452c65bdc178df3adc86", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "使用 meson 构建时，将 sepgsql.sql 安装到 share/contrib/ 而不是 share/extension/", "evidence": {"same_day": true, "patch_ids": ["4e11fad9a4c5664cf294ef38993f602c"], "statement_hash": "2c092e252cb03be63e1603b863560e7f70047da9a0e836a8fa8d5175f0224c6a"}, "url": "/docs/compare/?release=16.7#16.7-2d6261fb725ebb47", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}]}, {"id": "17.3-bf7d1c9ccfa2521e", "cves": [], "html": "<p>更新时区数据文件至 <span>tzdata</span> 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正（Tom Lane）<a href=\"https://postgr.es/c/e292ba333\">§</a></p>", "text": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正（Tom Lane）§", "title": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正", "commits": ["e292ba333"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.3/#RELEASE-17-3-CHANGES", "source_hash": "2fc8ad3a3cc5eecdf219d813f7e1dfc2007650aa4295aacb5ca084c8d0ea8ecc", "section_path": ["变更"], "commit_groups": [["20b4819d0", "48bc95d0d", "60c513f8f", "6397819c8", "d62403c51", "e292ba333"]], "identity_text": "Update time zone data files to tzdata release 2025a for DST law changes in Paraguay, plus historical corrections for the Philippines (Tom Lane)", "commit_aliases": ["20b4819d0", "48bc95d0d", "60c513f8f", "6397819c8", "d62403c51", "e292ba333"], "source_commits": ["e292ba333"], "source_entry_id": "17.3/changes/071", "db_id": "142b6f5b8f5412088d8a118b9747bbd1", "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b", "relations": [{"rule": 2, "type": "equivalent", "target": "96dcfa4106a9d8c891112ee991959a59", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}}, {"rule": 2, "type": "equivalent", "target": "b2eef5973920bcf8f3be6ddb2e79db35", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}}, {"rule": 2, "type": "equivalent", "target": "c7a079298874b849c2e215248946734d", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}}, {"rule": 2, "type": "equivalent", "target": "f6f570a8d6d74874c021872f79b537b9", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}}], "version": "17.3", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "96dcfa4106a9d8c891112ee991959a59", "kind": "equivalent", "version": "16.7", "label": "16.7", "title": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}, "url": "/docs/compare/?release=16.7#16.7-3c5219a3c087cbf0", "source_url": "/docs/release/16.7/#RELEASE-16-7-CHANGES"}, {"db_id": "c7a079298874b849c2e215248946734d", "kind": "equivalent", "version": "15.11", "label": "15.11", "title": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}, "url": "/docs/compare/?release=15.11#15.11-3a998d6879710842", "source_url": "/docs/release/15.11/#ZH-AUTO-RELEASE-15-SECT2-14"}, {"db_id": "f6f570a8d6d74874c021872f79b537b9", "kind": "equivalent", "version": "14.16", "label": "14.16", "title": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}, "url": "/docs/compare/?release=14.16#14.16-6c536e8b80eb9696", "source_url": "/docs/release/14.16/#ZH-AUTO-RELEASE-14-SECT2-14"}, {"db_id": "b2eef5973920bcf8f3be6ddb2e79db35", "kind": "equivalent", "version": "13.19", "label": "13.19", "title": "更新时区数据文件至 tzdata 2025a 版本，包含巴拉圭的夏令时法律变更以及菲律宾的历史修正", "evidence": {"same_day": true, "patch_ids": ["b96e4bf70e6c7d6fc7f41c80dad551de"], "statement_hash": "5346ed21e02631d4697c45a0336cf64356b252cb09dfea4366d7c5b3f02cc25b"}, "url": "/docs/compare/?release=13.19#13.19-e9856e484813a85d", "source_url": "/docs/release/13.19/#id-1.11.6.10.6"}]}]}, {"date": "2024-11-21", "build": "17.2", "major": "17", "minor": 2, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.2", "eol_date": "2029-11-08", "date_text": "2024-11-21", "supported": true, "manual_url": "/docs/17/release-17-2.html", "source_url": "/docs/release/17.2/", "entry_count": 8, "placeholder": false, "content_hash": "c41f955ce3d3ffd5a54db4afb8dc7a935ff43be658e2359343b4fb0c3bad5c39", "manual_build": "17.12", "source_as_of": "", "changes_count": 8, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你是从早于 17.1 的版本升级，请参见<a href=\"/docs/17/release-17-1.html\" title=\"E.11. 17.1 发布\">第 E.11 节</a>。</p>", "compatibility_count": 0, "label": "17.2", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 723, "support_days": 1090, "entries": [{"id": "17.2-21d6cfdc332a4791", "cves": [], "html": "<p>修复与 struct <code>ResultRelInfo</code> 协作的扩展的 ABI 破坏（Tom Lane）<a href=\"https://postgr.es/c/6bfacd368\">§</a></p>\n<p>上周的次版本发布无意中破坏了与 <span>timescaledb</span> 及若干其他扩展的二进制兼容性。现将受影响的结构体恢复到先前大小，以便此类扩展无需重新构建。</p>", "text": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏（Tom Lane）§ 上周的次版本发布无意中破坏了与 timescaledb 及若干其他扩展的二进制兼容性。现将受影响的结构体恢复到先前大小，以便此类扩展无需重新构建。", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "commits": ["6bfacd368"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "873ea5c44787337a288e47c3062d4c858c30dd2e00093c9418693256e15ee3d2", "section_path": ["变更"], "commit_groups": [["099e711b7", "17db248f3", "6bfacd368", "ee33d5847"]], "identity_text": "Repair ABI break for extensions that work with struct ResultRelInfo (Tom Lane) Last week's minor releases unintentionally broke binary compatibility with timescaledb and several other extensions. Restore the affected structure to its previous size, so that such extensions need not be rebuilt.", "commit_aliases": ["099e711b7", "17db248f3", "6bfacd368", "ee33d5847"], "source_commits": ["6bfacd368"], "source_entry_id": "17.2/changes/001", "db_id": "a929df65b7c7dd604ebadc2316aa26ac", "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848", "relations": [{"rule": 2, "type": "equivalent", "target": "168f409145dd973b0f389e0faa385826", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}, {"rule": 2, "type": "equivalent", "target": "69437a2d1a205badf04c74ff87163e3e", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}, {"rule": 2, "type": "equivalent", "target": "de763be496358f3e7348203940378465", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}}], "version": "17.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "69437a2d1a205badf04c74ff87163e3e", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=16.6#16.6-21d6cfdc332a4791", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "168f409145dd973b0f389e0faa385826", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=15.10#15.10-21d6cfdc332a4791", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "de763be496358f3e7348203940378465", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "修复与 struct ResultRelInfo 协作的扩展的 ABI 破坏", "evidence": {"same_day": true, "patch_ids": ["612d102f28be68bf35b173df20386d6f"], "statement_hash": "859ff305652623150b34f958dd3fd907284fe1adb5201317f90d73b2a4245848"}, "url": "/docs/compare/?release=14.15#14.15-21d6cfdc332a4791", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}]}, {"id": "17.2-d77293a82e3a14e5", "cves": ["CVE-2024-10978"], "html": "<p>恢复 <code>ALTER {ROLE|DATABASE} SET role</code> 的功能（Tom Lane，Noah Misch）<a href=\"https://postgr.es/c/1c05004a8\">§</a></p>\n<p>针对 CVE-2024-10978 的修复意外导致来自非交互式来源的 <code>role</code> 设置不被应用，包括之前的 <code>ALTER {ROLE|DATABASE}</code> 命令和 <code>PGOPTIONS</code> 环境变量。</p>", "text": "恢复 ALTER {ROLE|DATABASE} SET role 的功能（Tom Lane，Noah Misch）§ 针对 CVE-2024-10978 的修复意外导致来自非交互式来源的 role 设置不被应用，包括之前的 ALTER {ROLE|DATABASE} 命令和 PGOPTIONS 环境变量。", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "commits": ["1c05004a8"], "section": "变更", "category": "security", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "7d47d42a1fdc68232fa6979c4e272c87bb5fe6a3397cd31a84556c61b1f5c2b1", "section_path": ["变更"], "commit_groups": [["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"]], "identity_text": "Restore functionality of ALTER {ROLE|DATABASE} SET role (Tom Lane, Noah Misch) The fix for CVE-2024-10978 accidentally caused settings for role to not be applied if they come from non-interactive sources, including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS environment variable.", "commit_aliases": ["07c6e0f61", "1c05004a8", "7b88529f4", "b0918c128", "be062bfa5", "c46333865", "edf80895f"], "source_commits": ["1c05004a8"], "source_entry_id": "17.2/changes/002", "db_id": "f20342f7ad93514b4af50956c971c3b8", "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1", "relations": [{"rule": 2, "type": "equivalent", "target": "2738c31dbd265aa929daa4b4aa4a67ba", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "5b38c75ca60bfc75793b4821795e8ef6", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "acf7b13b266fc0c0b48132f58dda40a4", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "bbc5cf6b20273068c4d6c9dd65da0b05", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}, {"rule": 2, "type": "equivalent", "target": "e4a3a55b29e3e45132a44ee9d76a8b7a", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}}], "version": "17.2", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "bbc5cf6b20273068c4d6c9dd65da0b05", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=16.6#16.6-59096cd01766b695", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "5b38c75ca60bfc75793b4821795e8ef6", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=15.10#15.10-d3c8a67fc12652c8", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "e4a3a55b29e3e45132a44ee9d76a8b7a", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=14.15#14.15-422cf39c7394aada", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}, {"db_id": "2738c31dbd265aa929daa4b4aa4a67ba", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=13.18#13.18-2dcb90b343e7bf55", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}, {"db_id": "acf7b13b266fc0c0b48132f58dda40a4", "kind": "equivalent", "version": "12.22", "label": "12.22", "title": "恢复 ALTER {ROLE|DATABASE} SET role 的功能", "evidence": {"same_day": true, "patch_ids": ["919a51e9d5f17a763b934dd71ff20f74"], "statement_hash": "58d30457493a9f01745241c5d06236c69fc1c5c8ddb5044ce94a9c4a4075fee1"}, "url": "/docs/compare/?release=12.22#12.22-87cfe420bf12aef8", "source_url": "/docs/release/12.22/#id-1.11.6.6.6"}]}, {"id": "17.2-75cf64383155ff92", "cves": [], "html": "<p>修复逻辑复制槽的 <code>restart_lsn</code> 可能后退的情况（Masahiko Sawada）<a href=\"https://postgr.es/c/568e78a65\">§</a></p>\n<p>之前，重启逻辑复制有时会导致复制槽的重启点被重新计算为一个比 <code>pg_replication_slots</code> 中先前公布值更旧的位置。这是有问题的，因为例如 WAL 文件可能已经根据较新的 <code>restart_lsn</code> 值被删除，在这种情况下复制将无法重启。</p>", "text": "修复逻辑复制槽的 restart_lsn 可能后退的情况（Masahiko Sawada）§ 之前，重启逻辑复制有时会导致复制槽的重启点被重新计算为一个比 pg_replication_slots 中先前公布值更旧的位置。这是有问题的，因为例如 WAL 文件可能已经根据较新的 restart_lsn 值被删除，在这种情况下复制将无法重启。", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "commits": ["568e78a65"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "1021cc93d5638a2fac5982e1314ca337f15102a5e3d7740a463546506601d5be", "section_path": ["变更"], "commit_groups": [["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"]], "identity_text": "Fix cases where a logical replication slot's restart_lsn could go backwards (Masahiko Sawada) Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in pg_replication_slots. This is bad, since for example WAL files might have been removed on the basis of the later restart_lsn value, in which case replication would fail to restart.", "commit_aliases": ["15dc1abb1", "26c4e8968", "568e78a65", "91771b3fb", "e5ed873b1", "f35391133"], "source_commits": ["568e78a65"], "source_entry_id": "17.2/changes/003", "db_id": "7314b3acc1bcea03af87a29d6ae66d66", "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48", "relations": [{"rule": 2, "type": "equivalent", "target": "2379d7430937e26c867f0b3b2bc9112f", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "8f0e270da299adb30e1901570a8fe309", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "eeac887b0b63b2fdf6611c932284ec81", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}, {"rule": 2, "type": "equivalent", "target": "f3d3824aa67522cf3e92153b05732253", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}}], "version": "17.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "8f0e270da299adb30e1901570a8fe309", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=16.6#16.6-20c2a4b20819e474", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f3d3824aa67522cf3e92153b05732253", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=15.10#15.10-0aa3e2da88ef79d2", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "eeac887b0b63b2fdf6611c932284ec81", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=14.15#14.15-dbdf316123c7d4cb", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}, {"db_id": "2379d7430937e26c867f0b3b2bc9112f", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "修复逻辑复制槽的 restart_lsn 可能后退的情况", "evidence": {"same_day": true, "patch_ids": ["069bd53d83383ae0d89ffa6e359b6218"], "statement_hash": "a88aae52abe4e6ce8da143195ef0b2e48986b4030d26c50d007b00695a6a6a48"}, "url": "/docs/compare/?release=13.18#13.18-73debc97f1da2a16", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "17.2-9ee78747990a7f5d", "cves": [], "html": "<p>避免在 <span>pg_rewind</span> 过程中删除仍然需要的 WAL 文件（Polina Bungina，Alexander Kukushkin）<a href=\"https://postgr.es/c/cb844d66b\">§</a></p>\n<p>之前，在不巧的情况下，<span>pg_rewind</span> 可能会从被回退的降级主库中删除重要的 WAL 文件。特别是当这些文件已经被标记为待归档（即其 <code>.ready</code> 文件已创建）但尚未归档时，就会发生这种情况。此时新提升的节点不再拥有这些文件，因为它们已经被回收，但降级节点的恢复可能需要它们。如果 <span>pg_rewind</span> 将它们删除，恢复就不再可能了。</p>", "text": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件（Polina Bungina，Alexander Kukushkin）§ 之前，在不巧的情况下，pg_rewind 可能会从被回退的降级主库中删除重要的 WAL 文件。特别是当这些文件已经被标记为待归档（即其 .ready 文件已创建）但尚未归档时，就会发生这种情况。此时新提升的节点不再拥有这些文件，因为它们已经被回收，但降级节点的恢复可能需要它们。如果 pg_rewind 将它们删除，恢复就不再可能了。", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "commits": ["cb844d66b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "1f06ddabc297d025564ad945d7358f0104d261d557a9f7ba80766c89a6b20bd0", "section_path": ["变更"], "commit_groups": [["90bcc7c2d", "ba2535841", "cb844d66b", "e28cf2fbc", "ea1649c35"]], "identity_text": "Avoid deleting still-needed WAL files during pg_rewind (Polina Bungina, Alexander Kukushkin) Previously, in unlucky cases, it was possible for pg_rewind to remove important WAL files from the rewound demoted primary. In particular this happens if those files have been marked for archival (i.e., their .ready files were created) but not yet archived. Then the newly promoted node no longer has such files because of them having been recycled, but likely they are needed for recovery in the demoted node. If pg_rewind removes them, recovery is not possible anymore.", "commit_aliases": ["90bcc7c2d", "ba2535841", "cb844d66b", "e28cf2fbc", "ea1649c35"], "source_commits": ["cb844d66b"], "source_entry_id": "17.2/changes/004", "db_id": "d2603878b41c2d936f901ed56a1d37ec", "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac", "relations": [{"rule": 2, "type": "equivalent", "target": "1896f4f2f5b9418011061c7f0dbc7045", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}, {"rule": 2, "type": "equivalent", "target": "807626e2c9a2f106ad39d890276237af", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}, {"rule": 2, "type": "equivalent", "target": "d42182b95044d61916eb49e3d9a2ae1f", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}}], "version": "17.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1896f4f2f5b9418011061c7f0dbc7045", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=16.6#16.6-8d0c746f2a07d9fd", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "d42182b95044d61916eb49e3d9a2ae1f", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=15.10#15.10-02e466d0de6e4be8", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "807626e2c9a2f106ad39d890276237af", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "避免在 pg_rewind 过程中删除仍然需要的 WAL 文件", "evidence": {"same_day": true, "patch_ids": ["d320398b63f9dcbb0f110189615dd149"], "statement_hash": "1b37aa9cc0526f6d97bf41cd77fca716ccb407dcb57b1b3f6b0f3b95e69dccac"}, "url": "/docs/compare/?release=14.15#14.15-2ca9269314939c80", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}]}, {"id": "17.2-5bdf47a527bf9a4a", "cves": [], "html": "<p>修复与删除共享统计条目相关的竞态条件（Kyotaro Horiguchi，Michael Paquier）<a href=\"https://postgr.es/c/1d6a03ea4\">§</a></p>\n<p>这些错误可能导致统计数据丢失、断言失败或 <span>“<span>can only drop stats once</span>”</span> 错误。</p>", "text": "修复与删除共享统计条目相关的竞态条件（Kyotaro Horiguchi，Michael Paquier）§ 这些错误可能导致统计数据丢失、断言失败或 “can only drop stats once” 错误。", "title": "修复与删除共享统计条目相关的竞态条件", "commits": ["1d6a03ea4"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "769d505e23f87533d640957706be831a9daec8164839c30f97ec07d6876699d3", "section_path": ["变更"], "commit_groups": [["154c5b42a", "1d6a03ea4", "818119afc", "afa20845d"]], "identity_text": "Fix race conditions associated with dropping shared statistics entries (Kyotaro Horiguchi, Michael Paquier) These bugs could lead to loss of statistics data, assertion failures, or can only drop stats once errors.", "commit_aliases": ["154c5b42a", "1d6a03ea4", "818119afc", "afa20845d"], "source_commits": ["1d6a03ea4"], "source_entry_id": "17.2/changes/005", "db_id": "1d18528def1b782960ba34e22414bb1f", "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671", "relations": [{"rule": 2, "type": "equivalent", "target": "00720585f872ae63f854331bb55a962b", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}}, {"rule": 2, "type": "equivalent", "target": "0fa7615bea3ddf6bfd82ccaebff2bbd7", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}}], "version": "17.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "00720585f872ae63f854331bb55a962b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复与删除共享统计条目相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}, "url": "/docs/compare/?release=16.6#16.6-47157203c08b0395", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "0fa7615bea3ddf6bfd82ccaebff2bbd7", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复与删除共享统计条目相关的竞态条件", "evidence": {"same_day": true, "patch_ids": ["0a64ef9d7674c6e0697749352fdaf9fb"], "statement_hash": "f25eb53c8f81ac8eb59f1923e0db374de706c0132aceb01e3c866db1023fb671"}, "url": "/docs/compare/?release=15.10#15.10-b26f48ce588203d8", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}]}, {"id": "17.2-90ea7632563c16a8", "cves": [], "html": "<p>在统计视图中统计 <code>contrib/bloom</code> 索引的索引扫描次数，例如 <code>pg_stat_user_indexes</code>.<code>idx_scan</code> 计数器（Masahiro Ikeda）<a href=\"https://postgr.es/c/7af6d1306\">§</a></p>", "text": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器（Masahiro Ikeda）§", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "commits": ["7af6d1306"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "21d4fa5b98756a383162dbc7534361de9f95d1159cad472562ffdb50c00b282f", "section_path": ["变更"], "commit_groups": [["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"]], "identity_text": "Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter (Masahiro Ikeda)", "commit_aliases": ["05aac2e83", "16a2bb079", "2a30b6836", "7af6d1306", "93063e2e4", "e493ea866"], "source_commits": ["7af6d1306"], "source_entry_id": "17.2/changes/006", "db_id": "82d8483a4776666f82eb5d319fa2b1c1", "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270", "relations": [{"rule": 2, "type": "equivalent", "target": "2fcab360df6135d0065be944b026bbf0", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "7b67908fa8be25ef7ac6fdbb980b3930", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "cb76eb7a731699077eb60167ca0eaf1f", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}, {"rule": 2, "type": "equivalent", "target": "f15dfa16542819f1af89c8405c6b3e28", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}}], "version": "17.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cb76eb7a731699077eb60167ca0eaf1f", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=16.6#16.6-a73ff36aadffcfcb", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "f15dfa16542819f1af89c8405c6b3e28", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=15.10#15.10-b6a38e4d700ac60e", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "2fcab360df6135d0065be944b026bbf0", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=14.15#14.15-710830664c07845c", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}, {"db_id": "7b67908fa8be25ef7ac6fdbb980b3930", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "在统计视图中统计 contrib/bloom 索引的索引扫描次数，例如 pg_stat_user_indexes.idx_scan 计数器", "evidence": {"same_day": true, "patch_ids": ["18045be1bf3d0d9ae5adcf381594f3dd"], "statement_hash": "119add7bd460017f82ba032c4519dc7a8dea78e099fab867acdd3de837d93270"}, "url": "/docs/compare/?release=13.18#13.18-9fa998bb55f0e4c4", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "17.2-04c251017e57618e", "cves": [], "html": "<p>修复在检查索引的 opclass 选项是否已更改时发生的崩溃（Alexander Korotkov）<a href=\"https://postgr.es/c/a6fa869cf\">§</a></p>\n<p>如果表具有带非默认操作符类选项的索引，某些形式的 <code>ALTER TABLE</code> 会失败。</p>", "text": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃（Alexander Korotkov）§ 如果表具有带非默认操作符类选项的索引，某些形式的 ALTER TABLE 会失败。", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "commits": ["a6fa869cf"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "70d5f5b79045caf987fc2a8d2a39434f6aba865965d682a8915f0900f81fa64b", "section_path": ["变更"], "commit_groups": [["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"]], "identity_text": "Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) Some forms of ALTER TABLE would fail if the table has an index with non-default operator class options.", "commit_aliases": ["247e7647f", "5411e8213", "713b8546a", "a6fa869cf", "b242aba02", "db22b9002"], "source_commits": ["a6fa869cf"], "source_entry_id": "17.2/changes/007", "db_id": "0fdbd063d8cd025895b7106b3f929362", "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f", "relations": [{"rule": 2, "type": "equivalent", "target": "207e3b56e933a534b2897c6a7ad86253", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "3968d61ee6b6651ba3b84916f84db243", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "7c45f4d1fde089f5aee8f5683dbb0d41", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}, {"rule": 2, "type": "equivalent", "target": "ef15430b70b7e1fec1a9ca0e57cd347b", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}}], "version": "17.2", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ef15430b70b7e1fec1a9ca0e57cd347b", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=16.6#16.6-99266a3c2d9d8f9c", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "7c45f4d1fde089f5aee8f5683dbb0d41", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=15.10#15.10-9cdcfef81a8480ac", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "3968d61ee6b6651ba3b84916f84db243", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=14.15#14.15-05619bc8173d26d7", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}, {"db_id": "207e3b56e933a534b2897c6a7ad86253", "kind": "equivalent", "version": "13.18", "label": "13.18", "title": "修复在检查索引的 opclass 选项是否已更改时发生的崩溃", "evidence": {"same_day": true, "patch_ids": ["e5ef0dcbed3b7af0eee17f9caf84ef30"], "statement_hash": "809b8758ffe38c7387d0f5e4843ab7f97041a2848e578522f97e94399f24ea8f"}, "url": "/docs/compare/?release=13.18#13.18-d30b13f05cc1c528", "source_url": "/docs/release/13.18/#id-1.11.6.11.5"}]}, {"id": "17.2-8da3b12ee4e5a2f0", "cves": [], "html": "<p>避免正则表达式解析中由断开的 NFA 子图导致的断言失败（Tom Lane）<a href=\"https://postgr.es/c/5f28e6ba7\">§</a></p>\n<p>此错误在非断言构建版本中似乎没有可见的后果。</p>", "text": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败（Tom Lane）§ 此错误在非断言构建版本中似乎没有可见的后果。", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "commits": ["5f28e6ba7"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.2/#RELEASE-17-2-CHANGES", "source_hash": "33068f2046385c1e45167cf0dbbde6f7239485c5e283df5f41ff663a1c653d50", "section_path": ["变更"], "commit_groups": [["2496c3f6f", "2bdd3b248", "5f28e6ba7", "b6312becc", "b69bdcee9"]], "identity_text": "Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing (Tom Lane) This bug does not appear to have any visible consequences in non-assert builds.", "commit_aliases": ["2496c3f6f", "2bdd3b248", "5f28e6ba7", "b6312becc", "b69bdcee9"], "source_commits": ["5f28e6ba7"], "source_entry_id": "17.2/changes/008", "db_id": "7132e8ee5e563160e4af1338d1453f50", "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004", "relations": [{"rule": 2, "type": "equivalent", "target": "94a032b95e9db1fe83976fb39e718933", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}, {"rule": 2, "type": "equivalent", "target": "bf21d683f8d0d96f9d055bb4bef1de43", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}, {"rule": 2, "type": "equivalent", "target": "ed482b33005a888ec593b9b1ccf803d9", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}}], "version": "17.2", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "bf21d683f8d0d96f9d055bb4bef1de43", "kind": "equivalent", "version": "16.6", "label": "16.6", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=16.6#16.6-2bddeab9fc0ea18f", "source_url": "/docs/release/16.6/#RELEASE-16-6-CHANGES"}, {"db_id": "ed482b33005a888ec593b9b1ccf803d9", "kind": "equivalent", "version": "15.10", "label": "15.10", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=15.10#15.10-8a351c4062ed4ce2", "source_url": "/docs/release/15.10/#ZH-AUTO-RELEASE-15-SECT2-16"}, {"db_id": "94a032b95e9db1fe83976fb39e718933", "kind": "equivalent", "version": "14.15", "label": "14.15", "title": "避免正则表达式解析中由断开的 NFA 子图导致的断言失败", "evidence": {"same_day": true, "patch_ids": ["19538ff2c32bf0b4ca538086ddf05ea3"], "statement_hash": "45e3edda123c32ef78cc61b1940f226e0b09d3402295f9f29cab4d764529d004"}, "url": "/docs/compare/?release=14.15#14.15-43c204e1b7fb072b", "source_url": "/docs/release/14.15/#ZH-AUTO-RELEASE-14-SECT2-16"}]}]}, {"date": "2024-11-14", "build": "17.1", "major": "17", "minor": 1, "manual": "17", "status": "stable", "doc_git": "b9f0e7232f60f380d642ac9b99226606c254b552", "version": "17.1", "eol_date": "2029-11-08", "date_text": "2024-11-14", "supported": true, "manual_url": "/docs/17/release-17-1.html", "source_url": "/docs/release/17.1/", "entry_count": 41, "placeholder": false, "content_hash": "90f39cf7b849ba2ea785ca6fe4dd2936cc015a3247548a29774231d7d8b24bc7", "manual_build": "17.12", "source_as_of": "", "changes_count": 41, "doc_loaded_at": "2026-11-12T17:14:13+00:00", "migration_html": "<p>对于运行 17.X 的用户，无需执行转储/恢复。</p>\n<p>不过，如果你曾经从一个引用另一分区表的分区表中分离过某个分区，并且之后没有删除该分区，那么你可能需要修复系统目录和/或数据损坏，详见下文第五条变更记录。</p>\n<p>此外，在一种不常见的情况下，如果某个数据库的 <code>LC_CTYPE</code> 设置为 <code>C</code>，而 <code>LC_COLLATE</code> 设置为其他 locale，则文本列上的索引应按下文第六条变更记录所述重新建立索引。</p>", "compatibility_count": 0, "label": "17.1", "status_label": "受支持版本", "eol": "2029-11-08", "age_days": 730, "support_days": 1090, "entries": [{"id": "17.1-4318690b9c90f7f0", "cves": ["CVE-2024-10976"], "html": "<p>确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色（Nathan Bossart）<a href=\"https://postgr.es/c/edcda9bb4\">§</a></p>\n<p>如果查询中的 CTE、子查询、子链接、安全调用者视图或强制类型转换投影引用了具有行级安全策略的表，我们忽略了将结果执行计划标记为可能依赖于执行它的角色。这可能导致同一会话中后续的查询执行使用错误的执行计划，然后返回或隐藏本应被隐藏或返回的行。</p>\n<p><span>PostgreSQL</span> 项目感谢 Wolfgang Walther 报告此问题。（CVE-2024-10976）</p>", "text": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色（Nathan Bossart）§ 如果查询中的 CTE、子查询、子链接、安全调用者视图或强制类型转换投影引用了具有行级安全策略的表，我们忽略了将结果执行计划标记为可能依赖于执行它的角色。这可能导致同一会话中后续的查询执行使用错误的执行计划，然后返回或隐藏本应被隐藏或返回的行。 PostgreSQL 项目感谢 Wolfgang Walther 报告此问题。（CVE-2024-10976）", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "commits": ["edcda9bb4"], "section": "变更", "category": "security", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "57dabc10d6d81974a93e1fec7bcfbb528d2cdb9b2a97d4af4c5adb3d6c0daa23", "section_path": ["变更"], "commit_groups": [["448525e8a", "4e51030af", "562289460", "6db5ea8de", "952ff31e2", "cd7ab5753", "edcda9bb4"]], "identity_text": "Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference (Nathan Bossart) If a CTE, subquery, sublink, security invoker view, or coercion projection in a query references a table with row-level security policies, we neglected to mark the resulting plan as potentially dependent on which role is executing it. This could lead to later query executions in the same session using the wrong plan, and then returning or hiding rows that should have been hidden or returned instead. The PostgreSQL Project thanks Wolfgang Walther for reporting this problem. (CVE-2024-10976)", "commit_aliases": ["448525e8a", "4e51030af", "562289460", "6db5ea8de", "952ff31e2", "cd7ab5753", "edcda9bb4"], "source_commits": ["edcda9bb4"], "source_entry_id": "17.1/changes/001", "db_id": "903f54d13a35a580860ec5919ffd9391", "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3", "relations": [{"rule": 2, "type": "equivalent", "target": "6cb074d8615f9e4b6de7509ab5409206", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "b35299d8c2b91ca42ad730d56fe1d557", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "d44f16c4afb566a4218e3268550f233b", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "dd2d2a0ef524c238108a866aed2a3928", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}, {"rule": 2, "type": "equivalent", "target": "ea98dde20d96595ff5781f5e31b89a94", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}}], "version": "17.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "d44f16c4afb566a4218e3268550f233b", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=16.5#16.5-8836d65ec119a87b", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "6cb074d8615f9e4b6de7509ab5409206", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=15.9#15.9-0df8f5c6c57017c1", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "b35299d8c2b91ca42ad730d56fe1d557", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=14.14#14.14-ef2b342695c66732", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "ea98dde20d96595ff5781f5e31b89a94", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=13.17#13.17-262bcda4a82de7e4", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "dd2d2a0ef524c238108a866aed2a3928", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "evidence": {"same_day": true, "patch_ids": ["ca54ff224e161547e3903f7a9428139f"], "statement_hash": "82d6eb24bb8a5aec8698c503aa82a36159755dd2df1cbbbd79a94e884e5c2fa3"}, "url": "/docs/compare/?release=12.21#12.21-024fbe5032a8d0a7", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-1082f03d8cb14619", "cves": ["CVE-2024-10977"], "html": "<p>使 <span>libpq</span> 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息（Jacob Champion）<a href=\"https://postgr.es/c/a5cc4c667\">§</a></p>\n<p>在加密协商完成之前收到的错误消息可能是由中间人注入的，而不是真正的服务器输出。报告该消息会带来各种安全隐患；例如，该消息可能伪造查询结果，粗心的用户可能会误以为是正确的输出。最好的方案似乎是丢弃这类数据，仅依赖 <span>libpq</span> 自身对连接失败的报告。</p>\n<p><span>PostgreSQL</span> 项目感谢 Jacob Champion 报告此问题。（CVE-2024-10977）</p>", "text": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息（Jacob Champion）§ 在加密协商完成之前收到的错误消息可能是由中间人注入的，而不是真正的服务器输出。报告该消息会带来各种安全隐患；例如，该消息可能伪造查询结果，粗心的用户可能会误以为是正确的输出。最好的方案似乎是丢弃这类数据，仅依赖 libpq 自身对连接失败的报告。 PostgreSQL 项目感谢 Jacob Champion 报告此问题。（CVE-2024-10977）", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "commits": ["a5cc4c667"], "section": "变更", "category": "security", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "24ea9a1a07d184e01e1e8c0313d2da81b25d7849b5df2968f6160dc583499b2e", "section_path": ["变更"], "commit_groups": [["2a951ef0a", "67d28bd02", "7b49707b7", "a5cc4c667", "bf8835ea9", "d2c3e31c1", "e6c945476"]], "identity_text": "Make libpq discard error messages received during SSL or GSS protocol negotiation (Jacob Champion) An error message received before encryption negotiation is completed might have been injected by a man-in-the-middle, rather than being real server output. Reporting it opens the door to various security hazards; for example, the message might spoof a query result that a careless user could mistake for correct output. The best answer seems to be to discard such data and rely only on libpq's own report of the connection failure. The PostgreSQL Project thanks Jacob Champion for reporting this problem. (CVE-2024-10977)", "commit_aliases": ["2a951ef0a", "67d28bd02", "7b49707b7", "a5cc4c667", "bf8835ea9", "d2c3e31c1", "e6c945476"], "source_commits": ["a5cc4c667"], "source_entry_id": "17.1/changes/002", "db_id": "91332def933a0204d60d03b6aee60a2f", "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e", "relations": [{"rule": 2, "type": "equivalent", "target": "041d5a2ad83eeef120f71cbf6b017715", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "170ef4172dbf8227246b2fd10f547eaf", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "343aad3da37d507acbe87e3c07339848", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "606e86fc061b8305117b462b0fb72f7e", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}, {"rule": 2, "type": "equivalent", "target": "f603cc7c23c00c33a7aaf0a8f34e4e09", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}}], "version": "17.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "170ef4172dbf8227246b2fd10f547eaf", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=16.5#16.5-9d380df74be2cafb", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "f603cc7c23c00c33a7aaf0a8f34e4e09", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=15.9#15.9-5728e455ef5ad54b", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "343aad3da37d507acbe87e3c07339848", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=14.14#14.14-8e4bd7f9b172bf1c", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "606e86fc061b8305117b462b0fb72f7e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=13.17#13.17-6c940adbb9729591", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "041d5a2ad83eeef120f71cbf6b017715", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "evidence": {"same_day": true, "patch_ids": ["7f0305d2fb23504e1e6db659e7871ef3"], "statement_hash": "2d14a7d8ffe6fb8029b15b61d067c13cf4746fb098542feefffa1d74e35bfa6e"}, "url": "/docs/compare/?release=12.21#12.21-6fc5c9c88c8d9ac9", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-bcd14383964f2685", "cves": ["CVE-2024-10978"], "html": "<p>修复 <code>SET SESSION AUTHORIZATION</code> 与 <code>SET ROLE</code> 之间意外的交互（Tom Lane）<a href=\"https://postgr.es/c/cd82afdda\">§</a> <a href=\"https://postgr.es/c/f4f5d27d8\">§</a></p>\n<p>SQL 标准要求 <code>SET SESSION AUTHORIZATION</code> 具有执行 <code>SET ROLE NONE</code> 的副作用。我们对此的实现有缺陷，导致两个设置之间产生了超出预期的交互。值得注意的是，回滚一个执行了 <code>SET SESSION AUTHORIZATION</code> 的事务会将 <code>ROLE</code> 恢复为 <code>NONE</code>，即使之前并非如此，因此有效用户 ID 现在可能与事务之前不同。在函数 <code>SET</code> 子句中临时设置 <code>session_authorization</code> 也有类似的效果。一个相关的错误是，如果并行工作进程检查 <code>current_setting('role')</code>，它会看到 <code>none</code>，即使它应该看到其他值。</p>\n<p><span>PostgreSQL</span> 项目感谢 Tom Lane 报告此问题。（CVE-2024-10978）</p>", "text": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互（Tom Lane）§ § SQL 标准要求 SET SESSION AUTHORIZATION 具有执行 SET ROLE NONE 的副作用。我们对此的实现有缺陷，导致两个设置之间产生了超出预期的交互。值得注意的是，回滚一个执行了 SET SESSION AUTHORIZATION 的事务会将 ROLE 恢复为 NONE，即使之前并非如此，因此有效用户 ID 现在可能与事务之前不同。在函数 SET 子句中临时设置 session_authorization 也有类似的效果。一个相关的错误是，如果并行工作进程检查 current_setting('role')，它会看到 none，即使它应该看到其他值。 PostgreSQL 项目感谢 Tom Lane 报告此问题。（CVE-2024-10978）", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "commits": ["cd82afdda", "f4f5d27d8"], "section": "变更", "category": "security", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "9a3bc2da9e1d4811797b08a7406692d4f482a47cdba2da2c62563fe57cdaa136", "section_path": ["变更"], "commit_groups": [["00b94e8e2", "0edad8654", "109a32380", "73c9f91a1", "95f5a5237", "dc7378793", "f4f5d27d8"], ["2a68808e2", "4c9d96f74", "5a2fed911", "76123ded6", "a5d2e6205", "ae340d031", "cd82afdda"]], "identity_text": "Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE (Tom Lane) The SQL standard mandates that SET SESSION AUTHORIZATION have a side-effect of doing SET ROLE NONE. Our implementation of that was flawed, creating more interaction between the two settings than intended. Notably, rolling back a transaction that had done SET SESSION AUTHORIZATION would revert ROLE to NONE even if that had not been the previous state, so that the effective user ID might now be different from what it had been before the transaction. Transiently setting session_authorization in a function SET clause had a similar effect. A related bug was that if a parallel worker inspected current_setting('role'), it saw none even when it should see something else. The PostgreSQL Project thanks Tom Lane for reporting this problem. (CVE-2024-10978)", "commit_aliases": ["00b94e8e2", "0edad8654", "109a32380", "2a68808e2", "4c9d96f74", "5a2fed911", "73c9f91a1", "76123ded6", "95f5a5237", "a5d2e6205", "ae340d031", "cd82afdda", "dc7378793", "f4f5d27d8"], "source_commits": ["cd82afdda", "f4f5d27d8"], "source_entry_id": "17.1/changes/003", "db_id": "fcbd66ab269c152eb9da16b5b1eeba9d", "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88", "relations": [{"rule": 2, "type": "equivalent", "target": "604f59cff9d6f5774f9b68abcf08958c", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "97797a7d809da6dc757cde719790fc0c", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "b1a4466d9937d8744821f08d11640f15", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "bc5ed2f456883b22d022a9a61741e828", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}, {"rule": 2, "type": "equivalent", "target": "f64aff32abbe75ed4c780fc509e778f6", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}}], "version": "17.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "f64aff32abbe75ed4c780fc509e778f6", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=16.5#16.5-315f7321f2990e19", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "b1a4466d9937d8744821f08d11640f15", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=15.9#15.9-edbb19d6ec7f223e", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "604f59cff9d6f5774f9b68abcf08958c", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=14.14#14.14-4b483cb165d6e486", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "97797a7d809da6dc757cde719790fc0c", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=13.17#13.17-d57adda36139a851", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "bc5ed2f456883b22d022a9a61741e828", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "evidence": {"same_day": true, "patch_ids": ["0f53d135f12041c1e76d37093ce742db", "eba6518020c128bdd7288f5ccdcffc71"], "statement_hash": "a437824687a1e0387cf26cd2c9b09d3e61606ea0fa5e129b3302117736a6fe88"}, "url": "/docs/compare/?release=12.21#12.21-77f2e83b58681f50", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-17e0d808d28707ff", "cves": ["CVE-2024-10979"], "html": "<p>防止受信任的 PL/Perl 代码更改环境变量（Andrew Dunstan，Noah Misch）<a href=\"https://postgr.es/c/3ebcfa54d\">§</a> <a href=\"https://postgr.es/c/4cd4f3b97\">§</a> <a href=\"https://postgr.es/c/8d19f3fea\">§</a></p>\n<p>操纵进程环境变量（如 <code>PATH</code>）的能力会给攻击者提供执行任意代码的机会。因此，<span>“<span>受信任的</span>”</span> PL 不应提供这样的能力。为修复 <code>plperl</code>，将 <code>%ENV</code> 替换为一个绑定的 hash，该 hash 会拒绝任何修改尝试并发出警告。不受信任的 <code>plperlu</code> 保留更改环境的能力。</p>\n<p><span>PostgreSQL</span> 项目感谢 Coby Abrams 报告此问题。（CVE-2024-10979）</p>", "text": "防止受信任的 PL/Perl 代码更改环境变量（Andrew Dunstan，Noah Misch）§ § § 操纵进程环境变量（如 PATH）的能力会给攻击者提供执行任意代码的机会。因此，“受信任的” PL 不应提供这样的能力。为修复 plperl，将 %ENV 替换为一个绑定的 hash，该 hash 会拒绝任何修改尝试并发出警告。不受信任的 plperlu 保留更改环境的能力。 PostgreSQL 项目感谢 Coby Abrams 报告此问题。（CVE-2024-10979）", "title": "防止受信任的 PL/Perl 代码更改环境变量", "commits": ["3ebcfa54d", "4cd4f3b97", "8d19f3fea"], "section": "变更", "category": "security", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "931cc295f5770e69b9a41c6ada3c4514dc5f3381e5f6c8576932b1b6c31ae6fc", "section_path": ["变更"], "commit_groups": [["0bd9560d9", "256e34653", "64df88700", "8d19f3fea", "9fc1c3a02", "c4252c9ef", "c834b375a"], ["168579e23"], ["16ed4f4d0", "1e457468f", "9f97c31c2", "c1fff7b1b", "c335264c9"], ["2ab12d860", "3ebcfa54d", "8fe3e697a", "b7e3a52a8", "d15ec27c9", "e428cd058", "e530835c6"], ["4cd4f3b97", "6bccd7b03", "88269df4d", "a34c33fd2", "b1e58defb", "f89bd92c9"]], "identity_text": "Prevent trusted PL/Perl code from changing environment variables (Andrew Dunstan, Noah Misch) The ability to manipulate process environment variables such as PATH gives an attacker opportunities to execute arbitrary code. Therefore, trusted PLs must not offer the ability to do that. To fix plperl, replace %ENV with a tied hash that rejects any modification attempt with a warning. Untrusted plperlu retains the ability to change the environment. The PostgreSQL Project thanks Coby Abrams for reporting this problem. (CVE-2024-10979)", "commit_aliases": ["0bd9560d9", "168579e23", "16ed4f4d0", "1e457468f", "256e34653", "2ab12d860", "3ebcfa54d", "4cd4f3b97", "64df88700", "6bccd7b03", "88269df4d", "8d19f3fea", "8fe3e697a", "9f97c31c2", "9fc1c3a02", "a34c33fd2", "b1e58defb", "b7e3a52a8", "c1fff7b1b", "c335264c9", "c4252c9ef", "c834b375a", "d15ec27c9", "e428cd058", "e530835c6", "f89bd92c9"], "source_commits": ["168579e23", "3ebcfa54d", "4cd4f3b97", "8d19f3fea", "c335264c9"], "source_entry_id": "17.1/changes/004", "db_id": "88cb0753c619cb8ffb55dd3992fec3ae", "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec", "relations": [{"rule": 2, "type": "equivalent", "target": "0a701592b8a9b3174c5f3918bbef8dd6", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "2066e4f8fce90840b573e98b707266c8", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "48c45a7465e356c96eee7b77e513f0c9", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "e6325045df38d2253c8faef82c16e050", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}, {"rule": 2, "type": "equivalent", "target": "e8bdec3e3e6cd8239b40cec431d635ac", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}}], "version": "17.1", "category_label": "安全相关", "also_in": [], "variants": [], "related_changes": [{"db_id": "e6325045df38d2253c8faef82c16e050", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "防止受信任的 PL/Perl 代码更改环境变量", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=16.5#16.5-3b4f7138a28e92e1", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "0a701592b8a9b3174c5f3918bbef8dd6", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "防止受信任的 PL/Perl 代码更改环境变量", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=15.9#15.9-c9b0c46ba6e5aa14", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "48c45a7465e356c96eee7b77e513f0c9", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "防止受信任的 PL/Perl 代码更改环境变量", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=14.14#14.14-cc2f3258f095a62a", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "e8bdec3e3e6cd8239b40cec431d635ac", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "防止受信任的 PL/Perl 代码更改环境变量", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=13.17#13.17-458fde2a378dd869", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2066e4f8fce90840b573e98b707266c8", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "防止受信任的 PL/Perl 代码更改环境变量", "evidence": {"same_day": true, "patch_ids": ["1af95cf54ee9908abe88fa7a3ffd5abe", "3ffa60097fb5097805f3eb797ff822d0", "4b5346a4224ce3743b7a7f567408da6f", "836669172595edcd77e373a3f0fbe3c5", "949df75f7944a4ee7452f9fa31e2ea86"], "statement_hash": "298ced72d35046c9614efe5d933839f66d4cb8e7b59aa240ad80fd1c39e896ec"}, "url": "/docs/compare/?release=12.21#12.21-1e5606f9a5aeeb3a", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-3b34b5efc6680e84", "cves": [], "html": "<p>修复在附加或分离表分区时外键约束的目录状态更新（Jehan-Guillaume de Rorthais，Tender Wang，Álvaro Herrera）<a href=\"https://postgr.es/c/5914a22f6\">§</a> <a href=\"https://postgr.es/c/936ab6de9\">§</a></p>\n<p>如果被引用表是分区表，则独立的引用表与作为分区的引用表需要不同的目录条目。<code>ATTACH/DETACH PARTITION</code> 命令未能正确执行此转换。特别是在 <code>DETACH</code> 之后，现在独立的表将缺少外键强制触发器，这可能导致该表后来包含违反外键约束的行。随后的重新 <code>ATTACH</code> 也可能失败并产生令人意外的错误。</p>\n<p>修复方法是对现在独立的表的每个有问题的约束执行 <code>ALTER TABLE DROP CONSTRAINT</code>，然后重新添加该约束。如果重新添加约束失败，说明已经有错误数据混入。需要手动恢复引用表和被引用表之间的一致性，然后重新添加约束。</p>\n<p>以下查询可用于识别损坏的约束，并构造重建它们所需的命令：</p>\n<pre>SELECT conrelid::pg_catalog.regclass AS \"constrained table\",\n       conname AS constraint,\n       confrelid::pg_catalog.regclass AS \"references\",\n       pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;',\n                         conrelid::pg_catalog.regclass, conname) AS \"drop\",\n       pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;',\n                         conrelid::pg_catalog.regclass, conname,\n                         pg_catalog.pg_get_constraintdef(oid)) AS \"add\"\nFROM pg_catalog.pg_constraint c\nWHERE contype = 'f' AND conparentid = 0 AND\n   (SELECT count(*) FROM pg_catalog.pg_constraint c2\n    WHERE c2.conparentid = c.oid) &lt;&gt;\n   ((SELECT count(*) FROM pg_catalog.pg_inherits i\n    WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND\n      EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table\n              WHERE partrelid = i.inhparent)) +\n    CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN\n              (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid)\n                WHERE level = 1)\n         ELSE 0 END);\n</pre>\n<p>由于一个或多个 <code>ADD CONSTRAINT</code> 步骤可能会失败，应将查询输出保存到文件中，然后尝试执行每个步骤。</p>", "text": "修复在附加或分离表分区时外键约束的目录状态更新（Jehan-Guillaume de Rorthais，Tender Wang，Álvaro Herrera）§ § 如果被引用表是分区表，则独立的引用表与作为分区的引用表需要不同的目录条目。ATTACH/DETACH PARTITION 命令未能正确执行此转换。特别是在 DETACH 之后，现在独立的表将缺少外键强制触发器，这可能导致该表后来包含违反外键约束的行。随后的重新 ATTACH 也可能失败并产生令人意外的错误。 修复方法是对现在独立的表的每个有问题的约束执行 ALTER TABLE DROP CONSTRAINT，然后重新添加该约束。如果重新添加约束失败，说明已经有错误数据混入。需要手动恢复引用表和被引用表之间的一致性，然后重新添加约束。 以下查询可用于识别损坏的约束，并构造重建它们所需的命令： SELECT conrelid::pg_catalog.regclass AS \"constrained table\", conname AS constraint, confrelid::pg_catalog.regclass AS \"references\", pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;', conrelid::pg_catalog.regclass, conname) AS \"drop\", pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;', conrelid::pg_catalog.regclass, conname, pg_catalog.pg_get_constraintdef(oid)) AS \"add\" FROM pg_catalog.pg_constraint c WHERE contype = 'f' AND conparentid = 0 AND (SELECT count(*) FROM pg_catalog.pg_constraint c2 WHERE c2.conparentid = c.oid) <> ((SELECT count(*) FROM pg_catalog.pg_inherits i WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table WHERE partrelid = i.inhparent)) + CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid) WHERE level = 1) ELSE 0 END); 由于一个或多个 ADD CONSTRAINT 步骤可能会失败，应将查询输出保存到文件中，然后尝试执行每个步骤。", "title": "修复在附加或分离表分区时外键约束的目录状态更新", "commits": ["5914a22f6", "936ab6de9"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "7aaf81be444b1c21c286616499641fd7ca164d4faffb703ad371851f84f328b3", "section_path": ["变更"], "commit_groups": [["1b216fcef", "2d5fe5140", "936ab6de9", "f7d510a38"], ["2aaf2a28b", "46a8c27a7", "53af9491a", "5914a22f6", "5d83bad6b", "d20194cea"]], "identity_text": "Fix updates of catalog state for foreign-key constraints when attaching or detaching table partitions (Jehan-Guillaume de Rorthais, Tender Wang, Álvaro Herrera) If the referenced table is partitioned, then different catalog entries are needed for a referencing table that is stand-alone versus one that is a partition. ATTACH/DETACH PARTITION commands failed to perform this conversion correctly. In particular, after DETACH the now stand-alone table would be missing foreign-key enforcement triggers, which could result in the table later containing rows that fail the foreign-key constraint. A subsequent re-ATTACH could fail with surprising errors, too. The way to fix this is to do ALTER TABLE DROP CONSTRAINT on the now stand-alone table for each faulty constraint, and then re-add the constraint. If re-adding the constraint fails, then some erroneous data has crept in. You will need to manually re-establish consistency between the referencing and referenced tables, then re-add the constraint. This query can be used to identify broken constraints and construct the commands needed to recreate them: SELECT conrelid::pg_catalog.regclass AS \"constrained table\", conname AS constraint, confrelid::pg_catalog.regclass AS \"references\", pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;', conrelid::pg_catalog.regclass, conname) AS \"drop\", pg_catalog.format('ALTER TABLE %s ADD CONSTRAINT %I %s;', conrelid::pg_catalog.regclass, conname, pg_catalog.pg_get_constraintdef(oid)) AS \"add\" FROM pg_catalog.pg_constraint c WHERE contype = 'f' AND conparentid = 0 AND (SELECT count(*) FROM pg_catalog.pg_constraint c2 WHERE c2.conparentid = c.oid) <> ((SELECT count(*) FROM pg_catalog.pg_inherits i WHERE (i.inhparent = c.conrelid OR i.inhparent = c.confrelid) AND EXISTS (SELECT 1 FROM pg_catalog.pg_partitioned_table WHERE partrelid = i.inhparent)) + CASE WHEN pg_catalog.pg_partition_root(conrelid) = confrelid THEN (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid) WHERE level = 1) ELSE 0 END); Since it is possible that one or more of the ADD CONSTRAINT steps will fail, you should save the query's output in a file and then attempt to perform each step.", "commit_aliases": ["1b216fcef", "2aaf2a28b", "2d5fe5140", "46a8c27a7", "53af9491a", "5914a22f6", "5d83bad6b", "936ab6de9", "d20194cea", "f7d510a38"], "source_commits": ["5914a22f6", "936ab6de9"], "source_entry_id": "17.1/changes/005", "db_id": "748d33942f3736ea94422866a8d7bc90", "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03", "relations": [{"rule": 2, "type": "equivalent", "target": "05faec547b57fcd479d5d3834fbd050e", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "2e62d425855f2ef72a74f21c1ec997db", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "876e0bbaabd424006a6c9bb02ee056db", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}, {"rule": 2, "type": "equivalent", "target": "c371525cbc62547fea8074194d0bbf97", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "2e62d425855f2ef72a74f21c1ec997db", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复在附加或分离表分区时外键约束的目录状态更新", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=16.5#16.5-da80fe139c5ca832", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "c371525cbc62547fea8074194d0bbf97", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复在附加或分离表分区时外键约束的目录状态更新", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=15.9#15.9-da80fe139c5ca832", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "876e0bbaabd424006a6c9bb02ee056db", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复在附加或分离表分区时外键约束的目录状态更新", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=14.14#14.14-84ee07415a5a9237", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "05faec547b57fcd479d5d3834fbd050e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复在附加或分离表分区时外键约束的目录状态更新", "evidence": {"same_day": true, "patch_ids": ["23f1d10b491a02db8ab57e96c92545eb", "ed2dc06153d479005be94f40dd042561"], "statement_hash": "86082e9ffcfe999a98bf0e5b7bb48f150126be81b185d979806bb20b3809fa03"}, "url": "/docs/compare/?release=13.17#13.17-81cbf6771f847538", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}]}, {"id": "17.1-db13297112edd10e", "cves": [], "html": "<p>修复当 <code>LC_COLLATE</code> 与 <code>LC_CTYPE</code> 不同时，对 <code>C</code> locale 的测试（Jeff Davis）<a href=\"https://postgr.es/c/8148e7124\">§</a></p>\n<p>当使用 <code>libc</code> 作为默认排序规则提供者时，用于测试排序是否使用了 <code>C</code> locale 的代码，误查了 <code>LC_CTYPE</code> 而不是 <code>LC_COLLATE</code>。在这两个设置相同的典型情况下，这不会造成影响；如果两者都不是 <code>C</code>（也不是其别名 <code>POSIX</code>），同样无影响。不过，如果 <code>LC_CTYPE</code> 是 <code>C</code>，而 <code>LC_COLLATE</code> 是其他 locale，就可能产生错误的查询结果，也可能导致字符串索引损坏。使用这类设置的数据库用户应在安装本次更新后对受影响的索引重新建立索引。反过来，如果 <code>LC_COLLATE</code> 是 <code>C</code> 而 <code>LC_CTYPE</code> 是其他 locale，则会导致性能下降，但不会产生实际错误。</p>", "text": "修复当 LC_COLLATE 与 LC_CTYPE 不同时，对 C locale 的测试（Jeff Davis）§ 当使用 libc 作为默认排序规则提供者时，用于测试排序是否使用了 C locale 的代码，误查了 LC_CTYPE 而不是 LC_COLLATE。在这两个设置相同的典型情况下，这不会造成影响；如果两者都不是 C（也不是其别名 POSIX），同样无影响。不过，如果 LC_CTYPE 是 C，而 LC_COLLATE 是其他 locale，就可能产生错误的查询结果，也可能导致字符串索引损坏。使用这类设置的数据库用户应在安装本次更新后对受影响的索引重新建立索引。反过来，如果 LC_COLLATE 是 C 而 LC_CTYPE 是其他 locale，则会导致性能下降，但不会产生实际错误。", "title": "修复当 LC_COLLATE 与 LC_CTYPE 不同时，对 C locale 的测试", "commits": ["8148e7124"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "3a4a03b3abdb9fb573540e089b5efd5ba7f4df7b6eb8cfea712cf7e135bc0e48", "section_path": ["变更"], "commit_groups": [["8148e7124"]], "identity_text": "Fix test for C locale when LC_COLLATE is different from LC_CTYPE (Jeff Davis) When using libc as the default collation provider, the test to see if C locale is in use for collation accidentally checked LC_CTYPE not LC_COLLATE. This has no impact in the typical case where those settings are the same, nor if both are not C (nor its alias POSIX). However, if LC_CTYPE is C while LC_COLLATE is some other locale, wrong query answers could ensue, and corruption of indexes on strings was possible. Users of databases with such settings should reindex affected indexes after installing this update. The converse case with LC_COLLATE being C while LC_CTYPE is some other locale would cause performance degradation, but no actual errors.", "commit_aliases": ["8148e7124"], "source_commits": ["8148e7124"], "source_entry_id": "17.1/changes/006", "db_id": "3f49809b8c4b6e408fdd704f9992cac6", "patch_ids": ["c547321ac788df226ed4352b5cdaf3a9"], "statement_hash": "f0fdc39e97d703b9a3d6723b1e260f52534c8fcec6581cbad40b039da1c58b89", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-068ad9165df3c428", "cves": [], "html": "<p>当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组（Jian He，Webbo Han）<a href=\"https://postgr.es/c/a0cdfc889\">§</a> <a href=\"https://postgr.es/c/b6484ca95\">§</a></p>\n<p>这样的执行计划可能产生不正确的结果。</p>", "text": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组（Jian He，Webbo Han）§ § 这样的执行计划可能产生不正确的结果。", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "commits": ["a0cdfc889", "b6484ca95"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "815b22040d7e400a0fac9d44ad9494bbe01fd9dbd76178e4a73abc18bcd5217c", "section_path": ["变更"], "commit_groups": [["054701a2b", "075acdd93", "33040b171", "62df5484f", "9c4757491", "a0cdfc889", "f734b6b4d"], ["0a620659c", "46d9be5ef", "90fe6251c", "96f9b29a3", "b6484ca95", "dd2f8ebee", "ff65f695c"]], "identity_text": "Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation (Jian He, Webbo Han) Such plans could produce incorrect results.", "commit_aliases": ["054701a2b", "075acdd93", "0a620659c", "33040b171", "46d9be5ef", "62df5484f", "90fe6251c", "96f9b29a3", "9c4757491", "a0cdfc889", "b6484ca95", "dd2f8ebee", "f734b6b4d", "ff65f695c"], "source_commits": ["a0cdfc889", "b6484ca95"], "source_entry_id": "17.1/changes/007", "db_id": "2ef513eca41dc1e5b7f619bb844c48c4", "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b", "relations": [{"rule": 2, "type": "equivalent", "target": "627f4d65ab84d4ed8aa805e9a4e5c849", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "97084b07a26e28d94fdf228d94460f63", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "cf9cca4c2bbd52000591f7989aa5d6a1", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "ee502d77983c018bbc01ab92640da315", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}, {"rule": 2, "type": "equivalent", "target": "fa1ae7acee5e324651d15e2e1046939b", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "cf9cca4c2bbd52000591f7989aa5d6a1", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=16.5#16.5-5f8a220ad7c1cc27", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "fa1ae7acee5e324651d15e2e1046939b", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=15.9#15.9-8ebf3b7cfddc2170", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "627f4d65ab84d4ed8aa805e9a4e5c849", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=14.14#14.14-8ebf3b7cfddc2170", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "97084b07a26e28d94fdf228d94460f63", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=13.17#13.17-b9ea968190d4d09e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "ee502d77983c018bbc01ab92640da315", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "当查询中键列的排序规则与分区键的排序规则不匹配时，不使用分区级连接或分组", "evidence": {"same_day": true, "patch_ids": ["53c85220dd3488287a3c68a4008b4e8d", "77fd1bde27634394090ee891d7579f1e"], "statement_hash": "1eb1116b9e982b95403ab2910d839e7e5699beec39e01affdecbe6a60de4283b"}, "url": "/docs/compare/?release=12.21#12.21-77ba4c09c5b839fb", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-d4e30d6665cb5227", "cves": [], "html": "<p>避免在将 <code>NOT NULL</code> 列上的 <code>IS NULL</code> 测试转换为常量 <code>FALSE</code> 后发生规划器失败（Richard Guo）<a href=\"https://postgr.es/c/78b1c553b\">§</a></p>\n<p>这个 bug 通常会导致诸如 <span>“<span>variable not found in subplan target lists</span>”</span> 之类的错误。</p>", "text": "避免在将 NOT NULL 列上的 IS NULL 测试转换为常量 FALSE 后发生规划器失败（Richard Guo）§ 这个 bug 通常会导致诸如 “variable not found in subplan target lists” 之类的错误。", "title": "避免在将 NOT NULL 列上的 IS NULL 测试转换为常量 FALSE 后发生规划器失败", "commits": ["78b1c553b"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "93d0d3626c3185e832d1a7cd02635478fa47918b51b9b9d85925e5e70d78d62b", "section_path": ["变更"], "commit_groups": [["78b1c553b", "f00ab1fd1"]], "identity_text": "Avoid planner failure after converting an IS NULL test on a NOT NULL column to constant FALSE (Richard Guo) This bug typically led to errors such as variable not found in subplan target lists.", "commit_aliases": ["78b1c553b", "f00ab1fd1"], "source_commits": ["78b1c553b"], "source_entry_id": "17.1/changes/008", "db_id": "9578bddbb7e935d64b4386cc63d8ea58", "patch_ids": ["1f5c67259257eb563985c95cefd4227b"], "statement_hash": "cfb184c7b5220b4b75fe06ec23afec25ff101bde0150feb71a3f1b35a2229db0", "relations": [], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-be2f094f4975be4b", "cves": [], "html": "<p>避免在内联某个参数包含特定数组相关结构的 SQL 函数时，规划器可能崩溃（Tom Lane、Nathan Bossart）<a href=\"https://postgr.es/c/a3c4a91f1\">§</a></p>", "text": "避免在内联某个参数包含特定数组相关结构的 SQL 函数时，规划器可能崩溃（Tom Lane、Nathan Bossart）§", "title": "避免在内联某个参数包含特定数组相关结构的 SQL 函数时，规划器可能崩溃", "commits": ["a3c4a91f1"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "4cb3d43eb01e480e955a2ce9ade3571e5ddde06a55f12deb8318720b5c4d8447", "section_path": ["变更"], "commit_groups": [["5a4416192", "a3c4a91f1"]], "identity_text": "Avoid possible planner crash while inlining a SQL function whose arguments contain certain array-related constructs (Tom Lane, Nathan Bossart)", "commit_aliases": ["5a4416192", "a3c4a91f1"], "source_commits": ["a3c4a91f1"], "source_entry_id": "17.1/changes/009", "db_id": "fa9e3d00df6e804255bcb518132b84b3", "patch_ids": ["0693218a41f5d4b7394e40047f14556c"], "statement_hash": "6b5a97bd3457df939d7ae1ad5dae5ef0c1d114a1478473bcf717b45983b8887e", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-696ecfc68f049e9a", "cves": [], "html": "<p>修复 <code>MERGE ... WHEN NOT MATCHED BY SOURCE</code> 动作可能产生错误结果或 <span>“<span>wrong varnullingrels</span>”</span> 规划器错误的问题（Dean Rasheed）<a href=\"https://postgr.es/c/d7d297f84\">§</a> <a href=\"https://postgr.es/c/34ae54af9\">§</a></p>", "text": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 动作可能产生错误结果或 “wrong varnullingrels” 规划器错误的问题（Dean Rasheed）§ §", "title": "修复 MERGE ... WHEN NOT MATCHED BY SOURCE 动作可能产生错误结果或 “wrong varnullingrels” 规划器错误的问题", "commits": ["34ae54af9", "d7d297f84"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "f9c60bb0176f2d573774243d78b57a6013cafd324a97e307893cd53dc165e7d8", "section_path": ["变更"], "commit_groups": [["259a0a99f", "34ae54af9"], ["d7d297f84", "dddb5640c"]], "identity_text": "Fix possible wrong answers or wrong varnullingrels planner errors for MERGE ... WHEN NOT MATCHED BY SOURCE actions (Dean Rasheed)", "commit_aliases": ["259a0a99f", "34ae54af9", "d7d297f84", "dddb5640c"], "source_commits": ["34ae54af9", "d7d297f84"], "source_entry_id": "17.1/changes/010", "db_id": "bd5980d71f612f8bc02fa3b13dda7923", "patch_ids": ["202acc77e97626832f2037b08fd33c0c", "7dc3efbaf0469302dddcff448762bd54"], "statement_hash": "7929949a5d00b4f9119eeac0cb3cc441f6f28d59e8a5d5e1f12a1acbf7e7eaed", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-10bcbc67bced25f2", "cves": [], "html": "<p>修复当 <code>UNION ALL</code> 成员查询的输出需要排序，且排序列为表达式时，可能出现的 <span>“<span>could not find pathkey item to sort</span>”</span> 错误（Andrei Lepikhov，Tom Lane）<a href=\"https://postgr.es/c/54889ea64\">§</a></p>", "text": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误（Andrei Lepikhov，Tom Lane）§", "title": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误", "commits": ["54889ea64"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "8f832db133870a8f520bbc9ca8f6090aa094bfcb19f1eb61dab5cab09f667b4d", "section_path": ["变更"], "commit_groups": [["4ca708eb3", "4f3bccbaa", "54889ea64", "64635c8af", "76de4b182", "9f954177b"]], "identity_text": "Fix possible could not find pathkey item to sort error when the output of a UNION ALL member query needs to be sorted, and the sort column is an expression (Andrei Lepikhov, Tom Lane)", "commit_aliases": ["4ca708eb3", "4f3bccbaa", "54889ea64", "64635c8af", "76de4b182", "9f954177b"], "source_commits": ["54889ea64"], "source_entry_id": "17.1/changes/011", "db_id": "cee14d7708f551fdd0d1b77687c63987", "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60", "relations": [{"rule": 2, "type": "equivalent", "target": "78d8af16e96b804627c6aa71fc3b7bfd", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "ca2eee005279ddc6420fd718cf7a897a", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "d58826be74b98e827838dbb875a238b3", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}, {"rule": 2, "type": "equivalent", "target": "e8a3a31febb736280206edb58844057a", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "78d8af16e96b804627c6aa71fc3b7bfd", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=16.5#16.5-3442c0bcef2d3f7e", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "e8a3a31febb736280206edb58844057a", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=15.9#15.9-ca8577e9b6c5e871", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "d58826be74b98e827838dbb875a238b3", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=14.14#14.14-ca8577e9b6c5e871", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "ca2eee005279ddc6420fd718cf7a897a", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复当 UNION ALL 成员查询的输出需要排序，且排序列为表达式时，可能出现的 “could not find pathkey item to sort” 错误", "evidence": {"same_day": true, "patch_ids": ["851fca37ceef957abb601c18faa263b5"], "statement_hash": "afa400b024db10207e61464eb9b9dd7d142af55b749abd50764fd1bc68e7cb60"}, "url": "/docs/compare/?release=13.17#13.17-efb0a0d37ad61667", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}]}, {"id": "17.1-4ecaf8fc60ea8f6b", "cves": [], "html": "<p>修复 B-树 ScalarArrayOp 索引扫描中的边界情形问题（Peter Geoghegan）<a href=\"https://postgr.es/c/c177726ae\">§</a></p>\n<p>当带有这类计划的可滚动游标回退到起点后再向前执行时，可能出现错误结果。</p>", "text": "修复 B-树 ScalarArrayOp 索引扫描中的边界情形问题（Peter Geoghegan）§ 当带有这类计划的可滚动游标回退到起点后再向前执行时，可能出现错误结果。", "title": "修复 B-树 ScalarArrayOp 索引扫描中的边界情形问题", "commits": ["c177726ae"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "40f51979e31108f0eee03ec68d355ca334f183d48cff2a41ce3728b381542344", "section_path": ["变更"], "commit_groups": [["763d65ae2", "c177726ae"]], "identity_text": "Fix edge case in B-tree ScalarArrayOp index scans (Peter Geoghegan) When a scrollable cursor with a plan of this kind was backed up to its starting point and then run forward again, wrong answers were possible.", "commit_aliases": ["763d65ae2", "c177726ae"], "source_commits": ["c177726ae"], "source_entry_id": "17.1/changes/012", "db_id": "f62793c19e87f16340d77f0e790e6ffc", "patch_ids": ["3f3e6d64ca18bb6b95cd337e72f8b9e2"], "statement_hash": "9d9eff9dbb27e64ab89fcc2b3ce0ee86780a82463655651a0431f97679ff1f13", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-ef0f21203944cfe0", "cves": [], "html": "<p>修复 <code>COPY (<em><code>query</code></em>) TO ...</code> 中的断言失败或令人困惑的错误消息，当 <em><code>query</code></em> 被 <code>DO INSTEAD NOTIFY</code> 规则重写时（Tender Wang，Tom Lane）<a href=\"https://postgr.es/c/3685ad618\">§</a></p>", "text": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时（Tender Wang，Tom Lane）§", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "commits": ["3685ad618"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "733cc8e27f4b896bf323054b310f5a71afcc76a86326499dea5500e2dfa70cf2", "section_path": ["变更"], "commit_groups": [["3685ad618", "5e94f616c", "68ad9816c", "6a57a457c", "6c3b2d204", "beab395a4", "c80a1e048"]], "identity_text": "Fix assertion failure or confusing error message for COPY (query) TO ..., when the query is rewritten by a DO INSTEAD NOTIFY rule (Tender Wang, Tom Lane)", "commit_aliases": ["3685ad618", "5e94f616c", "68ad9816c", "6a57a457c", "6c3b2d204", "beab395a4", "c80a1e048"], "source_commits": ["3685ad618"], "source_entry_id": "17.1/changes/013", "db_id": "54e4681cc9f3a4699d374b15ebaebf9a", "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74", "relations": [{"rule": 2, "type": "equivalent", "target": "4164513d723b4a8d82303cc7b6f6bf52", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "774c30d3167cc04d5c0d9c1f499874d4", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "83485ef02bbc0c01b4b407ab922cc34b", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "86ef642b3ead7de535851b9f33134f73", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}, {"rule": 2, "type": "equivalent", "target": "cb2aad1f1ce1b4266ea310af2b16064b", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "4164513d723b4a8d82303cc7b6f6bf52", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=16.5#16.5-3b984973784dc595", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "86ef642b3ead7de535851b9f33134f73", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=15.9#15.9-bc8526feff92fb55", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "83485ef02bbc0c01b4b407ab922cc34b", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=14.14#14.14-bc8526feff92fb55", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "774c30d3167cc04d5c0d9c1f499874d4", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=13.17#13.17-5fb93fb0ee8ca05b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "cb2aad1f1ce1b4266ea310af2b16064b", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复 COPY (query) TO ... 中的断言失败或令人困惑的错误消息，当 query 被 DO INSTEAD NOTIFY 规则重写时", "evidence": {"same_day": true, "patch_ids": ["9e6edee75f519a17ae85b3d74f29066d"], "statement_hash": "f76efad6a1200651434e7559fafcf67c584e31fbb14732fafabf39c5020b7d74"}, "url": "/docs/compare/?release=12.21#12.21-481b27b62c098efd", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-d2d3596c52c2b1c0", "cves": [], "html": "<p>修复对 <code>COPY</code> 的 <code>FORCE_NOT_NULL</code> 和 <code>FORCE_NULL</code> 选项的校验（Joel Jacobson）<a href=\"https://postgr.es/c/c06a4746b\">§</a></p>\n<p>某些不正确的用法现在会像预期那样被拒绝。</p>", "text": "修复对 COPY 的 FORCE_NOT_NULL 和 FORCE_NULL 选项的校验（Joel Jacobson）§ 某些不正确的用法现在会像预期那样被拒绝。", "title": "修复对 COPY 的 FORCE_NOT_NULL 和 FORCE_NULL 选项的校验", "commits": ["c06a4746b"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "b5197605183763e5aa7a4a66c48ee5b9e5263add2fa80622345485c6846f69aa", "section_path": ["变更"], "commit_groups": [["089aac631", "c06a4746b"]], "identity_text": "Fix validation of COPY's FORCE_NOT_NULL and FORCE_NULL options (Joel Jacobson) Some incorrect usages are now rejected as they should be.", "commit_aliases": ["089aac631", "c06a4746b"], "source_commits": ["c06a4746b"], "source_entry_id": "17.1/changes/014", "db_id": "b58bf91e2db49275b56bdf995d90b2f5", "patch_ids": ["e97599279c2bb032d570f9e674182e11"], "statement_hash": "6543408f5835a5b2532448117f144ce5bf4c8c414249bca3bc9c1c7cc5ac4bd4", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-a67448e1b58abd31", "cves": [], "html": "<p>修复当 <code>json_objectagg()</code> 调用包含 volatile 函数时的服务器崩溃（Amit Langote）<a href=\"https://postgr.es/c/7148cb3e3\">§</a></p>", "text": "修复当 json_objectagg() 调用包含 volatile 函数时的服务器崩溃（Amit Langote）§", "title": "修复当 json_objectagg() 调用包含 volatile 函数时的服务器崩溃", "commits": ["7148cb3e3"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "a233a2f6baf925afbadac9b520b868a847e3f11b4787bb8f66efb018c68000b2", "section_path": ["变更"], "commit_groups": [["11c87216d", "7148cb3e3", "fa4f11854"]], "identity_text": "Fix server crash when a json_objectagg() call contains a volatile function (Amit Langote)", "commit_aliases": ["11c87216d", "7148cb3e3", "fa4f11854"], "source_commits": ["7148cb3e3"], "source_entry_id": "17.1/changes/015", "db_id": "e02b293b020a232bd9b75a0ee2a0722d", "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec", "relations": [{"rule": 2, "type": "equivalent", "target": "163a209d5595bb3d73729dccc9101186", "evidence": {"same_day": true, "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "163a209d5595bb3d73729dccc9101186", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复当 json_objectagg() 调用包含 volatile 函数时的服务器崩溃", "evidence": {"same_day": true, "patch_ids": ["fba5c8e04fd7236371750a5b8bb46de7"], "statement_hash": "3074c722d1bb1a78a670e9a820643ee8c38349a1abeb166f3dba9f2fae2a17ec"}, "url": "/docs/compare/?release=16.5#16.5-307849ad09263eed", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}]}, {"id": "17.1-1201638a8dc57296", "cves": [], "html": "<p>修复并行哈希连接中倾斜数据的检测（Thomas Munro）<a href=\"https://postgr.es/c/4ac5d33a8\">§</a></p>\n<p>在对哈希连接的内侧进行重新分区（因为某个分区累积了过多元组）之后，我们会检查该分区的所有元组是否都进入了同一个子分区，这表明它们都具有相同的 hash 值，进一步重新分区无法改善情况。此检查在某些情况下出现故障，允许重复进行无效的重新分区，最终导致资源耗尽错误。</p>", "text": "修复并行哈希连接中倾斜数据的检测（Thomas Munro）§ 在对哈希连接的内侧进行重新分区（因为某个分区累积了过多元组）之后，我们会检查该分区的所有元组是否都进入了同一个子分区，这表明它们都具有相同的 hash 值，进一步重新分区无法改善情况。此检查在某些情况下出现故障，允许重复进行无效的重新分区，最终导致资源耗尽错误。", "title": "修复并行哈希连接中倾斜数据的检测", "commits": ["4ac5d33a8"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "6be654e723aadf0ffdac21342e2b1f405783dff1a3087a70b7e0ca9013dd8f08", "section_path": ["变更"], "commit_groups": [["1831545ca", "20d948994", "45329466f", "4ac5d33a8", "4fa80a6d7", "53edc9485", "98c7c7152"]], "identity_text": "Fix detection of skewed data during parallel hash join (Thomas Munro) After repartitioning the inner side of a hash join because one partition has accumulated too many tuples, we check to see if all the partition's tuples went into the same child partition, which suggests that they all have the same hash value and further repartitioning cannot improve matters. This check malfunctioned in some cases, allowing repeated futile repartitioning which would eventually end in a resource-exhaustion error.", "commit_aliases": ["1831545ca", "20d948994", "45329466f", "4ac5d33a8", "4fa80a6d7", "53edc9485", "98c7c7152"], "source_commits": ["4ac5d33a8"], "source_entry_id": "17.1/changes/016", "db_id": "e30b28541dd86d403967862c42bc08f9", "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca", "relations": [{"rule": 2, "type": "equivalent", "target": "03ee90d315a15e51dce8adcb971d89f1", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "048fdbfa8e9162623b00f1d70e94b6ac", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "a96042f3ea4378e7a4b4b4338d73d449", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "b05be16ba65111ded4a1d3c19fdb9312", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}, {"rule": 2, "type": "equivalent", "target": "fa86fc8bc18de09fe710b60de685febf", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "a96042f3ea4378e7a4b4b4338d73d449", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复并行哈希连接中倾斜数据的检测", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=16.5#16.5-ffd53f421ada5fe4", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "fa86fc8bc18de09fe710b60de685febf", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复并行哈希连接中倾斜数据的检测", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=15.9#15.9-155d262faf162f65", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "b05be16ba65111ded4a1d3c19fdb9312", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复并行哈希连接中倾斜数据的检测", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=14.14#14.14-155d262faf162f65", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "03ee90d315a15e51dce8adcb971d89f1", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复并行哈希连接中倾斜数据的检测", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=13.17#13.17-e6044003af017b6b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "048fdbfa8e9162623b00f1d70e94b6ac", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复并行哈希连接中倾斜数据的检测", "evidence": {"same_day": true, "patch_ids": ["7362d49781c8e327ea7028e1016e585a"], "statement_hash": "fa6804a4a344918b582b6ac7902d741b5ac887f9ad98549ab7d9385fef747aca"}, "url": "/docs/compare/?release=12.21#12.21-73d99a8f643a7855", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-50678eaee787a925", "cves": [], "html": "<p>避免在使用 <code>ALTER DATABASE SET</code> 设置需要基于 search_path 查找的服务器参数时崩溃，例如 <code>default_text_search_config</code>（Jeff Davis）<a href=\"https://postgr.es/c/2fe4167bc\">§</a></p>", "text": "避免在使用 ALTER DATABASE SET 设置需要基于 search_path 查找的服务器参数时崩溃，例如 default_text_search_config（Jeff Davis）§", "title": "避免在使用 ALTER DATABASE SET 设置需要基于 search_path 查找的服务器参数时崩溃，例如 default_text_search_config", "commits": ["2fe4167bc"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "6a21bc0f736e43c3aaa3f4d3a41ab38012b0ca0da37daaaa43bec388d260e8a5", "section_path": ["变更"], "commit_groups": [["2fe4167bc", "a9ed7d944"]], "identity_text": "Avoid crash when ALTER DATABASE SET is used to set a server parameter that requires search-path-based lookup, such as default_text_search_config (Jeff Davis)", "commit_aliases": ["2fe4167bc", "a9ed7d944"], "source_commits": ["2fe4167bc"], "source_entry_id": "17.1/changes/017", "db_id": "4932efeb4f1f47f59c09f02fa50f7ad9", "patch_ids": ["2804c0750ad4f6dcef8f94de5c45505b"], "statement_hash": "27bf3def85ebbaf4631ae3c2e9c1202c6f686b549695866c135f7f5ea94646a4", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-7233a93ff98ec2f9", "cves": [], "html": "<p>避免在分区表上创建新索引时重复查找 opclass 和 collation（Tom Lane）<a href=\"https://postgr.es/c/fee8cb947\">§</a></p>\n<p>之所以成问题，主要是因为其中一些查找会在受限的 <code>search_path</code> 下进行，从而导致当 <code>CREATE INDEX</code> 命令引用 <code>pg_catalog</code> 之外的对象时出现意外失败。</p>\n<p>此修复还阻止了父分区索引上的注释被复制到子索引。</p>", "text": "避免在分区表上创建新索引时重复查找 opclass 和 collation（Tom Lane）§ 之所以成问题，主要是因为其中一些查找会在受限的 search_path 下进行，从而导致当 CREATE INDEX 命令引用 pg_catalog 之外的对象时出现意外失败。 此修复还阻止了父分区索引上的注释被复制到子索引。", "title": "避免在分区表上创建新索引时重复查找 opclass 和 collation", "commits": ["fee8cb947"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "e0ced0c04a24d5db32ab1d18cb4357cfcab2dfc34922388bcb5e2ae04ff7ce5f", "section_path": ["变更"], "commit_groups": [["68dfecbef", "fee8cb947"]], "identity_text": "Avoid repeated lookups of opclasses and collations while creating a new index on a partitioned table (Tom Lane) This was problematic mainly because some of the lookups would be done with a restricted search_path, leading to unexpected failures if the CREATE INDEX command referenced objects outside pg_catalog. This fix also prevents comments on the parent partitioned index from being copied to child indexes.", "commit_aliases": ["68dfecbef", "fee8cb947"], "source_commits": ["fee8cb947"], "source_entry_id": "17.1/changes/018", "db_id": "39d1ff67b2247978ff31120b1af8610f", "patch_ids": ["b5a80d8c7d1f95c52db177a0ca9af9b3"], "statement_hash": "4c3a4e12b2e74cb3643a07c3068a3ca331d2ed644820e14740f5b0cc0256b10f", "relations": [], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-dc558dc95214284c", "cves": [], "html": "<p>为分区表补上到 <code>CREATE TABLE ... USING</code> 中指定的非内置访问方法的缺失依赖（Michael Paquier）<a href=\"https://postgr.es/c/bb584e831\">§</a></p>\n<p>当存在依赖于某访问方法的表时，删除该访问方法本应被阻止，但此前并未如此，因而允许后续出现异常行为。注意，此修复只会防止本次更新之后新建的分区表出现这类问题。</p>", "text": "为分区表补上到 CREATE TABLE ... USING 中指定的非内置访问方法的缺失依赖（Michael Paquier）§ 当存在依赖于某访问方法的表时，删除该访问方法本应被阻止，但此前并未如此，因而允许后续出现异常行为。注意，此修复只会防止本次更新之后新建的分区表出现这类问题。", "title": "为分区表补上到 CREATE TABLE ... USING 中指定的非内置访问方法的缺失依赖", "commits": ["bb584e831"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "78b2fcbdb5aa732914af5e01eae1583b7b62e64e2d91a54f8b48c98ff8f82702", "section_path": ["变更"], "commit_groups": [["49a23441c", "bb584e831"]], "identity_text": "Add missing dependency from a partitioned table to a non-built-in access method specified in CREATE TABLE ... USING (Michael Paquier) Dropping the access method should be blocked when a table exists that depends on it, but it was not, allowing subsequent odd behavior. Note that this fix only prevents problems for partitioned tables created after this update.", "commit_aliases": ["49a23441c", "bb584e831"], "source_commits": ["bb584e831"], "source_entry_id": "17.1/changes/019", "db_id": "362d11804d0cc2d25ae4f459d36b0747", "patch_ids": ["75bccb1b1bad53b6ec3878e48e0e916e"], "statement_hash": "a34ea2ed8a14d2c3ede048f89f5f8652ba65167aa9ebc8f2366ce87ce6f857db", "relations": [], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-e5a214ba706d7473", "cves": [], "html": "<p>禁止包含非 ASCII 字符的区域设置名称（Thomas Munro）<a href=\"https://postgr.es/c/9c7acc333\">§</a></p>\n<p>这仅在 Windows 上是一个问题，因为其他平台不使用此类区域设置名称。它们存在问题是因为完全不清楚此类名称用什么编码表示（因为区域设置本身定义了要使用的编码）。在最近的 <span>PostgreSQL</span> 版本中，由于对此的混淆，可能会在 Windows 运行时库中发生中止。</p>\n<p>遇到新错误消息的用户应该使用 Windows Locale Builder 创建一个具有纯 ASCII 名称的重复区域设置，或者考虑使用符合 BCP 47 的区域设置名称，如 <code>tr-TR</code>。</p>", "text": "禁止包含非 ASCII 字符的区域设置名称（Thomas Munro）§ 这仅在 Windows 上是一个问题，因为其他平台不使用此类区域设置名称。它们存在问题是因为完全不清楚此类名称用什么编码表示（因为区域设置本身定义了要使用的编码）。在最近的 PostgreSQL 版本中，由于对此的混淆，可能会在 Windows 运行时库中发生中止。 遇到新错误消息的用户应该使用 Windows Locale Builder 创建一个具有纯 ASCII 名称的重复区域设置，或者考虑使用符合 BCP 47 的区域设置名称，如 tr-TR。", "title": "禁止包含非 ASCII 字符的区域设置名称", "commits": ["9c7acc333"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "68d02a491a6b5bdcda0060ade8e5f0b715595bba040f7b183ddcc4184b2271fb", "section_path": ["变更"], "commit_groups": [["9c7acc333", "adbb27ac8", "ce17de580"]], "identity_text": "Disallow locale names containing non-ASCII characters (Thomas Munro) This is only an issue on Windows, as such locale names are not used elsewhere. They are problematic because it's quite unclear what encoding such names are represented in (since the locale itself defines the encoding to use). In recent PostgreSQL releases, an abort in the Windows runtime library could occur because of confusion about that. Anyone who encounters the new error message should either create a new duplicated locale with an ASCII-only name using Windows Locale Builder, or consider using BCP 47-compliant locale names like tr-TR.", "commit_aliases": ["9c7acc333", "adbb27ac8", "ce17de580"], "source_commits": ["9c7acc333"], "source_entry_id": "17.1/changes/020", "db_id": "30f3b497567449c72903a88dabba8b6c", "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec", "relations": [{"rule": 2, "type": "equivalent", "target": "8023ac49299b71cd3d7f252dab6d3757", "evidence": {"same_day": true, "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "8023ac49299b71cd3d7f252dab6d3757", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "禁止包含非 ASCII 字符的区域设置名称", "evidence": {"same_day": true, "patch_ids": ["7385977aca644d5c86bb91cfc2e730e6"], "statement_hash": "0a5d54d64a239c1b9e56856bf1cd2d38de3979b2645fdee9e805afd817b3d9ec"}, "url": "/docs/compare/?release=16.5#16.5-ccef9bc62787856d", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}]}, {"id": "17.1-ecfde73d7e43d4db", "cves": [], "html": "<p>修复提交可串行化事务时的竞态条件（Heikki Linnakangas）<a href=\"https://postgr.es/c/234f6d09e\">§</a></p>\n<p>对最近提交的事务的错误处理可能导致断言失败或 <span>“<span>could not access status of transaction</span>”</span> 错误。</p>", "text": "修复提交可串行化事务时的竞态条件（Heikki Linnakangas）§ 对最近提交的事务的错误处理可能导致断言失败或 “could not access status of transaction” 错误。", "title": "修复提交可串行化事务时的竞态条件", "commits": ["234f6d09e"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "ed7415ad5299a17b209c92c0da2f551552e26324bb19df497afd8008db10a931", "section_path": ["变更"], "commit_groups": [["1a43de5e0", "22665f210", "234f6d09e", "520ec2474", "8e607a5a4", "d97419b85", "e2ec3afeb"]], "identity_text": "Fix race condition in committing a serializable transaction (Heikki Linnakangas) Mis-processing of a recently committed transaction could lead to an assertion failure or a could not access status of transaction error.", "commit_aliases": ["1a43de5e0", "22665f210", "234f6d09e", "520ec2474", "8e607a5a4", "d97419b85", "e2ec3afeb"], "source_commits": ["234f6d09e"], "source_entry_id": "17.1/changes/021", "db_id": "27eb3d253909c90211a31b92e07b5435", "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f", "relations": [{"rule": 2, "type": "equivalent", "target": "2f2fe7df64cf13ea880ead2a8d3d62e9", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "380c69c0cf382608fe08f3d07bad3f89", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "9d7aef7128d747f9da974e84661075b5", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "aa302a2149b51d8fa114ce51bd412401", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}, {"rule": 2, "type": "equivalent", "target": "c64ee6e02d4ad8836d4e6457c472a782", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "380c69c0cf382608fe08f3d07bad3f89", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复提交可串行化事务时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=16.5#16.5-6e05c8fb8dbf997f", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "2f2fe7df64cf13ea880ead2a8d3d62e9", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复提交可串行化事务时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=15.9#15.9-7f680ba4913bffb0", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "c64ee6e02d4ad8836d4e6457c472a782", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复提交可串行化事务时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=14.14#14.14-46c1b12f7598344b", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "9d7aef7128d747f9da974e84661075b5", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复提交可串行化事务时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=13.17#13.17-931669dbd60ef42e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "aa302a2149b51d8fa114ce51bd412401", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复提交可串行化事务时的竞态条件", "evidence": {"same_day": true, "patch_ids": ["50ee9517aec4d41dcce331b3b6ce522b"], "statement_hash": "b5d2ea04c0310cbcc15167692a36d7b1bf670c6b55bc6b9f9fd87d19f0f9841f"}, "url": "/docs/compare/?release=12.21#12.21-644a55d942e8f80b", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-88bc5224bd702550", "cves": [], "html": "<p>修复 <code>COMMIT PREPARED</code> 中导致产生孤立 2PC 文件的竞态条件（wuchengwen）<a href=\"https://postgr.es/c/f250cb29d\">§</a></p>\n<p>并发的 <code>PREPARE TRANSACTION</code> 可能导致 <code>COMMIT PREPARED</code> 不删除已完成事务的磁盘上两阶段状态文件。虽然没有立即的不良影响，但随后的崩溃恢复可能因 <span>“<span>could not access status of transaction</span>”</span> 而失败，需要手动删除孤立文件才能恢复服务。</p>", "text": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件（wuchengwen）§ 并发的 PREPARE TRANSACTION 可能导致 COMMIT PREPARED 不删除已完成事务的磁盘上两阶段状态文件。虽然没有立即的不良影响，但随后的崩溃恢复可能因 “could not access status of transaction” 而失败，需要手动删除孤立文件才能恢复服务。", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "commits": ["f250cb29d"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "f1f568f9c5f3d943fc35fb1383f0f94da13fa3ad5afe446cef1d72f2a1b0bb17", "section_path": ["变更"], "commit_groups": [["34d751ba7", "41ab45680", "5f1510787", "7bfaa4671", "7de9b64a5", "cf4401fe6", "f250cb29d"]], "identity_text": "Fix race condition in COMMIT PREPARED that resulted in orphaned 2PC files (wuchengwen) A concurrent PREPARE TRANSACTION could cause COMMIT PREPARED to not remove the on-disk two-phase state file for the completed transaction. There was no immediate ill effect, but a subsequent crash-and-recovery could fail with could not access status of transaction, requiring manual removal of the orphaned file to restore service.", "commit_aliases": ["34d751ba7", "41ab45680", "5f1510787", "7bfaa4671", "7de9b64a5", "cf4401fe6", "f250cb29d"], "source_commits": ["f250cb29d"], "source_entry_id": "17.1/changes/022", "db_id": "bea0f2d5ddea7da80e3feff830b6d010", "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee", "relations": [{"rule": 2, "type": "equivalent", "target": "763ffedfbb0f41b4be36e6b088363681", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "76d396403610291a5a7c4f03a06cb422", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "c05f86a4de6b5f601947b64d282719ca", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "d637378d79e21e218865b8859bf16c95", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}, {"rule": 2, "type": "equivalent", "target": "fee42a020ebd314e966a67dc4fd89ce0", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "76d396403610291a5a7c4f03a06cb422", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=16.5#16.5-5b237a45542da2c0", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "d637378d79e21e218865b8859bf16c95", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=15.9#15.9-e59a7ce835379266", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "763ffedfbb0f41b4be36e6b088363681", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=14.14#14.14-e59a7ce835379266", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "c05f86a4de6b5f601947b64d282719ca", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=13.17#13.17-69d902e126a99392", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "fee42a020ebd314e966a67dc4fd89ce0", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复 COMMIT PREPARED 中导致产生孤立 2PC 文件的竞态条件", "evidence": {"same_day": true, "patch_ids": ["6088f50b8046f302c3beb339a56355ba"], "statement_hash": "cfa0936fc0b2e98b73ed3e04821e1f500d31070b5605e6cc02a01c8717a898ee"}, "url": "/docs/compare/?release=12.21#12.21-de738b840880f990", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-c8cc3d6338bd9132", "cves": [], "html": "<p>避免在 <code>VACUUM FULL</code> 期间跳过无效 toast 索引后发生无效内存访问（Tender Wang）<a href=\"https://postgr.es/c/1532599a8\">§</a></p>\n<p>在此代码路径中，跟踪尚待重建索引的列表未被正确更新，可能导致后续的断言失败或崩溃。</p>", "text": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问（Tender Wang）§ 在此代码路径中，跟踪尚待重建索引的列表未被正确更新，可能导致后续的断言失败或崩溃。", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "commits": ["1532599a8"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "94055d3eb78d4d355878677c2e90ba2dbee03d4b2b3e910d2ea37ae818de3292", "section_path": ["变更"], "commit_groups": [["09620ea09", "1532599a8", "2f33e68a5", "6530b869c", "911eda9f3", "a613edc5c", "afbd3dc7d"]], "identity_text": "Avoid invalid memory accesses after skipping an invalid toast index during VACUUM FULL (Tender Wang) A list tracking yet-to-be-rebuilt indexes was not properly updated in this code path, risking assertion failures or crashes later on.", "commit_aliases": ["09620ea09", "1532599a8", "2f33e68a5", "6530b869c", "911eda9f3", "a613edc5c", "afbd3dc7d"], "source_commits": ["1532599a8"], "source_entry_id": "17.1/changes/023", "db_id": "e25dfeb7ac4ac21c564edacd49428b4d", "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830", "relations": [{"rule": 2, "type": "equivalent", "target": "0b3f94fa1108fab11a7b96dd657b84a7", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "106d9520e3c63f93b40539e2e4af49e0", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "1446a781b5279a1f8b293d6edeb8e669", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "2aaf09439019047f1fc7a22a4ccdb591", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}, {"rule": 2, "type": "equivalent", "target": "d36f2ced4ebc024e44bc91d6067e5445", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "0b3f94fa1108fab11a7b96dd657b84a7", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=16.5#16.5-c5c6df0edba188ad", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "d36f2ced4ebc024e44bc91d6067e5445", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=15.9#15.9-6b1daddcdf483623", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "1446a781b5279a1f8b293d6edeb8e669", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=14.14#14.14-6b1daddcdf483623", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "106d9520e3c63f93b40539e2e4af49e0", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=13.17#13.17-eb3d25b2db47e7fb", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2aaf09439019047f1fc7a22a4ccdb591", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "避免在 VACUUM FULL 期间跳过无效 toast 索引后发生无效内存访问", "evidence": {"same_day": true, "patch_ids": ["81efeb0ba74685566da2e5420921a3e7"], "statement_hash": "ec3fe73e0a77635a8340b27cfe913ce27c149d6fee837cbdeb82cdd8cb82e830"}, "url": "/docs/compare/?release=12.21#12.21-8e2f6fd17a9d3c8d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-4ba0c00b7077008e", "cves": [], "html": "<p>修复<span>“<span>就地</span>”</span>目录更新可能丢失的问题（Noah Misch）<a href=\"https://postgr.es/c/fd27b878c\">§</a> <a href=\"https://postgr.es/c/3b7a689e1\">§</a> <a href=\"https://postgr.es/c/da99df15c\">§</a> <a href=\"https://postgr.es/c/e11907682\">§</a> <a href=\"https://postgr.es/c/9aef6f19a\">§</a> <a href=\"https://postgr.es/c/0bcb9d079\">§</a> <a href=\"https://postgr.es/c/54bc22fbf\">§</a></p>\n<p>普通行更新会写入行的新版本以保留事务的回滚能力。然而，某些系统目录更新是有意设计为非事务性的，并通过对行的就地更新来完成。这些补丁修复了可能导致就地更新效果丢失的竞态条件。例如，可能会忘记已将 <code>pg_class</code>.<code>relhasindex</code> 设置为 true，从而阻止新索引的更新，进而导致索引损坏。</p>", "text": "修复“就地”目录更新可能丢失的问题（Noah Misch）§ § § § § § § 普通行更新会写入行的新版本以保留事务的回滚能力。然而，某些系统目录更新是有意设计为非事务性的，并通过对行的就地更新来完成。这些补丁修复了可能导致就地更新效果丢失的竞态条件。例如，可能会忘记已将 pg_class.relhasindex 设置为 true，从而阻止新索引的更新，进而导致索引损坏。", "title": "修复“就地”目录更新可能丢失的问题", "commits": ["0bcb9d079", "3b7a689e1", "54bc22fbf", "9aef6f19a", "da99df15c", "e11907682", "fd27b878c"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "618bb361cbcd5f335169c77beecccda36d96c9493819a02ddc4fec7001d16ab6", "section_path": ["变更"], "commit_groups": [["0bcb9d079", "6b01cac0b", "6c837c237", "6d5b4031b", "b412f402d", "bb3054297", "d729f1ea5"], ["0d5a3d757", "159bf0f31", "4c922821e", "5a33a39a8", "b9ee1339b", "da99df15c", "db1992455"], ["0fe002d0c", "11e3f288f", "2a912bc1a", "30d47ec8c", "370bc7740", "9aef6f19a", "c2139db11"], ["14c57cb63", "3b7a689e1", "51ff46de2", "5c837f8fa", "aac2c9b4f", "cafcc3ad0", "f51b34b3e"], ["2d63c964f", "3e5ea478d", "a0c0078b1", "ad24b7565", "d34ffbaa1", "e11907682", "e947224cb"], ["4dc0c933f", "54bc22fbf", "766809db3", "803655e66", "825c72c07", "d14e94ac4", "f8f9110b4"], ["63f019805", "7354b680a", "82c2d9e02", "8590c942c", "a07e03fd8", "a8ad1929d", "fd27b878c"]], "identity_text": "Fix ways in which an in place catalog update could be lost (Noah Misch) Normal row updates write a new version of the row to preserve rollback-ability of the transaction. However, certain system catalog updates are intentionally non-transactional and are done with an in-place update of the row. These patches fix race conditions that could cause the effects of an in-place update to be lost. As an example, it was possible to forget having set pg_class.relhasindex to true, preventing updates of the new index and thus causing index corruption.", "commit_aliases": ["0bcb9d079", "0d5a3d757", "0fe002d0c", "11e3f288f", "14c57cb63", "159bf0f31", "2a912bc1a", "2d63c964f", "30d47ec8c", "370bc7740", "3b7a689e1", "3e5ea478d", "4c922821e", "4dc0c933f", "51ff46de2", "54bc22fbf", "5a33a39a8", "5c837f8fa", "63f019805", "6b01cac0b", "6c837c237", "6d5b4031b", "7354b680a", "766809db3", "803655e66", "825c72c07", "82c2d9e02", "8590c942c", "9aef6f19a", "a07e03fd8", "a0c0078b1", "a8ad1929d", "aac2c9b4f", "ad24b7565", "b412f402d", "b9ee1339b", "bb3054297", "c2139db11", "cafcc3ad0", "d14e94ac4", "d34ffbaa1", "d729f1ea5", "da99df15c", "db1992455", "e11907682", "e947224cb", "f51b34b3e", "f8f9110b4", "fd27b878c"], "source_commits": ["0bcb9d079", "3b7a689e1", "54bc22fbf", "9aef6f19a", "da99df15c", "e11907682", "fd27b878c"], "source_entry_id": "17.1/changes/024", "db_id": "d2a35756cee793f15aeedced3c6988ef", "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242", "relations": [{"rule": 2, "type": "equivalent", "target": "264c00d4fe4a150e75d61a097ff123db", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "4da4c3bde6ab372410d0ea2f0c14cf1c", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "a4c7b80cea1f3d86e1ebeb039d46f949", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "e51e9f0ae27bbcd0efa98e7f734afd4e", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}, {"rule": 2, "type": "equivalent", "target": "eb830ff75d360e6a0f3b6bfc80c31645", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "264c00d4fe4a150e75d61a097ff123db", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复“就地”目录更新可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=16.5#16.5-f36a0a1cb407bc0d", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "eb830ff75d360e6a0f3b6bfc80c31645", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复“就地”目录更新可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=15.9#15.9-08a0d7fc06fd04f8", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "e51e9f0ae27bbcd0efa98e7f734afd4e", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复“就地”目录更新可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=14.14#14.14-08a0d7fc06fd04f8", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "a4c7b80cea1f3d86e1ebeb039d46f949", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复“就地”目录更新可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=13.17#13.17-ceead3a3466e6797", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "4da4c3bde6ab372410d0ea2f0c14cf1c", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复“就地”目录更新可能丢失的问题", "evidence": {"same_day": true, "patch_ids": ["05b36e4e33fd5338dd25a15409b13e9d", "4f1bae07616ee0fb5c5e4b46d54b5b36", "52eab8bd7a63e7f7075f0714ca6383fa", "5387ff70b9b13df766dc4ee83ea4d5cd", "7bf6a28b82f24f6f29d6185ab745fd01", "7d9fe8d7f162d4973084bac117e13458", "92e91d174f3975b9ee8fcabe365fe864"], "statement_hash": "88c284eb649a92e2feb03789cc1cd0df323723b9ec13679075dc970edc5ba242"}, "url": "/docs/compare/?release=12.21#12.21-608f82caf4cfab8e", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-fdd8a7b553e4e858", "cves": [], "html": "<p>在恢复结束时重置系统目录缓存（Noah Misch）<a href=\"https://postgr.es/c/a4668c99f\">§</a></p>\n<p>这可以防止因使用系统目录缓存中的陈旧数据，而导致原地系统目录更新丢失的情况。</p>", "text": "在恢复结束时重置系统目录缓存（Noah Misch）§ 这可以防止因使用系统目录缓存中的陈旧数据，而导致原地系统目录更新丢失的情况。", "title": "在恢复结束时重置系统目录缓存", "commits": ["a4668c99f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "7ba258e6cfd97400e6743c8075e7ab878dab6045d48bf1ba18e646bb4d01c9ff", "section_path": ["变更"], "commit_groups": [["3baf804b7", "67f30c79a", "a4668c99f", "d36b4d8ec", "da9950456", "dca68242a"]], "identity_text": "Reset catalog caches at end of recovery (Noah Misch) This prevents scenarios wherein an in-place catalog update could be lost due to using stale data from a catalog cache.", "commit_aliases": ["3baf804b7", "67f30c79a", "a4668c99f", "d36b4d8ec", "da9950456", "dca68242a"], "source_commits": ["a4668c99f"], "source_entry_id": "17.1/changes/025", "db_id": "f79d9965bc861d1581bcbd5e1c99f922", "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8", "relations": [{"rule": 2, "type": "equivalent", "target": "03f38df95d5ba9b19ea98e287c5941dd", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "0f22f13259952ee505c2fd5ecc2f32c3", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "aa00e5eea147d8a44ee23eca484f52e9", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "cd21f7315c06a0f5655474428e16bbac", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}, {"rule": 2, "type": "equivalent", "target": "d884bf75960c7349cddc766f955ef4bf", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "aa00e5eea147d8a44ee23eca484f52e9", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "在恢复结束时重置系统目录缓存", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=16.5#16.5-fdd8a7b553e4e858", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "0f22f13259952ee505c2fd5ecc2f32c3", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "在恢复结束时重置系统目录缓存", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=15.9#15.9-fdd8a7b553e4e858", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "03f38df95d5ba9b19ea98e287c5941dd", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "在恢复结束时重置系统目录缓存", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=14.14#14.14-fdd8a7b553e4e858", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "d884bf75960c7349cddc766f955ef4bf", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "在恢复结束时重置目录缓存", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=13.17#13.17-c138e4e18d01025b", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "cd21f7315c06a0f5655474428e16bbac", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "在恢复结束时重置目录缓存", "evidence": {"same_day": true, "patch_ids": ["d8e905ab86ebcc2061ec15f9561d12f7"], "statement_hash": "4a224b02222ca1034c36288808b35d4c4bbb6cecb363130697849647bca3a4a8"}, "url": "/docs/compare/?release=12.21#12.21-865e40421a2a7155", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-06c66c306e1e689d", "cves": [], "html": "<p>避免在持有中断抑制时使用并行查询（Francesco Degrassi，Noah Misch，Tom Lane）<a href=\"https://postgr.es/c/2370582ab\">§</a> <a href=\"https://postgr.es/c/943b65358\">§</a></p>\n<p>这种情况在正常情况下不会发生，但可以通过测试场景达到，例如使用 SQL 语言函数作为 B-树支持函数（这对于生产使用来说太慢了）。如果确实发生，将导致无限期等待。</p>", "text": "避免在持有中断抑制时使用并行查询（Francesco Degrassi，Noah Misch，Tom Lane）§ § 这种情况在正常情况下不会发生，但可以通过测试场景达到，例如使用 SQL 语言函数作为 B-树支持函数（这对于生产使用来说太慢了）。如果确实发生，将导致无限期等待。", "title": "避免在持有中断抑制时使用并行查询", "commits": ["2370582ab", "943b65358"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "6b4ef45a4b55a8f40e83d784fa0a6b0c426097ed8d244dbf3a1d1cd6eff53554", "section_path": ["变更"], "commit_groups": [["06424e9a2", "62685876f", "6e39ca6e7", "943b65358", "989ccd26c", "b8df69049", "bcbdb176e"], ["2370582ab", "507b72bd9", "5c698e898", "6f6521de9", "884860bfc", "916b8ae47", "ac04aa84a"]], "identity_text": "Avoid using parallel query while holding off interrupts (Francesco Degrassi, Noah Misch, Tom Lane) This situation cannot arise normally, but it can be reached with test scenarios such as using a SQL-language function as B-tree support (which would be far too slow for production usage). If it did occur it would result in an indefinite wait.", "commit_aliases": ["06424e9a2", "2370582ab", "507b72bd9", "5c698e898", "62685876f", "6e39ca6e7", "6f6521de9", "884860bfc", "916b8ae47", "943b65358", "989ccd26c", "ac04aa84a", "b8df69049", "bcbdb176e"], "source_commits": ["2370582ab", "943b65358"], "source_entry_id": "17.1/changes/026", "db_id": "934d89fc2549c8cbadcbf480ec891705", "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0", "relations": [{"rule": 2, "type": "equivalent", "target": "16437a71fa6942226ce8d635a44db8db", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "24cc8c07aade56116be077eb7b3a6c97", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "9c64f11a2ea10f08b521f113632af16e", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "b3f625cf27046112c2282ec0557cc30f", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}, {"rule": 2, "type": "equivalent", "target": "cba213b0d62e0ab3a4bf32c1f5643e83", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b3f625cf27046112c2282ec0557cc30f", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "避免在持有中断抑制时使用并行查询", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=16.5#16.5-89c96f632f7ca5f9", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "24cc8c07aade56116be077eb7b3a6c97", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "避免在持有中断抑制时使用并行查询", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=15.9#15.9-e6ab251303d53866", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "cba213b0d62e0ab3a4bf32c1f5643e83", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "避免在持有中断抑制时使用并行查询", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=14.14#14.14-e6ab251303d53866", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "9c64f11a2ea10f08b521f113632af16e", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "避免在持有中断抑制时使用并行查询", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=13.17#13.17-a3b4a4de7beb4cf2", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "16437a71fa6942226ce8d635a44db8db", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "避免在持有中断抑制时使用并行查询", "evidence": {"same_day": true, "patch_ids": ["29bb688d4e8208d2082e4f499367d4b5", "d51d4f1f90e0ae612393573f187e5578"], "statement_hash": "adf8c98c039a0012402ced84be2f8e79013c496b233860353a2dbe702b0840c0"}, "url": "/docs/compare/?release=12.21#12.21-62e4bb5238c85fde", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-aef3a8801b632b69", "cves": [], "html": "<p>在 <code>pg_cursors</code> 视图中忽略尚未定义的 Portal（Tom Lane）<a href=\"https://postgr.es/c/3daeb539a\">§</a></p>\n<p>用户定义的检查该视图的代码可能在新游标正在设置时被调用，如果发生这种情况，将导致空指针解引用。通过将该视图定义为排除未完全设置的游标来避免此问题。</p>", "text": "在 pg_cursors 视图中忽略尚未定义的 Portal（Tom Lane）§ 用户定义的检查该视图的代码可能在新游标正在设置时被调用，如果发生这种情况，将导致空指针解引用。通过将该视图定义为排除未完全设置的游标来避免此问题。", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "commits": ["3daeb539a"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "300820f6b8decb7b7b13441fe0d177533ba5ea1cc93d9c648d39998afa88681d", "section_path": ["变更"], "commit_groups": [["3922c9e9f", "3daeb539a", "4a17acd0d", "5c17f5a63", "5de77b609", "aef75219c", "f8d9a9f21"]], "identity_text": "Ignore not-yet-defined Portals in the pg_cursors view (Tom Lane) It is possible for user-defined code that inspects this view to be called while a new cursor is being set up, and if that happens a null pointer dereference would ensue. Avoid the problem by defining the view to exclude incompletely-set-up cursors.", "commit_aliases": ["3922c9e9f", "3daeb539a", "4a17acd0d", "5c17f5a63", "5de77b609", "aef75219c", "f8d9a9f21"], "source_commits": ["3daeb539a"], "source_entry_id": "17.1/changes/027", "db_id": "ab7451fa47782439c78a591f71331c6f", "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8", "relations": [{"rule": 2, "type": "equivalent", "target": "0867725684ed36138f7bb9cafd5966fb", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "40f352ad57f1a44a74ee73d5e8b2ba7a", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "8615a3985a1a6e36d471474894e4ae49", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "b75478fe3e881ec9e4d469c23af9882f", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}, {"rule": 2, "type": "equivalent", "target": "d675c60f3cd5aca2145214c45e0e293f", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "b75478fe3e881ec9e4d469c23af9882f", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=16.5#16.5-c4b555a66d26fe62", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "0867725684ed36138f7bb9cafd5966fb", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=15.9#15.9-2c83eaafe3f48038", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "8615a3985a1a6e36d471474894e4ae49", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=14.14#14.14-2c83eaafe3f48038", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "40f352ad57f1a44a74ee73d5e8b2ba7a", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=13.17#13.17-650fc419fd974de2", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d675c60f3cd5aca2145214c45e0e293f", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "在 pg_cursors 视图中忽略尚未定义的 Portal", "evidence": {"same_day": true, "patch_ids": ["150c787bf9f6ccaebe4514733bd41ba1"], "statement_hash": "998476f5c947153e08f4173ddb5a0d8d8fef2921423b11177f8d3c0c9eebb8a8"}, "url": "/docs/compare/?release=12.21#12.21-1f7e358387ad1aa5", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-6db7422caf84bc75", "cves": [], "html": "<p>避免在解码涉及插入列默认值的事务时出现 <span>“<span>unexpected table_index_fetch_tuple call during logical decoding</span>”</span> 错误（Takeshi Ideriha，Hou Zhijie）<a href=\"https://postgr.es/c/918107759\">§</a> <a href=\"https://postgr.es/c/c4b8a916f\">§</a></p>", "text": "避免在解码涉及插入列默认值的事务时出现 “unexpected table_index_fetch_tuple call during logical decoding” 错误（Takeshi Ideriha，Hou Zhijie）§ §", "title": "避免在解码涉及插入列默认值的事务时出现 “unexpected table_index_fetch_tuple call during logical decoding” 错误", "commits": ["918107759", "c4b8a916f"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "de9482f495a79e0185eeea1571ef0bfb2eedb6aa869e0106621d693ea2482e9d", "section_path": ["变更"], "commit_groups": [["022564f60", "0f0e253db", "8175a7d11", "918107759", "efe706e27"], ["0c40d9019", "581092c90", "5ce0dcc99", "c4b8a916f", "d759c1a0b"]], "identity_text": "Avoid unexpected table_index_fetch_tuple call during logical decoding error while decoding a transaction involving insertion of a column default value (Takeshi Ideriha, Hou Zhijie)", "commit_aliases": ["022564f60", "0c40d9019", "0f0e253db", "581092c90", "5ce0dcc99", "8175a7d11", "918107759", "c4b8a916f", "d759c1a0b", "efe706e27"], "source_commits": ["918107759", "c4b8a916f"], "source_entry_id": "17.1/changes/028", "db_id": "b62f7643cc5d01e344e8f37a74db8520", "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f", "relations": [{"rule": 2, "type": "equivalent", "target": "1d388d851aff311941271b2ba3e01b81", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}, {"rule": 2, "type": "equivalent", "target": "24d7fa327affe5b98a3617a4c8a6a445", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}, {"rule": 2, "type": "equivalent", "target": "d255bb5aa0be022d4f093ef7f8ad596c", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "1d388d851aff311941271b2ba3e01b81", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "避免在解码涉及插入列默认值的事务时出现 “unexpected table_index_fetch_tuple call during logical decoding” 错误", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=16.5#16.5-b5adaeb0b0bfabbd", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "24d7fa327affe5b98a3617a4c8a6a445", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "避免在解码涉及插入列默认值的事务时出现 “unexpected table_index_fetch_tuple call during logical decoding” 错误", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=15.9#15.9-0bc695e76545b914", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "d255bb5aa0be022d4f093ef7f8ad596c", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "避免在解码涉及插入列默认值的事务时出现 “unexpected table_index_fetch_tuple call during logical decoding” 错误", "evidence": {"same_day": true, "patch_ids": ["17680df5fc978450002a0ce50fc01a30", "2560fa709d0f1efe9d534299d5934343"], "statement_hash": "c585cdcb1deed9634ef163f8470c591b09c31ea993a74a556e8e975a352c5f7f"}, "url": "/docs/compare/?release=14.14#14.14-1900e3e9cc3eab4c", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}]}, {"id": "17.1-d43fbbbbd1a290af", "cves": [], "html": "<p>减少逻辑解码的内存消耗（Masahiko Sawada）<a href=\"https://postgr.es/c/eef9cc4dc\">§</a></p>\n<p>使用较小的默认块大小来存储逻辑复制期间接收的元组数据。这减少了内存浪费，据报告在处理长时间运行的事务时内存浪费会很严重，甚至导致内存不足错误。</p>", "text": "减少逻辑解码的内存消耗（Masahiko Sawada）§ 使用较小的默认块大小来存储逻辑复制期间接收的元组数据。这减少了内存浪费，据报告在处理长时间运行的事务时内存浪费会很严重，甚至导致内存不足错误。", "title": "减少逻辑解码的内存消耗", "commits": ["eef9cc4dc"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "daa4a5373613eb58d0637708f427bf6031706e42009322b5f0fd8c22a07e91f7", "section_path": ["变更"], "commit_groups": [["05e982cdc", "1b9b6cc34", "4a675f318", "53fa68b3b", "5c1ed0a51", "cb988b04d", "eef9cc4dc"]], "identity_text": "Reduce memory consumption of logical decoding (Masahiko Sawada) Use a smaller default block size to store tuple data received during logical replication. This reduces memory wastage, which has been reported to be severe while processing long-running transactions, even leading to out-of-memory failures.", "commit_aliases": ["05e982cdc", "1b9b6cc34", "4a675f318", "53fa68b3b", "5c1ed0a51", "cb988b04d", "eef9cc4dc"], "source_commits": ["eef9cc4dc"], "source_entry_id": "17.1/changes/029", "db_id": "97c3269bffd0c820b06905fbe2d464f9", "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690", "relations": [{"rule": 2, "type": "equivalent", "target": "31bd9403607ae022bbb2521df351cbfc", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "3d9fd2ba6502c820c1ac0c749da6c3d2", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "4727ddf86fcb969c81cd421d0cdb58de", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "9bf3080cc388d1bf67d4b4ef7f8fa15d", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}, {"rule": 2, "type": "equivalent", "target": "a4f89dcd882799f19e8888f9472f9d26", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "3d9fd2ba6502c820c1ac0c749da6c3d2", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "减少逻辑解码的内存消耗", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=16.5#16.5-196b5d37b1ff6140", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "4727ddf86fcb969c81cd421d0cdb58de", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "减少逻辑解码的内存消耗", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=15.9#15.9-6255a3cff82754f5", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "9bf3080cc388d1bf67d4b4ef7f8fa15d", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "减少逻辑解码的内存消耗", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=14.14#14.14-6255a3cff82754f5", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "31bd9403607ae022bbb2521df351cbfc", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "减少逻辑解码的内存消耗", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=13.17#13.17-f2d64b8488ba0701", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "a4f89dcd882799f19e8888f9472f9d26", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "减少逻辑解码的内存消耗", "evidence": {"same_day": true, "patch_ids": ["473ac57f52486f7e2341aa56eec194c2"], "statement_hash": "41677895da3ee075c9b726464616a279de0b41105d90638c0e57718cefefc690"}, "url": "/docs/compare/?release=12.21#12.21-4155de347ff97daf", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-42a6ede2406a0663", "cves": [], "html": "<p>修复当 <code>CALL</code> 位于 PL/pgSQL 的 <code>EXCEPTION</code> 块中时，从 <code>CALL</code> 语句参数列表中调用的稳定函数的行为（Tom Lane）<a href=\"https://postgr.es/c/b5eef7539\">§</a></p>\n<p>与我们之前季度发布中的类似修复一样，这种情况允许此类函数被传递错误的快照，导致它们看到自外部事务开始以来修改的行的过时值。</p>", "text": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为（Tom Lane）§ 与我们之前季度发布中的类似修复一样，这种情况允许此类函数被传递错误的快照，导致它们看到自外部事务开始以来修改的行的过时值。", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "commits": ["b5eef7539"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "ea4d614c565838f06c30f301a64b548232d63f75e5c9d58ca6c4b7d6ad87a6c5", "section_path": ["变更"], "commit_groups": [["0d83ced3c", "25d639eea", "ab13c46ff", "b35231989", "b5eef7539", "c96de42c4", "cf1443d67"]], "identity_text": "Fix behavior of stable functions called from a CALL statement's argument list, when the CALL is within a PL/pgSQL EXCEPTION block (Tom Lane) As with a similar fix in our previous quarterly releases, this case allowed such functions to be passed the wrong snapshot, causing them to see stale values of rows modified since the start of the outer transaction.", "commit_aliases": ["0d83ced3c", "25d639eea", "ab13c46ff", "b35231989", "b5eef7539", "c96de42c4", "cf1443d67"], "source_commits": ["b5eef7539"], "source_entry_id": "17.1/changes/030", "db_id": "5d81893dc288c0936c9c48f30ecb9eb4", "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9", "relations": [{"rule": 2, "type": "equivalent", "target": "701cddbee61b49f9376bd78f39126e40", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "983c4b91d18d1194eb6f789b54cbff5b", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "a04abc49096f3811d441a2197b029a6f", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "c070d073d2b607186446f019fee68129", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}, {"rule": 2, "type": "equivalent", "target": "efdb2a8ecc917aaf8d1032ff897f1f9d", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "983c4b91d18d1194eb6f789b54cbff5b", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=16.5#16.5-4b8849d9ca73753c", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "701cddbee61b49f9376bd78f39126e40", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=15.9#15.9-f03b3171c22729d1", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "efdb2a8ecc917aaf8d1032ff897f1f9d", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=14.14#14.14-f03b3171c22729d1", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "a04abc49096f3811d441a2197b029a6f", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=13.17#13.17-f7cac22714a4f7fa", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "c070d073d2b607186446f019fee68129", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复当 CALL 位于 PL/pgSQL 的 EXCEPTION 块中时，从 CALL 语句参数列表中调用的稳定函数的行为", "evidence": {"same_day": true, "patch_ids": ["ae436882c6ec585ee00e5aaf3b0ba982"], "statement_hash": "87a8d9c87ab798ec77011d823d44a15cc22322eb4a68938b54bef8818a6709c9"}, "url": "/docs/compare/?release=12.21#12.21-2c76105ecb91906f", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-a922aa3daef9edf6", "cves": [], "html": "<p>以与其他整数值选项相同的方式解析 <span>libpq</span> 的 <code>keepalives</code> 连接选项（Yuto Sasaki）<a href=\"https://postgr.es/c/c7a201053\">§</a></p>\n<p>此处使用的代码拒绝选项值中的尾部空白，与其他情况不同。这在 <span>ecpg</span> 的使用中被证明是有问题的。</p>", "text": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项（Yuto Sasaki）§ 此处使用的代码拒绝选项值中的尾部空白，与其他情况不同。这在 ecpg 的使用中被证明是有问题的。", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "commits": ["c7a201053"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "466610b847ee0500a0c5ed519cae44df0da376d2d53b2e543d03af0015230038", "section_path": ["变更"], "commit_groups": [["2120eda94", "47d8a15de", "65f431aff", "920d51979", "bb8c89dbc", "c7a201053", "e7af9b52f"]], "identity_text": "Parse libpq's keepalives connection option in the same way as other integer-valued options (Yuto Sasaki) The coding used here rejected trailing whitespace in the option value, unlike other cases. This turns out to be problematic in ecpg's usage, for example.", "commit_aliases": ["2120eda94", "47d8a15de", "65f431aff", "920d51979", "bb8c89dbc", "c7a201053", "e7af9b52f"], "source_commits": ["c7a201053"], "source_entry_id": "17.1/changes/031", "db_id": "7e09a91933f87c4ae53f0fb08ec6ceee", "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946", "relations": [{"rule": 2, "type": "equivalent", "target": "727c393e1ef5548b5eeebdcd27d10beb", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "9bc5dfea58bdf41e6947b117f85b50b7", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "b1abc23dad8d1bb9fecf44d14b4d8519", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "d8a0a55bc2ad3a1eeb862bcaaf0da1c6", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}, {"rule": 2, "type": "equivalent", "target": "f43516cc9cb41aef226fbd6ec1a2178e", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "f43516cc9cb41aef226fbd6ec1a2178e", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=16.5#16.5-421b9f7051ea9b30", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "b1abc23dad8d1bb9fecf44d14b4d8519", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=15.9#15.9-11149b752f003764", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "727c393e1ef5548b5eeebdcd27d10beb", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=14.14#14.14-11149b752f003764", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "9bc5dfea58bdf41e6947b117f85b50b7", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=13.17#13.17-61d7b37fac36face", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d8a0a55bc2ad3a1eeb862bcaaf0da1c6", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "以与其他整数值选项相同的方式解析 libpq 的 keepalives 连接选项", "evidence": {"same_day": true, "patch_ids": ["2465fb0d4f04066f288d72fdd4794d59"], "statement_hash": "a4d5a5b5497f1afbbc05c01b4425859a1934a91bc6ee484bfab9a95cf7fd1946"}, "url": "/docs/compare/?release=12.21#12.21-908e622976bf6b0d", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-529ff7381233cffe", "cves": [], "html": "<p>修复 <span>ecpglib</span> 中解析不正确日期时间输入时的越界读取（Bruce Momjian，Pavel Nekrasov）<a href=\"https://postgr.es/c/2c37cb26f\">§</a></p>\n<p>有可能试图读取常量数组起始位置之前的位置。不过实际影响似乎很小。</p>", "text": "修复 ecpglib 中解析不正确日期时间输入时的越界读取（Bruce Momjian，Pavel Nekrasov）§ 有可能试图读取常量数组起始位置之前的位置。不过实际影响似乎很小。", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "commits": ["2c37cb26f"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "1e6849bb5e89cfb168245b8ffe9b0d9a4a99d95c6f86ffb1f3ac5b319055bd35", "section_path": ["变更"], "commit_groups": [["2c37cb26f", "335501fb2", "9a51d4af1", "9ecfd8a48", "a0bff38d1", "a1e613b81", "fcafbaadf"]], "identity_text": "In ecpglib, fix out-of-bounds read when parsing incorrect datetime input (Bruce Momjian, Pavel Nekrasov) It was possible to try to read the location just before the start of a constant array. Real-world consequences seem minimal, though.", "commit_aliases": ["2c37cb26f", "335501fb2", "9a51d4af1", "9ecfd8a48", "a0bff38d1", "a1e613b81", "fcafbaadf"], "source_commits": ["2c37cb26f"], "source_entry_id": "17.1/changes/032", "db_id": "1e77eaf900773e6236b6ffb21cd7fc1b", "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1", "relations": [{"rule": 2, "type": "equivalent", "target": "0e0f03b7d096ceb8efb241246cfdfc73", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "3e8175be0a09cac5e3bff6077bbc630c", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "7f2e5e6d89138f85f6e1120a399ebc31", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "80eee80256c0e6b71e65aa9e92670dff", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}, {"rule": 2, "type": "equivalent", "target": "e34de0e447f0c8752a64af2e4886b995", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "e34de0e447f0c8752a64af2e4886b995", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=16.5#16.5-21e8b24e87f4a12e", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "3e8175be0a09cac5e3bff6077bbc630c", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=15.9#15.9-f6611c4aafbac4c8", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "7f2e5e6d89138f85f6e1120a399ebc31", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=14.14#14.14-f6611c4aafbac4c8", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "80eee80256c0e6b71e65aa9e92670dff", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=13.17#13.17-b43cbde21c10350a", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "0e0f03b7d096ceb8efb241246cfdfc73", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复 ecpglib 中解析不正确日期时间输入时的越界读取", "evidence": {"same_day": true, "patch_ids": ["6d12442b6d9d80d7f2923a3854691932"], "statement_hash": "fd725ea9d4ad0f110ed972492b2c7c4b3e8b7f15383cdca60a5609f422c83ea1"}, "url": "/docs/compare/?release=12.21#12.21-0da18d838f26abf4", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-de8106eb19abf759", "cves": [], "html": "<p>修复 <span>psql</span> 的 describe 命令，使其重新能够与 9.4 之前的服务器协同工作（Tom Lane）<a href=\"https://postgr.es/c/923a71584\">§</a></p>\n<p>由于使用了这些旧版本中不存在的函数，涉及显示 ACL（权限）列的命令在非常旧的 <span>PostgreSQL</span> 服务器上会失败。</p>", "text": "修复 psql 的 describe 命令，使其重新能够与 9.4 之前的服务器协同工作（Tom Lane）§ 由于使用了这些旧版本中不存在的函数，涉及显示 ACL（权限）列的命令在非常旧的 PostgreSQL 服务器上会失败。", "title": "修复 psql 的 describe 命令，使其重新能够与 9.4 之前的服务器协同工作", "commits": ["923a71584"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "6c1bb6ec881af8691713c77202241bb9a00a94eefa0ebf50dd81df680bde313f", "section_path": ["变更"], "commit_groups": [["1591b38d1", "923a71584"]], "identity_text": "Fix psql's describe commands to again work with pre-9.4 servers (Tom Lane) Commands involving display of an ACL (permissions) column failed with very old PostgreSQL servers, due to use of a function not present in those versions.", "commit_aliases": ["1591b38d1", "923a71584"], "source_commits": ["923a71584"], "source_entry_id": "17.1/changes/033", "db_id": "18f1350f2daacc37dba5788da5d52ea3", "patch_ids": ["5091e2d362bd6f12dab65d3855536871"], "statement_hash": "ee4d4b36714bf1524f0df827572c249ef13210a79bb77d83abe6fbc47c8869d8", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-94b3e497adba1b91", "cves": [], "html": "<p>避免在 <span>psql</span> 的 <code>\\watch</code> 命令中指定小于 1ms 的间隔时挂起（Andrey Borodin，Michael Paquier）<a href=\"https://postgr.es/c/8a6170860\">§</a></p>\n<p>改为将其视为零间隔（执行之间不等待）。</p>", "text": "避免在 psql 的 \\watch 命令中指定小于 1ms 的间隔时挂起（Andrey Borodin，Michael Paquier）§ 改为将其视为零间隔（执行之间不等待）。", "title": "避免在 psql 的 \\watch 命令中指定小于 1ms 的间隔时挂起", "commits": ["8a6170860"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "9dce8c1225d8d55a2bff62d573ccd5f27968ea1a6a4c5606cfb7e434a90063dd", "section_path": ["变更"], "commit_groups": [["6331972c7", "8a6170860", "9f34cae14"]], "identity_text": "Avoid hanging if an interval less than 1ms is specified in psql's \\watch command (Andrey Borodin, Michael Paquier) Instead, treat this the same as an interval of zero (no wait between executions).", "commit_aliases": ["6331972c7", "8a6170860", "9f34cae14"], "source_commits": ["8a6170860"], "source_entry_id": "17.1/changes/034", "db_id": "81f0bb9d2627ef251bb85efb33a2792f", "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db", "relations": [{"rule": 2, "type": "equivalent", "target": "ec490d72a0dc9300aa45048145f5399b", "evidence": {"same_day": true, "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ec490d72a0dc9300aa45048145f5399b", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "避免在 psql 的 \\watch 命令中指定小于 1ms 的间隔时挂起", "evidence": {"same_day": true, "patch_ids": ["57069cd5dc4bd4cfc5c1f93e2eff4716"], "statement_hash": "98ed9ab3898440c27f59902a8407246d323c97de1573ce6501db024518a584db"}, "url": "/docs/compare/?release=16.5#16.5-d9984a51a186e26b", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}]}, {"id": "17.1-7a8e1055559cf847", "cves": [], "html": "<p>修复无法在 <code>~/.pgpass</code> 中找到复制密码的问题（Tom Lane）<a href=\"https://postgr.es/c/e2a912909\">§</a></p>\n<p>如果未提供 <code>-d</code> 或 <code>--dbname</code> 开关，<span>pg_basebackup</span> 和 <span>pg_receivewal</span> 就无法匹配 <code>~/.pgpass</code> 中数据库名字段为 <code>replication</code> 的条目，从而导致意外弹出密码提示。</p>", "text": "修复无法在 ~/.pgpass 中找到复制密码的问题（Tom Lane）§ 如果未提供 -d 或 --dbname 开关，pg_basebackup 和 pg_receivewal 就无法匹配 ~/.pgpass 中数据库名字段为 replication 的条目，从而导致意外弹出密码提示。", "title": "修复无法在 ~/.pgpass 中找到复制密码的问题", "commits": ["e2a912909"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "392a35dfd3a6385b9b7a25d480ff6616b48cef51541bdf8af0172d57d8de023c", "section_path": ["变更"], "commit_groups": [["b1008c1f0", "e2a912909"]], "identity_text": "Fix failure to find replication password in ~/.pgpass (Tom Lane) pg_basebackup and pg_receivewal failed to match an entry in ~/.pgpass that had replication in the database name field, if no -d or --dbname switch was supplied. This resulted in an unexpected prompt for password.", "commit_aliases": ["b1008c1f0", "e2a912909"], "source_commits": ["e2a912909"], "source_entry_id": "17.1/changes/035", "db_id": "ff8e455f1b215e507c429a3101cdee73", "patch_ids": ["d18feb718c28e1930db46c9b5741a30a"], "statement_hash": "110a67b714d9992ae25140a6320ed7f8c53c2641aaac219ad4275cec2c952c97", "relations": [], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-e1fc29f2c3e4664a", "cves": [], "html": "<p>在 <span>pg_combinebackup</span> 中，如果本应包含完整备份的目录里出现增量备份文件，则抛出错误（Robert Haas）<a href=\"https://postgr.es/c/e36711442\">§</a></p>", "text": "在 pg_combinebackup 中，如果本应包含完整备份的目录里出现增量备份文件，则抛出错误（Robert Haas）§", "title": "在 pg_combinebackup 中，如果本应包含完整备份的目录里出现增量备份文件，则抛出错误", "commits": ["e36711442"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "3701101076b75687ed3886a6a48e8c6ec4ebfc1dcdfa4dd66033b6a0c3aefc85", "section_path": ["变更"], "commit_groups": [["0b1765d95", "e36711442"]], "identity_text": "In pg_combinebackup, throw an error if an incremental backup file is present in a directory that is supposed to contain a full backup (Robert Haas)", "commit_aliases": ["0b1765d95", "e36711442"], "source_commits": ["e36711442"], "source_entry_id": "17.1/changes/036", "db_id": "7b66882fdff8e9689ab770c45a2a8383", "patch_ids": ["b06704497ba9502d2beaac9514f6ad24"], "statement_hash": "fe31378edbf22df13099150e2a056c82c32224a1599d929e0abb32030810f106", "relations": [], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-92ce2ab5b79442b8", "cves": [], "html": "<p>在 <span>pg_combinebackup</span> 中，不要构造包含双斜杠的文件名（Robert Haas）<a href=\"https://postgr.es/c/0d635b615\">§</a></p>\n<p>这不会造成功能性问题，但双斜杠会出现在错误消息中，从而引起混淆。</p>", "text": "在 pg_combinebackup 中，不要构造包含双斜杠的文件名（Robert Haas）§ 这不会造成功能性问题，但双斜杠会出现在错误消息中，从而引起混淆。", "title": "在 pg_combinebackup 中，不要构造包含双斜杠的文件名", "commits": ["0d635b615"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "46fb8df574a176e1cc2da651c0adcd4cb5300414a6bdd50db1984e855d8f03e1", "section_path": ["变更"], "commit_groups": [["0d635b615", "6c24801b1"]], "identity_text": "In pg_combinebackup, don't construct filenames containing double slashes (Robert Haas) This caused no functional problems, but the duplicate slashes were visible in error messages, which could create confusion.", "commit_aliases": ["0d635b615", "6c24801b1"], "source_commits": ["0d635b615"], "source_entry_id": "17.1/changes/037", "db_id": "2b83e7518dde0fa62f2e0a32ec041ce9", "patch_ids": ["bcb0bed5356d7bad809a0c0d38c37961"], "statement_hash": "6c88048ec9f49d0f99cf43cd5265afc930ea03c22ae8a630fe3049f9ac2d5c7c", "relations": [], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": []}, {"id": "17.1-8ee5d1afad85ebfb", "cves": [], "html": "<p>避免尝试在 <span>vacuumdb</span> 和并行 <span>reindexdb</span> 中重新索引临时表和索引（VaibhaveS，Michael Paquier，Fujii Masao，Nathan Bossart）<a href=\"https://postgr.es/c/85cb21df6\">§</a> <a href=\"https://postgr.es/c/77f154681\">§</a> <a href=\"https://postgr.es/c/5bd26e652\">§</a></p>\n<p>重新索引其他会话的临时表是不可能的，但在某些代码路径中缺少跳过它们的检查，导致了不必要的失败。</p>", "text": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引（VaibhaveS，Michael Paquier，Fujii Masao，Nathan Bossart）§ § § 重新索引其他会话的临时表是不可能的，但在某些代码路径中缺少跳过它们的检查，导致了不必要的失败。", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "commits": ["5bd26e652", "77f154681", "85cb21df6"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "1015e1646461444e1b0c3c37fb17ab3b4eace169a03bf88896664dda32804f4f", "section_path": ["变更"], "commit_groups": [["1ab67c9df", "1ea4d9c00", "60c618216", "74eaa0544", "85cb21df6", "9db4598c9", "ef57a7135"], ["20cfec896", "653ce5b8b", "77f154681", "88e1153cb", "92cc21d15", "9410f7cbf"], ["5bd26e652", "5e0431c32", "6d047c6a9", "8318f2b17", "ce6f27857", "d4ade0baf", "eba8cc1af"]], "identity_text": "Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb (VaibhaveS, Michael Paquier, Fujii Masao, Nathan Bossart) Reindexing other sessions' temporary tables cannot work, but the check to skip them was missing in some code paths, leading to unwanted failures.", "commit_aliases": ["1ab67c9df", "1ea4d9c00", "20cfec896", "5bd26e652", "5e0431c32", "60c618216", "653ce5b8b", "6d047c6a9", "74eaa0544", "77f154681", "8318f2b17", "85cb21df6", "88e1153cb", "92cc21d15", "9410f7cbf", "9db4598c9", "ce6f27857", "d4ade0baf", "eba8cc1af", "ef57a7135"], "source_commits": ["5bd26e652", "77f154681", "85cb21df6"], "source_entry_id": "17.1/changes/038", "db_id": "49202512ec90fd67899e292bbdf47393", "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac", "relations": [{"rule": 2, "type": "equivalent", "target": "4be0746ae3d31d3a67d4e6575952b2be", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "d6cdd8b6ec59725f8484ea9b6958f9c0", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "e18a9312e9c8aad0f30fdc47f2803910", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "fa418bc3e162a87cba139153560d10be", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}, {"rule": 2, "type": "equivalent", "target": "fd6538cb5adf6f39f27bb662e664a7b0", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4be0746ae3d31d3a67d4e6575952b2be", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=16.5#16.5-d6310735ce407b5d", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "e18a9312e9c8aad0f30fdc47f2803910", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=15.9#15.9-d361402759971b18", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "fa418bc3e162a87cba139153560d10be", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=14.14#14.14-d361402759971b18", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "fd6538cb5adf6f39f27bb662e664a7b0", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=13.17#13.17-39b4d508a3ebe1d9", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "d6cdd8b6ec59725f8484ea9b6958f9c0", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "避免尝试在 vacuumdb 和并行 reindexdb 中重新索引临时表和索引", "evidence": {"same_day": true, "patch_ids": ["88d23a2fb54459ed87e6d9da412427b4", "b800062e19c05574a49e585e0e072c6b", "ca0e63af13382f01a85afb5f0c50571a"], "statement_hash": "d9443e8290f2ce00659f5cfbdc3500bd28f29dc7b0b8d62c1b26bb2d148d98ac"}, "url": "/docs/compare/?release=12.21#12.21-f1b420bde0d9e3c5", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-340a46645824a2bd", "cves": [], "html": "<p>修复 ARM64 平台上不正确的 LLVM 生成代码（Thomas Munro，Anthonin Bonnefoy）<a href=\"https://postgr.es/c/b7467ab71\">§</a></p>\n<p>在 ARM 平台上使用 JIT 编译时，生成的代码无法支持超过 32 位的重定位距离，使得在大内存系统上不巧的代码放置可能导致服务器崩溃。</p>", "text": "修复 ARM64 平台上不正确的 LLVM 生成代码（Thomas Munro，Anthonin Bonnefoy）§ 在 ARM 平台上使用 JIT 编译时，生成的代码无法支持超过 32 位的重定位距离，使得在大内存系统上不巧的代码放置可能导致服务器崩溃。", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "commits": ["b7467ab71"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "65b4809a577e45e9a17ab7ca7d178c0299dcd42c17dc354bd0dbe969fcb5059b", "section_path": ["变更"], "commit_groups": [["0b022ddf3", "19bf81c06", "50c1453a3", "9044fc1d4", "b7467ab71", "e88d824a4", "ee67b73f5"]], "identity_text": "Fix incorrect LLVM-generated code on ARM64 platforms (Thomas Munro, Anthonin Bonnefoy) When using JIT compilation on ARM platforms, the generated code could not support relocation distances exceeding 32 bits, allowing unlucky placement of generated code to cause server crashes on large-memory systems.", "commit_aliases": ["0b022ddf3", "19bf81c06", "50c1453a3", "9044fc1d4", "b7467ab71", "e88d824a4", "ee67b73f5"], "source_commits": ["b7467ab71"], "source_entry_id": "17.1/changes/039", "db_id": "552f755d17bee102cb50bf545ecb949c", "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a", "relations": [{"rule": 2, "type": "equivalent", "target": "07627c1366b7fc7a15a84f72711baf63", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "2638bd1adab380229ce1a042d31b374e", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "30c20b6563426a9899fdec9ce9437eed", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "8b66c7a2971a68b203b33def34a61729", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}, {"rule": 2, "type": "equivalent", "target": "a4a3b2371863ab88daa8190444068bd5", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "30c20b6563426a9899fdec9ce9437eed", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=16.5#16.5-88ba539f0cf804a2", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "8b66c7a2971a68b203b33def34a61729", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=15.9#15.9-dbfbd3d4f9ba03db", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "a4a3b2371863ab88daa8190444068bd5", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=14.14#14.14-dbfbd3d4f9ba03db", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "07627c1366b7fc7a15a84f72711baf63", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=13.17#13.17-385afd66c806f38e", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "2638bd1adab380229ce1a042d31b374e", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复 ARM64 平台上不正确的 LLVM 生成代码", "evidence": {"same_day": true, "patch_ids": ["57596ae59679a29ff707f6ee94229715"], "statement_hash": "e47f7abeabc7e940d49bb38787f3599b68c6feb47468e84b0e0a8e4edf13924a"}, "url": "/docs/compare/?release=12.21#12.21-92ba1b32a98f8d2f", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-0b285a27e1ea7d45", "cves": [], "html": "<p>修复一些假设进程启动时间（表示为 <code>time_t</code>）能够放入 <code>long</code> 值的地方（Max Johnson，Nathan Bossart）<a href=\"https://postgr.es/c/a356d23fd\">§</a></p>\n<p>在 <code>long</code> 为 32 位的平台上（尤其是 Windows），此代码将在 2038 年后失败。大多数失败看起来只是外观问题，但值得注意的是 <code>pg_ctl start</code> 会挂起。</p>", "text": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方（Max Johnson，Nathan Bossart）§ 在 long 为 32 位的平台上（尤其是 Windows），此代码将在 2038 年后失败。大多数失败看起来只是外观问题，但值得注意的是 pg_ctl start 会挂起。", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "commits": ["a356d23fd"], "section": "变更", "category": "bugfix", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "070c1c0cf71641d919e74b02a6b113a2168f83e49c6675d3da4c99d9aaa0ad62", "section_path": ["变更"], "commit_groups": [["01731eeea", "5cea7168d", "5d6187d2a", "8aaf88b63", "a356d23fd", "b255493ae", "c91d0af0a"]], "identity_text": "Fix a few places that assumed that process start time (represented as a time_t) will fit into a long value (Max Johnson, Nathan Bossart) On platforms where long is 32 bits (notably Windows), this coding would fail after Y2038. Most of the failures appear only cosmetic, but notably pg_ctl start would hang.", "commit_aliases": ["01731eeea", "5cea7168d", "5d6187d2a", "8aaf88b63", "a356d23fd", "b255493ae", "c91d0af0a"], "source_commits": ["a356d23fd"], "source_entry_id": "17.1/changes/040", "db_id": "3084cb6f1a9a83786226f990e093badf", "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377", "relations": [{"rule": 2, "type": "equivalent", "target": "075f70893c63574e821b74eb0753f209", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "40bc46f4e80e1864b73a7a5e12f75b65", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "7b562ce18a69f435e1e22679a3930bb0", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "ac2f9b62f89f5efc11d5918a066d7298", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}, {"rule": 2, "type": "equivalent", "target": "db60254f3e912ac41b205c00ddc90c1f", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}}], "version": "17.1", "category_label": "BUG 修复", "also_in": [], "variants": [], "related_changes": [{"db_id": "ac2f9b62f89f5efc11d5918a066d7298", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=16.5#16.5-4e1e853951ded2b7", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "40bc46f4e80e1864b73a7a5e12f75b65", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=15.9#15.9-aa8d1f73d42af12c", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "7b562ce18a69f435e1e22679a3930bb0", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=14.14#14.14-aa8d1f73d42af12c", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "075f70893c63574e821b74eb0753f209", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=13.17#13.17-80971931f1cef36f", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "db60254f3e912ac41b205c00ddc90c1f", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "修复一些假设进程启动时间（表示为 time_t）能够放入 long 值的地方", "evidence": {"same_day": true, "patch_ids": ["311a0df3693d4634968109ecf37f38ef"], "statement_hash": "9bb727c9c397393857e4ccd2faa4c4036a18202a3c985dc2a675dd4791f86377"}, "url": "/docs/compare/?release=12.21#12.21-f05c71304b810922", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}, {"id": "17.1-1871d2759b385285", "cves": [], "html": "<p>将时区数据文件更新为 <span>tzdata</span> 2024b 版本（Tom Lane）<a href=\"https://postgr.es/c/cad65907e\">§</a> <a href=\"https://postgr.es/c/6283ff201\">§</a></p>\n<p>此 <span>tzdata</span> 版本将旧的 System-V 兼容性区域名称更改为与对应地理区域重复；例如 <code>PST8PDT</code> 现在是 <code>America/Los_Angeles</code> 的别名。主要可见后果是，对于标准化时区引入之前的时间戳，该区域被认为代表命名位置的本地平均太阳时。例如，在 <code>PST8PDT</code> 中，<code>timestamptz</code> 输入如 <code>1801-01-01 00:00</code> 之前会被渲染为 <code>1801-01-01 00:00:00-08</code>，但现在会被渲染为 <code>1801-01-01 00:00:00-07:52:58</code>。</p>\n<p>另外，包含墨西哥、蒙古和葡萄牙的历史修正。值得注意的是，<code>Asia/Choibalsan</code> 现在是 <code>Asia/Ulaanbaatar</code> 的别名而非独立区域，主要是因为这些区域之间的差异被发现是基于不可靠的数据。</p>", "text": "将时区数据文件更新为 tzdata 2024b 版本（Tom Lane）§ § 此 tzdata 版本将旧的 System-V 兼容性区域名称更改为与对应地理区域重复；例如 PST8PDT 现在是 America/Los_Angeles 的别名。主要可见后果是，对于标准化时区引入之前的时间戳，该区域被认为代表命名位置的本地平均太阳时。例如，在 PST8PDT 中，timestamptz 输入如 1801-01-01 00:00 之前会被渲染为 1801-01-01 00:00:00-08，但现在会被渲染为 1801-01-01 00:00:00-07:52:58。 另外，包含墨西哥、蒙古和葡萄牙的历史修正。值得注意的是，Asia/Choibalsan 现在是 Asia/Ulaanbaatar 的别名而非独立区域，主要是因为这些区域之间的差异被发现是基于不可靠的数据。", "title": "将时区数据文件更新为 tzdata 2024b 版本", "commits": ["6283ff201", "cad65907e"], "section": "变更", "category": "improvement", "source_url": "/docs/release/17.1/#RELEASE-17-1-CHANGES", "source_hash": "80f6bd94fc1fdd5cdf3fa2ba5a6f07adb5765edbd19ce42f7ce20497847e7264", "section_path": ["变更"], "commit_groups": [["205813da4", "2abc88958", "2b94ee58b", "6283ff201", "b27622c90", "b28b9b19b", "b8ea0f675"], ["502e7bf7f", "74f70cb86", "8a8486175", "8f1759c9b", "a0c8d600b", "cad65907e", "dedced73e"]], "identity_text": "Update time zone data files to tzdata release 2024b (Tom Lane) This tzdata release changes the old System-V-compatibility zone names to duplicate the corresponding geographic zones; for example PST8PDT is now an alias for America/Los_Angeles. The main visible consequence is that for timestamps before the introduction of standardized time zones, the zone is considered to represent local mean solar time for the named location. For example, in PST8PDT, timestamptz input such as 1801-01-01 00:00 would previously have been rendered as 1801-01-01 00:00:00-08, but now it is rendered as 1801-01-01 00:00:00-07:52:58. Also, historical corrections for Mexico, Mongolia, and Portugal. Notably, Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than being a separate zone, mainly because the differences between those zones were found to be based on untrustworthy data.", "commit_aliases": ["205813da4", "2abc88958", "2b94ee58b", "502e7bf7f", "6283ff201", "74f70cb86", "8a8486175", "8f1759c9b", "a0c8d600b", "b27622c90", "b28b9b19b", "b8ea0f675", "cad65907e", "dedced73e"], "source_commits": ["6283ff201", "cad65907e"], "source_entry_id": "17.1/changes/041", "db_id": "155dade417778c08fcf9278e12df7703", "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a", "relations": [{"rule": 2, "type": "equivalent", "target": "1274449aeb7aacfaf5c666d0bc92503b", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "21566ee3657bf6046ec8c630e59f9fa4", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "4a849728f3b1ce4e226253b6eef67b81", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "ab359f251915c08c7f1b39b44a7466c5", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}, {"rule": 2, "type": "equivalent", "target": "ce97a73c25e68d5bdb6e4cafb71fafb1", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}}], "version": "17.1", "category_label": "其他改进", "also_in": [], "variants": [], "related_changes": [{"db_id": "4a849728f3b1ce4e226253b6eef67b81", "kind": "equivalent", "version": "16.5", "label": "16.5", "title": "将时区数据文件更新为 tzdata 2024b 版本", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=16.5#16.5-7dd2d5e1fe0c5f45", "source_url": "/docs/release/16.5/#RELEASE-16-5-CHANGES"}, {"db_id": "ce97a73c25e68d5bdb6e4cafb71fafb1", "kind": "equivalent", "version": "15.9", "label": "15.9", "title": "将时区数据文件更新为 tzdata 2024b 版本", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=15.9#15.9-e9290652fe966969", "source_url": "/docs/release/15.9/#ZH-AUTO-RELEASE-15-SECT2-18"}, {"db_id": "21566ee3657bf6046ec8c630e59f9fa4", "kind": "equivalent", "version": "14.14", "label": "14.14", "title": "将时区数据文件更新为 tzdata 2024b 版本", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=14.14#14.14-e9290652fe966969", "source_url": "/docs/release/14.14/#ZH-AUTO-RELEASE-14-SECT2-18"}, {"db_id": "1274449aeb7aacfaf5c666d0bc92503b", "kind": "equivalent", "version": "13.17", "label": "13.17", "title": "将时区数据文件更新为 tzdata 2024b 版本", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=13.17#13.17-7f89a8ce224af673", "source_url": "/docs/release/13.17/#id-1.11.6.12.5"}, {"db_id": "ab359f251915c08c7f1b39b44a7466c5", "kind": "equivalent", "version": "12.21", "label": "12.21", "title": "将时区数据文件更新为 tzdata 2024b 版本", "evidence": {"same_day": true, "patch_ids": ["63ede0d4b2fd58fceb7518481e4a3fb9", "e36eb0380ec7d5aa68f70f9489666862"], "statement_hash": "2cf0cdffc27204b19b415b86a85c91c028acff52c569de8f863fbbddf28cb63a"}, "url": "/docs/compare/?release=12.21#12.21-2bdd2b23091a19eb", "source_url": "/docs/release/12.21/#id-1.11.6.7.6"}]}]}], "stats": [{"key": "all", "label": "全部变更", "count": 719}, {"key": "feature", "label": "新功能", "count": 0}, {"key": "bugfix", "label": "BUG 修复", "count": 325}, {"key": "security", "label": "安全相关", "count": 110}, {"key": "performance", "label": "性能改进", "count": 0}, {"key": "compatibility", "label": "兼容性变化", "count": 0}, {"key": "improvement", "label": "其他改进", "count": 284}], "total": 719, "cve_count": 50, "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": "17.10", "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": "17.10", "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": "17.10", "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": "17.10", "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": "17.8", "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": "17.8", "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": "17.8", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-8715", "url": "https://www.postgresql.org/support/security/CVE-2025-8715/", "fixed": {"13": "13.22", "14": "14.19", "15": "15.14", "16": "16.10", "17": "17.6"}, "score": 8.8, "title": "在 pg_dump 输出的注释中，将名称中包含的换行符转换为空格", "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-2025-8715", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"13": "2025-08-14", "14": "2025-08-14", "15": "2025-08-14", "16": "2025-08-14", "17": "2025-08-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Improper neutralization of newlines in pg_dump in PostgreSQL allows a user 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 meta-commands inside a purpose-crafted object name. The same attacks can achieve SQL injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before 11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.", "affected_ranges": [{"from": "11.20", "until": "13.22"}, {"from": "14", "until": "14.19"}, {"from": "15", "until": "15.14"}, {"from": "16", "until": "16.10"}, {"from": "17", "until": "17.6"}], "first_published": "2025-08-14", "fixed_version": "17.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-8714", "url": "https://www.postgresql.org/support/security/CVE-2025-8714/", "fixed": {"13": "13.22", "14": "14.19", "15": "15.14", "16": "16.10", "17": "17.6"}, "score": 8.8, "title": "防止 pg_dump 脚本被用于攻击执行恢复的用户", "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-2025-8714", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"13": "2025-08-14", "14": "2025-08-14", "15": "2025-08-14", "16": "2025-08-14", "17": "2025-08-14"}, "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 meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.", "affected_ranges": [{"from": "0", "until": "13.22"}, {"from": "14", "until": "14.19"}, {"from": "15", "until": "15.14"}, {"from": "16", "until": "16.10"}, {"from": "17", "until": "17.6"}], "first_published": "2025-08-14", "fixed_version": "17.6", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2024-10979", "url": "https://www.postgresql.org/support/security/CVE-2024-10979/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 8.8, "title": "防止受信任的 PL/Perl 代码更改环境变量", "vector": "AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10979", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH ). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Coby Abrams for reporting this problem.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "17.1", "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": "17.11", "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": "17.11", "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": "17.11", "severity": "高危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-1094", "url": "https://www.postgresql.org/support/security/CVE-2025-1094/", "fixed": {"13": "13.19", "14": "14.16", "15": "15.11", "16": "16.7", "17": "17.3"}, "score": 8.1, "title": "加强 PQescapeString 及相关函数对无效编码输入字符串的防护", "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-2025-1094", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"13": "2025-02-13", "14": "2025-02-13", "15": "2025-02-13", "16": "2025-02-13", "17": "2025-02-13"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.", "affected_ranges": [{"from": "0", "until": "13.19"}, {"from": "14", "until": "14.16"}, {"from": "15", "until": "15.11"}, {"from": "16", "until": "16.7"}, {"from": "17", "until": "17.3"}], "first_published": "2025-02-13", "fixed_version": "17.3", "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": "17.10", "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": "17.10", "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": "17.11", "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": "17.10", "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": "17.11", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-4207", "url": "https://www.postgresql.org/support/security/CVE-2025-4207/", "fixed": {"13": "13.21", "14": "14.18", "15": "15.13", "16": "16.9", "17": "17.5"}, "score": 5.9, "title": "避免在检查声称为 GB18030 编码的无效编码字符串时发生单字节缓冲区越界读取", "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-4207", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"13": "2025-05-08", "14": "2025-05-08", "15": "2025-05-08", "16": "2025-05-08", "17": "2025-05-08"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial of service on platforms where a 1-byte over-read can elicit process termination. This affects the database server and also libpq. Versions before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected.", "affected_ranges": [{"from": "0", "until": "13.21"}, {"from": "14", "until": "14.18"}, {"from": "15", "until": "15.13"}, {"from": "16", "until": "16.9"}, {"from": "17", "until": "17.5"}], "first_published": "2025-05-08", "fixed_version": "17.5", "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": "17.7", "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": "17.10", "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": "17.11", "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": "17.10", "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": "17.11", "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": "17.8", "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": "17.11", "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": "17.11", "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": "17.11", "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": "17.11", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2024-10978", "url": "https://www.postgresql.org/support/security/CVE-2024-10978/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 4.2, "title": "修复 SET SESSION AUTHORIZATION 与 SET ROLE 之间意外的交互", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10978", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE , SET SESSION AUTHORIZATION , or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION . The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Tom Lane for reporting this problem.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "17.1", "severity": "中危", "status_label": "目标版本已修复"}, {"id": "CVE-2024-10976", "url": "https://www.postgresql.org/support/security/CVE-2024-10976/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 4.2, "title": "确保当 RLS 应用于非顶级表引用时，缓存的执行计划被标记为依赖于调用角色", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10976", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes. They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy. This has the same consequences as the two earlier CVEs. That is to say, it leads to potentially incorrect policies being applied in cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs.\n\nApplying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy. An attacker must tailor an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "17.1", "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": "17.11", "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": "17.11", "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": "17.10", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2025-8713", "url": "https://www.postgresql.org/support/security/CVE-2025-8713/", "fixed": {"13": "13.22", "14": "14.19", "15": "15.14", "16": "16.10", "17": "17.6"}, "score": 3.1, "title": "加强规划器估算函数中的安全检查", "vector": "AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2025-8713", "affected": {"13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "core server", "published": {"13": "2025-08-14", "14": "2025-08-14", "15": "2025-08-14", "16": "2025-08-14", "17": "2025-08-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.", "affected_ranges": [{"from": "0", "until": "13.22"}, {"from": "14", "until": "14.19"}, {"from": "15", "until": "15.14"}, {"from": "16", "until": "16.10"}, {"from": "17", "until": "17.6"}], "first_published": "2025-08-14", "fixed_version": "17.6", "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": "17.7", "severity": "低危", "status_label": "目标版本已修复"}, {"id": "CVE-2024-10977", "url": "https://www.postgresql.org/support/security/CVE-2024-10977/", "fixed": {"12": "12.21", "13": "13.17", "14": "14.14", "15": "15.9", "16": "16.5", "17": "17.1"}, "score": 3.1, "title": "使 libpq 丢弃在 SSL 或 GSS 协议协商期间收到的错误消息", "vector": "AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N", "cna_url": "https://cveawg.mitre.org/api/cve/CVE-2024-10977", "affected": {"12": "12", "13": "13", "14": "14", "15": "15", "16": "16", "17": "17"}, "component": "client", "published": {"12": "2024-11-14", "13": "2024-11-14", "14": "2024-11-14", "15": "2024-11-14", "16": "2024-11-14", "17": "2024-11-14"}, "introduced": {}, "cvss_version": "3.0", "description_en": "Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.\n\nThe PostgreSQL project thanks Jacob Champion for reporting this problem.", "affected_ranges": [{"from": "0", "until": "12.21"}, {"from": "13", "until": "13.17"}, {"from": "14", "until": "14.14"}, {"from": "15", "until": "15.9"}, {"from": "16", "until": "16.5"}, {"from": "17", "until": "17.1"}], "first_published": "2024-11-14", "fixed_version": "17.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": 719, "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"], "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", "17.7", "17.8", "17.9", "17.10", "17.11", "17.12"], "candidates": ["17.1", "17.2", "17.3", "17.4", "17.5", "17.6", "17.7", "17.8", "17.9", "17.10", "17.11", "17.12"]}, "release_count": 12, "warnings": [], "source_as_of": "2026-11-12", "security_as_of": "2026-09-26"}