{"already_in_source_count":0,"candidate_count":178,"cross_major":false,"cve_available":true,"cve_count":0,"cves":[],"duplicate_count":0,"excluded_count":0,"exclusions":[],"from_release":null,"groups":[{"age_days":2209,"build":"13.0","changes_count":163,"compatibility_count":15,"content_hash":"ad59d1093647d58ea07adef110d91058aec55451da57e6198ef21125d5e33d0f","date":"2020-09-24","date_text":"2020-09-24","doc_git":"","doc_loaded_at":"2026-09-26T02:56:40.428744","entries":[{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["ca70bdaef"],"commit_groups":[["ca70bdaef"]],"commits":["ca70bdaef"],"cves":[],"db_id":"002b80591bc6fee2e2ce080680a7ad46","html":"\u003cp\u003e将 \u003ca href=\"/docs/13/functions-matching.html#FUNCTIONS-SIMILARTO-REGEXP\" title=\"9.7.2. SIMILAR TO正则表达式\"\u003e\u003ccode\u003eSIMILAR TO ... ESCAPE NULL\u003c/code\u003e\u003c/a\u003e 改为返回 \u003ccode\u003eNULL\u003c/code\u003e（Tom Lane）\u003ca href=\"https://postgr.es/c/ca70bdaef\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这一新行为符合 \u003cacronym\u003eSQL\u003c/acronym\u003e 规范。以前，\u003ccode\u003eESCAPE\u003c/code\u003e 为空值时，被解释为使用默认转义字符串（反斜杠字符）。这也适用于 \u003ccode\u003esubstring(\u003cem\u003e\u003ccode\u003etext\u003c/code\u003e\u003c/em\u003e FROM \u003cem\u003e\u003ccode\u003epattern\u003c/code\u003e\u003c/em\u003e ESCAPE \u003cem\u003e\u003ccode\u003etext\u003c/code\u003e\u003c/em\u003e)\u003c/code\u003e。通过保持原函数不变，在旧视图中保留了以前的行为。\u003c/p\u003e","id":"13.0-33b58367d6134838","identity_text":"Change SIMILAR TO ... ESCAPE NULL to return NULL (Tom Lane) This new behavior matches the SQL specification. Previously a null ESCAPE value was taken to mean using the default escape string (a backslash character). This also applies to substring(text FROM pattern ESCAPE text). The previous behavior has been retained in old views by keeping the original function unchanged.","part":"migration","patch_ids":["eeb400fcc67921acf6635ffdabaa5f5e"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["ca70bdaef"],"source_entry_id":"13.0/migration/001","source_hash":"3239b92d8dfa2b955503fed1b9647544aaf3f4d9bf9cc3c03c39d38985271d81","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"44ce1777acf91f4c78ee797940714f9eca4eccd515b461fe601c69c438680ce1","text":"将 SIMILAR TO ... ESCAPE NULL 改为返回 NULL（Tom Lane）§ 这一新行为符合 SQL 规范。以前，ESCAPE 为空值时，被解释为使用默认转义字符串（反斜杠字符）。这也适用于 substring(text FROM pattern ESCAPE text)。通过保持原函数不变，在旧视图中保留了以前的行为。","title":"将 SIMILAR TO ... ESCAPE NULL 改为返回 NULL","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["870ad6a59"],"commit_groups":[["870ad6a59"]],"commits":["870ad6a59"],"cves":[],"db_id":"e2cf4b32f04aff6b7c45a6ae1c7e99ce","html":"\u003cp\u003e使 \u003ca href=\"/docs/13/functions-textsearch.html#TEXTSEARCH-FUNCTIONS-TABLE\" title=\"表 9.42. 文本检索函数\"\u003e\u003ccode\u003ejson[b]_to_tsvector()\u003c/code\u003e\u003c/a\u003e 完整检查其 \u003ccode\u003estring\u003c/code\u003e 选项的拼写（Dominik Czarnota）\u003ca href=\"https://postgr.es/c/870ad6a59\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-cff16c52bc843914","identity_text":"Make json[b]_to_tsvector() fully check the spelling of its string option (Dominik Czarnota)","part":"migration","patch_ids":["616c06ded99aeeb20cbb2862ee8abe37"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["870ad6a59"],"source_entry_id":"13.0/migration/002","source_hash":"3579faf3bac4ad82fadaa4a0d1357b7b6044b0b0788992215f1bb1ba52e40790","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"c9c9edb5e2391b4403d18b698234c6d9f4cf3a615017875b508fec85deda544b","text":"使 json[b]_to_tsvector() 完整检查其 string 选项的拼写（Dominik Czarnota）§","title":"使 json[b]_to_tsvector() 完整检查其 string 选项的拼写","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["b09ff5366"],"commit_groups":[["b09ff5366"]],"commits":["b09ff5366"],"cves":[],"db_id":"62eeb3605c46c2db1d264b35b8f0eb40","html":"\u003cp\u003e改变非默认的\u003ca href=\"/docs/13/runtime-config-resource.html#GUC-EFFECTIVE-IO-CONCURRENCY\"\u003eeffective_io_concurrency\u003c/a\u003e值影响并发度的方式（Thomas Munro）\u003ca href=\"https://postgr.es/c/b09ff5366\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，该值在用于设置并发请求数之前会经过调整。现在直接使用该值。可以通过以下方式将旧值转换为新值：\u003c/p\u003e\n\u003cpre\u003eSELECT round(sum(\u003cem\u003e\u003ccode\u003eOLDVALUE\u003c/code\u003e\u003c/em\u003e / n::float)) AS newvalue FROM generate_series(1, \u003cem\u003e\u003ccode\u003eOLDVALUE\u003c/code\u003e\u003c/em\u003e) s(n);\n\u003c/pre\u003e","id":"13.0-5efddc7fe669340c","identity_text":"Change the way non-default guc-effective-io-concurrency values affect concurrency (Thomas Munro) Previously, this value was adjusted before setting the number of concurrent requests. The value is now used directly. Conversion of old values to new ones can be done using: SELECT round(sum(OLDVALUE / n::float)) AS newvalue FROM generate_series(1, OLDVALUE) s(n);","part":"migration","patch_ids":["09811ae59f6e55e41d6231afcb24cf3b"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["b09ff5366"],"source_entry_id":"13.0/migration/003","source_hash":"887d98f1c5f3458eeca123ae4b8ef91d64967e790cff24b3841e20144be679d8","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"86f867b4d46c0f6eb3c9078cc12c90da564979ed93bf6b5d74c99015dd62daf6","text":"改变非默认的effective_io_concurrency值影响并发度的方式（Thomas Munro）§ 以前，该值在用于设置并发请求数之前会经过调整。现在直接使用该值。可以通过以下方式将旧值转换为新值： SELECT round(sum(OLDVALUE / n::float)) AS newvalue FROM generate_series(1, OLDVALUE) s(n);","title":"改变非默认的effective_io_concurrency值影响并发度的方式","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["5c46e7d82"],"commit_groups":[["5c46e7d82"]],"commits":["5c46e7d82"],"cves":[],"db_id":"9313d0f386baf2e63f4d460b3f905624","html":"\u003cp\u003e不再在\u003ca href=\"/docs/13/monitoring-stats.html#PG-STAT-SSL-VIEW\" title=\"表 27.17. pg_stat_ssl 视图\"\u003epg_stat_ssl\u003c/a\u003e和\u003ca href=\"/docs/13/monitoring-stats.html#PG-STAT-GSSAPI-VIEW\" title=\"表 27.18. pg_stat_gssapi 视图\"\u003epg_stat_gssapi\u003c/a\u003e系统视图中显示辅助进程（Euler Taveira）\u003ca href=\"https://postgr.es/c/5c46e7d82\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e如果查询将这些视图与\u003ca href=\"/docs/13/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW\" title=\"表 27.3. pg_stat_activity 视图\"\u003epg_stat_activity\u003c/a\u003e连接，并希望看到辅助进程，就需要使用左连接。\u003c/p\u003e","id":"13.0-d3d1409eb3c66993","identity_text":"Prevent display of auxiliary processes in pg-stat-ssl-view and pg-stat-gssapi-view system views (Euler Taveira) Queries that join these views to pg-stat-activity-view and wish to see auxiliary processes will need to use left joins.","part":"migration","patch_ids":["96747b44433d92350891ffedfc74bea6"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["5c46e7d82"],"source_entry_id":"13.0/migration/004","source_hash":"f143a020e659d77b071b21ca82777b03a4905c81240c8b6733a7b3067f59a8ed","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"c8cd602d26bb43a8b55cdedc086a5b8f103cbcfcc8b07d3afe9ad23f0f0d5648","text":"不再在pg_stat_ssl和pg_stat_gssapi系统视图中显示辅助进程（Euler Taveira）§ 如果查询将这些视图与pg_stat_activity连接，并希望看到辅助进程，就需要使用左连接。","title":"不再在pg_stat_ssl和pg_stat_gssapi系统视图中显示辅助进程","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["14a910109","1d253bae5","3048898e7","36ac359d3","474e7da64"],"commit_groups":[["14a910109"],["1d253bae5"],["3048898e7"],["36ac359d3"],["474e7da64"]],"commits":["14a910109","1d253bae5","3048898e7","36ac359d3","474e7da64"],"cves":[],"db_id":"f1444cb151ee5ea496b7e4b3275b2b25","html":"\u003cp\u003e重命名多种\u003ca href=\"/docs/13/monitoring-stats.html#WAIT-EVENT-TABLE\" title=\"表 27.4. 等待事件类型\"\u003e等待事件\u003c/a\u003e以提高一致性（Fujii Masao，Tom Lane）\u003ca href=\"https://postgr.es/c/1d253bae5\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/36ac359d3\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/474e7da64\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/14a910109\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/3048898e7\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-300271e52a32d70f","identity_text":"Rename various wait events to improve consistency (Fujii Masao, Tom Lane)","part":"migration","patch_ids":["195ace185d7f5b3a4da50890b98068c0","243bd4fa4d8a5f651aab0f2ea7eb5404","4217cca386c79401079c66baa5b24ded","46cc2e60fc20da950850633e14c8925c","c638cb4d385eefbf24b61f62574666cd"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["14a910109","1d253bae5","3048898e7","36ac359d3","474e7da64"],"source_entry_id":"13.0/migration/005","source_hash":"71f0d0c1714b7dbcd63c7a1cf2b14a54dc09ff4fd9606d66064c5f930bcc8d5d","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"34b21a81588e567c1ea58fc48e626cb5838521aea92107512b2f2c9d37de94ef","text":"重命名多种等待事件以提高一致性（Fujii Masao，Tom Lane）§ § § § §","title":"重命名多种等待事件以提高一致性","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["979766c0a"],"commit_groups":[["979766c0a"]],"commits":["979766c0a"],"cves":[],"db_id":"51e4db761d371a4c2f201d0fc7486749","html":"\u003cp\u003e修复 \u003ca href=\"/docs/13/sql-alterforeigntable.html\" title=\"ALTER FOREIGN TABLE\"\u003e\u003ccode\u003eALTER FOREIGN TABLE ... RENAME COLUMN\u003c/code\u003e\u003c/a\u003e，使其返回更合适的命令标签（Fujii Masao）\u003ca href=\"https://postgr.es/c/979766c0a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前返回 \u003ccode\u003eALTER TABLE\u003c/code\u003e；现在返回 \u003ccode\u003eALTER FOREIGN TABLE\u003c/code\u003e。\u003c/p\u003e","id":"13.0-315c02f83f3e1e65-1","identity_text":"Fix ALTER FOREIGN TABLE ... RENAME COLUMN to return a more appropriate command tag (Fujii Masao) Previously it returned ALTER TABLE; now it returns ALTER FOREIGN TABLE.","part":"migration","patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"related_changes":[{"db_id":"cbfeffa69ae1858c0ab9cb978bcb4d69","evidence":{"ambiguous_patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.4","title":"修复 ALTER MATERIALIZED VIEW ... RENAME COLUMN，使其返回更合适的命令标签","url":"/docs/compare/?release=13.0#13.0-315c02f83f3e1e65-2","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"same_day":true},"rule":2,"target":"cbfeffa69ae1858c0ab9cb978bcb4d69","type":"related"}],"section":"兼容性","section_path":["兼容性"],"source_commits":["979766c0a"],"source_entry_id":"13.0/migration/006","source_hash":"5bdff730d497c3ae85e39ee89a7b7abc3156b283e8df56bca59a9568cf0da75b","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"0768a9870e858df0edac2ef034cd7a05b7035a71d4f77bed4b06817e2efd7286","text":"修复 ALTER FOREIGN TABLE ... RENAME COLUMN，使其返回更合适的命令标签（Fujii Masao）§ 以前返回 ALTER TABLE；现在返回 ALTER FOREIGN TABLE。","title":"修复 ALTER FOREIGN TABLE ... RENAME COLUMN，使其返回更合适的命令标签","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["979766c0a"],"commit_groups":[["979766c0a"]],"commits":["979766c0a"],"cves":[],"db_id":"cbfeffa69ae1858c0ab9cb978bcb4d69","html":"\u003cp\u003e修复 \u003ca href=\"/docs/13/sql-altermaterializedview.html\" title=\"ALTER MATERIALIZED VIEW\"\u003e\u003ccode\u003eALTER MATERIALIZED VIEW ... RENAME COLUMN\u003c/code\u003e\u003c/a\u003e，使其返回更合适的命令标签（Fujii Masao）\u003ca href=\"https://postgr.es/c/979766c0a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前返回 \u003ccode\u003eALTER TABLE\u003c/code\u003e；现在返回 \u003ccode\u003eALTER MATERIALIZED VIEW\u003c/code\u003e。\u003c/p\u003e","id":"13.0-315c02f83f3e1e65-2","identity_text":"Fix ALTER MATERIALIZED VIEW ... RENAME COLUMN to return a more appropriate command tag (Fujii Masao) Previously it returned ALTER TABLE; now it returns ALTER MATERIALIZED VIEW.","part":"migration","patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"related_changes":[{"db_id":"51e4db761d371a4c2f201d0fc7486749","evidence":{"ambiguous_patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.4","title":"修复 ALTER FOREIGN TABLE ... RENAME COLUMN，使其返回更合适的命令标签","url":"/docs/compare/?release=13.0#13.0-315c02f83f3e1e65-1","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"patch_ids":["8f4a02aa3d3a1d5200b89b1e95bc7cce"],"same_day":true},"rule":2,"target":"51e4db761d371a4c2f201d0fc7486749","type":"related"}],"section":"兼容性","section_path":["兼容性"],"source_commits":["979766c0a"],"source_entry_id":"13.0/migration/007","source_hash":"52bec337a7f0afd45589a781987131e7852b81e00da5df8494e52a4b03e4d31f","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"88ff6676d694c92a6cf84342a67f2b565f4d6ac51be5312b8b474314f5fa0d7c","text":"修复 ALTER MATERIALIZED VIEW ... RENAME COLUMN，使其返回更合适的命令标签（Fujii Masao）§ 以前返回 ALTER TABLE；现在返回 ALTER MATERIALIZED VIEW。","title":"修复 ALTER MATERIALIZED VIEW ... RENAME COLUMN，使其返回更合适的命令标签","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["f5dff45962"],"commit_groups":[["f5dff45962"]],"commits":["f5dff45962"],"cves":[],"db_id":"87d08c201e2ac67f6d62188bb16926b9","html":"\u003cp\u003e将配置参数 \u003ccode\u003ewal_keep_segments\u003c/code\u003e 重命名为\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-WAL-KEEP-SIZE\"\u003ewal_keep_size\u003c/a\u003e（Fujii Masao）\u003ca href=\"https://postgr.es/c/f5dff45962\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这决定为备库保留多少 WAL。它以 MB 为单位指定，而旧参数以文件数量指定。如果以前使用 \u003ccode\u003ewal_keep_segments\u003c/code\u003e，以下公式可以得到大致等价的设置：\u003c/p\u003e\n\u003cpre\u003ewal_keep_size = wal_keep_segments * wal_segment_size (typically 16MB)\n\u003c/pre\u003e","id":"13.0-611ec07ad6a9e83c","identity_text":"Rename configuration parameter wal_keep_segments to guc-wal-keep-size (Fujii Masao) This determines how much WAL to retain for standby servers. It is specified in megabytes, rather than number of files as with the old parameter. If you previously used wal_keep_segments, the following formula will give you an approximately equivalent setting: wal_keep_size = wal_keep_segments * wal_segment_size (typically 16MB)","part":"migration","patch_ids":["fea7ca80079c4413db2f8830f6353864"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["f5dff45962"],"source_entry_id":"13.0/migration/008","source_hash":"5247db2ac5fe00062643e042cf5fa48abbadabf2d713b848e51877e0a199da8e","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"83a238007d82d98ff7e12463b63c4b4c41cfe26f20e00841e3f2a08a5010dab1","text":"将配置参数 wal_keep_segments 重命名为wal_keep_size（Fujii Masao）§ 这决定为备库保留多少 WAL。它以 MB 为单位指定，而旧参数以文件数量指定。如果以前使用 wal_keep_segments，以下公式可以得到大致等价的设置： wal_keep_size = wal_keep_segments * wal_segment_size (typically 16MB)","title":"将配置参数 wal_keep_segments 重命名为wal_keep_size","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["84eca14bc"],"commit_groups":[["84eca14bc"]],"commits":["84eca14bc"],"cves":[],"db_id":"00cdd4565943a99c71ac24dd72c69a5d","html":"\u003cp\u003e移除使用 \u003cspan\u003ePostgreSQL\u003c/span\u003e 8.0 之前的语法定义\u003ca href=\"/docs/13/sql-createopclass.html\" title=\"CREATE OPERATOR CLASS\"\u003e操作符类\u003c/a\u003e的支持（Daniel Gustafsson）\u003ca href=\"https://postgr.es/c/84eca14bc\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-0deec1e0e7129d4b","identity_text":"Remove support for defining operator classes using pre-PostgreSQL 8.0 syntax (Daniel Gustafsson)","part":"migration","patch_ids":["462d626bf85e27e1ecf4e17d1b973712"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["84eca14bc"],"source_entry_id":"13.0/migration/009","source_hash":"74187af3391ddc0fa17fd55f5a5429942075681f777a0a8aa884e76e0ac5255e","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"4d1c6b3a631af6a14564f453c23960f5730654034dcc77957fbe83be5df44ffb","text":"移除使用 PostgreSQL 8.0 之前的语法定义操作符类的支持（Daniel Gustafsson）§","title":"移除使用 PostgreSQL 8.0 之前的语法定义操作符类的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["e58a59975"],"commit_groups":[["e58a59975"]],"commits":["e58a59975"],"cves":[],"db_id":"a4731981520d809b1764f36804869b0f","html":"\u003cp\u003e移除使用 \u003cspan\u003ePostgreSQL\u003c/span\u003e 7.3 之前的语法定义\u003ca href=\"/docs/13/sql-altertable.html\" title=\"ALTER TABLE\"\u003e外键约束\u003c/a\u003e的支持（Daniel Gustafsson）\u003ca href=\"https://postgr.es/c/e58a59975\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-181ce8a6cc7d16d5","identity_text":"Remove support for defining foreign key constraints using pre-PostgreSQL 7.3 syntax (Daniel Gustafsson)","part":"migration","patch_ids":["b01af42c52dd802bb31bd86bdef135c6"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["e58a59975"],"source_entry_id":"13.0/migration/010","source_hash":"62c50582b07ca26907178805fd3733688c10bafc434eaeb087814b47ff5198bd","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"d1988126fb6693abe4be81ca0189d490c9b271a8b56ba72b11a717bc61458ea2","text":"移除使用 PostgreSQL 7.3 之前的语法定义外键约束的支持（Daniel Gustafsson）§","title":"移除使用 PostgreSQL 7.3 之前的语法定义外键约束的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["bb03010b9"],"commit_groups":[["bb03010b9"]],"commits":["bb03010b9"],"cves":[],"db_id":"a17abaa2942f10365a93775b57760c98","html":"\u003cp\u003e移除对 \u003cspan\u003ePostgreSQL\u003c/span\u003e 7.3 之前的服务器所使用的 \"opaque\" \u003ca href=\"/docs/13/sql-createtype.html\" title=\"CREATE TYPE\"\u003e伪类型\u003c/a\u003e的支持（Daniel Gustafsson）\u003ca href=\"https://postgr.es/c/bb03010b9\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-a4c99539e3f91994","identity_text":"Remove support for \"opaque\" pseudo-types used by pre-PostgreSQL 7.3 servers (Daniel Gustafsson)","part":"migration","patch_ids":["841feb81d4817adce792d43370b2b3a1"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["bb03010b9"],"source_entry_id":"13.0/migration/011","source_hash":"62be98f085cfb7121765762115068cf66f6e71ff82615faf7b3aabfbf4026cd8","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"6d8b1f94d19be6214cb12adaf11ef0b636519d57ceb8e6d43819cb6d5457a05b","text":"移除对 PostgreSQL 7.3 之前的服务器所使用的 \"opaque\" 伪类型的支持（Daniel Gustafsson）§","title":"移除对 PostgreSQL 7.3 之前的服务器所使用的 \"opaque\" 伪类型的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["70a773200"],"commit_groups":[["70a773200"]],"commits":["70a773200"],"cves":[],"db_id":"358f1a2edb8d44d028ddbb5a723810cd","html":"\u003cp\u003e移除对升级未打包扩展（9.1 之前的扩展）的支持（Tom Lane）\u003ca href=\"https://postgr.es/c/70a773200\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"/docs/13/sql-createextension.html\" title=\"CREATE EXTENSION\"\u003e\u003ccode\u003eCREATE EXTENSION\u003c/code\u003e\u003c/a\u003e 不再支持 \u003ccode\u003eFROM\u003c/code\u003e 选项。任何仍使用未打包扩展的安装实例，都应在更新到 \u003cspan\u003ePostgreSQL\u003c/span\u003e 13 之前，将这些扩展升级为已打包的版本。\u003c/p\u003e","id":"13.0-e0e2f90b4addfeae","identity_text":"Remove support for upgrading unpackaged (pre-9.1) extensions (Tom Lane) The FROM option of CREATE EXTENSION is no longer supported. Any installations still using unpackaged extensions should upgrade them to a packaged version before updating to PostgreSQL 13.","part":"migration","patch_ids":["b55d5d8f2beb4548aa95c9d237e10be3"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["70a773200"],"source_entry_id":"13.0/migration/012","source_hash":"6a8c53b62999753cb82cabf7dd9d03ebf3d23513e393ac50577d3507e7ffb9a7","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"f1cd8cea4ecd03f359eb207b8a8d3f1fca26f5dfba1b008abd1645847a92d139","text":"移除对升级未打包扩展（9.1 之前的扩展）的支持（Tom Lane）§ CREATE EXTENSION 不再支持 FROM 选项。任何仍使用未打包扩展的安装实例，都应在更新到 PostgreSQL 13 之前，将这些扩展升级为已打包的版本。","title":"移除对升级未打包扩展（9.1 之前的扩展）的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["21aac2ff9"],"commit_groups":[["21aac2ff9"]],"commits":["21aac2ff9"],"cves":[],"db_id":"c6a108a84b372a96c616b764a8c2e29f","html":"\u003cp\u003e移除对时区数据库中 \u003ccode\u003eposixrules\u003c/code\u003e 文件的支持（Tom Lane）\u003ca href=\"https://postgr.es/c/21aac2ff9\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eIANA 的时区工作组已弃用此特性，这意味着它将在未来几年中逐渐从系统的时区数据库中消失。为避免时区数据更新意外引发行为变化，我们从版本 13 开始移除了 \u003cspan\u003ePostgreSQL\u003c/span\u003e 对此特性的支持。这只影响缺少显式夏令时切换规则的 \u003ca href=\"/docs/13/datetime-posix-timezone-specs.html\" title=\"B.5. POSIX 时区规范\"\u003ePOSIX 风格时区指定\u003c/a\u003e的行为；以前可以通过安装自定义 \u003ccode\u003eposixrules\u003c/code\u003e 文件来确定切换规则，现在则使用硬编码规则。对于受影响的安装实例，建议改用地理时区名称。\u003c/p\u003e","id":"13.0-c5adedfa4dad8bb1","identity_text":"Remove support for posixrules files in the timezone database (Tom Lane) IANA's timezone group has deprecated this feature, meaning that it will gradually disappear from systems' timezone databases over the next few years. Rather than have a behavioral change appear unexpectedly with a timezone data update, we have removed PostgreSQL's support for this feature as of version 13. This affects only the behavior of POSIX-style time zone specifications that lack an explicit daylight savings transition rule; formerly the transition rule could be determined by installing a custom posixrules file, but now it is hard-wired. The recommended fix for any affected installations is to start using a geographical time zone name.","part":"migration","patch_ids":["4c3cb7db97952e6ee49b12bec6ee41ff"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["21aac2ff9"],"source_entry_id":"13.0/migration/013","source_hash":"51daf2ed426c4469ed563daea3d2df20e679e49787cd6352fd64256cde12464e","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"8c1eb545f9ac635f1a57b569d3e2687ede939d7c6553ad81d8574d9024741f5d","text":"移除对时区数据库中 posixrules 文件的支持（Tom Lane）§ IANA 的时区工作组已弃用此特性，这意味着它将在未来几年中逐渐从系统的时区数据库中消失。为避免时区数据更新意外引发行为变化，我们从版本 13 开始移除了 PostgreSQL 对此特性的支持。这只影响缺少显式夏令时切换规则的 POSIX 风格时区指定的行为；以前可以通过安装自定义 posixrules 文件来确定切换规则，现在则使用硬编码规则。对于受影响的安装实例，建议改用地理时区名称。","title":"移除对时区数据库中 posixrules 文件的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["9950c8aad"],"commit_groups":[["9950c8aad"]],"commits":["9950c8aad"],"cves":[],"db_id":"1bb06fafe760d8a4f29ad3fc346f4ffd","html":"\u003cp\u003e在\u003ca href=\"/docs/13/ltree.html\" title=\"F.21. ltree\"\u003eltree\u003c/a\u003e中，当 \u003ccode\u003elquery\u003c/code\u003e 模式包含相邻的带花括号星号时，例如 \u003ccode\u003e*{2}.*{3}\u003c/code\u003e，将其正确解释为 \u003ccode\u003e*{5}\u003c/code\u003e（Nikita Glukhov）\u003ca href=\"https://postgr.es/c/9950c8aad\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-7969da79516db007","identity_text":"In ltree , when an lquery pattern contains adjacent asterisks with braces, e.g., *{2}.*{3}, properly interpret that as *{5} (Nikita Glukhov)","part":"migration","patch_ids":["7f9857baee0ae728daa2cd24a7a21101"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["9950c8aad"],"source_entry_id":"13.0/migration/014","source_hash":"027524cc8373e1c28f7e5f68279308e636b317d16331e88c13cb18d73e1a7d5c","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"5b2d8c3d0f366318ce723a0975f877c1777432850dc2a4cff2606704af9a6e91","text":"在ltree中，当 lquery 模式包含相邻的带花括号星号时，例如 *{2}.*{3}，将其正确解释为 *{5}（Nikita Glukhov）§","title":"在ltree中，当 lquery 模式包含相邻的带花括号星号时，例如 *{2}.*{3}，将其正确解释为 *{5}","variants":[],"version":"13.0"},{"also_in":[],"category":"compatibility","category_label":"Compatibility","commit_aliases":["691e8b2e1"],"commit_groups":[["691e8b2e1"]],"commits":["691e8b2e1"],"cves":[],"db_id":"30272e62115718c16aea57bf80affb17","html":"\u003cp\u003e修复\u003ca href=\"/docs/13/pageinspect.html\" title=\"F.22. pageinspect\"\u003epageinspect\u003c/a\u003e的 \u003ccode\u003ebt_metap()\u003c/code\u003e，使其返回更合适、不易溢出的数据类型（Peter Geoghegan）\u003ca href=\"https://postgr.es/c/691e8b2e1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ff7a2c984c3d3a04","identity_text":"Fix pageinspect 's bt_metap() to return more appropriate data types that are less likely to overflow (Peter Geoghegan)","part":"migration","patch_ids":["cd78a2c4c01e9fc325e81bc87c0418a3"],"related_changes":[],"relations":[],"section":"兼容性","section_path":["兼容性"],"source_commits":["691e8b2e1"],"source_entry_id":"13.0/migration/015","source_hash":"f7fe09cc788d91411776d1e4528a830323aa9d18c8bc0569e0ccc5d1cde6e7c4","source_url":"/docs/release/13.0/#id-1.11.6.29.4","statement_hash":"7f36c9d80e20274fcd83d94aae76c3e4b5db2a9d2dfca6246842bc92dbc17498","text":"修复pageinspect的 bt_metap()，使其返回更合适、不易溢出的数据类型（Peter Geoghegan）§","title":"修复pageinspect的 bt_metap()，使其返回更合适、不易溢出的数据类型","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4e85642d9","815ef2f56"],"commit_groups":[["4e85642d9"],["815ef2f56"]],"commits":["4e85642d9","815ef2f56"],"cves":[],"db_id":"1163eca048c7512a1194c404ff4a5d31","html":"\u003cp\u003e允许在更多情况下进行分区\u003ca href=\"/docs/13/ddl-partitioning.html#DDL-PARTITION-PRUNING\" title=\"5.11.4. 分区剪枝\"\u003e剪枝\u003c/a\u003e（Yuzuko Hosoya，Amit Langote，Álvaro Herrera）\u003ca href=\"https://postgr.es/c/4e85642d9\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/815ef2f56\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ad91b07ce0e06a59","identity_text":"Allow pruning of partitions to happen in more cases (Yuzuko Hosoya, Amit Langote, Álvaro Herrera)","part":"changes","patch_ids":["8d707c3ed0d6ed27bbc2208ab0715fe4","be2d57e2e5b19a51edc2d004e9edbae8"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["4e85642d9","815ef2f56"],"source_entry_id":"13.0/changes/001","source_hash":"64c3c2751270ec5e94aa97d9bdd63bf4965d68adef735cf6f469eecb0a903365","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"80cae61bcf28137813bdf2ee17baac735061de0f672b9bc52d324b7dfd2e7bdd","text":"允许在更多情况下进行分区剪枝（Yuzuko Hosoya，Amit Langote，Álvaro Herrera）§ §","title":"允许在更多情况下进行分区剪枝","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["981643dcd","c8434d64c"],"commit_groups":[["981643dcd"],["c8434d64c"]],"commits":["981643dcd","c8434d64c"],"cves":[],"db_id":"013e9e4c0c64877c23c756c68b800b84","html":"\u003cp\u003e允许在更多情况下进行\u003ca href=\"/docs/13/runtime-config-query.html#GUC-ENABLE-PARTITIONWISE-JOIN\"\u003e逐分区连接\u003c/a\u003e（Ashutosh Bapat，Etsuro Fujita，Amit Langote，Tom Lane）\u003ca href=\"https://postgr.es/c/c8434d64c\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/981643dcd\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e例如，即使分区边界并不完全匹配，现在也可以在分区表之间进行逐分区连接。\u003c/p\u003e","id":"13.0-a718c78c5f565762","identity_text":"Allow partitionwise joins to happen in more cases (Ashutosh Bapat, Etsuro Fujita, Amit Langote, Tom Lane) For example, partitionwise joins can now happen between partitioned tables even when their partition bounds do not match exactly.","part":"changes","patch_ids":["5510e3129a6cd5fd7303183bb169773b","cea05edc62e6634bae9280680618d3e9"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["981643dcd","c8434d64c"],"source_entry_id":"13.0/changes/002","source_hash":"51285655786ce74d28ff0a20fd74ffd1cf0653a8b0dcc273c218ca53b5b410e4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"97d3c09ac8016dd55ea466ff69ec48804edf66491d17f9a611dda4ab420aca60","text":"允许在更多情况下进行逐分区连接（Ashutosh Bapat，Etsuro Fujita，Amit Langote，Tom Lane）§ § 例如，即使分区边界并不完全匹配，现在也可以在分区表之间进行逐分区连接。","title":"允许在更多情况下进行逐分区连接","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["487e9861d"],"commit_groups":[["487e9861d"]],"commits":["487e9861d"],"cves":[],"db_id":"abb3546ba651a44c0b85673ae967e58b","html":"\u003cp\u003e支持分区表上的行级 \u003ccode\u003eBEFORE\u003c/code\u003e \u003ca href=\"/docs/13/triggers.html\" title=\"第 38 章 触发器\"\u003e触发器\u003c/a\u003e（Álvaro Herrera）\u003ca href=\"https://postgr.es/c/487e9861d\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e但是，不允许此类触发器改变目标分区。\u003c/p\u003e","id":"13.0-672ee0b9193bfb24","identity_text":"Support row-level BEFORE triggers on partitioned tables (Álvaro Herrera) However, such a trigger is not allowed to change which partition is the destination.","part":"changes","patch_ids":["13594f035854cbbbd68f0945daceb87f"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["487e9861d"],"source_entry_id":"13.0/changes/003","source_hash":"7375c39dfdea7a22eda5060d1e383b507617eda7f4c53dbaa92837c2c26ec4b2","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"b8576476e5ca0bb20544cc08df083f8993b8a732cbfaff7c89be1f618cfe841a","text":"支持分区表上的行级 BEFORE 触发器（Álvaro Herrera）§ 但是，不允许此类触发器改变目标分区。","title":"支持分区表上的行级 BEFORE 触发器","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["17b9e7f9f","83fd4532a"],"commit_groups":[["17b9e7f9f"],["83fd4532a"]],"commits":["17b9e7f9f","83fd4532a"],"cves":[],"db_id":"e776d3a6e65553e82bc735c1931a3dac","html":"\u003cp\u003e允许通过\u003ca href=\"/docs/13/sql-createpublication.html\" title=\"CREATE PUBLICATION\"\u003e发布\u003c/a\u003e对分区表进行逻辑复制（Amit Langote）\u003ca href=\"https://postgr.es/c/17b9e7f9f\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/83fd4532a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，必须逐个复制分区。现在可以显式发布分区表，从而自动发布其所有分区。添加或移除分区时，也会将其相应地添加到发布或从发布中移除。\u003ca href=\"/docs/13/sql-createpublication.html\" title=\"CREATE PUBLICATION\"\u003e\u003ccode\u003eCREATE PUBLICATION\u003c/code\u003e\u003c/a\u003e 的 \u003ccode\u003epublish_via_partition_root\u003c/code\u003e 选项控制分区变更是作为分区自身的变更发布，还是作为父表的变更发布。\u003c/p\u003e","id":"13.0-765158cb68dd9e47","identity_text":"Allow partitioned tables to be logically replicated via publications (Amit Langote) Previously, partitions had to be replicated individually. Now a partitioned table can be published explicitly, causing all its partitions to be published automatically. Addition/removal of a partition causes it to be likewise added to or removed from the publication. The CREATE PUBLICATION option publish_via_partition_root controls whether changes to partitions are published as their own changes or their parent's.","part":"changes","patch_ids":["5154a5b10e14b0e087b1225afabf9b7b","6461991c93daf94f79a59366d55d04ea"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["17b9e7f9f","83fd4532a"],"source_entry_id":"13.0/changes/004","source_hash":"af221f1a6ede44db4b8025c4ee849342c696ffcbc69c55300f9297fb4605de03","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"7a27502769aeb7a3157d549e79e30d8ae3b75886b99ff11fa96c64a8bbc4edce","text":"允许通过发布对分区表进行逻辑复制（Amit Langote）§ § 以前，必须逐个复制分区。现在可以显式发布分区表，从而自动发布其所有分区。添加或移除分区时，也会将其相应地添加到发布或从发布中移除。CREATE PUBLICATION 的 publish_via_partition_root 选项控制分区变更是作为分区自身的变更发布，还是作为父表的变更发布。","title":"允许通过发布对分区表进行逻辑复制","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f1ac27bfd"],"commit_groups":[["f1ac27bfd"]],"commits":["f1ac27bfd"],"cves":[],"db_id":"29b3866c33eac57d46f54be9cf89ac2f","html":"\u003cp\u003e允许逻辑复制写入订阅者上的分区表（Amit Langote）\u003ca href=\"https://postgr.es/c/f1ac27bfd\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，订阅者只能将接收到的行写入非分区表。\u003c/p\u003e","id":"13.0-191da786e2e58da2","identity_text":"Allow logical replication into partitioned tables on subscribers (Amit Langote) Previously, subscribers could only receive rows into non-partitioned tables.","part":"changes","patch_ids":["81816bd4b7a1cf1504a8ef1ca01d9b07"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["f1ac27bfd"],"source_entry_id":"13.0/changes/005","source_hash":"4f2d505a3c5fd9289ae421e32aa70368ab94cb0444fe7a3a546be1a91a291340","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"4893e4d4af22c64f70d9da6c3a93060c2ef4d24884e77428adf6910bba7ba642","text":"允许逻辑复制写入订阅者上的分区表（Amit Langote）§ 以前，订阅者只能将接收到的行写入非分区表。","title":"允许逻辑复制写入订阅者上的分区表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["bb4114a4e"],"commit_groups":[["bb4114a4e"]],"commits":["bb4114a4e"],"cves":[],"db_id":"f0b6fbb0929910f112fb4e6842ff8455","html":"\u003cp\u003e允许在分区表达式中使用整行变量（即 \u003cem\u003e\u003ccode\u003etable\u003c/code\u003e\u003c/em\u003e\u003ccode\u003e.*\u003c/code\u003e）（Amit Langote）\u003ca href=\"https://postgr.es/c/bb4114a4e\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-a1565a98a769b9ff","identity_text":"Allow whole-row variables (that is, table.*) to be used in partitioning expressions (Amit Langote)","part":"changes","patch_ids":["d2ab49f1b25dbf9d3c9528250b821b3e"],"related_changes":[],"relations":[],"section":"服务器 / 分区","section_path":["服务器","分区"],"source_commits":["bb4114a4e"],"source_entry_id":"13.0/changes/006","source_hash":"33f16080e5993ca3a30fb907914a336ac3b0425dd26d1c4df456c882f48edfc7","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.2","statement_hash":"e4ab1167aaf9f53c02fd9adbe35dcc11c9cc942db848daf76b63ec3e20d266d0","text":"允许在分区表达式中使用整行变量（即 table.*）（Amit Langote）§","title":"允许在分区表达式中使用整行变量（即 table.*）","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0d861bbb7"],"commit_groups":[["0d861bbb7"]],"commits":["0d861bbb7"],"cves":[],"db_id":"d833bd0d99c4a57c1b761f159ec2f3c0","html":"\u003cp\u003e更高效地存储 B-树索引中的\u003ca href=\"/docs/13/btree-implementation.html#BTREE-DEDUPLICATION\" title=\"63.4.2. 去重\"\u003e重复项\u003c/a\u003e（Anastasia Lubennikova，Peter Geoghegan）\u003ca href=\"https://postgr.es/c/0d861bbb7\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过只存储一次重复键，使低基数列能够高效地使用 B-树索引。使用\u003ca href=\"/docs/13/pgupgrade.html\" title=\"pg_upgrade\"\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/a\u003e升级的用户，需要执行 \u003ca href=\"/docs/13/sql-reindex.html\" title=\"REINDEX\"\u003e\u003ccode\u003eREINDEX\u003c/code\u003e\u003c/a\u003e 才能让现有索引使用这一特性。\u003c/p\u003e","id":"13.0-04d951805307797d","identity_text":"More efficiently store duplicates in B-tree indexes (Anastasia Lubennikova, Peter Geoghegan) This allows efficient B-tree indexing of low-cardinality columns by storing duplicate keys only once. Users upgrading with pg_upgrade will need to use REINDEX to make an existing index use this feature.","part":"changes","patch_ids":["acab2cc8b425271004686df6325d3bd1"],"related_changes":[],"relations":[],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["0d861bbb7"],"source_entry_id":"13.0/changes/007","source_hash":"457dba99f7a1805257fb259267a5c39ffdde8bb4a9151a9bd48da8d0c947c32a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"9e60858f6ca6abd1c2ba12d0ce0af8956a0f4c8b1b051c1997b8861bf2fc32f1","text":"更高效地存储 B-树索引中的重复项（Anastasia Lubennikova，Peter Geoghegan）§ 这通过只存储一次重复键，使低基数列能够高效地使用 B-树索引。使用pg_upgrade升级的用户，需要执行 REINDEX 才能让现有索引使用这一特性。","title":"更高效地存储 B-树索引中的重复项","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["075f0a880","c085e1c1c"],"commit_groups":[["075f0a880"],["c085e1c1c"]],"commits":["075f0a880","c085e1c1c"],"cves":[],"db_id":"615d2aa1884c047755b722661c41251e","html":"\u003cp\u003e允许 \u003ccode\u003ebox\u003c/code\u003e 列上的 \u003ca href=\"/docs/13/gist.html\" title=\"第 64 章 GiST 索引\"\u003eGiST\u003c/a\u003e 和 \u003ca href=\"/docs/13/spgist.html\" title=\"第 65 章 SP-GiST 索引\"\u003eSP-GiST\u003c/a\u003e 索引支持 \u003ccode\u003eORDER BY \u003cem\u003e\u003ccode\u003ebox\u003c/code\u003e\u003c/em\u003e \u0026lt;-\u0026gt; \u003cem\u003e\u003ccode\u003epoint\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e 查询（Nikita Glukhov）\u003ca href=\"https://postgr.es/c/c085e1c1c\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/075f0a880\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-300f8c5eb6e8d34f","identity_text":"Allow GiST and SP-GiST indexes on box columns to support ORDER BY box \u003c-\u003e point queries (Nikita Glukhov)","part":"changes","patch_ids":["3f3a46b0586643e90b417d932b11a8cc","a29904bdb9b56e328355d0d2e0ff4bff"],"related_changes":[],"relations":[],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["075f0a880","c085e1c1c"],"source_entry_id":"13.0/changes/008","source_hash":"7605b2482cdc38bc6a0d0de772c27acc8e766bb63435ff9509ff08aadb632cd6","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"dc0268b2baa8b6c98c269851125af3a3ea6158392ca3f708c32cf1a909249a38","text":"允许 box 列上的 GiST 和 SP-GiST 索引支持 ORDER BY box \u003c-\u003e point 查询（Nikita Glukhov）§ §","title":"允许 box 列上的 GiST 和 SP-GiST 索引支持 ORDER BY box \u003c-\u003e point 查询","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4b754d6c1"],"commit_groups":[["4b754d6c1"]],"commits":["4b754d6c1"],"cves":[],"db_id":"5585d45eb2a9826973b6e37e17836995","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/gin.html\" title=\"第 66 章 GIN 索引\"\u003e\u003cacronym\u003eGIN\u003c/acronym\u003e\u003c/a\u003e 索引更高效地处理 \u003ccode\u003etsquery\u003c/code\u003e 搜索中的 \u003ccode\u003e!\u003c/code\u003e（NOT）子句（Nikita Glukhov，Alexander Korotkov，Tom Lane，Julien Rouhaud）\u003ca href=\"https://postgr.es/c/4b754d6c1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-8318d371c54f02c8","identity_text":"Allow GIN indexes to more efficiently handle ! (NOT) clauses in tsquery searches (Nikita Glukhov, Alexander Korotkov, Tom Lane, Julien Rouhaud)","part":"changes","patch_ids":["3777fee47d2c18ce8371efd83b1860b3"],"related_changes":[],"relations":[],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["4b754d6c1"],"source_entry_id":"13.0/changes/009","source_hash":"1dc0ac4918120ac49f0339b516cd8a92809f6a3f3d7193316568420d7766a9fc","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"838742eb6724d663a97d7eb0c89892e5a0bfa9188f266279e4c7a46a328137d3","text":"允许 GIN 索引更高效地处理 tsquery 搜索中的 !（NOT）子句（Nikita Glukhov，Alexander Korotkov，Tom Lane，Julien Rouhaud）§","title":"允许 GIN 索引更高效地处理 tsquery 搜索中的 !（NOT）子句","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["911e70207"],"commit_groups":[["911e70207"]],"commits":["911e70207"],"cves":[],"db_id":"afc765d9b390c3bbd435caf0e408dff0","html":"\u003cp\u003e允许\u003ca href=\"/docs/13/sql-createindex.html\" title=\"CREATE INDEX\"\u003e索引操作符类\u003c/a\u003e接受参数（Nikita Glukhov）\u003ca href=\"https://postgr.es/c/911e70207\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-00afdb908268ed96-1","identity_text":"Allow index operator classes to take parameters (Nikita Glukhov)","part":"changes","patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"related_changes":[{"db_id":"c7ba4ea9be933a69c1ae4032bdf26ff9","evidence":{"ambiguous_patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","title":"允许 CREATE INDEX 指定 GiST 签名长度和整数范围的最大数量","url":"/docs/compare/?release=13.0#13.0-00afdb908268ed96-2","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"same_day":true},"rule":2,"target":"c7ba4ea9be933a69c1ae4032bdf26ff9","type":"related"}],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["911e70207"],"source_entry_id":"13.0/changes/010","source_hash":"0f9476c7168b00a1e61423650c5f35cd1e09dbf327ced72223f8c6f138414b3b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"9525aa704c4214fe4350f3e334c6d630248c39a93a9ef32c1e4c677c8c74c2f5","text":"允许索引操作符类接受参数（Nikita Glukhov）§","title":"允许索引操作符类接受参数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["911e70207"],"commit_groups":[["911e70207"]],"commits":["911e70207"],"cves":[],"db_id":"c7ba4ea9be933a69c1ae4032bdf26ff9","html":"\u003cp\u003e允许 \u003ccode\u003eCREATE INDEX\u003c/code\u003e 指定 GiST 签名长度和整数范围的最大数量（Nikita Glukhov）\u003ca href=\"https://postgr.es/c/911e70207\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e在四字节和八字节\u003ca href=\"/docs/13/intarray.html\" title=\"F.18. intarray\"\u003e整数数组\u003c/a\u003e、\u003ca href=\"/docs/13/textsearch.html\" title=\"第 12 章 全文检索\"\u003etsvector\u003c/a\u003e、\u003ca href=\"/docs/13/pgtrgm.html\" title=\"F.31. pg_trgm\"\u003epg_trgm\u003c/a\u003e、\u003ca href=\"/docs/13/ltree.html\" title=\"F.21. ltree\"\u003eltree\u003c/a\u003e和\u003ca href=\"/docs/13/hstore.html\" title=\"F.16. hstore\"\u003ehstore\u003c/a\u003e列上创建的索引，现在可以控制这些 GiST 索引参数，而不再只能使用默认值。\u003c/p\u003e","id":"13.0-00afdb908268ed96-2","identity_text":"Allow CREATE INDEX to specify the GiST signature length and maximum number of integer ranges (Nikita Glukhov) Indexes created on four and eight-byte integer array, tsvector, pgtrgm , ltree , and hstore columns can now control these GiST index parameters, rather than using the defaults.","part":"changes","patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"related_changes":[{"db_id":"afc765d9b390c3bbd435caf0e408dff0","evidence":{"ambiguous_patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","title":"允许索引操作符类接受参数","url":"/docs/compare/?release=13.0#13.0-00afdb908268ed96-1","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"patch_ids":["5d17b7356f8a8c6cc4be66f2a9088b55"],"same_day":true},"rule":2,"target":"afc765d9b390c3bbd435caf0e408dff0","type":"related"}],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["911e70207"],"source_entry_id":"13.0/changes/011","source_hash":"47f7609aa0fed7770f1d7940bf6a78b2301df1870d1ef7c62d273ddf64c90ec8","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"4657e287462a6c024cbc4d7512fb6af446d72e0827a97dc15abd13095c084b98","text":"允许 CREATE INDEX 指定 GiST 签名长度和整数范围的最大数量（Nikita Glukhov）§ 在四字节和八字节整数数组、tsvector、pg_trgm、ltree和hstore列上创建的索引，现在可以控制这些 GiST 索引参数，而不再只能使用默认值。","title":"允许 CREATE INDEX 指定 GiST 签名长度和整数范围的最大数量","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fbbf68094"],"commit_groups":[["fbbf68094"]],"commits":["fbbf68094"],"cves":[],"db_id":"18782b2fdacfe578e9cfe56330a6800b","html":"\u003cp\u003e禁止将使用非默认排序规则的索引\u003ca href=\"/docs/13/sql-altertable.html\" title=\"ALTER TABLE\"\u003e添加\u003c/a\u003e为表的唯一约束或主键约束（Tom Lane）\u003ca href=\"https://postgr.es/c/fbbf68094\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e索引的排序规则必须与底层列的排序规则匹配，但 \u003ccode\u003eALTER TABLE\u003c/code\u003e 以前未检查这一点。\u003c/p\u003e","id":"13.0-90aca664fe16e695","identity_text":"Prevent indexes that use non-default collations from being added as a table's unique or primary key constraint (Tom Lane) The index's collation must match that of the underlying column, but ALTER TABLE previously failed to check this.","part":"changes","patch_ids":["209c4eded0352d27fdebc9be81626b6e"],"related_changes":[],"relations":[],"section":"服务器 / 索引","section_path":["服务器","索引"],"source_commits":["fbbf68094"],"source_entry_id":"13.0/changes/012","source_hash":"4b2a2b835f60f4e244b0192b712a2f81e4b40bbe118c2b031a1f18dc4882400e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.3","statement_hash":"cec6b4927e06e45032c5699bdf54a07d4ce44f7baf1012b2fa1dbc013b7e967b","text":"禁止将使用非默认排序规则的索引添加为表的唯一约束或主键约束（Tom Lane）§ 索引的排序规则必须与底层列的排序规则匹配，但 ALTER TABLE 以前未检查这一点。","title":"禁止将使用非默认排序规则的索引添加为表的唯一约束或主键约束","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a80818605"],"commit_groups":[["a80818605"]],"commits":["a80818605"],"cves":[],"db_id":"e03a2f4748c20b9fa3d57bebb562d54d","html":"\u003cp\u003e改进优化器对包含和匹配操作符的\u003ca href=\"/docs/13/planner-stats-details.html\" title=\"第 71 章 规划器如何使用统计信息\"\u003e选择率\u003c/a\u003e估计（Tom Lane）\u003ca href=\"https://postgr.es/c/a80818605\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-e9f30b93e74d433e","identity_text":"Improve the optimizer's selectivity estimation for containment/match operators (Tom Lane)","part":"changes","patch_ids":["e0a203af7ecf47c845d60dffea038bd8"],"related_changes":[],"relations":[],"section":"服务器 / 优化器","section_path":["服务器","优化器"],"source_commits":["a80818605"],"source_entry_id":"13.0/changes/013","source_hash":"db8598d459670ad5b71679fbbfb2011cf1b783a366e1368ef138427d63e06e8f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.4","statement_hash":"d0efeabdaee1d449eb29f81fdd08331ec5d70d7df958c8731c07e08e2e2efae9","text":"改进优化器对包含和匹配操作符的选择率估计（Tom Lane）§","title":"改进优化器对包含和匹配操作符的选择率估计","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d06215d03"],"commit_groups":[["d06215d03"]],"commits":["d06215d03"],"cves":[],"db_id":"d1b8fe7431b3c7b3e9f713d6f2cd914b","html":"\u003cp\u003e允许为\u003ca href=\"/docs/13/sql-createstatistics.html\" title=\"CREATE STATISTICS\"\u003e扩展统计信息\u003c/a\u003e设置\u003ca href=\"/docs/13/sql-altertable.html\" title=\"ALTER TABLE\"\u003e统计目标\u003c/a\u003e（Tomas Vondra）\u003ca href=\"https://postgr.es/c/d06215d03\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过新的命令选项 \u003ccode\u003eALTER STATISTICS ... SET STATISTICS\u003c/code\u003e 控制。以前，它基于更通用的统计目标设置计算得出。\u003c/p\u003e","id":"13.0-97394fe02733bbe0","identity_text":"Allow setting the statistics target for extended statistics (Tomas Vondra) This is controlled with the new command option ALTER STATISTICS ... SET STATISTICS. Previously this was computed based on more general statistics target settings.","part":"changes","patch_ids":["79fb7d0e773a57353956b6aaa9d857f0"],"related_changes":[],"relations":[],"section":"服务器 / 优化器","section_path":["服务器","优化器"],"source_commits":["d06215d03"],"source_entry_id":"13.0/changes/014","source_hash":"d50bde3e1bcd3c65174901e0b9ed6e782af4e03a8a8e3e64b9df02201c65fab1","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.4","statement_hash":"ac0933c8c7c890731e4fc0a4e3f8eb34b4e2106404775577b357aea6fe7fc26b","text":"允许为扩展统计信息设置统计目标（Tomas Vondra）§ 这通过新的命令选项 ALTER STATISTICS ... SET STATISTICS 控制。以前，它基于更通用的统计目标设置计算得出。","title":"允许为扩展统计信息设置统计目标","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["aaa676187","eae056c19"],"commit_groups":[["aaa676187"],["eae056c19"]],"commits":["aaa676187","eae056c19"],"cves":[],"db_id":"ea0131e2b4726edb47e2476c2d94fb81","html":"\u003cp\u003e允许在单个查询中使用多个扩展统计对象（Tomas Vondra）\u003ca href=\"https://postgr.es/c/aaa676187\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/eae056c19\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-afd106a80b310e09","identity_text":"Allow use of multiple extended statistics objects in a single query (Tomas Vondra)","part":"changes","patch_ids":["0517460781f8025da7b77fa6bc8064f3","93a0e941b5a99c891e70cb6275232dfd"],"related_changes":[],"relations":[],"section":"服务器 / 优化器","section_path":["服务器","优化器"],"source_commits":["aaa676187","eae056c19"],"source_entry_id":"13.0/changes/015","source_hash":"a06a591b00c801eb07849c0caa2b451e1ff4837e89ae9e5aa85fc35909a5d0db","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.4","statement_hash":"6291ceaadec03b1969b571f95fe0f7c568efd1c25a1ae62e3aa6a503bf2ca415","text":"允许在单个查询中使用多个扩展统计对象（Tomas Vondra）§ §","title":"允许在单个查询中使用多个扩展统计对象","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8f321bd16","ccaa3569f","e83daa7e3"],"commit_groups":[["8f321bd16"],["ccaa3569f"],["e83daa7e3"]],"commits":["8f321bd16","ccaa3569f","e83daa7e3"],"cves":[],"db_id":"6806eac80c0336a665b6e2df84c0f155","html":"\u003cp\u003e允许将扩展统计对象用于 OR 子句和 \u003ca href=\"/docs/13/functions-subquery.html\" title=\"9.23. 子查询表达式\"\u003eIN\u003c/a\u003e/\u003ccode\u003eANY\u003c/code\u003e 常量列表（Pierre Ducroquet，Tomas Vondra）\u003ca href=\"https://postgr.es/c/8f321bd16\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/e83daa7e3\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/ccaa3569f\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-35b629657ada221a","identity_text":"Allow use of extended statistics objects for OR clauses and IN/ANY constant lists (Pierre Ducroquet, Tomas Vondra)","part":"changes","patch_ids":["150ac4fd4e0e8fdd34babedfa097818b","38ac19fb8e12fec91d75e5f36fd168c9","e7f243bba210fe45f85ae05d307c4ca2"],"related_changes":[],"relations":[],"section":"服务器 / 优化器","section_path":["服务器","优化器"],"source_commits":["8f321bd16","ccaa3569f","e83daa7e3"],"source_entry_id":"13.0/changes/016","source_hash":"14a997d01bcc94ffe3c626beb931c652705aa8ee5ded45e567874787a9072e22","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.4","statement_hash":"795fff38e7725fb791b96c7e2645c74a2465f441e7bab14004fb0a6f25aaeb97","text":"允许将扩展统计对象用于 OR 子句和 IN/ANY 常量列表（Pierre Ducroquet，Tomas Vondra）§ § §","title":"允许将扩展统计对象用于 OR 子句和 IN/ANY 常量列表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7266d0997","a9ae99d01"],"commit_groups":[["7266d0997"],["a9ae99d01"]],"commits":["7266d0997","a9ae99d01"],"cves":[],"db_id":"4bad3aab680b71cc3601066e7e3a5065","html":"\u003cp\u003e如果 \u003ccode\u003eFROM\u003c/code\u003e 子句中的函数求值为常量，则允许将其上拉（内联）（Alexander Kuzmenkov，Aleksandr Parfenov）\u003ca href=\"https://postgr.es/c/7266d0997\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/a9ae99d01\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-2015bf37cdd6ccee","identity_text":"Allow functions in FROM clauses to be pulled up (inlined) if they evaluate to constants (Alexander Kuzmenkov, Aleksandr Parfenov)","part":"changes","patch_ids":["1348da700e41cce5f75d2f64f7e6cc31","ac2fe31721e84f58dcff2b6ef7433b5c"],"related_changes":[],"relations":[],"section":"服务器 / 优化器","section_path":["服务器","优化器"],"source_commits":["7266d0997","a9ae99d01"],"source_entry_id":"13.0/changes/017","source_hash":"0dce30a490d80789dc0670de01eb156848407463f779494fc42a5aabef06fdaa","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.4","statement_hash":"c65bcc23a4c1d5235891d4b7a71178641c78391779ea64934861403c844b8390","text":"如果 FROM 子句中的函数求值为常量，则允许将其上拉（内联）（Alexander Kuzmenkov，Aleksandr Parfenov）§ §","title":"如果 FROM 子句中的函数求值为常量，则允许将其上拉（内联）","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["94e454cdd","d2d8a229b"],"commit_groups":[["94e454cdd"],["d2d8a229b"]],"commits":["94e454cdd","d2d8a229b"],"cves":[],"db_id":"6f3fd1946c685503344ef054a587b1dd","html":"\u003cp\u003e实现\u003ca href=\"/docs/13/runtime-config-query.html#GUC-ENABLE-INCREMENTAL-SORT\"\u003e增量排序\u003c/a\u003e（James Coleman，Alexander Korotkov，Tomas Vondra）\u003ca href=\"https://postgr.es/c/d2d8a229b\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/94e454cdd\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e如果已知查询的中间结果按照所需排序顺序的一个或多个前导键排好序，则可以将前导键相同的行分批排序，只考虑剩余键即可完成额外的排序。\u003c/p\u003e\n\u003cp\u003e如有需要，可以使用\u003ca href=\"/docs/13/runtime-config-query.html#GUC-ENABLE-INCREMENTAL-SORT\"\u003eenable_incremental_sort\u003c/a\u003e控制此行为。\u003c/p\u003e","id":"13.0-fbd6a27f114123a3","identity_text":"Implement incremental sorting (James Coleman, Alexander Korotkov, Tomas Vondra) If an intermediate query result is known to be sorted by one or more leading keys of a required sort ordering, the additional sorting can be done considering only the remaining keys, if the rows are sorted in batches that have equal leading keys. If necessary, this can be controlled using guc-enable-incremental-sort .","part":"changes","patch_ids":["278a92e39d69c168ad24a9167f2174b7","3dc77609ae64140459d9a9afec908107"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["94e454cdd","d2d8a229b"],"source_entry_id":"13.0/changes/018","source_hash":"7326147e882b0a4166ec3b84287d9b9d0920e4953c41bfd832ae421a2029ff7b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"b7d27834a05b9b8046d54286391fa61e92ec190e4bfa43505d0a8604e9f4ed8c","text":"实现增量排序（James Coleman，Alexander Korotkov，Tomas Vondra）§ § 如果已知查询的中间结果按照所需排序顺序的一个或多个前导键排好序，则可以将前导键相同的行分批排序，只考虑剩余键即可完成额外的排序。 如有需要，可以使用enable_incremental_sort控制此行为。","title":"实现增量排序","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["71dcd7438"],"commit_groups":[["71dcd7438"]],"commits":["71dcd7438"],"cves":[],"db_id":"7be3e1713fbe303ab454a9c923d9a047","html":"\u003cp\u003e提高 \u003ca href=\"/docs/13/datatype-net-types.html#DATATYPE-INET\" title=\"8.9.1. inet\"\u003einet\u003c/a\u003e 值的排序性能（Brandur Leach）\u003ca href=\"https://postgr.es/c/71dcd7438\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-7cf2b4fcd6a90e43","identity_text":"Improve the performance of sorting inet values (Brandur Leach)","part":"changes","patch_ids":["6b8159f858e88c6984f443855e76682a"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["71dcd7438"],"source_entry_id":"13.0/changes/019","source_hash":"83a3067bfd228a4d71e4935e7691c9be60dd5b90024a43f53f37464ca3988502","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"fcdbcac1c219036114076c98db61e8bfcccee2b814ca49423663db86ecc69d1c","text":"提高 inet 值的排序性能（Brandur Leach）§","title":"提高 inet 值的排序性能","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["1f39bce02","78530c8e7","dd8e19132"],"commit_groups":[["1f39bce02"],["78530c8e7"],["dd8e19132"]],"commits":["1f39bce02","78530c8e7","dd8e19132"],"cves":[],"db_id":"6442f5ad4bd8d8b4591ad34801b96bb9","html":"\u003cp\u003e允许\u003ca href=\"/docs/13/runtime-config-query.html#GUC-ENABLE-HASHAGG\"\u003ehash 聚合\u003c/a\u003e对大型聚合结果集使用磁盘存储（Jeff Davis）\u003ca href=\"https://postgr.es/c/1f39bce02\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/dd8e19132\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/78530c8e7\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，如果预计 hash 聚合使用的内存会超过\u003ca href=\"/docs/13/runtime-config-resource.html#GUC-WORK-MEM\"\u003ework_mem\u003c/a\u003e，就会避免使用它。现在，即使如此也可以选择 hash 聚合计划。如果 hash 表超过 \u003ccode\u003ework_mem\u003c/code\u003e 乘以\u003ca href=\"/docs/13/runtime-config-resource.html#GUC-HASH-MEM-MULTIPLIER\"\u003ehash_mem_multiplier\u003c/a\u003e的大小，就会溢写到磁盘。\u003c/p\u003e\n\u003cp\u003e这一行为通常优于旧行为：以前，一旦选择了 hash 聚合，无论 hash 表增长到多大，都会一直保留在内存中；如果规划器估计有误，它可能变得非常大。如有需要，可以通过增大 \u003ccode\u003ehash_mem_multiplier\u003c/code\u003e 来获得类似旧行为的效果。\u003c/p\u003e","id":"13.0-15d590cb812ca7d3","identity_text":"Allow hash aggregation to use disk storage for large aggregation result sets (Jeff Davis) Previously, hash aggregation was avoided if it was expected to use more than guc-work-mem memory. Now, a hash aggregation plan can be chosen despite that. The hash table will be spilled to disk if it exceeds work_mem times guc-hash-mem-multiplier . This behavior is normally preferable to the old behavior, in which once hash aggregation had been chosen, the hash table would be kept in memory no matter how large it got — which could be very large if the planner had misestimated. If necessary, behavior similar to that can be obtained by increasing hash_mem_multiplier.","part":"changes","patch_ids":["8b1a1c056d175ee893c832f51943a10f","aea0626a54fed81f85e92bd61da850dd","c7f1e60b068a27818a75177db44aedde"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["1f39bce02","78530c8e7","dd8e19132"],"source_entry_id":"13.0/changes/020","source_hash":"6505ea5cd4b84a9b5dc886175f0abcc90e064e5cc54d158934cfa5585220afae","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"36045a241dec61a916dd7330db7524f0c2dc5f27ad197295e958a18649895843","text":"允许hash 聚合对大型聚合结果集使用磁盘存储（Jeff Davis）§ § § 以前，如果预计 hash 聚合使用的内存会超过work_mem，就会避免使用它。现在，即使如此也可以选择 hash 聚合计划。如果 hash 表超过 work_mem 乘以hash_mem_multiplier的大小，就会溢写到磁盘。 这一行为通常优于旧行为：以前，一旦选择了 hash 聚合，无论 hash 表增长到多大，都会一直保留在内存中；如果规划器估计有误，它可能变得非常大。如有需要，可以通过增大 hash_mem_multiplier 来获得类似旧行为的效果。","title":"允许hash 聚合对大型聚合结果集使用磁盘存储","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["b07642dbc"],"commit_groups":[["b07642dbc"]],"commits":["b07642dbc"],"cves":[],"db_id":"ff243b43c207ec3e528bcb615e41e0ad","html":"\u003cp\u003e允许插入操作也触发\u003ca href=\"/docs/13/maintenance.html#AUTOVACUUM\" title=\"24.1.6. 自动清理守护进程\"\u003e自动清理\u003c/a\u003e中的清理活动，而不再仅由更新和删除触发（Laurenz Albe，Darafei Praliaskouski）\u003ca href=\"https://postgr.es/c/b07642dbc\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，仅有插入活动时会触发自动分析，但不会触发自动清理，理由是不存在需要移除的死元组。然而，清理扫描还有其他有益的副作用，例如设置页面全可见位，从而提高仅索引扫描的效率。另外，让仅插入的表接受周期性清理，有助于分散\u003cspan\u003e“\u003cspan\u003e冻结\u003c/span\u003e”\u003c/span\u003e旧元组的工作量，避免整个表同时达到防回卷阈值时，突然需要执行大量冻结工作。\u003c/p\u003e\n\u003cp\u003e如有需要，可以通过新参数\u003ca href=\"/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-INSERT-THRESHOLD\"\u003eautovacuum_vacuum_insert_threshold\u003c/a\u003e和\u003ca href=\"/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-INSERT-SCALE-FACTOR\"\u003eautovacuum_vacuum_insert_scale_factor\u003c/a\u003e，或等价的表存储选项来调整此行为。\u003c/p\u003e","id":"13.0-3ac633baec8f030f","identity_text":"Allow inserts, not only updates and deletes, to trigger vacuuming activity in autovacuum (Laurenz Albe, Darafei Praliaskouski) Previously, insert-only activity would trigger auto-analyze but not auto-vacuum, on the grounds that there could not be any dead tuples to remove. However, a vacuum scan has other useful side-effects such as setting page-all-visible bits, which improves the efficiency of index-only scans. Also, allowing an insert-only table to receive periodic vacuuming helps to spread out the work of freezing old tuples, so that there is not suddenly a large amount of freezing work to do when the entire table reaches the anti-wraparound threshold all at once. If necessary, this behavior can be adjusted with the new parameters guc-autovacuum-vacuum-insert-threshold and guc-autovacuum-vacuum-insert-scale-factor , or the equivalent table storage options.","part":"changes","patch_ids":["dd4a38c2cef7db1665e28a1a9ff16317"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["b07642dbc"],"source_entry_id":"13.0/changes/021","source_hash":"d039b6b317faabbf49abde232f85e0528f56777455f2ca9be46ada3232d18fdc","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"a75fea2e370989e623b4dd0557b356397fde08d58f02154768c4bf5eeae19679","text":"允许插入操作也触发自动清理中的清理活动，而不再仅由更新和删除触发（Laurenz Albe，Darafei Praliaskouski）§ 以前，仅有插入活动时会触发自动分析，但不会触发自动清理，理由是不存在需要移除的死元组。然而，清理扫描还有其他有益的副作用，例如设置页面全可见位，从而提高仅索引扫描的效率。另外，让仅插入的表接受周期性清理，有助于分散“冻结”旧元组的工作量，避免整个表同时达到防回卷阈值时，突然需要执行大量冻结工作。 如有需要，可以通过新参数autovacuum_vacuum_insert_threshold和autovacuum_vacuum_insert_scale_factor，或等价的表存储选项来调整此行为。","title":"允许插入操作也触发自动清理中的清理活动，而不再仅由更新和删除触发","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["fc34b0d9d"],"commit_groups":[["fc34b0d9d"]],"commits":["fc34b0d9d"],"cves":[],"db_id":"295f700db62c2f12965dacb55956fa60","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/runtime-config-resource.html#GUC-MAINTENANCE-IO-CONCURRENCY\"\u003emaintenance_io_concurrency\u003c/a\u003e参数，以控制维护操作的 I/O 并发度（Thomas Munro）\u003ca href=\"https://postgr.es/c/fc34b0d9d\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-2086e47d6fa03cdd","identity_text":"Add guc-maintenance-io-concurrency parameter to control I/O concurrency for maintenance operations (Thomas Munro)","part":"changes","patch_ids":["12c1a95ce51d50f455dccf8066eba9e7"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["fc34b0d9d"],"source_entry_id":"13.0/changes/022","source_hash":"efd0b9ce10b052bb1682f544584949baad36d92419138589c516bf10911ee3ea","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"1d736eb5805e08baea756c991a9fbab291d5b7e7cb5fb9f84c3ba70281036636","text":"增加maintenance_io_concurrency参数，以控制维护操作的 I/O 并发度（Thomas Munro）§","title":"增加maintenance_io_concurrency参数，以控制维护操作的 I/O 并发度","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["c6b92041d"],"commit_groups":[["c6b92041d"]],"commits":["c6b92041d"],"cves":[],"db_id":"30220ba09b5895e9693d456c854b4b9a","html":"\u003cp\u003e如果\u003ca href=\"/docs/13/runtime-config-wal.html#GUC-WAL-LEVEL\"\u003ewal_level\u003c/a\u003e为 \u003ccode\u003eminimal\u003c/code\u003e，则允许在创建或重写关系的事务期间跳过 \u003cacronym\u003eWAL\u003c/acronym\u003e 写入（Kyotaro Horiguchi）\u003ca href=\"https://postgr.es/c/c6b92041d\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e对于大于\u003ca href=\"/docs/13/runtime-config-wal.html#GUC-WAL-SKIP-THRESHOLD\"\u003ewal_skip_threshold\u003c/a\u003e的关系，会对其文件执行 fsync，而不生成 \u003cacronym\u003eWAL\u003c/acronym\u003e。以前，只有 \u003ccode\u003eCOPY\u003c/code\u003e 操作会这样处理，但其实现有一个缺陷，可能在崩溃恢复期间导致数据丢失。\u003c/p\u003e","id":"13.0-b85de750769c20fe","identity_text":"Allow WAL writes to be skipped during a transaction that creates or rewrites a relation, if guc-wal-level is minimal (Kyotaro Horiguchi) Relations larger than guc-wal-skip-threshold will have their files fsync'ed rather than generating WAL. Previously this was done only for COPY operations, but the implementation had a bug that could cause data loss during crash recovery.","part":"changes","patch_ids":["3102d077d66fee2dfbbf3f49416f0976"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["c6b92041d"],"source_entry_id":"13.0/changes/023","source_hash":"cd126d964c1306b4eb5abb3509e5c4f2239cf7bcd5930659493c8ade889a8c1f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"7bc93299750a74078e761ced8ff9f816bc9639125caec32a7497914dcc49918a","text":"如果wal_level为 minimal，则允许在创建或重写关系的事务期间跳过 WAL 写入（Kyotaro Horiguchi）§ 对于大于wal_skip_threshold的关系，会对其文件执行 fsync，而不生成 WAL。以前，只有 COPY 操作会这样处理，但其实现有一个缺陷，可能在崩溃恢复期间导致数据丢失。","title":"如果wal_level为 minimal，则允许在创建或重写关系的事务期间跳过 WAL 写入","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["e6d806952"],"commit_groups":[["e6d806952"]],"commits":["e6d806952"],"cves":[],"db_id":"a9b6bade4ee22fc67b760b2ea0980f08","html":"\u003cp\u003e提高使用大量表空间时重放 \u003ca href=\"/docs/13/sql-dropdatabase.html\" title=\"DROP DATABASE\"\u003e\u003ccode\u003eDROP DATABASE\u003c/code\u003e\u003c/a\u003e 命令的性能（Fujii Masao）\u003ca href=\"https://postgr.es/c/e6d806952\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-2bd61199dd73324a","identity_text":"Improve performance when replaying DROP DATABASE commands when many tablespaces are in use (Fujii Masao)","part":"changes","patch_ids":["c669522b6d5e90b906fc018e3b7c0f1a"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["e6d806952"],"source_entry_id":"13.0/changes/024","source_hash":"6344f97399fa516ff4358f637f8bbd4f4a7e21b925a687f1c72cb710a7191dba","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"9e4369a1bad90e265f2f0a1414b2171057535813f740f6d06bd1d84171530514","text":"提高使用大量表空间时重放 DROP DATABASE 命令的性能（Fujii Masao）§","title":"提高使用大量表空间时重放 DROP DATABASE 命令的性能","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["6d05086c0"],"commit_groups":[["6d05086c0"]],"commits":["6d05086c0"],"cves":[],"db_id":"1e9006896a1af69d834a155edb3255de","html":"\u003cp\u003e提高\u003ca href=\"/docs/13/sql-truncate.html\" title=\"TRUNCATE\"\u003e截断\u003c/a\u003e超大关系的性能（Kirk Jamison）\u003ca href=\"https://postgr.es/c/6d05086c0\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-48efa86846d0f12a","identity_text":"Improve performance for truncation of very large relations (Kirk Jamison)","part":"changes","patch_ids":["10115d396c71180e50c1b8fcf075a3fb"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["6d05086c0"],"source_entry_id":"13.0/changes/025","source_hash":"a74fce7166d12ebc59a9d7e2e907fa8a8b9248991de7cd81df67a8eb6e400cef","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"df9c6284cc83d08f40b230c5abfba2165dd6eba4883666826d24e121acb12f69","text":"提高截断超大关系的性能（Kirk Jamison）§","title":"提高截断超大关系的性能","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["11a078cf8"],"commit_groups":[["11a078cf8"]],"commits":["11a078cf8"],"cves":[],"db_id":"f5fb1b1f9ded8c1ceb227b00db1c2958","html":"\u003cp\u003e改进对经过 \u003ca href=\"/docs/13/storage-toast.html\" title=\"69.2. TOAST\"\u003e\u003cacronym\u003eTOAST\u003c/acronym\u003e\u003c/a\u003e 处理的值的起始字节的获取（Binguo Bao，Andrey Borodin）\u003ca href=\"https://postgr.es/c/11a078cf8\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，即使已知只需要起始的一部分字节，也会完整获取压缩的行外 \u003cacronym\u003eTOAST\u003c/acronym\u003e 值。现在，只获取足以生成结果的数据。\u003c/p\u003e","id":"13.0-78e12abcf4795b00","identity_text":"Improve retrieval of the leading bytes of TOAST'ed values (Binguo Bao, Andrey Borodin) Previously, compressed out-of-line TOAST values were fully fetched even when it's known that only some leading bytes are needed. Now, only enough data to produce the result is fetched.","part":"changes","patch_ids":["cef0836907cdb9beac39ce5b71086988"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["11a078cf8"],"source_entry_id":"13.0/changes/026","source_hash":"1c388da4bcfbb54bdeeb8251d35ba6b66b5eb69951c3822509bad3e4ba0841a1","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"bc342db307b119cd9c25d5ce61994249266ffa0a3ce8a83153209bcbf0b1dccd","text":"改进对经过 TOAST 处理的值的起始字节的获取（Binguo Bao，Andrey Borodin）§ 以前，即使已知只需要起始的一部分字节，也会完整获取压缩的行外 TOAST 值。现在，只获取足以生成结果的数据。","title":"改进对经过 TOAST 处理的值的起始字节的获取","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["51004c717","bb5ae8f6c","bca6e6435"],"commit_groups":[["51004c717"],["bb5ae8f6c"],["bca6e6435"]],"commits":["51004c717","bb5ae8f6c","bca6e6435"],"cves":[],"db_id":"39aeeff4a065d1e88fa614ebd7e37a10","html":"\u003cp\u003e提高 \u003ca href=\"/docs/13/sql-listen.html\" title=\"LISTEN\"\u003e\u003ccode\u003eLISTEN\u003c/code\u003e\u003c/a\u003e/\u003ccode\u003eNOTIFY\u003c/code\u003e 的性能（Martijn van Oosterhout，Tom Lane）\u003ca href=\"https://postgr.es/c/bca6e6435\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/51004c717\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/bb5ae8f6c\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-d2feeed792795170","identity_text":"Improve performance of LISTEN/NOTIFY (Martijn van Oosterhout, Tom Lane)","part":"changes","patch_ids":["7d646f6c58ff910e7dd9a5d0eb625fdc","94ae3f18f3c79d85a0a3e73c7c28a07b","df7551865fdd0590b5acb5ca137f3280"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["51004c717","bb5ae8f6c","bca6e6435"],"source_entry_id":"13.0/changes/027","source_hash":"fb780bf746f5a3624ca523ace8bb3d3e687c835561624a0c1d6c593142e963f3","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"2d6903fd34b84130f869ce3b12c71d550a0cf93bc58ec4e5d79572f69d85773f","text":"提高 LISTEN/NOTIFY 的性能（Martijn van Oosterhout，Tom Lane）§ § §","title":"提高 LISTEN/NOTIFY 的性能","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["1fd687a03"],"commit_groups":[["1fd687a03"]],"commits":["1fd687a03"],"cves":[],"db_id":"146793203d27f4483566ccde04c0a80f","html":"\u003cp\u003e加快整数到文本的转换（David Fetter）\u003ca href=\"https://postgr.es/c/1fd687a03\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-de96200c21fa67b5","identity_text":"Speed up conversions of integers to text (David Fetter)","part":"changes","patch_ids":["45afb2686c385bef49fee44bcead94ed"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["1fd687a03"],"source_entry_id":"13.0/changes/028","source_hash":"36af82f7d62ee80b507e36be1c04de924bb9f167a72733bf906cf2a10d3d03a4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"cb987b4d56de264131e4a585e21034140003fee4012425d64f137d8229b137a4","text":"加快整数到文本的转换（David Fetter）§","title":"加快整数到文本的转换","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["b5810de3f"],"commit_groups":[["b5810de3f"]],"commits":["b5810de3f"],"cves":[],"db_id":"15e468abbb5e4eccab6f4881331a59fd","html":"\u003cp\u003e减少包含大量 \u003cacronym\u003eSQL\u003c/acronym\u003e 语句的查询字符串和扩展脚本的内存用量（Amit Langote）\u003ca href=\"https://postgr.es/c/b5810de3f\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-a6da1f40d67c9421","identity_text":"Reduce memory usage for query strings and extension scripts that contain many SQL statements (Amit Langote)","part":"changes","patch_ids":["1ab927c2f38b29e4895f038a2f2ec8e2"],"related_changes":[],"relations":[],"section":"服务器 / 一般性能","section_path":["服务器","一般性能"],"source_commits":["b5810de3f"],"source_entry_id":"13.0/changes/029","source_hash":"8fb7798c19e322d4dd0521369b4269d3f226e165d46a42e66bf6eeedf484aebd","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.5","statement_hash":"fef69d605d385fbcff9f772a04be8789d4733cd24dae1d94a1f66041d951ffe2","text":"减少包含大量 SQL 语句的查询字符串和扩展脚本的内存用量（Amit Langote）§","title":"减少包含大量 SQL 语句的查询字符串和扩展脚本的内存用量","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["33e05f89c","6b466bf5f","b7ce6de93"],"commit_groups":[["33e05f89c"],["6b466bf5f"],["b7ce6de93"]],"commits":["33e05f89c","6b466bf5f","b7ce6de93"],"cves":[],"db_id":"a81bca950723330723a396880d7230a2","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/sql-explain.html\" title=\"EXPLAIN\"\u003e\u003ccode\u003eEXPLAIN\u003c/code\u003e\u003c/a\u003e、\u003ca href=\"/docs/13/auto-explain.html\" title=\"F.4. auto_explain\"\u003eauto_explain\u003c/a\u003e、\u003ca href=\"/docs/13/maintenance.html#AUTOVACUUM\" title=\"24.1.6. 自动清理守护进程\"\u003e自动清理\u003c/a\u003e和\u003ca href=\"/docs/13/pgstatstatements.html\" title=\"F.29. pg_stat_statements\"\u003epg_stat_statements\u003c/a\u003e跟踪 \u003cacronym\u003eWAL\u003c/acronym\u003e 使用统计信息（Kirill Bychik，Julien Rouhaud）\u003ca href=\"https://postgr.es/c/6b466bf5f\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/33e05f89c\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/b7ce6de93\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-8954db92bf2ae4b2","identity_text":"Allow EXPLAIN, auto-explain , autovacuum, and pgstatstatements to track WAL usage statistics (Kirill Bychik, Julien Rouhaud)","part":"changes","patch_ids":["31925c9b2818b267801035402c499e9e","6c03acae0cf345cf70fa5c0ee8270beb","fb3d78d447fffec325ed73861b82ea2a"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["33e05f89c","6b466bf5f","b7ce6de93"],"source_entry_id":"13.0/changes/030","source_hash":"fe57ed5e272beb286e871294fb61af1e52d3915327a84f1534d0c7254cee6e56","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"ad6c2f4a105ad1fbba32edbf61724b4df3fc58f2f02ab482297d761eceedfbf0","text":"允许 EXPLAIN、auto_explain、自动清理和pg_stat_statements跟踪 WAL 使用统计信息（Kirill Bychik，Julien Rouhaud）§ § §","title":"允许 EXPLAIN、auto_explain、自动清理和pg_stat_statements跟踪 WAL 使用统计信息","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6e3e6cc0e"],"commit_groups":[["6e3e6cc0e"]],"commits":["6e3e6cc0e"],"cves":[],"db_id":"cf598e0ff1ed5c6895694ec0468b72fa","html":"\u003cp\u003e允许抽样记录 SQL 语句，而不必记录全部语句（Adrien Nayrat）\u003ca href=\"https://postgr.es/c/6e3e6cc0e\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e对于耗时超过\u003ca href=\"/docs/13/runtime-config-logging.html#GUC-LOG-MIN-DURATION-SAMPLE\"\u003elog_min_duration_sample\u003c/a\u003e的语句，将按\u003ca href=\"/docs/13/runtime-config-logging.html#GUC-LOG-STATEMENT-SAMPLE-RATE\"\u003elog_statement_sample_rate\u003c/a\u003e指定的比例记录日志。\u003c/p\u003e","id":"13.0-40cc7222acb2a242","identity_text":"Allow a sample of SQL statements, rather than all statements, to be logged (Adrien Nayrat) A guc-log-statement-sample-rate fraction of those statements taking more than guc-log-min-duration-sample duration will be logged.","part":"changes","patch_ids":["d42d5bf0a2809f3449a7fdf44b63bd36"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["6e3e6cc0e"],"source_entry_id":"13.0/changes/031","source_hash":"100d1f479e612787e8ef6dacf4641291e7cc0aaa46bc87560848bbdf111c5a4a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"64e01dd1f610133710962064b5af48ec6117ad653650460f9708d279b8b41a9c","text":"允许抽样记录 SQL 语句，而不必记录全部语句（Adrien Nayrat）§ 对于耗时超过log_min_duration_sample的语句，将按log_statement_sample_rate指定的比例记录日志。","title":"允许抽样记录 SQL 语句，而不必记录全部语句","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["70a7b4776"],"commit_groups":[["70a7b4776"]],"commits":["70a7b4776"],"cves":[],"db_id":"235ce2c10b18e0cca4fef6d1580b942e","html":"\u003cp\u003e将后端类型添加到 \u003ca href=\"/docs/13/runtime-config-logging.html\" title=\"19.8. 错误报告和日志\"\u003ecsvlog\u003c/a\u003e 日志输出中，并允许选择将其加入\u003ca href=\"/docs/13/runtime-config-logging.html#GUC-LOG-LINE-PREFIX\"\u003elog_line_prefix\u003c/a\u003e日志输出（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/70a7b4776\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-45b357ebf41f9dea","identity_text":"Add the backend type to csvlog and optionally guc-log-line-prefix log output (Peter Eisentraut)","part":"changes","patch_ids":["b3bde18d195ab3e72dc9c103507df8a9"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["70a7b4776"],"source_entry_id":"13.0/changes/032","source_hash":"286f96e316ce9805db24da0ccaed504a25d16433ac06fb901d54b2facf785992","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"0279638c7ed6b0977a0432345b3efaa639531996cb1b75ed5b95926de0099acf","text":"将后端类型添加到 csvlog 日志输出中，并允许选择将其加入log_line_prefix日志输出（Peter Eisentraut）§","title":"将后端类型添加到 csvlog 日志输出中，并允许选择将其加入log_line_prefix日志输出","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0b34e7d30","ba79cb5dc"],"commit_groups":[["0b34e7d30"],["ba79cb5dc"]],"commits":["0b34e7d30","ba79cb5dc"],"cves":[],"db_id":"0eda34f47222bdf23c7178dbd7af0d7d","html":"\u003cp\u003e改进对预备语句参数日志记录的控制（Alexey Bashtanov，Álvaro Herrera）\u003ca href=\"https://postgr.es/c/ba79cb5dc\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/0b34e7d30\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003cacronym\u003eGUC\u003c/acronym\u003e 设置\u003ca href=\"/docs/13/runtime-config-logging.html#GUC-LOG-PARAMETER-MAX-LENGTH\"\u003elog_parameter_max_length\u003c/a\u003e控制记录未出错语句时输出的参数值的最大长度，而\u003ca href=\"/docs/13/runtime-config-logging.html#GUC-LOG-PARAMETER-MAX-LENGTH-ON-ERROR\"\u003elog_parameter_max_length_on_error\u003c/a\u003e对出错语句的日志执行相同控制。以前，发生错误时从不记录预备语句的参数。\u003c/p\u003e","id":"13.0-fd504c5b579e31ab","identity_text":"Improve control of prepared statement parameter logging (Alexey Bashtanov, Álvaro Herrera) The GUC setting guc-log-parameter-max-length controls the maximum length of parameter values output during logging of non-error statements, while guc-log-parameter-max-length-on-error does the same for logging of statements with errors. Previously, prepared statement parameters were never logged during errors.","part":"changes","patch_ids":["892abc33cd6c56564cf2c12133a2d045","f081b1d898afefe2d7eb29013c75bd56"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["0b34e7d30","ba79cb5dc"],"source_entry_id":"13.0/changes/033","source_hash":"7f237edc904bad8c0bf5ab2893ef9f4d1981a1fd2ab9c35a0b09649315e41eca","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"b00d94b41be0ecba2efa1d14b97fa13f2b5cb1b4e9e93d3210706381c1da32ae","text":"改进对预备语句参数日志记录的控制（Alexey Bashtanov，Álvaro Herrera）§ § GUC 设置log_parameter_max_length控制记录未出错语句时输出的参数值的最大长度，而log_parameter_max_length_on_error对出错语句的日志执行相同控制。以前，发生错误时从不记录预备语句的参数。","title":"改进对预备语句参数日志记录的控制","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["71a8a4f6e","8ff4d1277"],"commit_groups":[["71a8a4f6e"],["8ff4d1277"]],"commits":["71a8a4f6e","8ff4d1277"],"cves":[],"db_id":"3699aac582bc0eec78d81d91995a0354","html":"\u003cp\u003e允许在出错后记录函数调用回溯（Peter Eisentraut，Álvaro Herrera）\u003ca href=\"https://postgr.es/c/71a8a4f6e\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/8ff4d1277\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新参数\u003ca href=\"/docs/13/runtime-config-developer.html#GUC-BACKTRACE-FUNCTIONS\"\u003ebacktrace_functions\u003c/a\u003e指定哪些 C 函数应在出错时生成回溯。\u003c/p\u003e","id":"13.0-586da60305fb7b08","identity_text":"Allow function call backtraces to be logged after errors (Peter Eisentraut, Álvaro Herrera) The new parameter guc-backtrace-functions specifies which C functions should generate backtraces on error.","part":"changes","patch_ids":["2b80fdf05010f615558b8d50d0660b55","65bdf4c3f4fde73434e42e2b52f30b2d"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["71a8a4f6e","8ff4d1277"],"source_entry_id":"13.0/changes/034","source_hash":"cabf22c51494731865edb0153f669c4f67bcef906a6b06ec9ede4bf55c823173","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"7cbdab52fc728b1acb9d4e8935fac7e137cb73e832b5aeee1c1b420811870209","text":"允许在出错后记录函数调用回溯（Peter Eisentraut，Álvaro Herrera）§ § 新参数backtrace_functions指定哪些 C 函数应在出错时生成回溯。","title":"允许在出错后记录函数调用回溯","variants":[],"version":"13.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["15d13e829"],"commit_groups":[["15d13e829"]],"commits":["15d13e829"],"cves":[],"db_id":"66d40f6696228d548d1e3c049c034faa","html":"\u003cp\u003e将\u003ca href=\"/docs/13/sql-vacuum.html\" title=\"VACUUM\"\u003e清理\u003c/a\u003e的缓冲区计数器扩为 64 位，以避免溢出（Álvaro Herrera）\u003ca href=\"https://postgr.es/c/15d13e829\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ff1361b3a01398ef","identity_text":"Make vacuum buffer counters 64-bits wide to avoid overflow (Álvaro Herrera)","part":"changes","patch_ids":["9ab19debd02d99f33901d8bd052a90c6"],"related_changes":[],"relations":[],"section":"服务器 / 监控","section_path":["服务器","监控"],"source_commits":["15d13e829"],"source_entry_id":"13.0/changes/035","source_hash":"e7ad771b468244f1b6bda4035a36701e031b8fa8eb99c340dc2cdf28aeb6d1f7","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.6","statement_hash":"a9f6ab10bce886b9cdab2527b5d0ac7a46e36bf00130974a62b0adf41efaca5a","text":"将清理的缓冲区计数器扩为 64 位，以避免溢出（Álvaro Herrera）§","title":"将清理的缓冲区计数器扩为 64 位，以避免溢出","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b025f32e0"],"commit_groups":[["b025f32e0"]],"commits":["b025f32e0"],"cves":[],"db_id":"3829667db5ef5abb8ecfa3e27063691d","html":"\u003cp\u003e向\u003ca href=\"/docs/13/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW\" title=\"表 27.3. pg_stat_activity 视图\"\u003epg_stat_activity\u003c/a\u003e添加 \u003ccode\u003eleader_pid\u003c/code\u003e，以报告并行工作进程的领导者进程（Julien Rouhaud）\u003ca href=\"https://postgr.es/c/b025f32e0\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-52a0b2a9e74f9722","identity_text":"Add leader_pid to pg-stat-activity-view to report a parallel worker's leader process (Julien Rouhaud)","part":"changes","patch_ids":["8a3e2dd87ee7e018d4907a02460ed5f9"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["b025f32e0"],"source_entry_id":"13.0/changes/036","source_hash":"d956b342fc3c4e0765164c943359a8b278c5ef021d17f98ffff7e07e52461185","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"c21d0caea9034f42e6df62777dad0f11e586ee80990f3f80578532bc490b96b6","text":"向pg_stat_activity添加 leader_pid，以报告并行工作进程的领导者进程（Julien Rouhaud）§","title":"向pg_stat_activity添加 leader_pid，以报告并行工作进程的领导者进程","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e65497df8"],"commit_groups":[["e65497df8"]],"commits":["e65497df8"],"cves":[],"db_id":"19aacbebb92d873e455decfecd371b65","html":"\u003cp\u003e增加系统视图 \u003ca href=\"/docs/13/progress-reporting.html#BASEBACKUP-PROGRESS-REPORTING\" title=\"27.4.5. 基础备份进度报告\"\u003e\u003ccode\u003epg_stat_progress_basebackup\u003c/code\u003e\u003c/a\u003e，以报告流式基础备份的进度（Fujii Masao）\u003ca href=\"https://postgr.es/c/e65497df8\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-fd3441f8fe2a88bd","identity_text":"Add system view pg_stat_progress_basebackup to report the progress of streaming base backups (Fujii Masao)","part":"changes","patch_ids":["ccbaef50c0f84ce962782a4c5b7e4a67"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["e65497df8"],"source_entry_id":"13.0/changes/037","source_hash":"def8a2b9dfe79e30a6fd6a8d776ba7d5b5927e31e2190b8cc50338e5a3ecfd62","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"2a70debc21d91de9cc6b929813b79bce3babf16cfa26bb69dc0a807356387f46","text":"增加系统视图 pg_stat_progress_basebackup，以报告流式基础备份的进度（Fujii Masao）§","title":"增加系统视图 pg_stat_progress_basebackup，以报告流式基础备份的进度","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a166d408e"],"commit_groups":[["a166d408e"]],"commits":["a166d408e"],"cves":[],"db_id":"a48a84e7270ac0e05b97a4d1d7fc798e","html":"\u003cp\u003e增加系统视图 \u003ca href=\"/docs/13/monitoring-stats.html#MONITORING-STATS-DYNAMIC-VIEWS-TABLE\" title=\"表 27.1. 动态统计视图\"\u003e\u003ccode\u003epg_stat_progress_analyze\u003c/code\u003e\u003c/a\u003e，以报告 \u003ca href=\"/docs/13/sql-analyze.html\" title=\"ANALYZE\"\u003eANALYZE\u003c/a\u003e 进度（Álvaro Herrera，Tatsuro Yamada，Vinayak Pokale）\u003ca href=\"https://postgr.es/c/a166d408e\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-0bdd020ddff779b0","identity_text":"Add system view pg_stat_progress_analyze to report ANALYZE progress (Álvaro Herrera, Tatsuro Yamada, Vinayak Pokale)","part":"changes","patch_ids":["6e4fa850d433253028205d99c7c88062"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["a166d408e"],"source_entry_id":"13.0/changes/038","source_hash":"95936c0ebe7b72fee353dadbe162a4372ec3cb664b34381d875e205412cffdf7","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"b1b838c9f484907552e2630e233ff18d2a0ceb7b2cd58bc755c6638ded7b66cd","text":"增加系统视图 pg_stat_progress_analyze，以报告 ANALYZE 进度（Álvaro Herrera，Tatsuro Yamada，Vinayak Pokale）§","title":"增加系统视图 pg_stat_progress_analyze，以报告 ANALYZE 进度","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ed10f32e3"],"commit_groups":[["ed10f32e3"]],"commits":["ed10f32e3"],"cves":[],"db_id":"cba4db38ac0164a9d21fde5b11b6d07d","html":"\u003cp\u003e增加系统视图 \u003ca href=\"/docs/13/view-pg-shmem-allocations.html\" title=\"51.87. pg_shmem_allocations\"\u003e\u003ccode\u003epg_shmem_allocations\u003c/code\u003e\u003c/a\u003e，以显示共享内存使用情况（Andres Freund，Robert Haas）\u003ca href=\"https://postgr.es/c/ed10f32e3\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-1b8d3baa5b983902","identity_text":"Add system view pg_shmem_allocations to display shared memory usage (Andres Freund, Robert Haas)","part":"changes","patch_ids":["d2d0ffce2915c3bd42733485b3aee687"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["ed10f32e3"],"source_entry_id":"13.0/changes/039","source_hash":"9efc244ed6000d308e65e57cfe8ced07c424aa35768ad447f29cfa857525e6df","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"4ebeba8e5fbeb44a2759c0b3b23eae36b77ea775ab42c97819b95c2656b7c77f","text":"增加系统视图 pg_shmem_allocations，以显示共享内存使用情况（Andres Freund，Robert Haas）§","title":"增加系统视图 pg_shmem_allocations，以显示共享内存使用情况","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["28cac71bd"],"commit_groups":[["28cac71bd"]],"commits":["28cac71bd"],"cves":[],"db_id":"4ac603ffd8700dfbbb1b178dad2f0291","html":"\u003cp\u003e增加系统视图 \u003ca href=\"/docs/13/monitoring-stats.html#MONITORING-STATS-VIEWS-TABLE\" title=\"表 27.2. 已收集统计信息的视图\"\u003e\u003ccode\u003epg_stat_slru\u003c/code\u003e\u003c/a\u003e，以监控内部 \u003cacronym\u003eSLRU\u003c/acronym\u003e 缓存（Tomas Vondra）\u003ca href=\"https://postgr.es/c/28cac71bd\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-a72bfbf53fc8a97a","identity_text":"Add system view pg_stat_slru to monitor internal SLRU caches (Tomas Vondra)","part":"changes","patch_ids":["d3f0356030aac8aa504f09a9db23373c"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["28cac71bd"],"source_entry_id":"13.0/changes/040","source_hash":"50fd7875ce57d8a4cf5bff2b01b2202e84a84742a0157f53507aff3a1aad6afe","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"f227196df87df56552b46927586f89258080083396a177907c13380b9637f8ea","text":"增加系统视图 pg_stat_slru，以监控内部 SLRU 缓存（Tomas Vondra）§","title":"增加系统视图 pg_stat_slru，以监控内部 SLRU 缓存","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["814727858"],"commit_groups":[["814727858"]],"commits":["814727858"],"cves":[],"db_id":"1170c2e60e7bbe067fa09f4e9a55b00a","html":"\u003cp\u003e允许将\u003ca href=\"/docs/13/runtime-config-statistics.html#GUC-TRACK-ACTIVITY-QUERY-SIZE\"\u003etrack_activity_query_size\u003c/a\u003e设置为最高 1MB（Vyacheslav Makarov）\u003ca href=\"https://postgr.es/c/814727858\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前的最大值为 100kB。\u003c/p\u003e","id":"13.0-0e1ad5666cf74b95","identity_text":"Allow guc-track-activity-query-size to be set as high as 1MB (Vyacheslav Makarov) The previous maximum was 100kB.","part":"changes","patch_ids":["bf97a0a3c183a355a1d122307df06933"],"related_changes":[],"relations":[],"section":"服务器 / 系统视图","section_path":["服务器","系统视图"],"source_commits":["814727858"],"source_entry_id":"13.0/changes/041","source_hash":"c88a542e752b5c2dc9dcdda9577ba71511df010d224db0cd9a584896e22284c7","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.7","statement_hash":"cf8794c0b094a8c67e221836d2a4030b0980db77036b83a8229ae1ceba7c8134","text":"允许将track_activity_query_size设置为最高 1MB（Vyacheslav Makarov）§ 以前的最大值为 100kB。","title":"允许将track_activity_query_size设置为最高 1MB","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ef02fb15a"],"commit_groups":[["ef02fb15a"]],"commits":["ef02fb15a"],"cves":[],"db_id":"4cc4f68ab90a326ee93be5a2e752a028","html":"\u003cp\u003e使用 \u003ccode\u003eposix_fallocate()\u003c/code\u003e 创建 DSM 段时报告等待事件（Thomas Munro）\u003ca href=\"https://postgr.es/c/ef02fb15a\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-1b8f0faedc891254","identity_text":"Report a wait event while creating a DSM segment with posix_fallocate() (Thomas Munro)","part":"changes","patch_ids":["ff3febcddeaf331f02b7fabffbf20ed4"],"related_changes":[],"relations":[],"section":"服务器 / 等待事件","section_path":["服务器","等待事件"],"source_commits":["ef02fb15a"],"source_entry_id":"13.0/changes/042","source_hash":"827d946fcbd20e09f82a3961ba03323796bc92d5700fe179b21fd020900be56e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.8","statement_hash":"66476d803519ef5d3ae621b4dc36c36b14ff4e9fffa68fec01f21648beca68f2","text":"使用 posix_fallocate() 创建 DSM 段时报告等待事件（Thomas Munro）§","title":"使用 posix_fallocate() 创建 DSM 段时报告等待事件","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["cedffbdb8"],"commit_groups":[["cedffbdb8"]],"commits":["cedffbdb8"],"cves":[],"db_id":"f8e060090e970c464b4288abe46d6d5f","html":"\u003cp\u003e增加等待事件 VacuumDelay，以报告基于代价的清理延迟（Justin Pryzby）\u003ca href=\"https://postgr.es/c/cedffbdb8\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-d1933737ee185036","identity_text":"Add wait event VacuumDelay to report on cost-based vacuum delay (Justin Pryzby)","part":"changes","patch_ids":["37e1b1003b1d18374b97562b7bc17a9b"],"related_changes":[],"relations":[],"section":"服务器 / 等待事件","section_path":["服务器","等待事件"],"source_commits":["cedffbdb8"],"source_entry_id":"13.0/changes/043","source_hash":"5773676cc2f68f1e0dbd1e2163ea9b22673b4de138de51352f7e2b25741756c4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.8","statement_hash":"7bc8ff86a40914648be320bdce08e73d9848768f2d359beea99252d39313dc8c","text":"增加等待事件 VacuumDelay，以报告基于代价的清理延迟（Justin Pryzby）§","title":"增加等待事件 VacuumDelay，以报告基于代价的清理延迟","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b8e20d6da"],"commit_groups":[["b8e20d6da"]],"commits":["b8e20d6da"],"cves":[],"db_id":"3c5c0ec2c2eaaf0e60de9d8776cca018","html":"\u003cp\u003e为 \u003cacronym\u003eWAL\u003c/acronym\u003e 归档和恢复暂停增加等待事件（Fujii Masao）\u003ca href=\"https://postgr.es/c/b8e20d6da\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新增事件为 BackupWaitWalArchive 和 RecoveryPause。\u003c/p\u003e","id":"13.0-a64b2a48663380a1","identity_text":"Add wait events for WAL archive and recovery pause (Fujii Masao) The new events are BackupWaitWalArchive and RecoveryPause.","part":"changes","patch_ids":["6fe0a06951d273b69d16762c4bbd476d"],"related_changes":[],"relations":[],"section":"服务器 / 等待事件","section_path":["服务器","等待事件"],"source_commits":["b8e20d6da"],"source_entry_id":"13.0/changes/044","source_hash":"e96b3f4bbe439ca9ed1fb70f6a06424c4b82bf8776ac994ee2ad39f768498b8a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.8","statement_hash":"1455246aa9e8be1b2c6db7f90fd462c183efc2b262421b54a0f53189470dcd8d","text":"为 WAL 归档和恢复暂停增加等待事件（Fujii Masao）§ 新增事件为 BackupWaitWalArchive 和 RecoveryPause。","title":"为 WAL 归档和恢复暂停增加等待事件","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["18808f8c8"],"commit_groups":[["18808f8c8"]],"commits":["18808f8c8"],"cves":[],"db_id":"18551dad406ad2db47d34eac3fe960a8","html":"\u003cp\u003e增加等待事件 RecoveryConflictSnapshot 和 RecoveryConflictTablespace，以监控恢复冲突（Masahiko Sawada）\u003ca href=\"https://postgr.es/c/18808f8c8\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-3c2868ca5caef8a8","identity_text":"Add wait events RecoveryConflictSnapshot and RecoveryConflictTablespace to monitor recovery conflicts (Masahiko Sawada)","part":"changes","patch_ids":["f6119c017b405cdac8f6d130d83da14f"],"related_changes":[],"relations":[],"section":"服务器 / 等待事件","section_path":["服务器","等待事件"],"source_commits":["18808f8c8"],"source_entry_id":"13.0/changes/045","source_hash":"548d1dd2d926b717d99f3836ed6e79841853ca9e3fc9ec2ada1a41ce520853e9","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.8","statement_hash":"60b28341cf367db6caaa1a879ab3c02364e4bb58eee1c4efb0f3edb7f66c70e9","text":"增加等待事件 RecoveryConflictSnapshot 和 RecoveryConflictTablespace，以监控恢复冲突（Masahiko Sawada）§","title":"增加等待事件 RecoveryConflictSnapshot 和 RecoveryConflictTablespace，以监控恢复冲突","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["815c2f097"],"commit_groups":[["815c2f097"]],"commits":["815c2f097"],"cves":[],"db_id":"49a30a50342df4fd32c125ea122f1a25","html":"\u003cp\u003e提高基于 \u003cacronym\u003eBSD\u003c/acronym\u003e 的系统上的等待事件性能（Thomas Munro）\u003ca href=\"https://postgr.es/c/815c2f097\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-06d77f031c9ce92f","identity_text":"Improve performance of wait events on BSD-based systems (Thomas Munro)","part":"changes","patch_ids":["7997291c64481ef3186b842291852cf4"],"related_changes":[],"relations":[],"section":"服务器 / 等待事件","section_path":["服务器","等待事件"],"source_commits":["815c2f097"],"source_entry_id":"13.0/changes/046","source_hash":"69f83a91fc14e426f8beffe2317bdab23f2bcb05549e2273d8cc94a01c924b43","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.8","statement_hash":"300271c104184e5ec2c00e0c6dc5a11c973212edbcb91fd4f7dd8000e2526019","text":"提高基于 BSD 的系统上的等待事件性能（Thomas Munro）§","title":"提高基于 BSD 的系统上的等待事件性能","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d9249441e"],"commit_groups":[["d9249441e"]],"commits":["d9249441e"],"cves":[],"db_id":"c66ac81f2a3b5ecd323a61be808b8429","html":"\u003cp\u003e只允许超级用户查看\u003ca href=\"/docs/13/runtime-config-connection.html#GUC-SSL-PASSPHRASE-COMMAND\"\u003essl_passphrase_command\u003c/a\u003e设置（Insung Moon）\u003ca href=\"https://postgr.es/c/d9249441e\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e此项修改出于安全考虑。\u003c/p\u003e","id":"13.0-ce4ef8ca83cd7206","identity_text":"Allow only superusers to view the guc-ssl-passphrase-command setting (Insung Moon) This was changed as a security precaution.","part":"changes","patch_ids":["5280dc5a8da5303479b58c8240552d8c"],"related_changes":[],"relations":[],"section":"服务器 / Authentication","section_path":["服务器","Authentication"],"source_commits":["d9249441e"],"source_entry_id":"13.0/changes/047","source_hash":"226c42b74a60629e3f8a4260a367987baac11178c074d5f8aa01046752e6fc79","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.9","statement_hash":"9c0220af1b7541e620bd0ca827dcfbb7c50c38d697dc0fcd4e076808b3d60681","text":"只允许超级用户查看ssl_passphrase_command设置（Insung Moon）§ 此项修改出于安全考虑。","title":"只允许超级用户查看ssl_passphrase_command设置","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b1abfec82"],"commit_groups":[["b1abfec82"]],"commits":["b1abfec82"],"cves":[],"db_id":"5c2c5a268df7491419c32bc517eaea8c","html":"\u003cp\u003e将服务器加密连接默认允许的最低 \u003cacronym\u003eTLS\u003c/acronym\u003e 版本从 1.0 改为 1.2（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/b1abfec82\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e可以通过\u003ca href=\"/docs/13/runtime-config-connection.html#GUC-SSL-MIN-PROTOCOL-VERSION\"\u003essl_min_protocol_version\u003c/a\u003e控制这一选择。\u003c/p\u003e","id":"13.0-4f65efe7f0f9e292","identity_text":"Change the server's default minimum TLS version for encrypted connections from 1.0 to 1.2 (Peter Eisentraut) This choice can be controlled by guc-ssl-min-protocol-version .","part":"changes","patch_ids":["7ad6a5fe72361815924c7802609eaf1c"],"related_changes":[],"relations":[],"section":"服务器 / Authentication","section_path":["服务器","Authentication"],"source_commits":["b1abfec82"],"source_entry_id":"13.0/changes/048","source_hash":"c6b0eba6301163530b5745be783c8877ab471814003afbd69cf45f845c9037c9","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.9","statement_hash":"4a13db69ffd2882e8200179c884898dae52dc72e16d20356bf6f7195e2c9f608","text":"将服务器加密连接默认允许的最低 TLS 版本从 1.0 改为 1.2（Peter Eisentraut）§ 可以通过ssl_min_protocol_version控制这一选择。","title":"将服务器加密连接默认允许的最低 TLS 版本从 1.0 改为 1.2","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2eb34ac36"],"commit_groups":[["2eb34ac36"]],"commits":["2eb34ac36"],"cves":[],"db_id":"3f841bd64c40391a956b84092c26442f","html":"\u003cp\u003e收紧关于只读事务模式下允许执行哪些实用命令的规则（Robert Haas）\u003ca href=\"https://postgr.es/c/2eb34ac36\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e此项修改还增加了可在并行查询中运行的实用命令数量。\u003c/p\u003e","id":"13.0-8baf37c1017aee58","identity_text":"Tighten rules on which utility commands are allowed in read-only transaction mode (Robert Haas) This change also increases the number of utility commands that can run in parallel queries.","part":"changes","patch_ids":["7d03e2a8274f02d98945329edc68e378"],"related_changes":[],"relations":[],"section":"服务器 / 服务器配置","section_path":["服务器","服务器配置"],"source_commits":["2eb34ac36"],"source_entry_id":"13.0/changes/049","source_hash":"38e74dfdae557f021130443065eb136f078a15ff7eb2847bbbb73910f765b401","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.10","statement_hash":"8fe790f3c0f31459a2487610657bbf8256e98f5e3f53a9a453f354afdb4e3a57","text":"收紧关于只读事务模式下允许执行哪些实用命令的规则（Robert Haas）§ 此项修改还增加了可在并行查询中运行的实用命令数量。","title":"收紧关于只读事务模式下允许执行哪些实用命令的规则","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c4a7a392e"],"commit_groups":[["c4a7a392e"]],"commits":["c4a7a392e"],"cves":[],"db_id":"9e89d87637b1b9e7d2afa6f5a00ae036","html":"\u003cp\u003e允许在服务器启动后修改\u003ca href=\"/docs/13/runtime-config-developer.html#GUC-ALLOW-SYSTEM-TABLE-MODS\"\u003eallow_system_table_mods\u003c/a\u003e（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/c4a7a392e\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c73013e1bc78e314","identity_text":"Allow guc-allow-system-table-mods to be changed after server start (Peter Eisentraut)","part":"changes","patch_ids":["cd9fcb222f261787497a20ccb7db1cd7"],"related_changes":[],"relations":[],"section":"服务器 / 服务器配置","section_path":["服务器","服务器配置"],"source_commits":["c4a7a392e"],"source_entry_id":"13.0/changes/050","source_hash":"12b0ba5414b928e3869101f3390ccee89605a91c8904cce92c42c501494fc396","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.10","statement_hash":"740b7abc54511ea4ef9b23e51c8b02d585bcb76088b628e407a6a3aa43c2b817","text":"允许在服务器启动后修改allow_system_table_mods（Peter Eisentraut）§","title":"允许在服务器启动后修改allow_system_table_mods","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["508bf95b7"],"commit_groups":[["508bf95b7"]],"commits":["508bf95b7"],"cves":[],"db_id":"e31f4c31f6f53e0ec0a56b0bba443c2f","html":"\u003cp\u003e在设置\u003ca href=\"/docs/13/runtime-config-developer.html#GUC-ALLOW-SYSTEM-TABLE-MODS\"\u003eallow_system_table_mods\u003c/a\u003e时，禁止非超级用户修改系统表（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/508bf95b7\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，如果在服务器启动时设置了\u003ca href=\"/docs/13/runtime-config-developer.html#GUC-ALLOW-SYSTEM-TABLE-MODS\"\u003eallow_system_table_mods\u003c/a\u003e，非超级用户就可以对系统表执行 \u003ccode\u003eINSERT\u003c/code\u003e/\u003ccode\u003eUPDATE\u003c/code\u003e/\u003ccode\u003eDELETE\u003c/code\u003e 命令。\u003c/p\u003e","id":"13.0-ae1223a4f885c222","identity_text":"Disallow non-superusers from modifying system tables when guc-allow-system-table-mods is set (Peter Eisentraut) Previously, if guc-allow-system-table-mods was set at server start, non-superusers could issue INSERT/UPDATE/DELETE commands on system tables.","part":"changes","patch_ids":["5ac2835ad7c212ab93f49d2f731977c8"],"related_changes":[],"relations":[],"section":"服务器 / 服务器配置","section_path":["服务器","服务器配置"],"source_commits":["508bf95b7"],"source_entry_id":"13.0/changes/051","source_hash":"695c93636bc72f14b4a2580068be6b826cd70208926ef549f993e7c2242b8f5f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.10","statement_hash":"13747ec7824c60a01b218a1442d90ca658debc27b19da8f0d45e366bb272c133","text":"在设置allow_system_table_mods时，禁止非超级用户修改系统表（Peter Eisentraut）§ 以前，如果在服务器启动时设置了allow_system_table_mods，非超级用户就可以对系统表执行 INSERT/UPDATE/DELETE 命令。","title":"在设置allow_system_table_mods时，禁止非超级用户修改系统表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8f3ec75de"],"commit_groups":[["8f3ec75de"]],"commits":["8f3ec75de"],"cves":[],"db_id":"085a6be2139c683f39bc852acb6047da","html":"\u003cp\u003e在 Windows 上启用 \u003ca href=\"/docs/13/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS\" title=\"19.3.1. 连接设置\"\u003eUnix 域套接字\u003c/a\u003e支持（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/8f3ec75de\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-b479106d389cd02d","identity_text":"Enable support for Unix-domain sockets on Windows (Peter Eisentraut)","part":"changes","patch_ids":["2df2d63d3558909645f3e95415869b78"],"related_changes":[],"relations":[],"section":"服务器 / 服务器配置","section_path":["服务器","服务器配置"],"source_commits":["8f3ec75de"],"source_entry_id":"13.0/changes/052","source_hash":"870ffbbc6dd8154cef58e9ddf5f2b6e790b52111b54f0fa717ae17d70f1aca5f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.3.10","statement_hash":"bc449d57dbff88a63bd227b82e80cc902427f599b4f3f72d74542af75a9cbf0d","text":"在 Windows 上启用 Unix 域套接字支持（Peter Eisentraut）§","title":"在 Windows 上启用 Unix 域套接字支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1e6148032"],"commit_groups":[["1e6148032"]],"commits":["1e6148032"],"cves":[],"db_id":"d0505e2cb7f102e3e085be5d4d522af6","html":"\u003cp\u003e允许通过重载更改流复制配置设置（Sergei Kornilov）\u003ca href=\"https://postgr.es/c/1e6148032\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，更改\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-PRIMARY-CONNINFO\"\u003eprimary_conninfo\u003c/a\u003e和\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-PRIMARY-SLOT-NAME\"\u003eprimary_slot_name\u003c/a\u003e需要重启服务器。\u003c/p\u003e","id":"13.0-c4986c9592f7281e","identity_text":"Allow streaming replication configuration settings to be changed by reload (Sergei Kornilov) Previously, a server restart was required to change guc-primary-conninfo and guc-primary-slot-name .","part":"changes","patch_ids":["b24cedea135a297c03667904d6bfe734"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["1e6148032"],"source_entry_id":"13.0/changes/053","source_hash":"8b377a2a3c1cdc3523750f5f949de1ecf799d56c0dbcce8ec4bc8f63270a197b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"463baf5e6ec87607839da705f542525b6a3154b4c33c9ef9f7a9c28bb01ee40d","text":"允许通过重载更改流复制配置设置（Sergei Kornilov）§ 以前，更改primary_conninfo和primary_slot_name需要重启服务器。","title":"允许通过重载更改流复制配置设置","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["092c6936d","329730827"],"commit_groups":[["092c6936d"],["329730827"]],"commits":["092c6936d","329730827"],"cves":[],"db_id":"ea2877c8cb768c4a3911e75b41113785","html":"\u003cp\u003e允许 \u003cacronym\u003eWAL\u003c/acronym\u003e 接收进程在未指定永久复制槽时使用临时复制槽（Peter Eisentraut，Sergei Kornilov）\u003ca href=\"https://postgr.es/c/329730827\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/092c6936d\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e可以使用\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-WAL-RECEIVER-CREATE-TEMP-SLOT\"\u003ewal_receiver_create_temp_slot\u003c/a\u003e启用此行为。\u003c/p\u003e","id":"13.0-c883484ddbcb0521","identity_text":"Allow WAL receivers to use a temporary replication slot when a permanent one is not specified (Peter Eisentraut, Sergei Kornilov) This behavior can be enabled using guc-wal-receiver-create-temp-slot .","part":"changes","patch_ids":["3c629804e6f984eceaf172deb0a1589d","de0e9551aee5abf4bbafd350c8d5c725"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["092c6936d","329730827"],"source_entry_id":"13.0/changes/054","source_hash":"6418c303e2a89e7b07e7524311a5c1adbf78f7d60f8eba946dff4f942940d46f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"cc6cafbb7486fa67f5b8d9adcb065a330360a8dbf8fe764f77d20ce2cfa198f3","text":"允许 WAL 接收进程在未指定永久复制槽时使用临时复制槽（Peter Eisentraut，Sergei Kornilov）§ § 可以使用wal_receiver_create_temp_slot启用此行为。","title":"允许 WAL 接收进程在未指定永久复制槽时使用临时复制槽","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c65507763"],"commit_groups":[["c65507763"]],"commits":["c65507763"],"cves":[],"db_id":"110211fc7e7685a87adb6710b56b43e5","html":"\u003cp\u003e允许通过\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-MAX-SLOT-WAL-KEEP-SIZE\"\u003emax_slot_wal_keep_size\u003c/a\u003e限制复制槽的 WAL 存储量（Kyotaro Horiguchi）\u003ca href=\"https://postgr.es/c/c65507763\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e需要超过此值的复制槽会被标记为无效。\u003c/p\u003e","id":"13.0-0594c433c92f0e46","identity_text":"Allow WAL storage for replication slots to be limited by guc-max-slot-wal-keep-size (Kyotaro Horiguchi) Replication slots that would require exceeding this value are marked invalid.","part":"changes","patch_ids":["60c0ed98bb39ff47b8b77fc8c96f0458"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["c65507763"],"source_entry_id":"13.0/changes/055","source_hash":"870d0258609dbf9104424fc8cf7f075fc96c798f19ac27cf3d63e28bbd48fc70","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"916f9b60abad1762852445e4836b01f37ed5b1596ea142fda4a335c6368c40b0","text":"允许通过max_slot_wal_keep_size限制复制槽的 WAL 存储量（Kyotaro Horiguchi）§ 需要超过此值的复制槽会被标记为无效。","title":"允许通过max_slot_wal_keep_size限制复制槽的 WAL 存储量","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["496ee647e"],"commit_groups":[["496ee647e"]],"commits":["496ee647e"],"cves":[],"db_id":"f85af48367bb3e0eb4f9b26373696b68","html":"\u003cp\u003e允许\u003ca href=\"/docs/13/runtime-config-replication.html#GUC-PROMOTE-TRIGGER-FILE\"\u003e备库提升\u003c/a\u003e取消任何已请求的暂停（Fujii Masao）\u003ca href=\"https://postgr.es/c/496ee647e\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，备库处于暂停状态时无法提升。\u003c/p\u003e","id":"13.0-4c444aeb4e44e9d7","identity_text":"Allow standby promotion to cancel any requested pause (Fujii Masao) Previously, promotion could not happen while the standby was in paused state.","part":"changes","patch_ids":["7162fd0b5dda9a3a9555ae9ffcb3a29b"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["496ee647e"],"source_entry_id":"13.0/changes/056","source_hash":"b908fa6dc2dd2e7573a2aae30f1cdfc5227684b6a98a4220951455485d848f45","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"05d0f6083463f1395bd4d594aa8309af8f8c37e1011c001ce0d7924ac24c8d10","text":"允许备库提升取消任何已请求的暂停（Fujii Masao）§ 以前，备库处于暂停状态时无法提升。","title":"允许备库提升取消任何已请求的暂停","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["dc788668b"],"commit_groups":[["dc788668b"]],"commits":["dc788668b"],"cves":[],"db_id":"77b80acc34a77ffea5bc5dc1b6d4bb95","html":"\u003cp\u003e如果恢复未到达指定的\u003ca href=\"/docs/13/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET\" title=\"19.5.5. 恢复目标\"\u003e恢复目标\u003c/a\u003e，则产生错误（Leif Gunnar Erlandsen，Peter Eisentraut）\u003ca href=\"https://postgr.es/c/dc788668b\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，即使未到达目标，备库也会在到达 \u003cacronym\u003eWAL\u003c/acronym\u003e 末尾时自行提升。\u003c/p\u003e","id":"13.0-77bbff998a726842","identity_text":"Generate an error if recovery does not reach the specified recovery target (Leif Gunnar Erlandsen, Peter Eisentraut) Previously, a standby would promote itself upon reaching the end of WAL, even if the target was not reached.","part":"changes","patch_ids":["043d34097516e02b303b661eb5f157cc"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["dc788668b"],"source_entry_id":"13.0/changes/057","source_hash":"a4242e1d543af272ba3ca66e31dcea62ead47c486b8920f817a540d124a83f00","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"41149dd4a61e3bdf7ede3011b3776e9576e65e503f2a7a1b6e74fb33867d2c37","text":"如果恢复未到达指定的恢复目标，则产生错误（Leif Gunnar Erlandsen，Peter Eisentraut）§ 以前，即使未到达目标，备库也会在到达 WAL 末尾时自行提升。","title":"如果恢复未到达指定的恢复目标，则产生错误","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["cec2edfa7"],"commit_groups":[["cec2edfa7"]],"commits":["cec2edfa7"],"cves":[],"db_id":"7ccd917692de25d8ae4dd65d0306be35","html":"\u003cp\u003e允许控制逻辑解码在溢写到磁盘之前可以使用多少内存（Tomas Vondra，Dilip Kumar，Amit Kapila）\u003ca href=\"https://postgr.es/c/cec2edfa7\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这由\u003ca href=\"/docs/13/runtime-config-resource.html#GUC-LOGICAL-DECODING-WORK-MEM\"\u003elogical_decoding_work_mem\u003c/a\u003e控制。\u003c/p\u003e","id":"13.0-d02a302fadd64751","identity_text":"Allow control over how much memory is used by logical decoding before it is spilled to disk (Tomas Vondra, Dilip Kumar, Amit Kapila) This is controlled by guc-logical-decoding-work-mem .","part":"changes","patch_ids":["a532f21cdbf2e4ad880e24f2b6e4d871"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["cec2edfa7"],"source_entry_id":"13.0/changes/058","source_hash":"41a5662f166bb1635058f113c68f1c893ab8086221871e957115c781dacb8272","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"96de4a3584ba794d000c1756787dc0644dbcf908172edfb04b8958c27ac6474a","text":"允许控制逻辑解码在溢写到磁盘之前可以使用多少内存（Tomas Vondra，Dilip Kumar，Amit Kapila）§ 这由logical_decoding_work_mem控制。","title":"允许控制逻辑解码在溢写到磁盘之前可以使用多少内存","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["41c184bc6"],"commit_groups":[["41c184bc6"]],"commits":["41c184bc6"],"cves":[],"db_id":"a973ea53ebce821fb732b93cfef17dbb","html":"\u003cp\u003e允许在 \u003cacronym\u003eWAL\u003c/acronym\u003e 引用无效页面时仍继续恢复（Fujii Masao）\u003ca href=\"https://postgr.es/c/41c184bc6\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e可以使用\u003ca href=\"/docs/13/runtime-config-developer.html#GUC-IGNORE-INVALID-PAGES\"\u003eignore_invalid_pages\u003c/a\u003e启用此功能。\u003c/p\u003e","id":"13.0-71f98bc622cbce98","identity_text":"Allow recovery to continue even if invalid pages are referenced by WAL (Fujii Masao) This is enabled using guc-ignore-invalid-pages .","part":"changes","patch_ids":["8a817a60461bc1bb19f7799d2c329690"],"related_changes":[],"relations":[],"section":"流复制和恢复","section_path":["流复制和恢复"],"source_commits":["41c184bc6"],"source_entry_id":"13.0/changes/059","source_hash":"6ec200812b6ad4cec0918c3f9b747705f82eb5085ba0276a1d6f5ecde78d267f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.4","statement_hash":"265a9f63d0731f9c9381933d095869d8f52f32b13691b0e87d141379cf5a4db9","text":"允许在 WAL 引用无效页面时仍继续恢复（Fujii Masao）§ 可以使用ignore_invalid_pages启用此功能。","title":"允许在 WAL 引用无效页面时仍继续恢复","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["40d964ec9"],"commit_groups":[["40d964ec9"]],"commits":["40d964ec9"],"cves":[],"db_id":"cf5f1bf04f38474a35b23c6e8730f5be","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003ccode\u003eVACUUM\u003c/code\u003e\u003c/a\u003e 并行处理一个表的各个索引（Masahiko Sawada，Amit Kapila）\u003ca href=\"https://postgr.es/c/40d964ec9\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新增的 \u003ccode\u003ePARALLEL\u003c/code\u003e 选项控制此行为。\u003c/p\u003e","id":"13.0-d08d6af9ae56c8c0","identity_text":"Allow VACUUM to process a table's indexes in parallel (Masahiko Sawada, Amit Kapila) The new PARALLEL option controls this.","part":"changes","patch_ids":["81966cbd859a9b651705aeb1297d84c1"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["40d964ec9"],"source_entry_id":"13.0/changes/060","source_hash":"8c5fb4badc383f663abb314c7ba271e41d78b1b22fd2de2573df755dbbf42cad","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"4d37e4010fd7be3258aa32e99e29420d020e5135bb87054534898c9cc560ee6e","text":"允许 VACUUM 并行处理一个表的各个索引（Masahiko Sawada，Amit Kapila）§ 新增的 PARALLEL 选项控制此行为。","title":"允许 VACUUM 并行处理一个表的各个索引","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["357889eb1"],"commit_groups":[["357889eb1"]],"commits":["357889eb1"],"cves":[],"db_id":"758167f947d41f691132c5a0b79c738d","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/sql-select.html#SQL-LIMIT\" title=\"LIMIT 子句\"\u003e\u003ccode\u003eFETCH FIRST\u003c/code\u003e\u003c/a\u003e 使用 \u003ccode\u003eWITH TIES\u003c/code\u003e 返回与最后一个结果行的排序值相同的所有额外行（Surafel Temesgen）\u003ca href=\"https://postgr.es/c/357889eb1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-a539ec8b2160341b","identity_text":"Allow FETCH FIRST to use WITH TIES to return any additional rows that match the last result row (Surafel Temesgen)","part":"changes","patch_ids":["0722c634d85b79722461a3c3d7a52374"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["357889eb1"],"source_entry_id":"13.0/changes/061","source_hash":"0a5a209cdae566268f5bbc156e3545329214c9b3a0b713582c510e3cb63de91d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"1934d04ca961148f105c5943abc1e0270a1f7b0f501aac9cf3ed2b243bb81994","text":"允许 FETCH FIRST 使用 WITH TIES 返回与最后一个结果行的排序值相同的所有额外行（Surafel Temesgen）§","title":"允许 FETCH FIRST 使用 WITH TIES 返回与最后一个结果行的排序值相同的所有额外行","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ce77abe63"],"commit_groups":[["ce77abe63"]],"commits":["ce77abe63"],"cves":[],"db_id":"8f07d9accb5991fa6400a4429b787491","html":"\u003cp\u003e在 \u003ca href=\"/docs/13/sql-explain.html\" title=\"EXPLAIN\"\u003e\u003ccode\u003eEXPLAIN\u003c/code\u003e\u003c/a\u003e 的 \u003ccode\u003eBUFFER\u003c/code\u003e 输出中报告规划期间的缓冲区使用情况（Julien Rouhaud）\u003ca href=\"https://postgr.es/c/ce77abe63\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-20615200860ee550","identity_text":"Report planning-time buffer usage in EXPLAIN's BUFFER output (Julien Rouhaud)","part":"changes","patch_ids":["600fc008248baef05e03a4746a9853fc"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["ce77abe63"],"source_entry_id":"13.0/changes/062","source_hash":"5f768b3880d7ce630ba8e0b2a592f0aacc75ac47f2903183b5375047004eaf7e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"fbc91931464891df07f845627e2b99ac0f0f34140fb6a72298704109e749abbe","text":"在 EXPLAIN 的 BUFFER 输出中报告规划期间的缓冲区使用情况（Julien Rouhaud）§","title":"在 EXPLAIN 的 BUFFER 输出中报告规划期间的缓冲区使用情况","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["cacef1722"],"commit_groups":[["cacef1722"]],"commits":["cacef1722"],"cves":[],"db_id":"2a1767e797337dae88fa6fb7fa257b84","html":"\u003cp\u003e使 \u003ca href=\"/docs/13/sql-createtable.html\" title=\"CREATE TABLE\"\u003e\u003ccode\u003eCREATE TABLE LIKE\u003c/code\u003e\u003c/a\u003e 将 \u003ccode\u003eCHECK\u003c/code\u003e 约束的 \u003ccode\u003eNO INHERIT\u003c/code\u003e 属性传递给所创建的表（Ildar Musin，Chris Travers）\u003ca href=\"https://postgr.es/c/cacef1722\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-e90bde58cbd1a875","identity_text":"Make CREATE TABLE LIKE propagate a CHECK constraint's NO INHERIT property to the created table (Ildar Musin, Chris Travers)","part":"changes","patch_ids":["8deb804e5729e0cb774f15860f71b5ea"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["cacef1722"],"source_entry_id":"13.0/changes/063","source_hash":"0914e5543bad0d497a8b6b5f03e632eb66c8a61da44d4a4dfa0a168bdb704cf5","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"b936a3d20fed8417436b28a331248d1405ca9de80dd53f5469464fe38f4fa7d9","text":"使 CREATE TABLE LIKE 将 CHECK 约束的 NO INHERIT 属性传递给所创建的表（Ildar Musin，Chris Travers）§","title":"使 CREATE TABLE LIKE 将 CHECK 约束的 NO INHERIT 属性传递给所创建的表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b7e51b350"],"commit_groups":[["b7e51b350"]],"commits":["b7e51b350"],"cves":[],"db_id":"ad223e09d65b05a33fd10e892f343b30","html":"\u003cp\u003e对分区表使用 \u003ca href=\"/docs/13/sql-lock.html\" title=\"LOCK\"\u003e\u003ccode\u003eLOCK TABLE\u003c/code\u003e\u003c/a\u003e 时，不检查子表上的权限（Amit Langote）\u003ca href=\"https://postgr.es/c/b7e51b350\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-61c4692459348145","identity_text":"When using LOCK TABLE on a partitioned table, do not check permissions on the child tables (Amit Langote)","part":"changes","patch_ids":["55ab6dc638d5c00a6992294ef163c3c0"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["b7e51b350"],"source_entry_id":"13.0/changes/064","source_hash":"d8cbda949883773d712b91c2a5d42465a58a61bf717ff529494ed40e1e1a8e36","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"883db03d1be129e69c9524a51b12bedc0531c36ee3d5395b1239b39c8e9c3f3c","text":"对分区表使用 LOCK TABLE 时，不检查子表上的权限（Amit Langote）§","title":"对分区表使用 LOCK TABLE 时，不检查子表上的权限","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["de3bbfcc9"],"commit_groups":[["de3bbfcc9"]],"commits":["de3bbfcc9"],"cves":[],"db_id":"1a6ad6c838826c96b5e51935250ab35a","html":"\u003cp\u003e允许向标识列插入时使用 \u003ca href=\"/docs/13/sql-insert.html\" title=\"INSERT\"\u003e\u003ccode\u003eOVERRIDING USER VALUE\u003c/code\u003e\u003c/a\u003e（Dean Rasheed）\u003ca href=\"https://postgr.es/c/de3bbfcc9\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-116a7ae63f48b779","identity_text":"Allow OVERRIDING USER VALUE on inserts into identity columns (Dean Rasheed)","part":"changes","patch_ids":["e3afc56ca7ad296f02951aa2cecadaaa"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["de3bbfcc9"],"source_entry_id":"13.0/changes/065","source_hash":"a3af6b41de8c028527b409028ad4c4353ab999c42c74d6f54c7478f2cb31c177","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"4b7dc0af9747eb0f3ea238a31b4627478d842bc0f962a9e859846fbd42073111","text":"允许向标识列插入时使用 OVERRIDING USER VALUE（Dean Rasheed）§","title":"允许向标识列插入时使用 OVERRIDING USER VALUE","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f595117e2"],"commit_groups":[["f595117e2"]],"commits":["f595117e2"],"cves":[],"db_id":"be5da8da8cf68702f9985b784015e0c0","html":"\u003cp\u003e增加 \u003ca href=\"/docs/13/sql-altertable.html\" title=\"ALTER TABLE\"\u003e\u003ccode\u003eALTER TABLE ... DROP EXPRESSION\u003c/code\u003e\u003c/a\u003e，以允许移除列的 \u003ccode\u003eGENERATED\u003c/code\u003e 属性（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/f595117e2\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c8d79bf3fb03f75c","identity_text":"Add ALTER TABLE ... DROP EXPRESSION to allow removing the GENERATED property from a column (Peter Eisentraut)","part":"changes","patch_ids":["1e49a2990cdf1aa180697a8c3055a6de"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["f595117e2"],"source_entry_id":"13.0/changes/066","source_hash":"69479a9c46c2ce8b78485f035e9b5a2b37ce88393c21be215d3bcf43e0f7e3a3","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"9a8d670fa1ec2f99924dbf4cfc75d2a60fddd716b6325170b4304d0f4f82cfe0","text":"增加 ALTER TABLE ... DROP EXPRESSION，以允许移除列的 GENERATED 属性（Peter Eisentraut）§","title":"增加 ALTER TABLE ... DROP EXPRESSION，以允许移除列的 GENERATED 属性","variants":[],"version":"13.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["1281a5c90"],"commit_groups":[["1281a5c90"]],"commits":["1281a5c90"],"cves":[],"db_id":"cc302a41190b65a4967014539fe1fc20","html":"\u003cp\u003e修复多步骤 \u003ccode\u003eALTER TABLE\u003c/code\u003e 命令中的缺陷（Tom Lane）\u003ca href=\"https://postgr.es/c/1281a5c90\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eIF NOT EXISTS\u003c/code\u003e 子句现在按预期工作：如果列已存在，就不会执行派生操作（例如创建索引）。另外，将相关操作合并到一条 \u003ccode\u003eALTER TABLE\u003c/code\u003e 中的某些情况，以前无法正常工作，现在也已可用。\u003c/p\u003e","id":"13.0-e4f741ff124502f2","identity_text":"Fix bugs in multi-step ALTER TABLE commands (Tom Lane) IF NOT EXISTS clauses now work as expected, in that derived actions (such as index creation) do not execute if the column already exists. Also, certain cases of combining related actions into one ALTER TABLE now work when they did not before.","part":"changes","patch_ids":["2f8c8a4fbd0230ca2bcc14c05668ca67"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["1281a5c90"],"source_entry_id":"13.0/changes/067","source_hash":"8a705852a509054a8ea12e82d822b113314d4ff37cfb4e922d351065249075b2","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"11c9aac65b733ab0100f78933573bf3b6bb29b6006220a8678521cf8c291aa8b","text":"修复多步骤 ALTER TABLE 命令中的缺陷（Tom Lane）§ IF NOT EXISTS 子句现在按预期工作：如果列已存在，就不会执行派生操作（例如创建索引）。另外，将相关操作合并到一条 ALTER TABLE 中的某些情况，以前无法正常工作，现在也已可用。","title":"修复多步骤 ALTER TABLE 命令中的缺陷","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["30840c92a"],"commit_groups":[["30840c92a"]],"commits":["30840c92a"],"cves":[],"db_id":"84484d08c97382d08ed635f4c9c97732","html":"\u003cp\u003e增加用于重命名视图列的 \u003ca href=\"/docs/13/sql-alterview.html\" title=\"ALTER VIEW\"\u003e\u003ccode\u003eALTER VIEW\u003c/code\u003e\u003c/a\u003e 语法（Fujii Masao）\u003ca href=\"https://postgr.es/c/30840c92a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前已经可以重命名视图列，但必须写成 \u003ccode\u003eALTER TABLE RENAME COLUMN\u003c/code\u003e，这令人困惑。\u003c/p\u003e","id":"13.0-a0b5f3c2c2a18dae","identity_text":"Add ALTER VIEW syntax to rename view columns (Fujii Masao) Renaming view columns was already possible, but one had to write ALTER TABLE RENAME COLUMN, which is confusing.","part":"changes","patch_ids":["c902672f363b15ead3613dd9190f78cb"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["30840c92a"],"source_entry_id":"13.0/changes/068","source_hash":"2b130f68a5f74b033441cd31be7fc480e406bbaa4e2c5ffcf79facd70b3766f7","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"b6ae2651a09c5c699f396aa078d85620a9f7aa6b6328b267dabf0a3f4128d25d","text":"增加用于重命名视图列的 ALTER VIEW 语法（Fujii Masao）§ 以前已经可以重命名视图列，但必须写成 ALTER TABLE RENAME COLUMN，这令人困惑。","title":"增加用于重命名视图列的 ALTER VIEW 语法","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fe30e7ebf"],"commit_groups":[["fe30e7ebf"]],"commits":["fe30e7ebf"],"cves":[],"db_id":"2f798bfa54abc8d4e5584fde4addb07e","html":"\u003cp\u003e增加 \u003ca href=\"/docs/13/sql-altertype.html\" title=\"ALTER TYPE\"\u003e\u003ccode\u003eALTER TYPE\u003c/code\u003e\u003c/a\u003e 选项，以修改基础类型的 \u003cacronym\u003eTOAST\u003c/acronym\u003e 属性和支持函数（Tomas Vondra，Tom Lane）\u003ca href=\"https://postgr.es/c/fe30e7ebf\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c760d6acaf7ea3ef","identity_text":"Add ALTER TYPE options to modify a base type's TOAST properties and support functions (Tomas Vondra, Tom Lane)","part":"changes","patch_ids":["4ecc919cfbc47008d7afe18311435c55"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["fe30e7ebf"],"source_entry_id":"13.0/changes/069","source_hash":"684a8bac49c1e39937a449c029216ca17abd67d22347493bff1704bc48864a66","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"5db207ded51c198669892ba947e687a430539885b104ab797967fd02a53b7de8","text":"增加 ALTER TYPE 选项，以修改基础类型的 TOAST 属性和支持函数（Tomas Vondra，Tom Lane）§","title":"增加 ALTER TYPE 选项，以修改基础类型的 TOAST 属性和支持函数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["06140c201"],"commit_groups":[["06140c201"]],"commits":["06140c201"],"cves":[],"db_id":"753c38fd0c0a897330a68e7b56c01304","html":"\u003cp\u003e增加 \u003ca href=\"/docs/13/sql-createdatabase.html\" title=\"CREATE DATABASE\"\u003e\u003ccode\u003eCREATE DATABASE\u003c/code\u003e\u003c/a\u003e 的 \u003ccode\u003eLOCALE\u003c/code\u003e 选项（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/06140c201\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这将现有的 \u003ccode\u003eLC_COLLATE\u003c/code\u003e 和 \u003ccode\u003eLC_CTYPE\u003c/code\u003e 选项合并为单个选项。\u003c/p\u003e","id":"13.0-559943474c45d76f","identity_text":"Add CREATE DATABASE LOCALE option (Peter Eisentraut) This combines the existing options LC_COLLATE and LC_CTYPE into a single option.","part":"changes","patch_ids":["401f1d5e36c99145cd07b94c944949c7"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["06140c201"],"source_entry_id":"13.0/changes/070","source_hash":"4b6fc481ce9b9fc0ded987c7af32f7225efe7d632810b7ae7047988d8f1f834a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"05b37b0f519737c502ae03946f6ed6e56d4ee38fbcd91f2a882bc7f2051268a5","text":"增加 CREATE DATABASE 的 LOCALE 选项（Peter Eisentraut）§ 这将现有的 LC_COLLATE 和 LC_CTYPE 选项合并为单个选项。","title":"增加 CREATE DATABASE 的 LOCALE 选项","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1379fd537"],"commit_groups":[["1379fd537"]],"commits":["1379fd537"],"cves":[],"db_id":"c0ce12c9e221027935a2dac8861859ff","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/sql-dropdatabase.html\" title=\"DROP DATABASE\"\u003e\u003ccode\u003eDROP DATABASE\u003c/code\u003e\u003c/a\u003e 断开正在使用目标数据库的会话，以使删除成功（Pavel Stehule，Amit Kapila）\u003ca href=\"https://postgr.es/c/1379fd537\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过 \u003ccode\u003eFORCE\u003c/code\u003e 选项启用。\u003c/p\u003e","id":"13.0-64ebe5556325dac8","identity_text":"Allow DROP DATABASE to disconnect sessions using the target database, allowing the drop to succeed (Pavel Stehule, Amit Kapila) This is enabled by the FORCE option.","part":"changes","patch_ids":["38184ef7af1b5d694051c5be13eb663f"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["1379fd537"],"source_entry_id":"13.0/changes/071","source_hash":"e02a480ecb734e4759437f1c13efc310068b80f152e625a35f1ef1c3804fc464","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"445bc3c17fb1e1e9c5d9a8edc078fd1c6193160132ac62bed8f4c15b651993b0","text":"允许 DROP DATABASE 断开正在使用目标数据库的会话，以使删除成功（Pavel Stehule，Amit Kapila）§ 这通过 FORCE 选项启用。","title":"允许 DROP DATABASE 断开正在使用目标数据库的会话，以使删除成功","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["71d60e2aa"],"commit_groups":[["71d60e2aa"]],"commits":["71d60e2aa"],"cves":[],"db_id":"90e704a95f1166eca3ab3747c3de73ac","html":"\u003cp\u003e增加结构成员 \u003ca href=\"/docs/13/trigger-interface.html\" title=\"38.3. 用 C 编写触发器函数\"\u003e\u003ccode\u003etg_updatedcols\u003c/code\u003e\u003c/a\u003e，使 C 语言更新触发器能够知道哪些列被更新（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/71d60e2aa\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-b68a2fea534737ed","identity_text":"Add structure member tg_updatedcols to allow C-language update triggers to know which column(s) were updated (Peter Eisentraut)","part":"changes","patch_ids":["a3ea931a85a831bb97428aa67f12105e"],"related_changes":[],"relations":[],"section":"工具命令","section_path":["工具命令"],"source_commits":["71d60e2aa"],"source_entry_id":"13.0/changes/072","source_hash":"9c1bdce5d8d053249deb52c5b044ac4da8c3d169f357acae25fba6b224d2d5b8","source_url":"/docs/release/13.0/#id-1.11.6.29.5.5","statement_hash":"54d88b10478a770da96283f37554e2768ef3da2d5dbbb79db854b9cde6785a1c","text":"增加结构成员 tg_updatedcols，使 C 语言更新触发器能够知道哪些列被更新（Peter Eisentraut）§","title":"增加结构成员 tg_updatedcols，使 C 语言更新触发器能够知道哪些列被更新","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["24e2885ee"],"commit_groups":[["24e2885ee"]],"commits":["24e2885ee"],"cves":[],"db_id":"77a491b175523af3d3900863a7960cdc","html":"\u003cp\u003e增加多态数据类型，供要求参数类型兼容的函数使用（Pavel Stehule）\u003ca href=\"https://postgr.es/c/24e2885ee\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新增数据类型为 \u003ca href=\"/docs/13/datatype-pseudo.html#DATATYPE-PSEUDOTYPES-TABLE\" title=\"表 8.27. 伪类型\"\u003e\u003ccode\u003eanycompatible\u003c/code\u003e\u003c/a\u003e、\u003ccode\u003eanycompatiblearray\u003c/code\u003e、\u003ccode\u003eanycompatiblenonarray\u003c/code\u003e 和 \u003ccode\u003eanycompatiblerange\u003c/code\u003e。\u003c/p\u003e","id":"13.0-ca8890fc29c3bd28","identity_text":"Add polymorphic data types for use by functions requiring compatible arguments (Pavel Stehule) The new data types are anycompatible, anycompatiblearray, anycompatiblenonarray, and anycompatiblerange.","part":"changes","patch_ids":["a3dd3189ba7ff8e07ae3ff005b7d6cc7"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["24e2885ee"],"source_entry_id":"13.0/changes/073","source_hash":"c1d763e333dfda8a0c60ed6522ce7c3dc18c5b2b1703726801f592a986f53e4f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"af5d83b8c8225114334db658c8c5c13c116f4eb0a5f86f38b31ba73626f365f8","text":"增加多态数据类型，供要求参数类型兼容的函数使用（Pavel Stehule）§ 新增数据类型为 anycompatible、anycompatiblearray、anycompatiblenonarray 和 anycompatiblerange。","title":"增加多态数据类型，供要求参数类型兼容的函数使用","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["aeec457de"],"commit_groups":[["aeec457de"]],"commits":["aeec457de"],"cves":[],"db_id":"8bcb81ac747ec3a08b5d7e1bdf941be5","html":"\u003cp\u003e增加 \u003cacronym\u003eSQL\u003c/acronym\u003e 数据类型 \u003ca href=\"/docs/13/datatype-oid.html\" title=\"8.19. 对象标识符类型\"\u003e\u003ccode\u003exid8\u003c/code\u003e\u003c/a\u003e，以对外提供 FullTransactionId（Thomas Munro）\u003ca href=\"https://postgr.es/c/aeec457de\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e现有的 \u003ccode\u003exid\u003c/code\u003e 数据类型只有四字节，因此不包含事务纪元。\u003c/p\u003e","id":"13.0-5e2a93d410688070","identity_text":"Add SQL data type xid8 to expose FullTransactionId (Thomas Munro) The existing xid data type is only four bytes so it does not provide the transaction epoch.","part":"changes","patch_ids":["3ed44926ceffd5acb458c665c96cfb58"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["aeec457de"],"source_entry_id":"13.0/changes/074","source_hash":"82c608dcdf5fc34ba9d216563d767d16c6edc048504a8d7e4499dc528a1e799d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"64027723f5fa89f4f5e5f12b16a2b642bdf087678e2384a3fad89d01303b775c","text":"增加 SQL 数据类型 xid8，以对外提供 FullTransactionId（Thomas Munro）§ 现有的 xid 数据类型只有四字节，因此不包含事务纪元。","title":"增加 SQL 数据类型 xid8，以对外提供 FullTransactionId","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a2b1faa0f"],"commit_groups":[["a2b1faa0f"]],"commits":["a2b1faa0f"],"cves":[],"db_id":"786fbab9326af95a6ffa057a404afa63","html":"\u003cp\u003e增加数据类型 \u003ca href=\"/docs/13/datatype-oid.html\" title=\"8.19. 对象标识符类型\"\u003e\u003ccode\u003eregcollation\u003c/code\u003e\u003c/a\u003e 及相关函数，以表示排序规则对象的 OID（Julien Rouhaud）\u003ca href=\"https://postgr.es/c/a2b1faa0f\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-fa450aefcd873fbc","identity_text":"Add data type regcollation and associated functions, to represent OIDs of collation objects (Julien Rouhaud)","part":"changes","patch_ids":["1e693527b8710036799a22fb19a1d040"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["a2b1faa0f"],"source_entry_id":"13.0/changes/075","source_hash":"5b2cc84157350128aa7f9222af28d45ac011595be18d7e38d12f1a1a5cb2a43b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"b35e86ad98c0bc664f7c87941e997b16e3fa017a74ae605959f73475311d394e","text":"增加数据类型 regcollation 及相关函数，以表示排序规则对象的 OID（Julien Rouhaud）§","title":"增加数据类型 regcollation 及相关函数，以表示排序规则对象的 OID","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d5ac14f9c"],"commit_groups":[["d5ac14f9c"]],"commits":["d5ac14f9c"],"cves":[],"db_id":"2112991b419924b3c9cce1c25a99b003","html":"\u003cp\u003e在某些情况下使用 glibc 版本作为\u003ca href=\"/docs/13/collation.html\" title=\"23.2. 排序规则支持\"\u003e排序规则\u003c/a\u003e版本标识符（Thomas Munro）\u003ca href=\"https://postgr.es/c/d5ac14f9c\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e如果 glibc 版本发生变化，将发出警告，提示依赖排序规则的索引可能损坏。\u003c/p\u003e","id":"13.0-055f88270bdfed97","identity_text":"Use the glibc version in some cases as a collation version identifier (Thomas Munro) If the glibc version changes, a warning will be issued about possible corruption of collation-dependent indexes.","part":"changes","patch_ids":["dd8938ae23058a0c2360546e02ccde5f"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["d5ac14f9c"],"source_entry_id":"13.0/changes/076","source_hash":"88fdf729ffed84b75085cc232b2b803d7fa7047bd499dd3d01c14c514f0c60e0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"510169bca5deb6093d9d2446f57efad54e9e515e11f02d10feb2ff5aec787541","text":"在某些情况下使用 glibc 版本作为排序规则版本标识符（Thomas Munro）§ 如果 glibc 版本发生变化，将发出警告，提示依赖排序规则的索引可能损坏。","title":"在某些情况下使用 glibc 版本作为排序规则版本标识符","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["352f6f2df"],"commit_groups":[["352f6f2df"]],"commits":["352f6f2df"],"cves":[],"db_id":"5876645bd72a51f36c3b30f431806d2d","html":"\u003cp\u003e增加 Windows 上的排序规则版本支持（Thomas Munro）\u003ca href=\"https://postgr.es/c/352f6f2df\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-93a5b7a8fe2a314b","identity_text":"Add support for collation versions on Windows (Thomas Munro)","part":"changes","patch_ids":["579e9e0e30f65b8135af1391d8f77abc"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["352f6f2df"],"source_entry_id":"13.0/changes/077","source_hash":"f57ec1495bdec4185ecebbf0268db20021bb74709d940f241a3d6df45980796a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"1010e98f9be3c000eaf6586981afde64f65de803b8e85baf09fce89610b8e53f","text":"增加 Windows 上的排序规则版本支持（Thomas Munro）§","title":"增加 Windows 上的排序规则版本支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["8b7a0f1d1"],"commit_groups":[["8b7a0f1d1"]],"commits":["8b7a0f1d1"],"cves":[],"db_id":"c16fc94742b9381b7ac5e9d38f9b71be","html":"\u003cp\u003e允许通过后缀记法提取 \u003ca href=\"/docs/13/sql-expressions.html#SQL-SYNTAX-ROW-CONSTRUCTORS\" title=\"4.2.13. 行构造器\"\u003e\u003ccode\u003eROW\u003c/code\u003e 表达式\u003c/a\u003e的成员（Tom Lane）\u003ca href=\"https://postgr.es/c/8b7a0f1d1\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e例如，\u003ccode\u003e(ROW(4, 5.0)).f1\u003c/code\u003e 现在返回 4。\u003c/p\u003e","id":"13.0-dbf1c697d2a7896a","identity_text":"Allow ROW expressions to have their members extracted with suffix notation (Tom Lane) For example, (ROW(4, 5.0)).f1 now returns 4.","part":"changes","patch_ids":["a1515ceb7b42bee5d2138e3ddb80d233"],"related_changes":[],"relations":[],"section":"数据类型","section_path":["数据类型"],"source_commits":["8b7a0f1d1"],"source_entry_id":"13.0/changes/078","source_hash":"6595d662e06b7c5b0625b727f98d1e5bb05e23c766826dafd68eba934a1e56cf","source_url":"/docs/release/13.0/#id-1.11.6.29.5.6","statement_hash":"f3d4a99d305c1a78f8e7e36f39034ef9edd55842943d8edc27f0c387f9e1b6a4","text":"允许通过后缀记法提取 ROW 表达式的成员（Tom Lane）§ 例如，(ROW(4, 5.0)).f1 现在返回 4。","title":"允许通过后缀记法提取 ROW 表达式的成员","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a83586b55"],"commit_groups":[["a83586b55"]],"commits":["a83586b55"],"cves":[],"db_id":"cdbc5e90b442ec91ae913a9dfdfffe8b","html":"\u003cp\u003e增加 \u003ca href=\"/docs/13/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE\" title=\"表 9.47. JSON 处理函数\"\u003e\u003ccode\u003ejsonb_set()\u003c/code\u003e\u003c/a\u003e 的另一个版本，改进对 \u003ccode\u003eNULL\u003c/code\u003e 的处理（Andrew Dunstan）\u003ca href=\"https://postgr.es/c/a83586b55\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新函数 \u003ccode\u003ejsonb_set_lax()\u003c/code\u003e 根据请求处理值为 \u003ccode\u003eNULL\u003c/code\u003e 的新值：将指定键设为 \u003cacronym\u003eJSON\u003c/acronym\u003e null、删除该键、抛出异常，或返回未经修改的 \u003ccode\u003ejsonb\u003c/code\u003e 值。\u003c/p\u003e","id":"13.0-76e04342d917b8d0","identity_text":"Add alternate version of jsonb_set() with improved NULL handling (Andrew Dunstan) The new function, jsonb_set_lax(), handles a NULL new value by either setting the specified key to a JSON null, deleting the key, raising an exception, or returning the jsonb value unmodified, as requested.","part":"changes","patch_ids":["58e0b5b2c5b897b7d2027af527b5a0f5"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["a83586b55"],"source_entry_id":"13.0/changes/079","source_hash":"72c325ed3e2e86370b11da881cec7b6ab24b3fba2ee077d661a2f39d199ad958","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"f56e469ec21f3adaf82d2c21e3c6108279187d9fec3584a9cf2e73a25afd7d4d","text":"增加 jsonb_set() 的另一个版本，改进对 NULL 的处理（Andrew Dunstan）§ 新函数 jsonb_set_lax() 根据请求处理值为 NULL 的新值：将指定键设为 JSON null、删除该键、抛出异常，或返回未经修改的 jsonb 值。","title":"增加 jsonb_set() 的另一个版本，改进对 NULL 的处理","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["bffe1bd68"],"commit_groups":[["bffe1bd68"]],"commits":["bffe1bd68"],"cves":[],"db_id":"5e422727306afe91a025582f308a050a","html":"\u003cp\u003e增加 jsonpath 的 \u003ca href=\"/docs/13/functions-json.html#FUNCTIONS-SQLJSON-PATH-OPERATORS\" title=\"9.16.2.2. SQL/JSON 路径操作符和方法\"\u003e.\u003ccode\u003edatetime()\u003c/code\u003e\u003c/a\u003e 方法（Nikita Glukhov，Teodor Sigaev，Oleg Bartunov，Alexander Korotkov）\u003ca href=\"https://postgr.es/c/bffe1bd68\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e此函数允许将 \u003cacronym\u003eJSON\u003c/acronym\u003e 值转换为时间戳，随后即可在 \u003ccode\u003ejsonpath\u003c/code\u003e 表达式中处理这些时间戳。此项修改还增加了支持时区感知输出的 \u003ccode\u003ejsonpath\u003c/code\u003e 函数。\u003c/p\u003e","id":"13.0-4773ae467c9f78f6","identity_text":"Add jsonpath .datetime() method (Nikita Glukhov, Teodor Sigaev, Oleg Bartunov, Alexander Korotkov) This function allows JSON values to be converted to timestamps, which can then be processed in jsonpath expressions. This change also adds jsonpath functions that support time-zone-aware output.","part":"changes","patch_ids":["02e7a8f2a8c7ce346b5f66c06ac30da9"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["bffe1bd68"],"source_entry_id":"13.0/changes/080","source_hash":"d77cde429eb5249d5d51d30d35a4e4ae79c2b7b864e3cc4d2fa56c90ed7f3777","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"0b1f4beb67a53bbfc2685867910c67502726623bb800b43de437d45721f45314","text":"增加 jsonpath 的 .datetime() 方法（Nikita Glukhov，Teodor Sigaev，Oleg Bartunov，Alexander Korotkov）§ 此函数允许将 JSON 值转换为时间戳，随后即可在 jsonpath 表达式中处理这些时间戳。此项修改还增加了支持时区感知输出的 jsonpath 函数。","title":"增加 jsonpath 的 .datetime() 方法","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2991ac5fc"],"commit_groups":[["2991ac5fc"]],"commits":["2991ac5fc"],"cves":[],"db_id":"2255bf3ab839b8397e52e46de440ef10","html":"\u003cp\u003e增加 \u003cacronym\u003eSQL\u003c/acronym\u003e 函数 \u003ca href=\"/docs/13/functions-string.html#FUNCTIONS-STRING-SQL\" title=\"表 9.9. SQL字符串函数和操作符\"\u003e\u003ccode\u003eNORMALIZE\u003c/code\u003e()\u003c/a\u003e，以规范化 Unicode 字符串，并增加 \u003ca href=\"/docs/13/collation.html#COLLATION-NONDETERMINISTIC\" title=\"23.2.2.4. 非确定性排序规则\"\u003e\u003ccode\u003eIS NORMALIZED\u003c/code\u003e\u003c/a\u003e 来检查是否已规范化（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/2991ac5fc\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-3e494e0449340424","identity_text":"Add SQL functions NORMALIZE() to normalize Unicode strings, and IS NORMALIZED to check for normalization (Peter Eisentraut)","part":"changes","patch_ids":["648c1d73755f5b8579052de3db99ae2e"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["2991ac5fc"],"source_entry_id":"13.0/changes/081","source_hash":"ba3c4fc1280dab787264e805009a1c421d273fce0e58c3fe262314592d862d5d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"dd1f48d03beb9bfe796328d04fdadcb5a65079855509f043b8e380199d4f2211","text":"增加 SQL 函数 NORMALIZE()，以规范化 Unicode 字符串，并增加 IS NORMALIZED 来检查是否已规范化（Peter Eisentraut）§","title":"增加 SQL 函数 NORMALIZE()，以规范化 Unicode 字符串，并增加 IS NORMALIZED 来检查是否已规范化","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["313f87a17"],"commit_groups":[["313f87a17"]],"commits":["313f87a17"],"cves":[],"db_id":"8275cf4baee9025dd4071968c61fa1a3","html":"\u003cp\u003e为 \u003ca href=\"/docs/13/datatype-pg-lsn.html\" title=\"8.20. pg_lsn 类型\"\u003e\u003ccode\u003epg_lsn\u003c/code\u003e\u003c/a\u003e 增加 \u003ccode\u003emin()\u003c/code\u003e 和 \u003ccode\u003emax()\u003c/code\u003e 聚合（Fabrízio de Royes Mello）\u003ca href=\"https://postgr.es/c/313f87a17\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这些聚合在监控查询中特别有用。\u003c/p\u003e","id":"13.0-90b0801a54d29e00","identity_text":"Add min() and max() aggregates for pg_lsn (Fabrízio de Royes Mello) These are particularly useful in monitoring queries.","part":"changes","patch_ids":["1e0bf1ac81a6ea2abc9254b35d3ba621"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["313f87a17"],"source_entry_id":"13.0/changes/082","source_hash":"0db90e1d5d7f0c0d3ac48485aea537c933467addc708dcb35625ef7da45424b0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"06932c69ae6af7967400d799d342082fcbd48cdb2c584041e9e473e7624d7aa1","text":"为 pg_lsn 增加 min() 和 max() 聚合（Fabrízio de Royes Mello）§ 这些聚合在监控查询中特别有用。","title":"为 pg_lsn 增加 min() 和 max() 聚合","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a6525588b"],"commit_groups":[["a6525588b"]],"commits":["a6525588b"],"cves":[],"db_id":"282403394cfc6fd7dc464eb42353d0ad","html":"\u003cp\u003e允许\u003ca href=\"/docs/13/sql-syntax.html#SQL-SYNTAX-STRINGS-UESCAPE\" title=\"4.1.2.3. 带有 Unicode 转义的字符串常量\"\u003eUnicode 转义\u003c/a\u003e，例如 \u003ccode\u003eE'\\u\u003cem\u003e\u003ccode\u003ennnn\u003c/code\u003e\u003c/em\u003e'\u003c/code\u003e 或 \u003ccode\u003eU\u0026amp;'\\\u003cem\u003e\u003ccode\u003ennnn\u003c/code\u003e\u003c/em\u003e'\u003c/code\u003e，指定数据库编码中可用的任何字符，即使数据库编码不是 \u003cacronym\u003eUTF\u003c/acronym\u003e-8（Tom Lane）\u003ca href=\"https://postgr.es/c/a6525588b\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-f4d4dc34e5a3ad8a","identity_text":"Allow Unicode escapes, e.g., E'\\unnnn' or U\u0026'\\nnnn', to specify any character available in the database encoding, even when the database encoding is not UTF-8 (Tom Lane)","part":"changes","patch_ids":["d253b738a0be3e73ddc9e130347e9da0"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["a6525588b"],"source_entry_id":"13.0/changes/083","source_hash":"78c51e482847e1cbae2906a81f36ee8ed065babc31cd17894165e0481f28cd8e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"e4872c6d02098a8e67976907b7622a9bd3a05c4d730a060c07e6cf22e721d56c","text":"允许Unicode 转义，例如 E'\\unnnn' 或 U\u0026'\\nnnn'，指定数据库编码中可用的任何字符，即使数据库编码不是 UTF-8（Tom Lane）§","title":"允许Unicode 转义，例如 E'\\unnnn' 或 U\u0026'\\nnnn'，指定数据库编码中可用的任何字符，即使数据库编码不是 UTF-8","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d67755049"],"commit_groups":[["d67755049"]],"commits":["d67755049"],"cves":[],"db_id":"a5b65c37623bf85f4d3b73e83cad2c7d","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/functions-formatting.html\" title=\"9.8. 数据类型格式化函数\"\u003e\u003ccode\u003eto_date()\u003c/code\u003e\u003c/a\u003e 和 \u003ccode\u003eto_timestamp()\u003c/code\u003e 识别非英语的月份名和星期名（Juan José Santamaría Flecha，Tom Lane）\u003ca href=\"https://postgr.es/c/d67755049\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e可识别的名称与 \u003ca href=\"/docs/13/functions-formatting.html\" title=\"9.8. 数据类型格式化函数\"\u003e\u003ccode\u003eto_char()\u003c/code\u003e\u003c/a\u003e 使用相同格式模式输出的名称相同。\u003c/p\u003e","id":"13.0-1ddc6186d17373d2","identity_text":"Allow to_date() and to_timestamp() to recognize non-English month/day names (Juan José Santamaría Flecha, Tom Lane) The names recognized are the same as those output by to_char() with the same format patterns.","part":"changes","patch_ids":["3f18056cd37a6e0636f54a68e4d70d4f"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["d67755049"],"source_entry_id":"13.0/changes/084","source_hash":"fbb938c212b23a464eeb753b76ea29fb903ba3281ae071d3e17089048c5ed5d0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"842e3b3c0d66e85d98e8419bd896ee5d69ddcffe92cd02c3b1fe6f57b49aafef","text":"允许 to_date() 和 to_timestamp() 识别非英语的月份名和星期名（Juan José Santamaría Flecha，Tom Lane）§ 可识别的名称与 to_char() 使用相同格式模式输出的名称相同。","title":"允许 to_date() 和 to_timestamp() 识别非英语的月份名和星期名","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d589f9446"],"commit_groups":[["d589f9446"]],"commits":["d589f9446"],"cves":[],"db_id":"f0e375cec237a7426a4f4bc68932a63c","html":"\u003cp\u003e增加日期时间格式模式 \u003ccode\u003eFF1\u003c/code\u003e – \u003ccode\u003eFF6\u003c/code\u003e，以指定输入或输出 1 到 6 位小数秒（Alexander Korotkov，Nikita Glukhov，Teodor Sigaev，Oleg Bartunov）\u003ca href=\"https://postgr.es/c/d589f9446\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这些模式可用于 \u003ccode\u003eto_char()\u003c/code\u003e、\u003ccode\u003eto_timestamp()\u003c/code\u003e 和 jsonpath 的 .\u003ccode\u003edatetime()\u003c/code\u003e。\u003c/p\u003e","id":"13.0-dcc0d72a1f1a27ed","identity_text":"Add datetime format patterns FF1 – FF6 to specify input or output of 1 to 6 fractional-second digits (Alexander Korotkov, Nikita Glukhov, Teodor Sigaev, Oleg Bartunov) These patterns can be used by to_char(), to_timestamp(), and jsonpath's .datetime().","part":"changes","patch_ids":["9cd71740792d2e16f8fcf54f6952d6b3"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["d589f9446"],"source_entry_id":"13.0/changes/085","source_hash":"8d62f87ff4c8d5c7f55bc1f437d5ed6009670affcdfa29c78bae825716ac4b8f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"a22298470729ba96dd0f8f1287f1f9e4329d0f23238911a61c265e58b86a4140","text":"增加日期时间格式模式 FF1 – FF6，以指定输入或输出 1 到 6 位小数秒（Alexander Korotkov，Nikita Glukhov，Teodor Sigaev，Oleg Bartunov）§ 这些模式可用于 to_char()、to_timestamp() 和 jsonpath 的 .datetime()。","title":"增加日期时间格式模式 FF1 – FF6，以指定输入或输出 1 到 6 位小数秒","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b64b857f5"],"commit_groups":[["b64b857f5"]],"commits":["b64b857f5"],"cves":[],"db_id":"c8aba4275da02dba62b0d1865019b213","html":"\u003cp\u003e增加日期时间格式模式 \u003ccode\u003eSSSSS\u003c/code\u003e，作为 \u003ccode\u003eSSSS\u003c/code\u003e 的 \u003cacronym\u003eSQL\u003c/acronym\u003e 标准别名（Nikita Glukhov，Alexander Korotkov）\u003ca href=\"https://postgr.es/c/b64b857f5\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c62ff642fc3b0493","identity_text":"Add SSSSS datetime format pattern as an SQL-standard alias for SSSS (Nikita Glukhov, Alexander Korotkov)","part":"changes","patch_ids":["47c5c2a3fabbaa8f36431621f2dbd903"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["b64b857f5"],"source_entry_id":"13.0/changes/086","source_hash":"a5e9c7709b31c7e864de8dd221a852152e789450a2c4a3bf4ec4d0c2f81366f0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"e1049cfcd946f845d41886b2cc77adc6ddb39bc85f572f13eba7c538c4836539","text":"增加日期时间格式模式 SSSSS，作为 SSSS 的 SQL 标准别名（Nikita Glukhov，Alexander Korotkov）§","title":"增加日期时间格式模式 SSSSS，作为 SSSS 的 SQL 标准别名","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5925e5549"],"commit_groups":[["5925e5549"]],"commits":["5925e5549"],"cves":[],"db_id":"b895a2216a6fbafd2e9584a71512f72a","html":"\u003cp\u003e增加函数 \u003ca href=\"/docs/13/functions-uuid.html\" title=\"9.14. UUID 函数\"\u003e\u003ccode\u003egen_random_uuid()\u003c/code\u003e\u003c/a\u003e，以生成版本 4 UUID（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/5925e5549\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，\u003cacronym\u003eUUID\u003c/acronym\u003e 生成函数只在外部模块\u003ca href=\"/docs/13/uuid-ossp.html\" title=\"F.44. uuid-ossp\"\u003euuid-ossp\u003c/a\u003e和\u003ca href=\"/docs/13/pgcrypto.html\" title=\"F.25. pgcrypto\"\u003epgcrypto\u003c/a\u003e中提供。\u003c/p\u003e","id":"13.0-ff4a6848823d2726","identity_text":"Add function gen_random_uuid() to generate version-4 UUIDs (Peter Eisentraut) Previously UUID generation functions were only available in the external modules uuid-ossp and pgcrypto .","part":"changes","patch_ids":["008ef746edcac5ea010a7840277bc9e8"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["5925e5549"],"source_entry_id":"13.0/changes/087","source_hash":"ac35620caa4b27676c709d82c8aa359cfe0b27223b7a352899ce0726c2f21257","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"70b08cf8aaf86d4997741eafa69741f0d4e3fbb2c9ce210f1030b44672280c08","text":"增加函数 gen_random_uuid()，以生成版本 4 UUID（Peter Eisentraut）§ 以前，UUID 生成函数只在外部模块uuid-ossp和pgcrypto中提供。","title":"增加函数 gen_random_uuid()，以生成版本 4 UUID","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["13661ddd7"],"commit_groups":[["13661ddd7"]],"commits":["13661ddd7"],"cves":[],"db_id":"4e78a24f8741de598d2e0d7ac7c045d4","html":"\u003cp\u003e增加最大公约数（\u003ca href=\"/docs/13/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE\" title=\"表 9.5. 数学函数\"\u003e\u003ccode\u003egcd\u003c/code\u003e\u003c/a\u003e）和最小公倍数（\u003ccode\u003elcm\u003c/code\u003e）函数（Vik Fearing）\u003ca href=\"https://postgr.es/c/13661ddd7\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-e17b1dc3e662582b","identity_text":"Add greatest-common-denominator (gcd) and least-common-multiple (lcm) functions (Vik Fearing)","part":"changes","patch_ids":["47c5c790d9aa212c6cd313fe2699c17f"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["13661ddd7"],"source_entry_id":"13.0/changes/088","source_hash":"c23af798b04a9bb3548c856f8acf6bcc033aec769300f1454fe613a946db2d34","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"98eb4c96ed9083b5726d003b92721bfb7a556988d77c58b6f630dd236ddc1162","text":"增加最大公约数（gcd）和最小公倍数（lcm）函数（Vik Fearing）§","title":"增加最大公约数（gcd）和最小公倍数（lcm）函数","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["4083f445c","43a899f41"],"commit_groups":[["4083f445c"],["43a899f41"]],"commits":["4083f445c","43a899f41"],"cves":[],"db_id":"43ad4875ff066bbd0353ae790f8e818f","html":"\u003cp\u003e提高 \u003ccode\u003enumeric\u003c/code\u003e 类型的\u003ca href=\"/docs/13/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE\" title=\"表 9.5. 数学函数\"\u003e平方根\u003c/a\u003e（\u003ccode\u003esqrt\u003c/code\u003e）和自然对数（\u003ccode\u003eln\u003c/code\u003e）函数的性能与精度（Dean Rasheed）\u003ca href=\"https://postgr.es/c/43a899f41\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/4083f445c\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-1469bfde613b5536","identity_text":"Improve the performance and accuracy of the numeric type's square root (sqrt) and natural log (ln) functions (Dean Rasheed)","part":"changes","patch_ids":["520dedfae89bc7aa77ce47084fa941bd","d41bfcd3f739e399d8493c36d6cdcce4"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["4083f445c","43a899f41"],"source_entry_id":"13.0/changes/089","source_hash":"27c2c92d512421e9e759633e8c701c7620a19be5052557aea076bd8af58267b4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"c66e16dd283eca550790707b19e97bf87862ccca9af80c1d32db9e51fc4e1139","text":"提高 numeric 类型的平方根（sqrt）和自然对数（ln）函数的性能与精度（Dean Rasheed）§ §","title":"提高 numeric 类型的平方根（sqrt）和自然对数（ln）函数的性能与精度","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["20d6225d1"],"commit_groups":[["20d6225d1"]],"commits":["20d6225d1"],"cves":[],"db_id":"8ae062c3a2e5e881e047434684aaa7b1","html":"\u003cp\u003e增加函数 \u003ca href=\"/docs/13/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE\" title=\"表 9.5. 数学函数\"\u003e\u003ccode\u003emin_scale()\u003c/code\u003e\u003c/a\u003e，返回完整精确表示 \u003ccode\u003enumeric\u003c/code\u003e 值所需的小数点右侧位数（Pavel Stehule）\u003ca href=\"https://postgr.es/c/20d6225d1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-38210a4ce341eba7-1","identity_text":"Add function min_scale() that returns the number of digits to the right of the decimal point that are required to represent a numeric value with full accuracy (Pavel Stehule)","part":"changes","patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"related_changes":[{"db_id":"c4810e7f7c6747d9f5b80ebf01ada2ec","evidence":{"ambiguous_patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","title":"增加函数 trim_scale()，通过移除尾随零来减少 numeric 值的小数位数","url":"/docs/compare/?release=13.0#13.0-38210a4ce341eba7-2","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"same_day":true},"rule":2,"target":"c4810e7f7c6747d9f5b80ebf01ada2ec","type":"related"}],"section":"函数","section_path":["函数"],"source_commits":["20d6225d1"],"source_entry_id":"13.0/changes/090","source_hash":"6449e412dd138e3df0edaa051a6a6bd0dc08631ed49219f0a672a95cb0912fb0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"da403a185e6588a49f43a7589c23c1df339de0d04fa64a7dde8512a8485aa926","text":"增加函数 min_scale()，返回完整精确表示 numeric 值所需的小数点右侧位数（Pavel Stehule）§","title":"增加函数 min_scale()，返回完整精确表示 numeric 值所需的小数点右侧位数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["20d6225d1"],"commit_groups":[["20d6225d1"]],"commits":["20d6225d1"],"cves":[],"db_id":"c4810e7f7c6747d9f5b80ebf01ada2ec","html":"\u003cp\u003e增加函数 \u003ca href=\"/docs/13/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE\" title=\"表 9.5. 数学函数\"\u003e\u003ccode\u003etrim_scale()\u003c/code\u003e\u003c/a\u003e，通过移除尾随零来减少 \u003ccode\u003enumeric\u003c/code\u003e 值的小数位数（Pavel Stehule）\u003ca href=\"https://postgr.es/c/20d6225d1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-38210a4ce341eba7-2","identity_text":"Add function trim_scale() to reduce the scale of a numeric value by removing trailing zeros (Pavel Stehule)","part":"changes","patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"related_changes":[{"db_id":"8ae062c3a2e5e881e047434684aaa7b1","evidence":{"ambiguous_patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","title":"增加函数 min_scale()，返回完整精确表示 numeric 值所需的小数点右侧位数","url":"/docs/compare/?release=13.0#13.0-38210a4ce341eba7-1","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"patch_ids":["105d8c21d8657838f615d760fe5c2ece"],"same_day":true},"rule":2,"target":"8ae062c3a2e5e881e047434684aaa7b1","type":"related"}],"section":"函数","section_path":["函数"],"source_commits":["20d6225d1"],"source_entry_id":"13.0/changes/091","source_hash":"a6fe5a4431c4c495e7670e8c02847a0857fedac91123121607256e9cd9213961","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"148b05e07bea492ed40c92e9b09559976cc565efe4cd5aa68f0aa96d125704a7","text":"增加函数 trim_scale()，通过移除尾随零来减少 numeric 值的小数位数（Pavel Stehule）§","title":"增加函数 trim_scale()，通过移除尾随零来减少 numeric 值的小数位数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6254c55f8"],"commit_groups":[["6254c55f8"]],"commits":["6254c55f8"],"cves":[],"db_id":"24873edef0f32eb7cfbec0d8cd99b48a","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/functions-geometry.html#FUNCTIONS-GEOMETRY-OP-TABLE\" title=\"表 9.35. 几何操作符\"\u003e距离操作符\u003c/a\u003e的交换子（Nikita Glukhov）\u003ca href=\"https://postgr.es/c/6254c55f8\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e例如，以前只支持 \u003ccode\u003epoint\u003c/code\u003e \u003ccode\u003e\u0026lt;-\u0026gt;\u003c/code\u003e \u003ccode\u003eline\u003c/code\u003e，现在 \u003ccode\u003eline\u003c/code\u003e \u003ccode\u003e\u0026lt;-\u0026gt;\u003c/code\u003e \u003ccode\u003epoint\u003c/code\u003e 也可以使用。\u003c/p\u003e","id":"13.0-f23e33aa9e9e910d","identity_text":"Add commutators of distance operators (Nikita Glukhov) For example, previously only point \u003c-\u003e line was supported, now line \u003c-\u003e point works too.","part":"changes","patch_ids":["6002f69e4dac70cbbd0da1974670ab86"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["6254c55f8"],"source_entry_id":"13.0/changes/092","source_hash":"b27770badcc9af696b1bc9bdd9cb98ce3140d594b37eafe88ba13e073ff98aed","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"caf1a03d70bf9b73f4e72c4d7cdc61b9db6a85b609798a9d4097d0ccc6216b82","text":"增加距离操作符的交换子（Nikita Glukhov）§ 例如，以前只支持 point \u003c-\u003e line，现在 line \u003c-\u003e point 也可以使用。","title":"增加距离操作符的交换子","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4c04be9b0"],"commit_groups":[["4c04be9b0"]],"commits":["4c04be9b0"],"cves":[],"db_id":"b78f3de62469a5005249904265d63d2a","html":"\u003cp\u003e为所有\u003ca href=\"/docs/13/functions-info.html#FUNCTIONS-PG-SNAPSHOT\" title=\"表 9.74. 事务 ID 和快照信息函数\"\u003e事务 ID 函数\u003c/a\u003e创建 \u003ccode\u003exid8\u003c/code\u003e 版本（Thomas Munro）\u003ca href=\"https://postgr.es/c/4c04be9b0\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e为保持向后兼容，基于 \u003ccode\u003exid\u003c/code\u003e 的旧函数仍然存在。\u003c/p\u003e","id":"13.0-8ae888d9d582cfbf","identity_text":"Create xid8 versions of all transaction ID functions (Thomas Munro) The old xid-based functions still exist, for backward compatibility.","part":"changes","patch_ids":["a31e6118b79de11fa4a983d7620f226b"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["4c04be9b0"],"source_entry_id":"13.0/changes/093","source_hash":"407390411b04ad56cd01bdf9f6b3baaae31c82bc2b118a63fa37f6ec9c27413f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"590800e408d7f5d0ecac3a9835fe2bb60c4b29adb7404f13f246ab69269013e5","text":"为所有事务 ID 函数创建 xid8 版本（Thomas Munro）§ 为保持向后兼容，基于 xid 的旧函数仍然存在。","title":"为所有事务 ID 函数创建 xid8 版本","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["26a944cf2","5d79fc60c","6e6b74a20","889786e0e","dbb121038","e40c4d491"],"commit_groups":[["26a944cf2","5d79fc60c","6e6b74a20","889786e0e","dbb121038","e40c4d491"]],"commits":["26a944cf2"],"cves":[],"db_id":"36951132033efe9497121c46a1b696f0","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/functions-binarystring.html#FUNCTIONS-BINARYSTRING-OTHER\" title=\"表 9.12. 其他二进制串函数\"\u003e\u003ccode\u003eget_bit()\u003c/code\u003e\u003c/a\u003e 和 \u003ccode\u003eset_bit()\u003c/code\u003e 设置 \u003ccode\u003ebytea\u003c/code\u003e 值前 256MB 之外的位（Movead Li）\u003ca href=\"https://postgr.es/c/26a944cf2\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-9211d3b40994cff4","identity_text":"Allow get_bit() and set_bit() to set bits beyond the first 256MB of a bytea value (Movead Li)","part":"changes","patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"related_changes":[{"db_id":"c9ab8b3b22e6103c90868ddecabecbb7","evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"kind":"related","label":"12.3","source_url":"/docs/release/12.3/#id-1.11.6.25.5","title":"使 get_bit() 和 set_bit() 函数能够处理长于 256MB 的 bytea 字符串","url":"/docs/compare/?release=12.3#12.3-4330b9ced58daa0c","version":"12.3"},{"db_id":"0ea209ac716ba0f4bed1d348ba9b11e8","evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"kind":"related","label":"11.8","source_url":"/docs/release/11.8/#id-1.11.6.19.5","title":"使 get_bit() 和 set_bit() 函数能够处理长于 256MB 的 bytea 字符串","url":"/docs/compare/?release=11.8#11.8-ca336e3d80787ea1","version":"11.8"},{"db_id":"f5409b29c53848f4f3a571148b1b7a0b","evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"kind":"related","label":"10.13","source_url":"/docs/release/10.13/#id-1.11.6.15.5","title":"使 get_bit() 和 set_bit() 函数能够处理长于 256MB 的 bytea 字符串","url":"/docs/compare/?release=10.13#10.13-ca336e3d80787ea1","version":"10.13"},{"db_id":"bd37d88fde696a029e43ffc64a6db4aa","evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"kind":"related","label":"9.6.18","source_url":"/docs/release/9.6.18/#id-1.11.6.11.5","title":"让 get_bit() 和 set_bit() 函数应对长于 256MB 的 bytea 字符串","url":"/docs/compare/?release=9.6.18#9.6.18-030f702a88b76b01","version":"9.6.18"},{"db_id":"73bef7cb7ccfd7e6c375b8b1bf28469a","evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"kind":"related","label":"9.5.22","source_url":"/docs/release/9.5.22/#id-1.11.6.8.6","title":"让 get_bit() 和 set_bit() 函数应对长于 256MB 的 bytea 字符串","url":"/docs/compare/?release=9.5.22#9.5.22-030f702a88b76b01","version":"9.5.22"}],"relations":[{"evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"rule":2,"target":"0ea209ac716ba0f4bed1d348ba9b11e8","type":"related"},{"evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"rule":2,"target":"73bef7cb7ccfd7e6c375b8b1bf28469a","type":"related"},{"evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"rule":2,"target":"bd37d88fde696a029e43ffc64a6db4aa","type":"related"},{"evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"rule":2,"target":"c9ab8b3b22e6103c90868ddecabecbb7","type":"related"},{"evidence":{"patch_ids":["1f035cd3ed3162eae50f4cfd66d60f73"],"same_day":false},"rule":2,"target":"f5409b29c53848f4f3a571148b1b7a0b","type":"related"}],"section":"函数","section_path":["函数"],"source_commits":["26a944cf2"],"source_entry_id":"13.0/changes/094","source_hash":"62edd85987b04ee8933183edb5cea082f12f335bbfcfd27cdbfcda8ad77c4d4c","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"50585a02e5e3007d3b7cf93b71c40c7fa248a3083386562eb861303529ef3f2f","text":"允许 get_bit() 和 set_bit() 设置 bytea 值前 256MB 之外的位（Movead Li）§","title":"允许 get_bit() 和 set_bit() 设置 bytea 值前 256MB 之外的位","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4886da832"],"commit_groups":[["4886da832"]],"commits":["4886da832"],"cves":[],"db_id":"8d9530a2fd0fa6cc6b880821b72a1ed9","html":"\u003cp\u003e允许在某些并行操作中使用\u003ca href=\"/docs/13/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS\" title=\"9.27.10. 咨询锁函数\"\u003e咨询锁函数\u003c/a\u003e（Tom Lane）\u003ca href=\"https://postgr.es/c/4886da832\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-849bf37fbcfba853","identity_text":"Allow advisory-lock functions to be used in some parallel operations (Tom Lane)","part":"changes","patch_ids":["6f19a253e324cb1569a246685d451b1c"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["4886da832"],"source_entry_id":"13.0/changes/095","source_hash":"4ec3b1a4190343dfaaab44844ca54a7b8f14cf55a131404a3c74eb54e070da0b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"98bcd7f8d8672bc7bf904da971ae73cae53b95ae67db4732ef5f268277f2afb1","text":"允许在某些并行操作中使用咨询锁函数（Tom Lane）§","title":"允许在某些并行操作中使用咨询锁函数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5fc703946"],"commit_groups":[["5fc703946"]],"commits":["5fc703946"],"cves":[],"db_id":"52753ffa40ddb3a47738bb95aa21bbce","html":"\u003cp\u003e增加移除对象对扩展依赖的能力（Álvaro Herrera）\u003ca href=\"https://postgr.es/c/5fc703946\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e对象可以是函数、物化视图、索引或触发器。语法为 \u003ccode\u003eALTER .. NO DEPENDS ON\u003c/code\u003e。\u003c/p\u003e","id":"13.0-cec5ed37427308f8","identity_text":"Add the ability to remove an object's dependency on an extension (Álvaro Herrera) The object can be a function, materialized view, index, or trigger. The syntax is ALTER .. NO DEPENDS ON.","part":"changes","patch_ids":["ee4caffaa478567ea77ccf87dbb66de2"],"related_changes":[],"relations":[],"section":"函数","section_path":["函数"],"source_commits":["5fc703946"],"source_entry_id":"13.0/changes/096","source_hash":"94fdd8840e38a68b4da166414c21460cf92fdfff5a368cd4582577d4e43c3abf","source_url":"/docs/release/13.0/#id-1.11.6.29.5.7","statement_hash":"ce04a01d20a5dac58cb7e6079c96991eb9c778cc190193f202c81c41e1f761ca","text":"增加移除对象对扩展依赖的能力（Álvaro Herrera）§ 对象可以是函数、物化视图、索引或触发器。语法为 ALTER .. NO DEPENDS ON。","title":"增加移除对象对扩展依赖的能力","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["8f59f6b9c"],"commit_groups":[["8f59f6b9c"]],"commits":["8f59f6b9c"],"cves":[],"db_id":"8f89720feb19b5bdc7b3b9316bfeaed5","html":"\u003cp\u003e提高简单 PL/pgSQL 表达式的性能（Tom Lane，Amit Langote）\u003ca href=\"https://postgr.es/c/8f59f6b9c\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-79533f284443af58","identity_text":"Improve performance of simple PL/pgSQL expressions (Tom Lane, Amit Langote)","part":"changes","patch_ids":["5bf3da4f0c7583e8af2b90ca94950312"],"related_changes":[],"relations":[],"section":"PL/pgSQL","section_path":["PL/pgSQL"],"source_commits":["8f59f6b9c"],"source_entry_id":"13.0/changes/097","source_hash":"fef034fc384239ae81bc57badf4a3f53ed3f1cff36c8e4a983a925832d54f7c8","source_url":"/docs/release/13.0/#id-1.11.6.29.5.8","statement_hash":"da8e765a847eaaa711d902826c067d6f040dd1c5bc893875ba6ab9c96d8629e4","text":"提高简单 PL/pgSQL 表达式的性能（Tom Lane，Amit Langote）§","title":"提高简单 PL/pgSQL 表达式的性能","variants":[],"version":"13.0"},{"also_in":[],"category":"performance","category_label":"Performance","commit_aliases":["73b06cf89"],"commit_groups":[["73b06cf89"]],"commits":["73b06cf89"],"cves":[],"db_id":"601d18df39f6fe9eb0f6845f49fd9db6","html":"\u003cp\u003e提高使用不可变表达式的 PL/pgSQL 函数的性能（Konstantin Knizhnik）\u003ca href=\"https://postgr.es/c/73b06cf89\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-bcaf8f58a17f0e20","identity_text":"Improve performance of PL/pgSQL functions that use immutable expressions (Konstantin Knizhnik)","part":"changes","patch_ids":["b28c98e3d3eb4a7bc10f2854d5f13eb9"],"related_changes":[],"relations":[],"section":"PL/pgSQL","section_path":["PL/pgSQL"],"source_commits":["73b06cf89"],"source_entry_id":"13.0/changes/098","source_hash":"e16affb9acc0e30dd9fc80152b49345f5ce62ff9abbc85520e8acdc44a88d408","source_url":"/docs/release/13.0/#id-1.11.6.29.5.8","statement_hash":"76c3c98ec148604f1b92b8f8214374a460a9437adb53471e998ae5aaa5cc0603","text":"提高使用不可变表达式的 PL/pgSQL 函数的性能（Konstantin Knizhnik）§","title":"提高使用不可变表达式的 PL/pgSQL 函数的性能","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d6e612f83"],"commit_groups":[["d6e612f83"]],"commits":["d6e612f83"],"cves":[],"db_id":"48d7843469f2212499d9145e0c2c74c5","html":"\u003cp\u003e允许 libpq 客户端要求加密连接使用通道绑定（Jeff Davis）\u003ca href=\"https://postgr.es/c/d6e612f83\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e使用 libpq 连接参数 \u003ca href=\"/docs/13/libpq.html#LIBPQ-CONNECT-CHANNEL-BINDING\"\u003e\u003ccode\u003echannel_binding\u003c/code\u003e\u003c/a\u003e，会强制 \u003cacronym\u003eTLS\u003c/acronym\u003e 连接的另一端证明它知道用户的密码。这可以防止中间人攻击。\u003c/p\u003e","id":"13.0-6404888b77813a9e","identity_text":"Allow libpq clients to require channel binding for encrypted connections (Jeff Davis) Using the libpq connection parameter channel_binding forces the other end of the TLS connection to prove it knows the user's password. This prevents man-in-the-middle attacks.","part":"changes","patch_ids":["e4195d174838e9dcbafad4f2fe44c4e1"],"related_changes":[],"relations":[],"section":"客户端接口","section_path":["客户端接口"],"source_commits":["d6e612f83"],"source_entry_id":"13.0/changes/099","source_hash":"4c21d3ba325e77859daea30e826f54e3b389215b05c668ccc958da0a5c7d15da","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","statement_hash":"d720ea2f95ddebb15fa3d8af0195cdd39ac1b5f04ad046dbb8b51574807139a1","text":"允许 libpq 客户端要求加密连接使用通道绑定（Jeff Davis）§ 使用 libpq 连接参数 channel_binding，会强制 TLS 连接的另一端证明它知道用户的密码。这可以防止中间人攻击。","title":"允许 libpq 客户端要求加密连接使用通道绑定","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["16412c784","401aad670","ff8ca5fad"],"commit_groups":[["16412c784"],["401aad670"],["ff8ca5fad"]],"commits":["16412c784","401aad670","ff8ca5fad"],"cves":[],"db_id":"b2061230e314e9b97b573426b6bc998e","html":"\u003cp\u003e增加 libpq 连接参数，以控制加密连接允许的最低和最高 \u003cacronym\u003eTLS\u003c/acronym\u003e 版本（Daniel Gustafsson）\u003ca href=\"https://postgr.es/c/ff8ca5fad\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/401aad670\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/16412c784\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这些设置为\u003ca href=\"/docs/13/libpq.html#LIBPQ-CONNECT-SSL-MIN-PROTOCOL-VERSION\"\u003essl_min_protocol_version\u003c/a\u003e和\u003ca href=\"/docs/13/libpq.html#LIBPQ-CONNECT-SSL-MAX-PROTOCOL-VERSION\"\u003essl_max_protocol_version\u003c/a\u003e。默认最低 \u003cacronym\u003eTLS\u003c/acronym\u003e 版本为 1.2（这与以前的发行版相比是行为上的变化）。\u003c/p\u003e","id":"13.0-10bdd486885008d6","identity_text":"Add libpq connection parameters to control the minimum and maximum TLS version allowed for an encrypted connection (Daniel Gustafsson) The settings are libpq-connect-ssl-min-protocol-version and libpq-connect-ssl-max-protocol-version . By default, the minimum TLS version is 1.2 (this represents a behavioral change from previous releases).","part":"changes","patch_ids":["2fb69012a9c8fc5e21c858b7ae376efc","7ae6f7c4f45089dd492095aa73afbd08","ccada3aceda9d729a68ab473dab9f02f"],"related_changes":[],"relations":[],"section":"客户端接口","section_path":["客户端接口"],"source_commits":["16412c784","401aad670","ff8ca5fad"],"source_entry_id":"13.0/changes/100","source_hash":"35fffb26a2ce704c32ea19b3b43ba67b08b072eaa638c10eb7532c529516f44e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","statement_hash":"45a565ef4e4fbe6d41bfffc7bde611fed7d3c98799a5babb8d1a496a8d7bc4b8","text":"增加 libpq 连接参数，以控制加密连接允许的最低和最高 TLS 版本（Daniel Gustafsson）§ § § 这些设置为ssl_min_protocol_version和ssl_max_protocol_version。默认最低 TLS 版本为 1.2（这与以前的发行版相比是行为上的变化）。","title":"增加 libpq 连接参数，以控制加密连接允许的最低和最高 TLS 版本","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4dc635521"],"commit_groups":[["4dc635521"]],"commits":["4dc635521"],"cves":[],"db_id":"63d663543f6b2bad3d2cb1c709d02275","html":"\u003cp\u003e允许使用密码解锁客户端证书（Craig Ringer，Andrew Dunstan）\u003ca href=\"https://postgr.es/c/4dc635521\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过 libpq 的\u003ca href=\"/docs/13/libpq.html#LIBPQ-CONNECT-SSLPASSWORD\"\u003esslpassword\u003c/a\u003e连接参数启用。\u003c/p\u003e","id":"13.0-7e889dff0f79f62c-1","identity_text":"Allow use of passwords to unlock client certificates (Craig Ringer, Andrew Dunstan) This is enabled by libpq's libpq-connect-sslpassword connection parameter.","part":"changes","patch_ids":["125812cd74c1177693fadf7c4dda3015"],"related_changes":[{"db_id":"e9eb620782f51d1813d3481eb51968a1","evidence":{"ambiguous_patch_ids":["125812cd74c1177693fadf7c4dda3015"],"patch_ids":["125812cd74c1177693fadf7c4dda3015"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","title":"允许 libpq 使用 DER 编码的客户端证书","url":"/docs/compare/?release=13.0#13.0-7e889dff0f79f62c-2","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["125812cd74c1177693fadf7c4dda3015"],"patch_ids":["125812cd74c1177693fadf7c4dda3015"],"same_day":true},"rule":2,"target":"e9eb620782f51d1813d3481eb51968a1","type":"related"}],"section":"客户端接口","section_path":["客户端接口"],"source_commits":["4dc635521"],"source_entry_id":"13.0/changes/101","source_hash":"8494c571bea8695d1b0b5052a4158447e415127228eb213f0a11819b329097ee","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","statement_hash":"5d036d32a87dbf32687c88326321ca93f1c9332b0472fdfca3a20866009015aa","text":"允许使用密码解锁客户端证书（Craig Ringer，Andrew Dunstan）§ 这通过 libpq 的sslpassword连接参数启用。","title":"允许使用密码解锁客户端证书","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4dc635521"],"commit_groups":[["4dc635521"]],"commits":["4dc635521"],"cves":[],"db_id":"e9eb620782f51d1813d3481eb51968a1","html":"\u003cp\u003e允许 libpq 使用 \u003cacronym\u003eDER\u003c/acronym\u003e 编码的客户端证书（Craig Ringer，Andrew Dunstan）\u003ca href=\"https://postgr.es/c/4dc635521\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-7e889dff0f79f62c-2","identity_text":"Allow libpq to use DER-encoded client certificates (Craig Ringer, Andrew Dunstan)","part":"changes","patch_ids":["125812cd74c1177693fadf7c4dda3015"],"related_changes":[{"db_id":"63d663543f6b2bad3d2cb1c709d02275","evidence":{"ambiguous_patch_ids":["125812cd74c1177693fadf7c4dda3015"],"patch_ids":["125812cd74c1177693fadf7c4dda3015"],"same_day":true},"kind":"related","label":"13.0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","title":"允许使用密码解锁客户端证书","url":"/docs/compare/?release=13.0#13.0-7e889dff0f79f62c-1","version":"13.0"}],"relations":[{"evidence":{"ambiguous_patch_ids":["125812cd74c1177693fadf7c4dda3015"],"patch_ids":["125812cd74c1177693fadf7c4dda3015"],"same_day":true},"rule":2,"target":"63d663543f6b2bad3d2cb1c709d02275","type":"related"}],"section":"客户端接口","section_path":["客户端接口"],"source_commits":["4dc635521"],"source_entry_id":"13.0/changes/102","source_hash":"c32cc10501e0cf1f1c8395892cc9123a45372885d97ab0a2a3d32dc45b57ab2a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","statement_hash":"3808aa96751956de2c6fbc6a0d078638cbda3dff179a0fe4f1a19df58ae6525d","text":"允许 libpq 使用 DER 编码的客户端证书（Craig Ringer，Andrew Dunstan）§","title":"允许 libpq 使用 DER 编码的客户端证书","variants":[],"version":"13.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["44cd434ec"],"commit_groups":[["44cd434ec"]],"commits":["44cd434ec"],"cves":[],"db_id":"97309ca82c53b25a90e16c823abf642e","html":"\u003cp\u003e修复 \u003cspan\u003eecpg\u003c/span\u003e 的 \u003ccode\u003eEXEC SQL elif\u003c/code\u003e 指令，使其正确工作（Tom Lane）\u003ca href=\"https://postgr.es/c/44cd434ec\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前，它的行为与 \u003ccode\u003eendif\u003c/code\u003e 后跟 \u003ccode\u003eifdef\u003c/code\u003e 相同，因此即使同一 \u003ccode\u003eif\u003c/code\u003e 结构中的前一个分支已成功匹配，也不会阻止展开 \u003ccode\u003eelif\u003c/code\u003e 分支或后续分支。\u003c/p\u003e","id":"13.0-632a7900ad27530a","identity_text":"Fix ecpg's EXEC SQL elif directive to work correctly (Tom Lane) Previously it behaved the same as endif followed by ifdef, so that a successful previous branch of the same if construct did not prevent expansion of the elif branch or following branches.","part":"changes","patch_ids":["bad103fd7408fb0a0cf46a7ed7c17789"],"related_changes":[],"relations":[],"section":"客户端接口","section_path":["客户端接口"],"source_commits":["44cd434ec"],"source_entry_id":"13.0/changes/103","source_hash":"57f20e597636a87625f2a9a1036f232a6ee19ef1edf922e18a260f3e3e4c5735","source_url":"/docs/release/13.0/#id-1.11.6.29.5.9","statement_hash":"fcf615d6e02eebf26e0e1990059597c5d340611928cdddf8435d96331061f109","text":"修复 ecpg 的 EXEC SQL elif 指令，使其正确工作（Tom Lane）§ 以前，它的行为与 endif 后跟 ifdef 相同，因此即使同一 if 结构中的前一个分支已成功匹配，也不会阻止展开 elif 分支或后续分支。","title":"修复 ecpg 的 EXEC SQL elif 指令，使其正确工作","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["dcdbb5a5d"],"commit_groups":[["dcdbb5a5d"]],"commits":["dcdbb5a5d"],"cves":[],"db_id":"2a4633bdf7d94936b9888c5ed2163462","html":"\u003cp\u003e将事务状态（\u003ccode\u003e%x\u003c/code\u003e）添加到 \u003cspan\u003epsql\u003c/span\u003e 的默认\u003ca href=\"/docs/13/app-psql.html#APP-PSQL-PROMPTING\" title=\"提示符\"\u003e提示符\u003c/a\u003e中（Vik Fearing）\u003ca href=\"https://postgr.es/c/dcdbb5a5d\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-dedfad9617f44cb5","identity_text":"Add transaction status (%x) to psql's default prompts (Vik Fearing)","part":"changes","patch_ids":["88869087f8dc35127b75c9a6cd4b4425"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["dcdbb5a5d"],"source_entry_id":"13.0/changes/104","source_hash":"8fa7ec3695226f1c1b04d2a33ae32e55ce76411f6be3a2a236b02b58a51d061d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"daf1edd18bbd75a3882abf1d56df57570ef2e8641743e58f27fca524575ca958","text":"将事务状态（%x）添加到 psql 的默认提示符中（Vik Fearing）§","title":"将事务状态（%x）添加到 psql 的默认提示符中","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7f338369c"],"commit_groups":[["7f338369c"]],"commits":["7f338369c"],"cves":[],"db_id":"6c09ba3ec57b4a486923cacb0c583b45","html":"\u003cp\u003e允许 \u003cspan\u003epsql\u003c/span\u003e 的次级提示符为空白，但与主提示符具有相同宽度（Thomas Munro）\u003ca href=\"https://postgr.es/c/7f338369c\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过将 \u003ccode\u003ePROMPT2\u003c/code\u003e 设为 \u003ccode\u003e%w\u003c/code\u003e 实现。\u003c/p\u003e","id":"13.0-bbeaa872a47951c7","identity_text":"Allow the secondary psql prompt to be blank but the same width as the primary prompt (Thomas Munro) This is accomplished by setting PROMPT2 to %w.","part":"changes","patch_ids":["a3a80eda705292f43a8d53374986d732"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["7f338369c"],"source_entry_id":"13.0/changes/105","source_hash":"09df7e41fd33c11872f00b47acbf66221b7c80b4c043b99069f21da6b461fd27","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"f7e41bcc908186a38fd7b7aadacb83a39a3ac4988ed885973955a2fc9aa72c96","text":"允许 psql 的次级提示符为空白，但与主提示符具有相同宽度（Thomas Munro）§ 这通过将 PROMPT2 设为 %w 实现。","title":"允许 psql 的次级提示符为空白，但与主提示符具有相同宽度","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b63c293bc"],"commit_groups":[["b63c293bc"]],"commits":["b63c293bc"],"cves":[],"db_id":"86ff892176ab0c0488eb5fbb4b2ea0a8","html":"\u003cp\u003e允许 \u003cspan\u003epsql\u003c/span\u003e 的 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\g\u003c/code\u003e\u003c/a\u003e 和 \u003ccode\u003e\\gx\u003c/code\u003e 命令只在该条命令执行期间更改 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\\pset\u003c/a\u003e 输出选项（Tom Lane）\u003ca href=\"https://postgr.es/c/b63c293bc\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e此特性允许使用 \u003ccode\u003e\\g (expand=on)\u003c/code\u003e 这样的语法，它等价于 \u003ccode\u003e\\gx\u003c/code\u003e。\u003c/p\u003e","id":"13.0-a091ebc7307c0055","identity_text":"Allow psql's \\g and \\gx commands to change \\pset output options for the duration of that single command (Tom Lane) This feature allows syntax like \\g (expand=on), which is equivalent to \\gx.","part":"changes","patch_ids":["16d61987d6fd407dd5a429c83c16fb00"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["b63c293bc"],"source_entry_id":"13.0/changes/106","source_hash":"de12c4600f38140041b06a457df2fba1bc6aca39682f8d60ae58db2e3c54426b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"08503c9d63970e568ecb54d1fb0874b985871e34251090a226e3c1e4a59a9562","text":"允许 psql 的 \\g 和 \\gx 命令只在该条命令执行期间更改 \\pset 输出选项（Tom Lane）§ 此特性允许使用 \\g (expand=on) 这样的语法，它等价于 \\gx。","title":"允许 psql 的 \\g 和 \\gx 命令只在该条命令执行期间更改 \\pset 输出选项","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b0b5e20cd"],"commit_groups":[["b0b5e20cd"]],"commits":["b0b5e20cd"],"cves":[],"db_id":"7b485eb345bc59529f98b9a71177ab11","html":"\u003cp\u003e增加用于显示操作符类和操作符族的 \u003cspan\u003epsql\u003c/span\u003e 命令（Sergey Cherkashin，Nikita Glukhov，Alexander Korotkov）\u003ca href=\"https://postgr.es/c/b0b5e20cd\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新增命令为 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\dAc\u003c/code\u003e\u003c/a\u003e、\u003ccode\u003e\\dAf\u003c/code\u003e、\u003ccode\u003e\\dAo\u003c/code\u003e 和 \u003ccode\u003e\\dAp\u003c/code\u003e。\u003c/p\u003e","id":"13.0-b280f1437ad4d798","identity_text":"Add psql commands to display operator classes and operator families (Sergey Cherkashin, Nikita Glukhov, Alexander Korotkov) The new commands are \\dAc, \\dAf, \\dAo, and \\dAp.","part":"changes","patch_ids":["2d23c30333f9ea372a1ff07222218c17"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["b0b5e20cd"],"source_entry_id":"13.0/changes/107","source_hash":"ff545e1f465b09da30d23d81ea3d98fd2fb4e5ace6e8e2b7123e3045a955b5e4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"a09d624a3342f3f71496c1a3cd239f00d86193bf2b403642c59fb337b9208dd6","text":"增加用于显示操作符类和操作符族的 psql 命令（Sergey Cherkashin，Nikita Glukhov，Alexander Korotkov）§ 新增命令为 \\dAc、\\dAf、\\dAo 和 \\dAp。","title":"增加用于显示操作符类和操作符族的 psql 命令","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9a2ea6183"],"commit_groups":[["9a2ea6183"]],"commits":["9a2ea6183"],"cves":[],"db_id":"6f6d44f72bf0bbc1c441f9cb9a4f9c8b","html":"\u003cp\u003e在 \u003cspan\u003epsql\u003c/span\u003e 的 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\dt+\u003c/code\u003e\u003c/a\u003e 及相关命令中显示表的持久性（David Fetter）\u003ca href=\"https://postgr.es/c/9a2ea6183\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e在详细模式下，表、索引和视图的显示会指出对象是永久的、临时的，还是不记录 WAL 的。\u003c/p\u003e","id":"13.0-518701f16b1ba46a","identity_text":"Show table persistence in psql's \\dt+ and related commands (David Fetter) In verbose mode, the table/index/view shows if the object is permanent, temporary, or unlogged.","part":"changes","patch_ids":["c603a6c62664bdd10f820d7ae11cff05"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["9a2ea6183"],"source_entry_id":"13.0/changes/108","source_hash":"e143aa743720e8199850b9442cb33349aad5c2ed60ea09213f2b0e3848b773de","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"8394b8907b9992d05332f0f23a67bcdca294ea0ebac95988b2ff901bf47ceee1","text":"在 psql 的 \\dt+ 及相关命令中显示表的持久性（David Fetter）§ 在详细模式下，表、索引和视图的显示会指出对象是永久的、临时的，还是不记录 WAL 的。","title":"在 psql 的 \\dt+ 及相关命令中显示表的持久性","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["eb5472da9"],"commit_groups":[["eb5472da9"]],"commits":["eb5472da9"],"cves":[],"db_id":"fbcd332d7d74f3111d803df6e3dbe808","html":"\u003cp\u003e改进 \u003cspan\u003epsql\u003c/span\u003e 的 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\d\u003c/code\u003e\u003c/a\u003e 对 \u003cacronym\u003eTOAST\u003c/acronym\u003e 表的输出（Justin Pryzby）\u003ca href=\"https://postgr.es/c/eb5472da9\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-d0d90c43e9dca9f2","identity_text":"Improve output of psql's \\d for TOAST tables (Justin Pryzby)","part":"changes","patch_ids":["b6ef59184739690fa5407e034dbf6d7e"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["eb5472da9"],"source_entry_id":"13.0/changes/109","source_hash":"2b81881e4fcc170c1c112b56064ac80a95277004c370bdd3609193db66497397","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"465150c1eabe6234e0e28b65b6ec537ac221c4b473dfcda34b6c53c92061dbca","text":"改进 psql 的 \\d 对 TOAST 表的输出（Justin Pryzby）§","title":"改进 psql 的 \\d 对 TOAST 表的输出","variants":[],"version":"13.0"},{"also_in":[],"category":"bugfix","category_label":"Bug fixes","commit_aliases":["d1c866e57"],"commit_groups":[["d1c866e57"]],"commits":["d1c866e57"],"cves":[],"db_id":"1ae29b24bbd32fb2abad98f45a1ce06c","html":"\u003cp\u003e修复 \u003cspan\u003epsql\u003c/span\u003e 的 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\e\u003c/code\u003e\u003c/a\u003e 命令之后的重新显示（Tom Lane）\u003ca href=\"https://postgr.es/c/d1c866e57\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e退出编辑器时，如果查询不以分号或 \u003ccode\u003e\\g\u003c/code\u003e 结尾，现在会显示查询缓冲区的内容。\u003c/p\u003e","id":"13.0-f1e23be8ae7b4c59","identity_text":"Fix redisplay after psql's \\e command (Tom Lane) When exiting the editor, if the query doesn't end with a semicolon or \\g, the query buffer contents will now be displayed.","part":"changes","patch_ids":["b3be07facf466757590b9934f8813c52"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["d1c866e57"],"source_entry_id":"13.0/changes/110","source_hash":"1c52b5c099c677b6fdcc1d734a01afd0d191795c8777fc7102fab8251dfb31a4","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"af9df4eb5ac344071ee952f7fb592728110b9c48028286abf19c1ee5dfb544b3","text":"修复 psql 的 \\e 命令之后的重新显示（Tom Lane）§ 退出编辑器时，如果查询不以分号或 \\g 结尾，现在会显示查询缓冲区的内容。","title":"修复 psql 的 \\e 命令之后的重新显示","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["02e95a504"],"commit_groups":[["02e95a504"]],"commits":["02e95a504"],"cves":[],"db_id":"813d5587edeb1f405d3362668baaddbb","html":"\u003cp\u003e向 \u003cspan\u003epsql\u003c/span\u003e 增加 \u003ca href=\"/docs/13/app-psql.html#APP-PSQL-META-COMMANDS\" title=\"元命令\"\u003e\u003ccode\u003e\\warn\u003c/code\u003e\u003c/a\u003e 命令（David Fetter）\u003ca href=\"https://postgr.es/c/02e95a504\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这与 \u003ccode\u003e\\echo\u003c/code\u003e 类似，但文本发送到 stderr，而非 stdout。\u003c/p\u003e","id":"13.0-52934da576c5d724","identity_text":"Add \\warn command to psql (David Fetter) This is like \\echo except that the text is sent to stderr instead of stdout.","part":"changes","patch_ids":["0707e22895d0025c1718a848c8f2c8e5"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["02e95a504"],"source_entry_id":"13.0/changes/111","source_hash":"f85b6de0cdf200d41d92abbd87e0599bf632912be620fcbd51bd63101dc2039d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"9f76370b2f5be2419402338cc31bbe905131acc3dc2fdf281e8e6e24ae9fbd80","text":"向 psql 增加 \\warn 命令（David Fetter）§ 这与 \\echo 类似，但文本发送到 stderr，而非 stdout。","title":"向 psql 增加 \\warn 命令","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1933ae629"],"commit_groups":[["1933ae629"]],"commits":["1933ae629"],"cves":[],"db_id":"4b279be72daa29a55090428191f937d6","html":"\u003cp\u003e将 \u003cspan\u003ePostgreSQL\u003c/span\u003e 主页添加到命令行 \u003ccode\u003e--help\u003c/code\u003e 输出中（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/1933ae629\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-b2c9633d1b209335","identity_text":"Add the PostgreSQL home page to command-line --help output (Peter Eisentraut)","part":"changes","patch_ids":["934bbf6c3edcff254b169ba8d90c564d"],"related_changes":[],"relations":[],"section":"客户端应用程序 / psql","section_path":["客户端应用程序","psql"],"source_commits":["1933ae629"],"source_entry_id":"13.0/changes/112","source_hash":"ad7fdec8f97b9421ad947de3f06032cbf4dd2347e8f2bab12ea007ef9df70267","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.2","statement_hash":"6040dcda356a65e72f51044e8030711dc3337413bf7cd400e543026cd5fc31ae","text":"将 PostgreSQL 主页添加到命令行 --help 输出中（Peter Eisentraut）§","title":"将 PostgreSQL 主页添加到命令行 --help 输出中","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["b1c1aa531"],"commit_groups":[["b1c1aa531"]],"commits":["b1c1aa531"],"cves":[],"db_id":"064e91af88fce042108cacfb8ed313c9","html":"\u003cp\u003e允许 pgbench 对其 \u003cspan\u003e“\u003cspan\u003eaccounts\u003c/span\u003e”\u003c/span\u003e 表进行分区（Fabien Coelho）\u003ca href=\"https://postgr.es/c/b1c1aa531\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这使分区性能测试成为可能。\u003c/p\u003e","id":"13.0-a0a932f18df0fb2a","identity_text":"Allow pgbench to partition its accounts table (Fabien Coelho) This allows performance testing of partitioning.","part":"changes","patch_ids":["c31078be79e92c2b34f4685aff171b05"],"related_changes":[],"relations":[],"section":"客户端应用程序 / pgbench","section_path":["客户端应用程序","pgbench"],"source_commits":["b1c1aa531"],"source_entry_id":"13.0/changes/113","source_hash":"a5d38636a9e6c7d86c32756a19e044c8cb7ce2c7f3f5275333e9a29ece860134","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.3","statement_hash":"96ae3a13edacb89a470b7525d74b2cc8978d357dd34c6eb8dd596c53e97b4cfb","text":"允许 pgbench 对其 “accounts” 表进行分区（Fabien Coelho）§ 这使分区性能测试成为可能。","title":"允许 pgbench 对其 “accounts” 表进行分区","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["9d8ef9880"],"commit_groups":[["9d8ef9880"]],"commits":["9d8ef9880"],"cves":[],"db_id":"4c48e00512471ae3e3d0528f701eee7f","html":"\u003cp\u003e增加 pgbench 命令 \u003ccode\u003e\\aset\u003c/code\u003e，其行为类似 \u003ccode\u003e\\gset\u003c/code\u003e，但适用于多个查询（Fabien Coelho）\u003ca href=\"https://postgr.es/c/9d8ef9880\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-1ea069328f8d78ab","identity_text":"Add pgbench command \\aset, which behaves like \\gset, but for multiple queries (Fabien Coelho)","part":"changes","patch_ids":["512f0fd14a010dfec77b6d8843defd35"],"related_changes":[],"relations":[],"section":"客户端应用程序 / pgbench","section_path":["客户端应用程序","pgbench"],"source_commits":["9d8ef9880"],"source_entry_id":"13.0/changes/114","source_hash":"ba5c6c14c09dc55e2407d53f229bcab252b08f6ac6d13fe6210766f7d64af210","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.3","statement_hash":"7deedbc07f3d40f86dce6dd8a3e706423933ecbf8490a18075e36446a49c3f41","text":"增加 pgbench 命令 \\aset，其行为类似 \\gset，但适用于多个查询（Fabien Coelho）§","title":"增加 pgbench 命令 \\aset，其行为类似 \\gset，但适用于多个查询","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a386942bd"],"commit_groups":[["a386942bd"]],"commits":["a386942bd"],"cves":[],"db_id":"d8a049bdffb6a4c7b1af5bc4fef34349","html":"\u003cp\u003e允许 pgbench 在服务器端而非客户端生成初始数据（Fabien Coelho）\u003ca href=\"https://postgr.es/c/a386942bd\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-96099f73838ba6c5","identity_text":"Allow pgbench to generate its initial data server-side, rather than client-side (Fabien Coelho)","part":"changes","patch_ids":["52d3a39512179aed4a9d17c212e850c6"],"related_changes":[],"relations":[],"section":"客户端应用程序 / pgbench","section_path":["客户端应用程序","pgbench"],"source_commits":["a386942bd"],"source_entry_id":"13.0/changes/115","source_hash":"43b1b8055199c7d7db103701562927f4bba23bd5cfe92ee5215dae15374c002c","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.3","statement_hash":"b548584f4f0145b38775c3d015075e4658c0658cd572238800b0e905f83a45dc","text":"允许 pgbench 在服务器端而非客户端生成初始数据（Fabien Coelho）§","title":"允许 pgbench 在服务器端而非客户端生成初始数据","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5823677ac"],"commit_groups":[["5823677ac"]],"commits":["5823677ac"],"cves":[],"db_id":"2c12fd852c08737e49d2e52768fffe7b","html":"\u003cp\u003e允许 pgbench 使用 \u003ccode\u003e--show-script\u003c/code\u003e 选项显示脚本内容（Fabien Coelho）\u003ca href=\"https://postgr.es/c/5823677ac\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-2b6a4db5d3833fc0","identity_text":"Allow pgbench to show script contents using option --show-script (Fabien Coelho)","part":"changes","patch_ids":["71858851c64384a8692b5b408e7c36e1"],"related_changes":[],"relations":[],"section":"客户端应用程序 / pgbench","section_path":["客户端应用程序","pgbench"],"source_commits":["5823677ac"],"source_entry_id":"13.0/changes/116","source_hash":"f76bc8eb89996ffdcbbdca600f766d9afea924b4d3273190ea2844ee9bf0947b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.10.3","statement_hash":"d71971dafce38543c4870455c320cb43dd1dfd114ec58e5e23d2458d73dd402f","text":"允许 pgbench 使用 --show-script 选项显示脚本内容（Fabien Coelho）§","title":"允许 pgbench 使用 --show-script 选项显示脚本内容","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0d8c9c121","dbc60c559"],"commit_groups":[["0d8c9c121"],["dbc60c559"]],"commits":["0d8c9c121","dbc60c559"],"cves":[],"db_id":"7e168c434b0f06a691ace1ef649379d7","html":"\u003cp\u003e为基础备份生成备份清单，并验证备份（Robert Haas）\u003ca href=\"https://postgr.es/c/0d8c9c121\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/dbc60c559\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e新工具\u003ca href=\"/docs/13/app-pgverifybackup.html\" title=\"pg_verifybackup\"\u003e\u003cspan\u003epg_verifybackup\u003c/span\u003e\u003c/a\u003e可以验证备份。\u003c/p\u003e","id":"13.0-b72a95e0bc64c8ee","identity_text":"Generate backup manifests for base backups, and verify them (Robert Haas) A new tool pg_verifybackup can verify backups.","part":"changes","patch_ids":["6da64c4453212bb182dc8e0e28205bb5","ea2237512a068d9c4709b84e1e7070f7"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["0d8c9c121","dbc60c559"],"source_entry_id":"13.0/changes/117","source_hash":"ca9a227f3c0a1556f0aa8bbb6b000c3259ec72fadc756887d5790edd6bce5ad2","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"7519c80336ab84aae7decbeed5a137d95c7bc7cfb62ba3410c6a0334b6455b25","text":"为基础备份生成备份清单，并验证备份（Robert Haas）§ § 新工具pg_verifybackup可以验证备份。","title":"为基础备份生成备份清单，并验证备份","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["fab13dc50"],"commit_groups":[["fab13dc50"]],"commits":["fab13dc50"],"cves":[],"db_id":"0bb5356c415061e60ced6e962290ffe5","html":"\u003cp\u003e使\u003ca href=\"/docs/13/app-pgbasebackup.html\" title=\"pg_basebackup\"\u003e\u003cspan\u003epg_basebackup\u003c/span\u003e\u003c/a\u003e默认估计备份总大小（Fujii Masao）\u003ca href=\"https://postgr.es/c/fab13dc50\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这一计算使 \u003ca href=\"/docs/13/monitoring-stats.html#MONITORING-STATS-DYNAMIC-VIEWS-TABLE\" title=\"表 27.1. 动态统计视图\"\u003e\u003ccode\u003epg_stat_progress_basebackup\u003c/code\u003e\u003c/a\u003e 能够显示进度。如果不需要，可以使用 \u003ccode\u003e--no-estimate-size\u003c/code\u003e 选项禁用它。以前，只有使用 \u003ccode\u003e--progress\u003c/code\u003e 选项时才会进行这一计算。\u003c/p\u003e","id":"13.0-941f448487f0103f","identity_text":"Have pg_basebackup estimate the total backup size by default (Fujii Masao) This computation allows pg_stat_progress_basebackup to show progress. If that is not needed, it can be disabled by using the --no-estimate-size option. Previously, this computation happened only if the --progress option was used.","part":"changes","patch_ids":["540361c58acfe19ac2325ab42dcc9076"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["fab13dc50"],"source_entry_id":"13.0/changes/118","source_hash":"01df6ebf8da29ad1c3ca5010c8bc935f6e30ec60315e5f9f1cce01fbe842c839","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"fa188b2326537bfdf79a358ef702ff6efd39fdab7392d7b76d0e39ecf3099efc","text":"使pg_basebackup默认估计备份总大小（Fujii Masao）§ 这一计算使 pg_stat_progress_basebackup 能够显示进度。如果不需要，可以使用 --no-estimate-size 选项禁用它。以前，只有使用 --progress 选项时才会进行这一计算。","title":"使pg_basebackup默认估计备份总大小","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["927474ce1"],"commit_groups":[["927474ce1"]],"commits":["927474ce1"],"cves":[],"db_id":"c81836e09d8284a672022348804d8703","html":"\u003cp\u003e为\u003ca href=\"/docs/13/app-pgrewind.html\" title=\"pg_rewind\"\u003e\u003cspan\u003epg_rewind\u003c/span\u003e\u003c/a\u003e增加配置备库的选项（Paul Guo，Jimmy Yih，Ashwin Agrawal）\u003ca href=\"https://postgr.es/c/927474ce1\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这与\u003ca href=\"/docs/13/app-pgbasebackup.html\" title=\"pg_basebackup\"\u003e\u003cspan\u003epg_basebackup\u003c/span\u003e\u003c/a\u003e的 \u003ccode\u003e--write-recovery-conf\u003c/code\u003e 选项一致。\u003c/p\u003e","id":"13.0-54e6b80d4fd68754","identity_text":"Add an option to pg_rewind to configure standbys (Paul Guo, Jimmy Yih, Ashwin Agrawal) This matches pg_basebackup's --write-recovery-conf option.","part":"changes","patch_ids":["013f2b3bee9796b0442805c57079c004"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["927474ce1"],"source_entry_id":"13.0/changes/119","source_hash":"d77b50d781ceae37ecc012d72304b02cd61bd59bceef990f8cd5b6c49dede167","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"190ae8493da7b8893c42f4c57a5620dbb440d014d5ab1210dace615a5d55cfee","text":"为pg_rewind增加配置备库的选项（Paul Guo，Jimmy Yih，Ashwin Agrawal）§ 这与pg_basebackup的 --write-recovery-conf 选项一致。","title":"为pg_rewind增加配置备库的选项","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a7e8ece41"],"commit_groups":[["a7e8ece41"]],"commits":["a7e8ece41"],"cves":[],"db_id":"127393e85fc52ca45ff828df425e6cb9","html":"\u003cp\u003e允许 \u003cspan\u003epg_rewind\u003c/span\u003e 使用目标集群的\u003ca href=\"/docs/13/runtime-config-wal.html#GUC-RESTORE-COMMAND\"\u003erestore_command\u003c/a\u003e获取所需的 \u003cacronym\u003eWAL\u003c/acronym\u003e（Alexey Kondratov）\u003ca href=\"https://postgr.es/c/a7e8ece41\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过 \u003ccode\u003e-c\u003c/code\u003e/\u003ccode\u003e--restore-target-wal\u003c/code\u003e 选项启用。\u003c/p\u003e","id":"13.0-bc39b86eb1383b12","identity_text":"Allow pg_rewind to use the target cluster's guc-restore-command to retrieve needed WAL (Alexey Kondratov) This is enabled using the -c/--restore-target-wal option.","part":"changes","patch_ids":["90bf7f8019d7c178da2a0dab3b0a0358"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["a7e8ece41"],"source_entry_id":"13.0/changes/120","source_hash":"b1f3226599504b7f7dce85fb2c74e2cbe315b4927f994dd62b561314e2e99916","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"254f0ad5a56cd23f3a6557190a0d6281db516fb08f78c0d12752d40ff37c4ad3","text":"允许 pg_rewind 使用目标集群的restore_command获取所需的 WAL（Alexey Kondratov）§ 这通过 -c/--restore-target-wal 选项启用。","title":"允许 pg_rewind 使用目标集群的restore_command获取所需的 WAL","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5adafaf17"],"commit_groups":[["5adafaf17"]],"commits":["5adafaf17"],"cves":[],"db_id":"dae6fab8823244835e79beb5762727dc","html":"\u003cp\u003e使 \u003cspan\u003epg_rewind\u003c/span\u003e 在回退之前自动运行崩溃恢复（Paul Guo，Jimmy Yih，Ashwin Agrawal）\u003ca href=\"https://postgr.es/c/5adafaf17\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e可以使用 \u003ccode\u003e--no-ensure-shutdown\u003c/code\u003e 禁用此行为。\u003c/p\u003e","id":"13.0-c6683ca58d1b56de","identity_text":"Have pg_rewind automatically run crash recovery before rewinding (Paul Guo, Jimmy Yih, Ashwin Agrawal) This can be disabled by using --no-ensure-shutdown.","part":"changes","patch_ids":["3a523b3840ffe707968392837128382a"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["5adafaf17"],"source_entry_id":"13.0/changes/121","source_hash":"71b9a404240829f8560b920a9773ddfcc6acc3f2e620f1fb3d5761adb600e1af","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"2a4c06dd3ba6915a041477d95d7d784d3c07ed77277ab568119cea19ff355706","text":"使 pg_rewind 在回退之前自动运行崩溃恢复（Paul Guo，Jimmy Yih，Ashwin Agrawal）§ 可以使用 --no-ensure-shutdown 禁用此行为。","title":"使 pg_rewind 在回退之前自动运行崩溃恢复","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7b8a899bd"],"commit_groups":[["7b8a899bd"]],"commits":["7b8a899bd"],"cves":[],"db_id":"a492f262d9cfb0d45d07ed5df3c650c9","html":"\u003cp\u003e增加 \u003cspan\u003epg_waldump\u003c/span\u003e 报告的 \u003ca href=\"/docs/13/sql-prepare-transaction.html\" title=\"PREPARE TRANSACTION\"\u003e\u003ccode\u003ePREPARE TRANSACTION\u003c/code\u003e\u003c/a\u003e 相关信息（Fujii Masao）\u003ca href=\"https://postgr.es/c/7b8a899bd\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-d104e8347c4885ab","identity_text":"Increase the PREPARE TRANSACTION-related information reported by pg_waldump (Fujii Masao)","part":"changes","patch_ids":["15ab3009fde5ec973877c61f49b0c259"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["7b8a899bd"],"source_entry_id":"13.0/changes/122","source_hash":"531d3b61fc821af6c9fc78f4b2326c88c2095ce7f3ad691c7d0e26e6b58e171a","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"41c7fc8967b1364b5cb90516594f270405ded4b96d5d2fb57aa679dbbceb3dea","text":"增加 pg_waldump 报告的 PREPARE TRANSACTION 相关信息（Fujii Masao）§","title":"增加 pg_waldump 报告的 PREPARE TRANSACTION 相关信息","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["ac44367ef"],"commit_groups":[["ac44367ef"]],"commits":["ac44367ef"],"cves":[],"db_id":"4db4ac3704c57c01ce98e52f2e3d49c4","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/pgwaldump.html\" title=\"pg_waldump\"\u003e\u003cspan\u003epg_waldump\u003c/span\u003e\u003c/a\u003e选项 \u003ccode\u003e--quiet\u003c/code\u003e，以抑制非错误输出（Andres Freund，Robert Haas）\u003ca href=\"https://postgr.es/c/ac44367ef\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c3a55a98aae9a03c","identity_text":"Add pg_waldump option --quiet to suppress non-error output (Andres Freund, Robert Haas)","part":"changes","patch_ids":["fde0ac7b09db1f28518afaf2e04daf79"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["ac44367ef"],"source_entry_id":"13.0/changes/123","source_hash":"4adaab95eeae0d06ed5154b5d99ceec513caf1167ce52f70ce84a0890b5599a3","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"daa4ee9c8332d5fe2f71dee0861e066cf674693fc2d48785bbf6cdded9b30c1f","text":"增加pg_waldump选项 --quiet，以抑制非错误输出（Andres Freund，Robert Haas）§","title":"增加pg_waldump选项 --quiet，以抑制非错误输出","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2f9eb3132"],"commit_groups":[["2f9eb3132"]],"commits":["2f9eb3132"],"cves":[],"db_id":"7502a0c21ed274d416d7bf95a446a099","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/app-pgdump.html\" title=\"pg_dump\"\u003e\u003cspan\u003epg_dump\u003c/span\u003e\u003c/a\u003e选项 \u003ccode\u003e--include-foreign-data\u003c/code\u003e，以转储外部服务器上的数据（Luis Carril）\u003ca href=\"https://postgr.es/c/2f9eb3132\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-6a7e2129e640ea86","identity_text":"Add pg_dump option --include-foreign-data to dump data from foreign servers (Luis Carril)","part":"changes","patch_ids":["294f337a9bdd33c74b7af01a6bab37de"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["2f9eb3132"],"source_entry_id":"13.0/changes/124","source_hash":"04fc782d2449c883ae9d708b33175fde502b3049ff5b253c82b2cd63728223c0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"ba6ed4357e5dea5c71170aff651b20df43e5d5f631b6e15462deef7afae0d17a","text":"增加pg_dump选项 --include-foreign-data，以转储外部服务器上的数据（Luis Carril）§","title":"增加pg_dump选项 --include-foreign-data，以转储外部服务器上的数据","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["47bc9ced0"],"commit_groups":[["47bc9ced0"]],"commits":["47bc9ced0"],"cves":[],"db_id":"402c05753917cfbc3a5668e97094d04d","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/app-vacuumdb.html\" title=\"vacuumdb\"\u003evacuumdb\u003c/a\u003e 运行的清理命令以并行模式执行（Masahiko Sawada）\u003ca href=\"https://postgr.es/c/47bc9ced0\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过新增的 \u003ccode\u003e--parallel\u003c/code\u003e 选项启用。\u003c/p\u003e","id":"13.0-d69711a5f0b2487d","identity_text":"Allow vacuum commands run by vacuumdb to operate in parallel mode (Masahiko Sawada) This is enabled with the new --parallel option.","part":"changes","patch_ids":["9d2b1110aecef5f3b08ca256cc9e2f83"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["47bc9ced0"],"source_entry_id":"13.0/changes/125","source_hash":"ffa1f13919233923b250dbc4381e1369122e9901959949b9adacc1e0c359762f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"9dcdbafd823a76f3ddb51803a97141875b7e8ef25b75324c1b26009a6935e704","text":"允许 vacuumdb 运行的清理命令以并行模式执行（Masahiko Sawada）§ 这通过新增的 --parallel 选项启用。","title":"允许 vacuumdb 运行的清理命令以并行模式执行","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["5ab892c39"],"commit_groups":[["5ab892c39"]],"commits":["5ab892c39"],"cves":[],"db_id":"5564f98e3aec38f87a87bfad2bc703e6","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/app-reindexdb.html\" title=\"reindexdb\"\u003ereindexdb\u003c/a\u003e 并行运行（Julien Rouhaud）\u003ca href=\"https://postgr.es/c/5ab892c39\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e并行模式通过新增的 \u003ccode\u003e--jobs\u003c/code\u003e 选项启用。\u003c/p\u003e","id":"13.0-3457bdda2ac2ebfc","identity_text":"Allow reindexdb to operate in parallel (Julien Rouhaud) Parallel mode is enabled with the new --jobs option.","part":"changes","patch_ids":["5508112f3ec56e0ebfe49b6b4d61991d"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["5ab892c39"],"source_entry_id":"13.0/changes/126","source_hash":"b3604ec243027f102ac27dea02ecf3d5a09717b266a712b401decaa4a57e878e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"257f7d2a1589a7e707d5dfd7e03636de7698fc4984ed6215d69de992c043a863","text":"允许 reindexdb 并行运行（Julien Rouhaud）§ 并行模式通过新增的 --jobs 选项启用。","title":"允许 reindexdb 并行运行","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["80e05a088"],"commit_groups":[["80e05a088"]],"commits":["80e05a088"],"cves":[],"db_id":"7e96281f713a4f0d3c43b3acde368e29","html":"\u003cp\u003e允许 \u003ca href=\"/docs/13/app-dropdb.html\" title=\"dropdb\"\u003edropdb\u003c/a\u003e 断开正在使用目标数据库的会话，以使删除成功（Pavel Stehule）\u003ca href=\"https://postgr.es/c/80e05a088\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这通过 \u003ccode\u003e-f\u003c/code\u003e 选项启用。\u003c/p\u003e","id":"13.0-acaea7275b4d159a","identity_text":"Allow dropdb to disconnect sessions using the target database, allowing the drop to succeed (Pavel Stehule) This is enabled with the -f option.","part":"changes","patch_ids":["6da5ec84077823de20ae3e34a0b3cbd1"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["80e05a088"],"source_entry_id":"13.0/changes/127","source_hash":"7253fe30d61e920a61d957945fed99bb5618381c8b9879b14ee10f8e8e5c6318","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"43a5ffb1e6fa2532691d32ea92947055f381b812211db7b746342a3ff691c52c","text":"允许 dropdb 断开正在使用目标数据库的会话，以使删除成功（Pavel Stehule）§ 这通过 -f 选项启用。","title":"允许 dropdb 断开正在使用目标数据库的会话，以使删除成功","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4fa5edcd1"],"commit_groups":[["4fa5edcd1"]],"commits":["4fa5edcd1"],"cves":[],"db_id":"2f280684b54d39c046174c8ec6ae34a0","html":"\u003cp\u003e从 \u003ca href=\"/docs/13/app-createuser.html\" title=\"createuser\"\u003ecreateuser\u003c/a\u003e 中移除 \u003ccode\u003e--adduser\u003c/code\u003e 和 \u003ccode\u003e--no-adduser\u003c/code\u003e（Alexander Lakhin）\u003ca href=\"https://postgr.es/c/4fa5edcd1\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e长期以来，用于此目的的推荐选项是 \u003ccode\u003e--superuser\u003c/code\u003e 和 \u003ccode\u003e--no-superuser\u003c/code\u003e。\u003c/p\u003e","id":"13.0-33292f4ea20797ec","identity_text":"Remove --adduser and --no-adduser from createuser (Alexander Lakhin) The long-supported preferred options for this are called --superuser and --no-superuser.","part":"changes","patch_ids":["b9988226a12e38899b83c17aeb1fff37"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["4fa5edcd1"],"source_entry_id":"13.0/changes/128","source_hash":"417c9b74156bcef451fd8eac7bdf35549151c11b94abfbce447ad9e88038afe2","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"64ed9c14f1aa97944992a8a6e9f2162460fe7514640cce37a4a7f9ea902f5c22","text":"从 createuser 中移除 --adduser 和 --no-adduser（Alexander Lakhin）§ 长期以来，用于此目的的推荐选项是 --superuser 和 --no-superuser。","title":"从 createuser 中移除 --adduser 和 --no-adduser","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["959f6d6a1"],"commit_groups":[["959f6d6a1"]],"commits":["959f6d6a1"],"cves":[],"db_id":"9a2c556f22dd2563302a986ad83d9ba9","html":"\u003cp\u003e运行 \u003cspan\u003epg_upgrade\u003c/span\u003e 时，将\u003ca href=\"/docs/13/pgupgrade.html\" title=\"pg_upgrade\"\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/a\u003e程序所在的目录用作默认的 \u003ccode\u003e--new-bindir\u003c/code\u003e 设置（Daniel Gustafsson）\u003ca href=\"https://postgr.es/c/959f6d6a1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-cd9a641ac1e9654f","identity_text":"Use the directory of the pg_upgrade program as the default --new-bindir setting when running pg_upgrade (Daniel Gustafsson)","part":"changes","patch_ids":["47cf7ffecb000faaf897105071a91101"],"related_changes":[],"relations":[],"section":"服务器应用程序","section_path":["服务器应用程序"],"source_commits":["959f6d6a1"],"source_entry_id":"13.0/changes/129","source_hash":"9e37881c2ac05f5383929c1cc3399ed7cced4bef23642d10a5ff2cf1b74abb4d","source_url":"/docs/release/13.0/#id-1.11.6.29.5.11","statement_hash":"796b43d1c7b5ad73d5d1a6021ec6d510dd0633b0e0c32120e800b20c483f8b89","text":"运行 pg_upgrade 时，将pg_upgrade程序所在的目录用作默认的 --new-bindir 设置（Daniel Gustafsson）§","title":"运行 pg_upgrade 时，将pg_upgrade程序所在的目录用作默认的 --new-bindir 设置","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["347d2b07f"],"commit_groups":[["347d2b07f"]],"commits":["347d2b07f"],"cves":[],"db_id":"2240fd9dfe6b4dc32875c5bf072b8098","html":"\u003cp\u003e向文档中增加\u003ca href=\"/docs/13/glossary.html\" title=\"附录 M. 术语表\"\u003e术语表\u003c/a\u003e（Corey Huinker，Jürgen Purtz，Roger Harkavy，Álvaro Herrera）\u003ca href=\"https://postgr.es/c/347d2b07f\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-c5863799f54fbffa","identity_text":"Add a glossary to the documentation (Corey Huinker, Jürgen Purtz, Roger Harkavy, Álvaro Herrera)","part":"changes","patch_ids":["65034c8fc7cdbd3cb42d9e839ee218e2"],"related_changes":[],"relations":[],"section":"文档","section_path":["文档"],"source_commits":["347d2b07f"],"source_entry_id":"13.0/changes/130","source_hash":"37adbae3b11977d931c014ce0b77e2cd51a5b3bf71a7378b0d9c0bdb66d9dd96","source_url":"/docs/release/13.0/#id-1.11.6.29.5.12","statement_hash":"e1f3a24249d42323b50a6e41095e028ef548928e7787052fffa6c70ef55de59a","text":"向文档中增加术语表（Corey Huinker，Jürgen Purtz，Roger Harkavy，Álvaro Herrera）§","title":"向文档中增加术语表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e894c6183"],"commit_groups":[["e894c6183"]],"commits":["e894c6183"],"cves":[],"db_id":"f69910a35b7439f8fa9ce317d2b9251e","html":"\u003cp\u003e重新编排包含\u003ca href=\"/docs/13/functions.html\" title=\"第 9 章 函数和操作符\"\u003e函数和操作符信息\u003c/a\u003e的表格，使其更加清晰（Tom Lane）\u003ca href=\"https://postgr.es/c/e894c6183\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-f164e1f783aacc21","identity_text":"Reformat tables containing function and operator information for better clarity (Tom Lane)","part":"changes","patch_ids":["8e680b8aca8108fea9462f08ad794d90"],"related_changes":[],"relations":[],"section":"文档","section_path":["文档"],"source_commits":["e894c6183"],"source_entry_id":"13.0/changes/131","source_hash":"ac7090c930e1b84faee3fcd46d2ebbe355dfddff54e7b59190df7caa0a907a7e","source_url":"/docs/release/13.0/#id-1.11.6.29.5.12","statement_hash":"8ea9d80e34ddc46ed942be2a7330b98a427fa0d1fa1c650a731eab0361f4f4e4","text":"重新编排包含函数和操作符信息的表格，使其更加清晰（Tom Lane）§","title":"重新编排包含函数和操作符信息的表格，使其更加清晰","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["416c75cf3"],"commit_groups":[["416c75cf3"]],"commits":["416c75cf3"],"cves":[],"db_id":"bf061c98a7ea40e51d14c03e137e4732","html":"\u003cp\u003e升级为使用 \u003ca href=\"/docs/13/docguide.html#DOCGUIDE-DOCBOOK\" title=\"J.1. DocBook\"\u003eDocBook 4.5\u003c/a\u003e（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/416c75cf3\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-01d3ad5747a4ed96","identity_text":"Upgrade to use DocBook 4.5 (Peter Eisentraut)","part":"changes","patch_ids":["cc25551a4108902bf884d70829608d8a"],"related_changes":[],"relations":[],"section":"文档","section_path":["文档"],"source_commits":["416c75cf3"],"source_entry_id":"13.0/changes/132","source_hash":"7431cf194031abf6ca9e87aff2b7d5c3c26611f265da0183921b95195615d351","source_url":"/docs/release/13.0/#id-1.11.6.29.5.12","statement_hash":"af9ec1e59738ec44bfe8a6a6764c46949be80af7475906660de5bef31cb38ef5","text":"升级为使用 DocBook 4.5（Peter Eisentraut）§","title":"升级为使用 DocBook 4.5","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["0ce8e49b2","2b1394fc2","3337fd192","721963f24","78aaffd28","d49c127d9","f2d069ce9"],"commit_groups":[["0ce8e49b2","2b1394fc2","3337fd192","721963f24","78aaffd28","d49c127d9","f2d069ce9"]],"commits":["2b1394fc2"],"cves":[],"db_id":"1db6a4dc5fd31f460b731b1b06a65ee3","html":"\u003cp\u003e增加使用 Visual Studio 2019 构建的支持（Haribabu Kommi）\u003ca href=\"https://postgr.es/c/2b1394fc2\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-43c29a2a8f7af362","identity_text":"Add support for building on Visual Studio 2019 (Haribabu Kommi)","part":"changes","patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"related_changes":[{"db_id":"21e7e56d3db692178fb7d0bd54fe6e57","evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"kind":"related","label":"11.5","source_url":"/docs/release/11.5/#id-1.11.6.22.5","title":"支持使用 Microsoft Visual Studio 2019 构建 Postgres","url":"/docs/compare/?release=11.5#11.5-f1148e4d286e76c6","version":"11.5"},{"db_id":"4b8c493fb7f376ba153f22dbdad54767","evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"kind":"related","label":"10.10","source_url":"/docs/release/10.10/#id-1.11.6.18.5","title":"支持使用 Microsoft Visual Studio 2019 构建 Postgres","url":"/docs/compare/?release=10.10#10.10-f1148e4d286e76c6","version":"10.10"},{"db_id":"0e81425d9ba9c954cffb7949ff2b81c0","evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"kind":"related","label":"9.6.15","source_url":"/docs/release/9.6.15/#id-1.11.6.14.5","title":"支持用 Microsoft Visual Studio 2019 构建 Postgres","url":"/docs/compare/?release=9.6.15#9.6.15-c2b8949f97b08580","version":"9.6.15"},{"db_id":"f70b8de3c87cd0730cef6bf5df43d9ae","evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"kind":"related","label":"9.5.19","source_url":"/docs/release/9.5.19/#id-1.11.6.11.5","title":"支持用 Microsoft Visual Studio 2019 构建 Postgres","url":"/docs/compare/?release=9.5.19#9.5.19-c2b8949f97b08580","version":"9.5.19"},{"db_id":"632436228109ad3b9a3483b7759ec462","evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"kind":"related","label":"9.4.24","source_url":"/docs/release/9.4.24/#id-1.11.6.7.6","title":"支持用 Microsoft Visual Studio 2019 构建 Postgres","url":"/docs/compare/?release=9.4.24#9.4.24-c2b8949f97b08580","version":"9.4.24"}],"relations":[{"evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"rule":2,"target":"0e81425d9ba9c954cffb7949ff2b81c0","type":"related"},{"evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"rule":2,"target":"21e7e56d3db692178fb7d0bd54fe6e57","type":"related"},{"evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"rule":2,"target":"4b8c493fb7f376ba153f22dbdad54767","type":"related"},{"evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"rule":2,"target":"632436228109ad3b9a3483b7759ec462","type":"related"},{"evidence":{"patch_ids":["607ec5d7e45d9dcaeb220656b8fadb2c"],"same_day":false},"rule":2,"target":"f70b8de3c87cd0730cef6bf5df43d9ae","type":"related"}],"section":"源代码","section_path":["源代码"],"source_commits":["2b1394fc2"],"source_entry_id":"13.0/changes/133","source_hash":"e2fb2e0bbca80a8de1683e4ed9189cf2cc74e044fc3d1e3430926f53fec95223","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"481b1aff61124bb29e863026ed09b4adb38f03e95ca1f3d448c868977775d623","text":"增加使用 Visual Studio 2019 构建的支持（Haribabu Kommi）§","title":"增加使用 Visual Studio 2019 构建的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e975c1a60"],"commit_groups":[["e975c1a60"]],"commits":["e975c1a60"],"cves":[],"db_id":"370f422ca6be7838ad4f7fbefcca9e00","html":"\u003cp\u003e增加 MSYS2 构建支持（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/e975c1a60\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ca32fd49818d2061","identity_text":"Add build support for MSYS2 (Peter Eisentraut)","part":"changes","patch_ids":["a222cb0a884ea510345ee54c176cd3de"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["e975c1a60"],"source_entry_id":"13.0/changes/134","source_hash":"6da6784a968148eba20483e3efdec1672be76123dca73d3a154de9500513ac7f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"8861fe3f276b193a7729f27367de147395219662d5fc4c5ad5287a8e900b9d76","text":"增加 MSYS2 构建支持（Peter Eisentraut）§","title":"增加 MSYS2 构建支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["30ee5d17c"],"commit_groups":[["30ee5d17c"]],"commits":["30ee5d17c"],"cves":[],"db_id":"15cb8a42f97fccc83cdd627e7c6a54ef","html":"\u003cp\u003e为 Power PC 编译器增加 compare_exchange 和 fetch_add 的汇编代码（Noah Misch）\u003ca href=\"https://postgr.es/c/30ee5d17c\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-2544f04f14529dc1","identity_text":"Add compare_exchange and fetch_add assembly language code for Power PC compilers (Noah Misch)","part":"changes","patch_ids":["eef117609fcb36e5f6c4ef7593d69309"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["30ee5d17c"],"source_entry_id":"13.0/changes/135","source_hash":"255590438a184c91540dbfb26f3552d43df63b9ad061299280d2f2b98bdd1462","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"2fad93aeacc0b91105fedb50bb3cb2a2ed163b4e9bbc7fe07873fe3d37ef4781","text":"为 Power PC 编译器增加 compare_exchange 和 fetch_add 的汇编代码（Noah Misch）§","title":"为 Power PC 编译器增加 compare_exchange 和 fetch_add 的汇编代码","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7b925e127"],"commit_groups":[["7b925e127"]],"commits":["7b925e127"],"cves":[],"db_id":"0c3c005c0137b4f6e3f7e103610a9af9","html":"\u003cp\u003e更新全文检索使用的 \u003ca href=\"/docs/13/textsearch-dictionaries.html#TEXTSEARCH-SNOWBALL-DICTIONARY\" title=\"12.6.6. Snowball 词典\"\u003eSnowball 词干分析器\u003c/a\u003e词典（Panagiotis Mavrogiorgos）\u003ca href=\"https://postgr.es/c/7b925e127\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这增加了希腊语词干提取，并改进了丹麦语和法语的词干提取。\u003c/p\u003e","id":"13.0-d3e33be8a08e1469","identity_text":"Update Snowball stemmer dictionaries used by full text search (Panagiotis Mavrogiorgos) This adds Greek stemming and improves Danish and French stemming.","part":"changes","patch_ids":["87fca4c3a8b8d97b0599c970f30a03f4"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["7b925e127"],"source_entry_id":"13.0/changes/136","source_hash":"8e99b77e06e86d319d0355af9ebad8ce515900c6a69953dd0737e953e666dd29","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"454366a0ef64e015a2dd858db9bf5ea4f7611c40e672656b77f379d114432e12","text":"更新全文检索使用的 Snowball 词干分析器词典（Panagiotis Mavrogiorgos）§ 这增加了希腊语词干提取，并改进了丹麦语和法语的词干提取。","title":"更新全文检索使用的 Snowball 词干分析器词典","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["e2e02191e"],"commit_groups":[["e2e02191e"]],"commits":["e2e02191e"],"cves":[],"db_id":"6a1c31c14dc67c9c187a4251eb651989","html":"\u003cp\u003e移除对 Windows 2000 的支持（Michael Paquier）\u003ca href=\"https://postgr.es/c/e2e02191e\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-cb7922c2dbac6d0e","identity_text":"Remove support for Windows 2000 (Michael Paquier)","part":"changes","patch_ids":["73e715ecae5c63c09956fae4bba397a4"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["e2e02191e"],"source_entry_id":"13.0/changes/137","source_hash":"d826258d64a2c8f0c649e1cd3b757d7367105100a84abda2cd5a1b13817796ba","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"13839f479a004b762e41ff36cb7133d1c78d1bea4104ee6c9503902cd18826e5","text":"移除对 Windows 2000 的支持（Michael Paquier）§","title":"移除对 Windows 2000 的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["c72f9b950"],"commit_groups":[["c72f9b950"]],"commits":["c72f9b950"],"cves":[],"db_id":"bbd4151cda8896a6c73f9c6e165f76fa","html":"\u003cp\u003e移除对非 \u003cacronym\u003eELF\u003c/acronym\u003e 的 \u003cacronym\u003eBSD\u003c/acronym\u003e 系统的支持（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/c72f9b950\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-972dfeb292bf9c24","identity_text":"Remove support for non-ELF BSD systems (Peter Eisentraut)","part":"changes","patch_ids":["a0c8bd40d481c1fc24ce4a75eced5e6a"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["c72f9b950"],"source_entry_id":"13.0/changes/138","source_hash":"0ee65b16d886d8e37ac884832f4b829954d1722baed261d76e072a3ca787ddb8","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"5a6aa6ace7eaeb47a37ccd2a31f570ac010c52315807dca44ca583edc51adf6f","text":"移除对非 ELF 的 BSD 系统的支持（Peter Eisentraut）§","title":"移除对非 ELF 的 BSD 系统的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["37f21ed13"],"commit_groups":[["37f21ed13"]],"commits":["37f21ed13"],"cves":[],"db_id":"acbb5cfb620aa45879b0b12b85775290","html":"\u003cp\u003e移除对 Python 2.5.X 及更早版本的\u003ca href=\"/docs/13/plpython.html\" title=\"第 45 章 PL/Python — Python 过程语言\"\u003e支持\u003c/a\u003e（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/37f21ed13\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-8cd8e4061be4b8f5","identity_text":"Remove support for Python versions 2.5.X and earlier (Peter Eisentraut)","part":"changes","patch_ids":["12eb5ae6d1e0e8a4ebad01b5cd118bbb"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["37f21ed13"],"source_entry_id":"13.0/changes/139","source_hash":"a5fee622f4138694914aff897cc2f3fb250aee508d28cdcf72daa7129b16adaa","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"44ccd7ce3c944936a762ce3bae99bf632a27c7529b259f51e9e7e924fd763dee","text":"移除对 Python 2.5.X 及更早版本的支持（Peter Eisentraut）§","title":"移除对 Python 2.5.X 及更早版本的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7b283d0e1"],"commit_groups":[["7b283d0e1"]],"commits":["7b283d0e1"],"cves":[],"db_id":"e816cdaf6407b8bb526aaf8a8059439e","html":"\u003cp\u003e移除对 OpenSSL 0.9.8 和 1.0.0 的\u003ca href=\"/docs/13/installation.html#INSTALL-SHORT\" title=\"16.1. 简要说明\"\u003e支持\u003c/a\u003e（Michael Paquier）\u003ca href=\"https://postgr.es/c/7b283d0e1\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-70467a059f75fbad","identity_text":"Remove support for OpenSSL 0.9.8 and 1.0.0 (Michael Paquier)","part":"changes","patch_ids":["5675f3e49bb5093ef339f9034032d537"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["7b283d0e1"],"source_entry_id":"13.0/changes/140","source_hash":"bd03c8f1ce2eb4ba45779d5a12bc04630cdeff1432f80ea63153b061be29f221","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"6bf158447308f0405867ba0f8e74897340e29fb76b7199dc170e9b9199389e61","text":"移除对 OpenSSL 0.9.8 和 1.0.0 的支持（Michael Paquier）§","title":"移除对 OpenSSL 0.9.8 和 1.0.0 的支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["2e4db241b","4513d8b07"],"commit_groups":[["2e4db241b"],["4513d8b07"]],"commits":["2e4db241b","4513d8b07"],"cves":[],"db_id":"c1b496f2458af3a94ba223eff21c1362","html":"\u003cp\u003e移除 \u003ca href=\"/docs/13/installation.html#INSTALL-SHORT\" title=\"16.1. 简要说明\"\u003econfigure\u003c/a\u003e 选项 \u003ccode\u003e--disable-float8-byval\u003c/code\u003e 和 \u003ccode\u003e--disable-float4-byval\u003c/code\u003e（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/4513d8b07\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/2e4db241b\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这些内容曾用于兼容某些版本零 C 函数，但那些函数已不再受支持。\u003c/p\u003e","id":"13.0-47bc59439febf2d9","identity_text":"Remove configure options --disable-float8-byval and --disable-float4-byval (Peter Eisentraut) These were needed for compatibility with some version-zero C functions, but those are no longer supported.","part":"changes","patch_ids":["585b70c91cf2f1c95454b7ac7e9fed04","84ce571e5a93a239d3cc7d06a19e8edd"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["2e4db241b","4513d8b07"],"source_entry_id":"13.0/changes/141","source_hash":"5d4709133c6411130ae0ae01c76fb76a6a21dec287fc4e0f0418e01acaf48536","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"d38171c935857423547798c35f561acd76586d907b9023259abd4ecd4f7e05df","text":"移除 configure 选项 --disable-float8-byval 和 --disable-float4-byval（Peter Eisentraut）§ § 这些内容曾用于兼容某些版本零 C 函数，但那些函数已不再受支持。","title":"移除 configure 选项 --disable-float8-byval 和 --disable-float4-byval","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6aba63ef3"],"commit_groups":[["6aba63ef3"]],"commits":["6aba63ef3"],"cves":[],"db_id":"dc6fed588e14e6d9c861d11ef45909a3","html":"\u003cp\u003e将查询字符串传递给规划器钩子函数（Pascal Legrand，Julien Rouhaud）\u003ca href=\"https://postgr.es/c/6aba63ef3\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-d5c5dbf4056c38b3","identity_text":"Pass the query string to planner hook functions (Pascal Legrand, Julien Rouhaud)","part":"changes","patch_ids":["5218616d82ff64d233870e404adfee5c"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["6aba63ef3"],"source_entry_id":"13.0/changes/142","source_hash":"6c15c7562ae972bac196cf42835ba1f7719a21b5890d44a681c6f2ce6a14e1ab","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"a450489572fa0be4d6e23b5cdf965953ef61bbc532c33e5338618484d58a3952","text":"将查询字符串传递给规划器钩子函数（Pascal Legrand，Julien Rouhaud）§","title":"将查询字符串传递给规划器钩子函数","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f7a2002e8"],"commit_groups":[["f7a2002e8"]],"commits":["f7a2002e8"],"cves":[],"db_id":"12634bf42bf7c37f12281d00068d24b5","html":"\u003cp\u003e增加 \u003ca href=\"/docs/13/sql-truncate.html\" title=\"TRUNCATE\"\u003e\u003ccode\u003eTRUNCATE\u003c/code\u003e\u003c/a\u003e 命令钩子（Yuli Khodorkovskiy）\u003ca href=\"https://postgr.es/c/f7a2002e8\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-0000ae20363b4ea6","identity_text":"Add TRUNCATE command hook (Yuli Khodorkovskiy)","part":"changes","patch_ids":["d713701145e90dce7ef4f578f3096a4c"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["f7a2002e8"],"source_entry_id":"13.0/changes/143","source_hash":"a27fe6a9dcc25613ddf0714832ba38f8501f3662cc3075f8e036488bb4979fba","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"bf5fda4992541663bb51a8d3d3ccf6c0b1eb3596d8c33a52becc6c093ad45bcf","text":"增加 TRUNCATE 命令钩子（Yuli Khodorkovskiy）§","title":"增加 TRUNCATE 命令钩子","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["896fcdb23"],"commit_groups":[["896fcdb23"]],"commits":["896fcdb23"],"cves":[],"db_id":"7924824da56b15ba8ad07d040c105e52","html":"\u003cp\u003e增加 \u003cacronym\u003eTLS\u003c/acronym\u003e 初始化钩子（Andrew Dunstan）\u003ca href=\"https://postgr.es/c/896fcdb23\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-05f9556fec53b1fe","identity_text":"Add TLS init hook (Andrew Dunstan)","part":"changes","patch_ids":["59f92279b9435b581feb8f5e6f0b8ca6"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["896fcdb23"],"source_entry_id":"13.0/changes/144","source_hash":"1256699ad51ed30cf523d556a7b44d675945090135410d2789d9cf92dc7506ac","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"b7bb72c21c01704790b65028ad5b683adbda8b01d0aa1b792dfccfd01daac91a","text":"增加 TLS 初始化钩子（Andrew Dunstan）§","title":"增加 TLS 初始化钩子","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["a9cff89f7"],"commit_groups":[["a9cff89f7"]],"commits":["a9cff89f7"],"cves":[],"db_id":"e330e1db883ac8c39801eb2c59c34ea4","html":"\u003cp\u003e允许在不预定义 Unix 域套接字目录的情况下构建（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/a9cff89f7\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-6e6a37a416507205","identity_text":"Allow building with no predefined Unix-domain socket directory (Peter Eisentraut)","part":"changes","patch_ids":["c701d482df08c3651cec820cef231962"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["a9cff89f7"],"source_entry_id":"13.0/changes/145","source_hash":"71b20597c6eaf4d27a7663159269e3f4847522c4e6d9865c99cb76b460c4b566","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"9301f64264dc830d6b2ea15780df4a01191dac3d5d3248b9877e38473f998bec","text":"允许在不预定义 Unix 域套接字目录的情况下构建（Peter Eisentraut）§","title":"允许在不预定义 Unix 域套接字目录的情况下构建","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["7de19fbc0"],"commit_groups":[["7de19fbc0"]],"commits":["7de19fbc0"],"cves":[],"db_id":"07e16210a12341289ce3fe2be7322aba","html":"\u003cp\u003e降低 Unix 平台上 SysV 资源键冲突的概率（Tom Lane）\u003ca href=\"https://postgr.es/c/7de19fbc0\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-8ea52b99bc827607","identity_text":"Reduce the probability of SysV resource key collision on Unix platforms (Tom Lane)","part":"changes","patch_ids":["2dbfea94d296ec2e8807f887d180bb9d"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["7de19fbc0"],"source_entry_id":"13.0/changes/146","source_hash":"9a7f57141b86bd7a614154dc366ed846cd039386427dd4b1fd50a1ad5aa9b073","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"4cd5308e87b99af23099513276a18d63676ce880fc435fae7b4e519b7c6f392c","text":"降低 Unix 平台上 SysV 资源键冲突的概率（Tom Lane）§","title":"降低 Unix 平台上 SysV 资源键冲突的概率","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["74a308cf5"],"commit_groups":[["74a308cf5"]],"commits":["74a308cf5"],"cves":[],"db_id":"09341b3c48612368dc02e043f6c89402","html":"\u003cp\u003e使用操作系统函数可靠地擦除包含敏感信息的内存（Peter Eisentraut）\u003ca href=\"https://postgr.es/c/74a308cf5\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e例如，可用它清除存储在内存中的密码。\u003c/p\u003e","id":"13.0-8e20d7979e06ff21","identity_text":"Use operating system functions to reliably erase memory that contains sensitive information (Peter Eisentraut) For example, this is used for clearing passwords stored in memory.","part":"changes","patch_ids":["7a43a16c83f9718468bbad7ec76fe898"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["74a308cf5"],"source_entry_id":"13.0/changes/147","source_hash":"51c505a954d65e7c2a216353d0dd8ae47515d27123f41329eb7eb5d5073632b0","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"d0165d965bce608050bd67ef9b1c375bb4242840595bed14a3b8ca5df919290e","text":"使用操作系统函数可靠地擦除包含敏感信息的内存（Peter Eisentraut）§ 例如，可用它清除存储在内存中的密码。","title":"使用操作系统函数可靠地擦除包含敏感信息的内存","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["55ea10918"],"commit_groups":[["55ea10918"]],"commits":["55ea10918"],"cves":[],"db_id":"afa2774ba9f4eade0c95a06376593244","html":"\u003cp\u003e增加 \u003ccode\u003eheaderscheck\u003c/code\u003e 脚本以测试 C 头文件的兼容性（Tom Lane）\u003ca href=\"https://postgr.es/c/55ea10918\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-60aa1b2b38a37e5d","identity_text":"Add headerscheck script to test C header-file compatibility (Tom Lane)","part":"changes","patch_ids":["2970515369d62c50cf4e330944de60ff"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["55ea10918"],"source_entry_id":"13.0/changes/148","source_hash":"7cbd2d1d29506fa01124bf69fe30107f7128542773bd5d8822b36ca140e214a5","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"6b0443a9b008d56dc17e11c7ddf2a344b342c05f3f8470c27bf04b8d9796d70a","text":"增加 headerscheck 脚本以测试 C 头文件的兼容性（Tom Lane）§","title":"增加 headerscheck 脚本以测试 C 头文件的兼容性","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["1cff1b95a"],"commit_groups":[["1cff1b95a"]],"commits":["1cff1b95a"],"cves":[],"db_id":"6c0132cf968ad5627ce8cd83f77457a0","html":"\u003cp\u003e将内部列表实现为数组，而不再采用单元链表（Tom Lane）\u003ca href=\"https://postgr.es/c/1cff1b95a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e这提高了访问大量对象的查询的性能。\u003c/p\u003e","id":"13.0-0d2183ee10ca0e1a","identity_text":"Implement internal lists as arrays, rather than a chain of cells (Tom Lane) This improves performance for queries that access many objects.","part":"changes","patch_ids":["208c2f9eb2b7167d3fa9173057b469c3"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["1cff1b95a"],"source_entry_id":"13.0/changes/149","source_hash":"97379c0a18578f43de9968e4883627e462d1cb65a0af79b9b24b09b775fc4a02","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"caf9801dd9b374f965a91b2f2c196ad9579a47681d86dc3192a2504080f17611","text":"将内部列表实现为数组，而不再采用单元链表（Tom Lane）§ 这提高了访问大量对象的查询的性能。","title":"将内部列表实现为数组，而不再采用单元链表","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["70eca6a9a","92fe6895d"],"commit_groups":[["70eca6a9a"],["92fe6895d"]],"commits":["70eca6a9a","92fe6895d"],"cves":[],"db_id":"0064c983de34fa708629d862de1c76c8","html":"\u003cp\u003e修改 \u003ccode\u003eTS_execute()\u003c/code\u003e 的 API（Tom Lane，Pavel Borisov）\u003ca href=\"https://postgr.es/c/92fe6895d\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/70eca6a9a\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eTS_execute\u003c/code\u003e 回调现在必须提供三值（是、否、可能）逻辑。现在默认准确计算 NOT 查询。\u003c/p\u003e","id":"13.0-d438a0e2943979f6","identity_text":"Change the API for TS_execute() (Tom Lane, Pavel Borisov) TS_execute callbacks must now provide ternary (yes/no/maybe) logic. Calculating NOT queries accurately is now the default.","part":"changes","patch_ids":["16cb724676b10026a01a3b8e1e64e9a0","779c94bac88b432128cc8037d7548c2e"],"related_changes":[],"relations":[],"section":"源代码","section_path":["源代码"],"source_commits":["70eca6a9a","92fe6895d"],"source_entry_id":"13.0/changes/150","source_hash":"033ea1cb930dc6cde616ee6321cbfe9aaab7f7ee2afbb977d786af31edf84790","source_url":"/docs/release/13.0/#id-1.11.6.29.5.13","statement_hash":"0d04a7f46f651390631b3e048898ede9cbef7abd4fecb038f51bf471d4f79426","text":"修改 TS_execute() 的 API（Tom Lane，Pavel Borisov）§ § TS_execute 回调现在必须提供三值（是、否、可能）逻辑。现在默认准确计算 NOT 查询。","title":"修改 TS_execute() 的 API","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["50fc694e4"],"commit_groups":[["50fc694e4"]],"commits":["50fc694e4"],"cves":[],"db_id":"8b076c285c8a78e6af9aab2947565079","html":"\u003cp\u003e允许将\u003ca href=\"/docs/13/sql-createextension.html\" title=\"CREATE EXTENSION\"\u003e扩展\u003c/a\u003e指定为可信（Tom Lane）\u003ca href=\"https://postgr.es/c/50fc694e4\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e拥有数据库级 \u003ccode\u003eCREATE\u003c/code\u003e 权限的用户，即使不是超级用户，也可以在数据库中安装这类扩展。此项修改还移除了 \u003ccode\u003epg_pltemplate\u003c/code\u003e 系统目录。\u003c/p\u003e","id":"13.0-f6efc6b220a9879c","identity_text":"Allow extensions to be specified as trusted (Tom Lane) Such extensions can be installed in a database by users with database-level CREATE privileges, even if they are not superusers. This change also removes the pg_pltemplate system catalog.","part":"changes","patch_ids":["7076d99d9291dfce070ea0831c6fecfd"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["50fc694e4"],"source_entry_id":"13.0/changes/151","source_hash":"563675a14bd6d9ae39f9ee65d4b43e16bd1255934a10551f9954adb49cb4b854","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"84d40697540d974b09e0a841d209176d1f2a1007cd6c3856481d20a919b7f090","text":"允许将扩展指定为可信（Tom Lane）§ 拥有数据库级 CREATE 权限的用户，即使不是超级用户，也可以在数据库中安装这类扩展。此项修改还移除了 pg_pltemplate 系统目录。","title":"允许将扩展指定为可信","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6136e94dc"],"commit_groups":[["6136e94dc"]],"commits":["6136e94dc"],"cves":[],"db_id":"3053e6db53bf87012ea2c5effe42c461","html":"\u003cp\u003e允许非超级用户不使用密码就连接到\u003ca href=\"/docs/13/postgres-fdw.html\" title=\"F.33. postgres_fdw\"\u003epostgres_fdw\u003c/a\u003e外部服务器（Craig Ringer）\u003ca href=\"https://postgr.es/c/6136e94dc\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e具体来说，允许超级用户将某个\u003ca href=\"/docs/13/sql-alterusermapping.html\" title=\"ALTER USER MAPPING\"\u003e用户映射\u003c/a\u003e的 \u003ccode\u003epassword_required\u003c/code\u003e 设置为 false。仍须注意防止非超级用户使用超级用户凭据连接到外部服务器。\u003c/p\u003e","id":"13.0-cea87d654fc87bc7","identity_text":"Allow non-superusers to connect to postgres-fdw foreign servers without using a password (Craig Ringer) Specifically, allow a superuser to set password_required to false for a user mapping. Care must still be taken to prevent non-superusers from using superuser credentials to connect to the foreign server.","part":"changes","patch_ids":["c7030cbc1a42a89a5b7d68956d5207df"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["6136e94dc"],"source_entry_id":"13.0/changes/152","source_hash":"8a5a09c9e0a1fdaed16ca9e691bace467010960d276497c347576e227afe35cf","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"6033b5045cfd9cc8316aa9b168f3643b8d9ef970e1b88bdd56d29a41cf5f4976","text":"允许非超级用户不使用密码就连接到postgres_fdw外部服务器（Craig Ringer）§ 具体来说，允许超级用户将某个用户映射的 password_required 设置为 false。仍须注意防止非超级用户使用超级用户凭据连接到外部服务器。","title":"允许非超级用户不使用密码就连接到postgres_fdw外部服务器","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["f5fd995a1"],"commit_groups":[["f5fd995a1"]],"commits":["f5fd995a1"],"cves":[],"db_id":"e3157a621bfc4b0e48d8d1968be62a5d","html":"\u003cp\u003e允许 \u003cspan\u003epostgres_fdw\u003c/span\u003e 使用证书认证（Craig Ringer）\u003ca href=\"https://postgr.es/c/f5fd995a1\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e不同用户可以使用不同证书。\u003c/p\u003e","id":"13.0-843df936da02d03d","identity_text":"Allow postgres_fdw to use certificate authentication (Craig Ringer) Different users can use different certificates.","part":"changes","patch_ids":["fb541ac14495efce2c844284cdb033bc"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["f5fd995a1"],"source_entry_id":"13.0/changes/153","source_hash":"cc4fc45a4787970a479564d80749f8893fc09523c3b03ed0c0e8bd04b3f232db","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"2882d2fb2887bd01d52ce7612ecb61c312d203d5b8733db1f9e8edcde7dabc04","text":"允许 postgres_fdw 使用证书认证（Craig Ringer）§ 不同用户可以使用不同证书。","title":"允许 postgres_fdw 使用证书认证","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["4f66c93f6"],"commit_groups":[["4f66c93f6"]],"commits":["4f66c93f6"],"cves":[],"db_id":"be79f6dcccc0d85d703aa85c3e876126","html":"\u003cp\u003e允许\u003ca href=\"/docs/13/sepgsql.html\" title=\"F.35. sepgsql\"\u003esepgsql\u003c/a\u003e控制对 \u003ccode\u003eTRUNCATE\u003c/code\u003e 命令的访问（Yuli Khodorkovskiy）\u003ca href=\"https://postgr.es/c/4f66c93f6\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-b7c34f1acd2466d6","identity_text":"Allow sepgsql to control access to the TRUNCATE command (Yuli Khodorkovskiy)","part":"changes","patch_ids":["3429efab0a30f048c637a68b7aebea88"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["4f66c93f6"],"source_entry_id":"13.0/changes/154","source_hash":"8cdc4d5e793ec33c2c0184a5f9af7b0630fa50ac2d7c71ce13b85a7294b46654","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"189df84dd7ecfb28118fc575c13a682343792ac2143ac50ee8273d35880e73ad","text":"允许sepgsql控制对 TRUNCATE 命令的访问（Yuli Khodorkovskiy）§","title":"允许sepgsql控制对 TRUNCATE 命令的访问","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["36058a3c5"],"commit_groups":[["36058a3c5"]],"commits":["36058a3c5"],"cves":[],"db_id":"e2a47dde31dcea2d1e8e1f21c50dfb94","html":"\u003cp\u003e增加扩展\u003ca href=\"/docs/13/plperl.html\" title=\"第 44 章 PL/Perl — Perl 过程语言\"\u003e\u003cspan\u003ebool_plperl\u003c/span\u003e\u003c/a\u003e，以在 \u003cacronym\u003eSQL\u003c/acronym\u003e 布尔值和 PL/Perl 布尔值之间进行双向转换（Ivan Panchenko）\u003ca href=\"https://postgr.es/c/36058a3c5\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-5cdad682978c774a","identity_text":"Add extension bool_plperl which transforms SQL booleans to/from PL/Perl booleans (Ivan Panchenko)","part":"changes","patch_ids":["8e7fa16296712d228a9d562996648c1b"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["36058a3c5"],"source_entry_id":"13.0/changes/155","source_hash":"5d7cfef8f8ee67a8e6325180eba4c6d0cead7c1a497accc70f96c11a80ca24f8","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"cc15f6c126ea53e9687f3eac3e78edfdf3754da6f74d3ef398b75e15140dcf57","text":"增加扩展bool_plperl，以在 SQL 布尔值和 PL/Perl 布尔值之间进行双向转换（Ivan Panchenko）§","title":"增加扩展bool_plperl，以在 SQL 布尔值和 PL/Perl 布尔值之间进行双向转换","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["6e74c64bc"],"commit_groups":[["6e74c64bc"]],"commits":["6e74c64bc"],"cves":[],"db_id":"d9d24bfdbedc70b2b5f2dc3159dfa649","html":"\u003cp\u003e使\u003ca href=\"/docs/13/pgstatstatements.html\" title=\"F.29. pg_stat_statements\"\u003epg_stat_statements\u003c/a\u003e将 \u003ccode\u003eSELECT ... FOR UPDATE\u003c/code\u003e 命令与不带 \u003ccode\u003eFOR UPDATE\u003c/code\u003e 的命令分别处理（Andrew Gierth，Vik Fearing）\u003ca href=\"https://postgr.es/c/6e74c64bc\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ca38fa185a19eba9","identity_text":"Have pgstatstatements treat SELECT ... FOR UPDATE commands as distinct from those without FOR UPDATE (Andrew Gierth, Vik Fearing)","part":"changes","patch_ids":["dc282d739c80d59b1f4f1f77486151f2"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["6e74c64bc"],"source_entry_id":"13.0/changes/156","source_hash":"d59a3b9ce1cf5f1fe0b4fa6a7b28901cafa353d6411395beff2b21fbac62761b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"058ad31dd80ae6595d83c132aa990188b77b9d2a3b378c128706f127ffb12beb","text":"使pg_stat_statements将 SELECT ... FOR UPDATE 命令与不带 FOR UPDATE 的命令分别处理（Andrew Gierth，Vik Fearing）§","title":"使pg_stat_statements将 SELECT ... FOR UPDATE 命令与不带 FOR UPDATE 的命令分别处理","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["17e032822","8d459762b"],"commit_groups":[["17e032822"],["8d459762b"]],"commits":["17e032822","8d459762b"],"cves":[],"db_id":"5d4c20dbfae566a19499635a43943294","html":"\u003cp\u003e允许 \u003cspan\u003epg_stat_statements\u003c/span\u003e 选择性地跟踪语句的规划时间（Julien Rouhaud，Pascal Legrand，Thomas Munro，Fujii Masao）\u003ca href=\"https://postgr.es/c/17e032822\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/8d459762b\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e以前只跟踪执行时间。\u003c/p\u003e","id":"13.0-e540c7d179622c6e","identity_text":"Allow pg_stat_statements to optionally track the planning time of statements (Julien Rouhaud, Pascal Legrand, Thomas Munro, Fujii Masao) Previously only execution time was tracked.","part":"changes","patch_ids":["2c5084b85da3e647e08bfdd0949d7ed1","3ce97064db6107eb46a4cf9416f445a9"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["17e032822","8d459762b"],"source_entry_id":"13.0/changes/157","source_hash":"c43392615420cb2e615056351f336ea6c7dc56e7c5e8997893d81c200cf544e9","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"798ac47e4ca60267a53260d14a1e9913cd7f7e515021e697ad83c33bd0757327","text":"允许 pg_stat_statements 选择性地跟踪语句的规划时间（Julien Rouhaud，Pascal Legrand，Thomas Munro，Fujii Masao）§ § 以前只跟踪执行时间。","title":"允许 pg_stat_statements 选择性地跟踪语句的规划时间","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["17ca06799","70dc4c509"],"commit_groups":[["17ca06799"],["70dc4c509"]],"commits":["17ca06799","70dc4c509"],"cves":[],"db_id":"70f81e7572d95dace13b3cf504b4612c","html":"\u003cp\u003e全面修改\u003ca href=\"/docs/13/ltree.html\" title=\"F.21. ltree\"\u003eltree\u003c/a\u003e的 lquery 语法，使其对 \u003ccode\u003eNOT\u003c/code\u003e（!）的处理更符合逻辑（Filip Rembialkowski，Tom Lane，Nikita Glukhov）\u003ca href=\"https://postgr.es/c/70dc4c509\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/17ca06799\"\u003e§\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e另外，允许非 * 查询使用数值范围（{}）指定匹配次数。\u003c/p\u003e","id":"13.0-e5d101191efbc29b","identity_text":"Overhaul ltree 's lquery syntax to treat NOT (!) more logically (Filip Rembialkowski, Tom Lane, Nikita Glukhov) Also allow non-* queries to use a numeric range ({}) of matches.","part":"changes","patch_ids":["6925289a401f13c6df7995360bded879","d3dd33143ab2863e9c9673bc18a6bc05"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["17ca06799","70dc4c509"],"source_entry_id":"13.0/changes/158","source_hash":"3eee185aa8d93d9282095b18b9316f7b73ba6839ea6e2c88446538346894583f","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"22365ce49d9c77f4f74a8efeee702a7f2f3d8158b6a80d4b51553a56a5072bd4","text":"全面修改ltree的 lquery 语法，使其对 NOT（!）的处理更符合逻辑（Filip Rembialkowski，Tom Lane，Nikita Glukhov）§ § 另外，允许非 * 查询使用数值范围（{}）指定匹配次数。","title":"全面修改ltree的 lquery 语法，使其对 NOT（!）的处理更符合逻辑","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["949a9f043"],"commit_groups":[["949a9f043"]],"commits":["949a9f043"],"cves":[],"db_id":"2671eb7c64d86775cff93261b04c61a0","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/ltree.html\" title=\"F.21. ltree\"\u003eltree\u003c/a\u003e、lquery 和 ltxtquery 类型的二进制 I/O 支持（Nino Floris）\u003ca href=\"https://postgr.es/c/949a9f043\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-6c3865bd757acf5a","identity_text":"Add support for binary I/O of ltree , lquery, and ltxtquery types (Nino Floris)","part":"changes","patch_ids":["58c90a47b20b30cbcdc987c0dd4dea07"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["949a9f043"],"source_entry_id":"13.0/changes/159","source_hash":"21d3f497c9f17a1198f45b40c83c86511179765bf400809fc71e0789bf05bbf9","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"6cf5e2ef1d7ae0753b1505cd03dc1c8b90725578d183f98e930b79a1612dafe2","text":"增加ltree、lquery 和 ltxtquery 类型的二进制 I/O 支持（Nino Floris）§","title":"增加ltree、lquery 和 ltxtquery 类型的二进制 I/O 支持","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["806eb92c0"],"commit_groups":[["806eb92c0"]],"commits":["806eb92c0"],"cves":[],"db_id":"44aabb206a20b32186ddf62c0b047a9b","html":"\u003cp\u003e为\u003ca href=\"/docs/13/dict-int.html\" title=\"F.11. dict_int\"\u003edict_int\u003c/a\u003e增加忽略整数符号的选项（Jeff Janes）\u003ca href=\"https://postgr.es/c/806eb92c0\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-ad3e0a0cf22c6630","identity_text":"Add an option to dict-int to ignore the sign of integers (Jeff Janes)","part":"changes","patch_ids":["b3f5128246ff6f4045eb16bb3fab2076"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["806eb92c0"],"source_entry_id":"13.0/changes/160","source_hash":"44bf0ca73b1b426d259e70056de603377ec83ecfe4fddd49345ea64cf59bf5e1","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"d37349f2a1060cb9cd7cb657bab11feb78f1f88693590c956c14e3f28735beda","text":"为dict_int增加忽略整数符号的选项（Jeff Janes）§","title":"为dict_int增加忽略整数符号的选项","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["d694e0bb7"],"commit_groups":[["d694e0bb7"]],"commits":["d694e0bb7"],"cves":[],"db_id":"e40616995f7b161eb8594f056f18c829","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/contrib.html#ADMINPACK\" title=\"F.1. adminpack\"\u003eadminpack\u003c/a\u003e函数 \u003ccode\u003epg_file_sync()\u003c/code\u003e，以允许对文件执行 fsync（Fujii Masao）\u003ca href=\"https://postgr.es/c/d694e0bb7\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-0c6beecc75a6005c","identity_text":"Add adminpack function pg_file_sync() to allow fsync'ing a file (Fujii Masao)","part":"changes","patch_ids":["76662871a2e0113a2ae954fea6d8ff91"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["d694e0bb7"],"source_entry_id":"13.0/changes/161","source_hash":"ff15dd12a5a6880af912eb5ec729da56489e64fd1c933a2b527a6e144af78097","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"8fd5dc6a18c783b9e69a27abb3cfafc223a9612c0cef9c8f2f36ae47554b2286","text":"增加adminpack函数 pg_file_sync()，以允许对文件执行 fsync（Fujii Masao）§","title":"增加adminpack函数 pg_file_sync()，以允许对文件执行 fsync","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["58b4cb30a","ddbd5d873"],"commit_groups":[["58b4cb30a"],["ddbd5d873"]],"commits":["58b4cb30a","ddbd5d873"],"cves":[],"db_id":"72beb62f89432718771241ca689450a4","html":"\u003cp\u003e增加\u003ca href=\"/docs/13/pageinspect.html\" title=\"F.22. pageinspect\"\u003epageinspect\u003c/a\u003e函数，以人类可读的格式输出 \u003ccode\u003et_infomask\u003c/code\u003e/\u003ccode\u003et_infomask2\u003c/code\u003e 值（Craig Ringer，Sawada Masahiko，Michael Paquier）\u003ca href=\"https://postgr.es/c/ddbd5d873\"\u003e§\u003c/a\u003e \u003ca href=\"https://postgr.es/c/58b4cb30a\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-aec2151871aa1ec1","identity_text":"Add pageinspect functions to output t_infomask/t_infomask2 values in human-readable format (Craig Ringer, Sawada Masahiko, Michael Paquier)","part":"changes","patch_ids":["7f1a50847f2241e900520a58d93b9fef","b508028a4ac179e90cd9a097efbb6cbf"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["58b4cb30a","ddbd5d873"],"source_entry_id":"13.0/changes/162","source_hash":"b0f8154bb472c4c7b8586c5d7392d7771aec3ed1f365561c505f7cb5770ba03c","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"344214b4adf81f448fd60fc7d4bdefdea8f779282016cc138f3c35fbe4718a2c","text":"增加pageinspect函数，以人类可读的格式输出 t_infomask/t_infomask2 值（Craig Ringer，Sawada Masahiko，Michael Paquier）§ §","title":"增加pageinspect函数，以人类可读的格式输出 t_infomask/t_infomask2 值","variants":[],"version":"13.0"},{"also_in":[],"category":"feature","category_label":"Features","commit_aliases":["93ee38ead"],"commit_groups":[["93ee38ead"]],"commits":["93ee38ead"],"cves":[],"db_id":"041795569921cacf25aa797cddc22cad","html":"\u003cp\u003e向 pageinspect 输出添加 B-树索引去重处理相关列（Peter Geoghegan）\u003ca href=\"https://postgr.es/c/93ee38ead\"\u003e§\u003c/a\u003e\u003c/p\u003e","id":"13.0-4e93f392eaee5052","identity_text":"Add B-tree index de-duplication processing columns to pageinspect output (Peter Geoghegan)","part":"changes","patch_ids":["393828c4dc0d508952768c2ef5de29bc"],"related_changes":[],"relations":[],"section":"附加模块","section_path":["附加模块"],"source_commits":["93ee38ead"],"source_entry_id":"13.0/changes/163","source_hash":"cbb64b3dff00a5a6fc40e97c9d55296797e5a1b0cebc0f81918e7188054c0b7b","source_url":"/docs/release/13.0/#id-1.11.6.29.5.14","statement_hash":"a98a59c909ab09b9d13421b88dad7f90614afedfff6b88fb5e421a44baa4894f","text":"向 pageinspect 输出添加 B-树索引去重处理相关列（Peter Geoghegan）§","title":"向 pageinspect 输出添加 B-树索引去重处理相关列","variants":[],"version":"13.0"}],"entry_count":178,"eol":"2025-11-13","eol_date":"2025-11-13","label":"13.0","major":"13","manual":"13","manual_build":"13.23","manual_url":"/docs/13/release-13.html","migration_html":"\u003cp\u003e对于希望从任何先前版本迁移数据的用户，需要使用\u003ca href=\"/docs/13/app-pg-dumpall.html\" title=\"pg_dumpall\"\u003e\u003cspan\u003e\u003cspan\u003epg_dumpall\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e进行导出/恢复，或使用\u003ca href=\"/docs/13/pgupgrade.html\" title=\"pg_upgrade\"\u003e\u003cspan\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e或逻辑复制。有关迁移到新主版本的一般信息，请参见\u003ca href=\"/docs/13/upgrading.html\" title=\"18.6. 升级 PostgreSQL 集簇\"\u003e第 18.6 节\u003c/a\u003e。\u003c/p\u003e\n\u003cp\u003e版本 13 包含许多可能影响与先前版本兼容性的变更。请注意以下不兼容性：\u003c/p\u003e\n\u003cdiv\u003e\n\u003c/div\u003e","minor":0,"placeholder":false,"source_as_of":"","source_url":"/docs/release/13.0/","status":"stable","status_label":"Historical","support_days":-333,"supported":false,"version":"13.0"}],"mode":"release","release_count":1,"remaining_cves":[],"security_as_of":"2026-09-26","security_regressions":[],"source_as_of":"2026-09-26","stats":[{"count":178,"key":"all","label":"All changes"},{"count":143,"key":"feature","label":"Features"},{"count":4,"key":"bugfix","label":"Bug fixes"},{"count":0,"key":"security","label":"Security"},{"count":16,"key":"performance","label":"Performance"},{"count":15,"key":"compatibility","label":"Compatibility"},{"count":0,"key":"improvement","label":"Improvements"}],"to_release":{"age_days":2209,"build":"13.0","changes_count":163,"compatibility_count":15,"content_hash":"ad59d1093647d58ea07adef110d91058aec55451da57e6198ef21125d5e33d0f","date":"2020-09-24","date_text":"2020-09-24","doc_git":"","doc_loaded_at":"2026-09-26T02:56:40.428744","entry_count":178,"eol":"2025-11-13","eol_date":"2025-11-13","label":"13.0","major":"13","manual":"13","manual_build":"13.23","manual_url":"/docs/13/release-13.html","migration_html":"\u003cp\u003e对于希望从任何先前版本迁移数据的用户，需要使用\u003ca href=\"/docs/13/app-pg-dumpall.html\" title=\"pg_dumpall\"\u003e\u003cspan\u003e\u003cspan\u003epg_dumpall\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e进行导出/恢复，或使用\u003ca href=\"/docs/13/pgupgrade.html\" title=\"pg_upgrade\"\u003e\u003cspan\u003e\u003cspan\u003epg_upgrade\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e或逻辑复制。有关迁移到新主版本的一般信息，请参见\u003ca href=\"/docs/13/upgrading.html\" title=\"18.6. 升级 PostgreSQL 集簇\"\u003e第 18.6 节\u003c/a\u003e。\u003c/p\u003e\n\u003cp\u003e版本 13 包含许多可能影响与先前版本兼容性的变更。请注意以下不兼容性：\u003c/p\u003e\n\u003cdiv\u003e\n\u003c/div\u003e","minor":0,"placeholder":false,"source_as_of":"","source_url":"/docs/release/13.0/","status":"stable","status_label":"Historical","support_days":-333,"supported":false,"version":"13.0"},"total":178,"warnings":[]}
