大乌龙是什么意思| 白细胞偏低是什么原因| 独活主治什么病| lbl是什么意思| 花絮是什么意思| 闪回是什么意思| 三文鱼长什么样| 盆腔积液吃什么药好| 九月是什么星座的| 梅菜扣肉的梅菜是什么菜| 牙周炎是什么| 低钾血症吃什么食补| 肾虚什么症状| 挖空细胞是什么意思啊| 为什么会得鼻炎| 人为什么要日b| 猫弓背什么意思| 毒龙钻什么意思| 忆苦思甜下一句是什么| 三杯鸡的三杯是什么| 三险一金是什么| 右脚麻是什么病的前兆| 孕酮低什么原因| 拉黑色的屎是什么原因| 子不问卜自惹祸殃什么意思| 八月13号是什么星座| 煎熬是什么意思| 朱顶红什么时候开花| 老死不相往来什么意思| 什么水果榨汁好喝| 老佛爷是什么意思| 舌苔是什么| 腰两侧疼痛是什么原因| 嗔是什么意思| 少将相当于地方什么级别| 长期熬夜会得什么病| c2驾照可以开什么车| 点灯是什么意思| 头臀长是什么意思| 什么叫2型糖尿病| 小孩咳嗽吃什么药好| 肌酐高吃什么食物| 更年期看什么科| 规培结束后是什么医生| 灯红酒绿是什么意思| 更年期吃什么药调理| 为什么每天晚上睡觉都做梦| 一月份什么星座| 夏天中暑吃什么药| 为什么眼皮一直跳| 为什么眉毛越来越少| 梅花鹿吃什么| 经期喝咖啡有什么影响| 521代表什么含义| 孕晚期呕吐是什么原因| 妇炎康片主要治什么妇科病| 肺部ct挂什么科| 36岁生日有什么讲究| clinique是什么牌子的化妆品| pashmina是什么面料| 缠腰蛇是什么症状图片| 四季春属于什么茶| 减脂吃什么主食| 1997年属什么| 自恋什么意思| 尿频尿急尿不尽吃什么药| 什么饮料能解酒| iphone的i是什么意思| 世界大同是什么意思| 嘴唇干是什么原因引起的| 有什么汤菜谱大全| 测五行缺什么| 眉心跳动代表什么预兆| 焦虑抑郁吃什么药| 火星是什么颜色| 反流性食管炎吃什么食物好| 外阴瘙痒用什么洗| 肺栓塞是什么意思| 牛虻是什么| 经常流鼻血是什么病的前兆| 五指毛桃长什么样子| 情窦初开是什么意思| 百香果是什么季节的| 嗓子有点疼吃什么药| 此贝是什么字| 风湿性心脏病吃什么药| 无动于衷是什么意思| PSV是什么意思| 口腔扁平苔藓吃什么药好得快| 须发早白吃什么中成药| 梦见捡了好多钱是什么预兆| 天运子什么修为| 洋葱什么时候种| 斑秃是什么原因| 手指有痣代表什么意思| 什么头什么臂| 乙肝恢复期是什么意思| 归宁是什么意思| 肾活检是什么意思| 私事是什么意思| 怀孕吃什么会流产| 肝内血管瘤是什么意思| 胃食管反流什么症状| 什么品种的西瓜最好吃| 12月9号是什么星座| 梦见蛇吃蛇是什么预兆| 水煮肉片放什么配菜| 女为什么字| 拉格啤酒是什么意思| 吃什么蔬菜可以降血脂| 之虞是什么意思| 鼻子经常出血是什么原因| 脚为什么会肿| 缅铃是什么| 吃什么水果对嗓子好| 对峙是什么意思| em什么意思| 老汉推车是什么姿势| 规律宫缩是什么感觉| 牛的三合和六个合生肖是什么| 先天性巨结肠有什么症状| 1984年什么命| 珉字五行属什么| 山芋是什么| 天生一对成伴侣是什么生肖| tomorrow什么意思| 把尿是什么意思| 吃葡萄有什么好处| 什么茶能去体内湿气| 丝瓜配什么炒好吃| 脂肪滴是什么意思| 他说风雨中这点痛算什么| 特工是什么意思| 常规血检能查出什么| 梅菜扣肉的梅菜是什么菜| 红细胞压积偏低是什么意思| 前庭功能检查是查什么| 想睡睡不着是什么原因| 人类什么时候出现的| 什么是对食| 吃什么促进腺样体萎缩| 什么看果园越看越少| 喉咙痛可以吃什么| 腺样体增生是什么意思| 一什么凤冠| 十1是什么意思| 九零年属什么生肖| 按摩有什么好处| 下肢血液循环不好吃什么药| 胆囊手术后不能吃什么| 什么是混合磨玻璃结节| 规格什么意思| 细菌性阴道病用什么药| 什么叫个人修养| ac是胎儿的什么| 白发多的原因是什么| 女性喝红茶有什么好处| 为什么睡觉会张嘴| 脐血流检查是什么| 梦见猪肉是什么意思| 留级是什么意思| 垂体分泌什么激素| 抽搐是什么原因引起的| 子宫腺肌症是什么| playboy什么意思| 冷冻是什么意思| 专著是什么| 脉数是什么意思| 72年鼠是什么命| 吃什么补充蛋白| 孩子睡觉流口水是什么原因| 阴茎里面痒是什么原因| 小浣熊吃什么| 阿尔山在内蒙古什么地方| 做梦剪头发是什么意思| 肺部积水是什么原因引起的| 9月21号是什么星座| 眼压高是什么症状| 剖腹产可以吃什么水果| 有缘无分是什么意思| o型血为什么招蚊子| 舌头边缘有齿痕是什么原因| 岔气是什么症状| 胃疼有什么办法缓解| 牙疼吃什么好| 什么叫贫血| 尖嘴猴腮什么意思| 女生肚子大是什么原因| 肾阳虚吃什么中药| nafion溶液是什么| 什么是共济失调| 前置胎盘是什么意思| 疝气嵌顿是什么意思| 七嘴八舌是什么生肖| 艾滋病会有什么症状| 吃什么水果补肝养肝最有效| 包粽子用什么叶子| 拉出黑色的屎是什么原因| 小腿细是什么原因| 通讯地址是什么意思| 流黄鼻涕吃什么药| 梦见好多肉是什么意思| 脑炎的后遗症是什么| 男士脸黑穿什么颜色好| 吃无花果有什么好处和坏处| 拿铁和美式有什么区别| 哦耶是什么意思| 女人什么时候排卵期| 驴友是什么意思| 益生元和益生菌有什么区别| 人各有命是什么意思| 女性尿路感染用什么药| 红指什么生肖| 日龙包是什么意思| 缺爱是什么意思| 绿豆芽炒什么好吃| 微信为什么发不了视频| 5月22日是什么星座| 1935年属什么生肖属相| 中秋节适合吃什么菜| sp是什么面料| 甘草配什么泡水喝最好| 前列腺钙化灶什么意思| 蒸馏酒是什么酒| 多保重是什么意思| 骨密度t值是什么意思| 脊髓是什么| 氟康唑治什么妇科炎症| sd什么意思| hello中文是什么意思| 唐氏综合症是什么| 为什么会得水痘| 什么是砭石| 桌游是什么| 甲减和甲亢有什么区别| 夫妻是什么意思| 一毛不拔是什么生肖| palladium是什么牌子| 缺维生素b吃什么食物| 头疼发烧是什么原因| 梦见发大水是什么意思| 摩羯座女生和什么星座男生最配| 突然出汗是什么原因| 什么样的毛刺是良性的| 红脸关公代表什么意思| 61年属什么| 惊厥是什么原因引起的| 奕五行属性是什么| 汞中毒有什么症状| 你算个什么东西| 甲功不正常有什么表现| 送什么小礼品好| 解尿支原体是什么| 为什么指甲有竖纹| 布施什么意思| 什么地响| 家里的财位在什么位置| 梦见鸡死了是什么预兆| 头发油性大是什么原因| 摩羯座是什么象| 妇科炎症吃什么药最好| 藤茶有什么功效| 心是什么| 女性寒性体质喝什么茶| 百度
Development Versions: 18
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

E.1. Release 18 #

Release date: 2025-??-??, CURRENT AS OF 2025-08-08

E.1.1. Overview #

PostgreSQL 18 contains many new features and enhancements, including:

  • (to be completed)

The above items and other new features of PostgreSQL 18 are explained in more detail in the sections below.

E.1.2. Migration to Version 18 #

A dump/restore using pg_dumpall or use of pg_upgrade or logical replication is required for those wishing to migrate data from any previous release. See Section 18.6 for general information on migrating to new major releases.

Version 18 contains a number of changes that may affect compatibility with previous releases. Observe the following incompatibilities:

  • Change initdb default to enable data checksums (Greg Sabino Mullane) §

    Checksums can be disabled with the new initdb option --no-data-checksums. pg_upgrade requires matching cluster checksum settings, so this new option can be useful to upgrade non-checksum old clusters.

  • Change time zone abbreviation handling (Tom Lane) §

    The system will now favor the current session's time zone abbreviations before checking the server variable timezone_abbreviations. Previously timezone_abbreviations was checked first.

  • Deprecate MD5 password authentication (Nathan Bossart) §

    Support for MD5 passwords will be removed in a future major version release. CREATE ROLE and ALTER ROLE now emit deprecation warnings when setting MD5 passwords. These warnings can be disabled by setting the md5_password_warnings parameter to off.

  • Change VACUUM and ANALYZE to process the inheritance children of a parent (Michael Harris) §

    The previous behavior can be performed by using the new ONLY option.

  • Prevent COPY FROM from treating \. as an end-of-file marker when reading CSV files (Daniel Vérité, Tom Lane) § §

    psql will still treat \. as an end-of-file marker when reading CSV files from STDIN. Older psql clients connecting to PostgreSQL 18 servers might experience \copy problems. This release also enforces that \. must appear alone on a line.

  • Disallow unlogged partitioned tables (Michael Paquier) §

    Previously ALTER TABLE SET [UN]LOGGED did nothing, and the creation of an unlogged partitioned table did not cause its children to be unlogged.

  • Execute AFTER triggers as the role that was active when trigger events were queued (Laurenz Albe) §

    Previously such triggers were run as the role that was active at trigger execution time (e.g., at COMMIT). This is significant for cases where the role is changed between queue time and transaction commit.

  • Remove non-functional support for rule privileges in GRANT/REVOKE (Fujii Masao) §

    These have been non-functional since PostgreSQL 8.2.

  • Remove column pg_backend_memory_contexts.parent (Melih Mutlu) §

    This is no longer needed since pg_backend_memory_contexts.path was added.

  • Change pg_backend_memory_contexts.level and pg_log_backend_memory_contexts() to be one-based (Melih Mutlu, Atsushi Torikoshi, David Rowley, Fujii Masao) § § §

    These were previously zero-based.

E.1.3. Changes #

Below you will find a detailed account of the changes between PostgreSQL 18 and the previous major release.

E.1.3.1. Server #

E.1.3.1.1. Optimizer #
  • Automatically remove some unnecessary table self-joins (Andrey Lepikhov, Alexander Kuzmenkov, Alexander Korotkov, Alena Rybakina) §

    This optimization can be disabled using server variable enable_self_join_elimination.

  • Convert some IN (VALUES ...) to x = ANY ... for better optimizer statistics (Alena Rybakina, Andrei Lepikhov) §

  • Allow transforming OR-clauses to arrays for faster index processing (Alexander Korotkov, Andrey Lepikhov) §

  • Speed up the processing of INTERSECT, EXCEPT, window aggregates, and view column aliases (Tom Lane, David Rowley) § § § §

  • Allow the keys of SELECT DISTINCT to be internally reordered to avoid sorting (Richard Guo) §

    This optimization can be disabled using enable_distinct_reordering.

  • Ignore GROUP BY columns that are functionally dependent on other columns (Zhang Mingli, Jian He, David Rowley) §

    If a GROUP BY clause includes all columns of a unique index, as well as other columns of the same table, those other columns are redundant and can be dropped from the grouping. This was already true for non-deferred primary keys.

  • Allow some HAVING clauses on GROUPING SETS to be pushed to WHERE clauses (Richard Guo) § § § §

    This allows earlier row filtering. This release also fixes some GROUPING SETS queries that used to return incorrect results.

  • Improve row estimates for generate_series() using numeric and timestamp values (David Rowley, Song Jinzhou) § §

  • Allow the optimizer to use Right Semi Join plans (Richard Guo) §

    Semi-joins are used when needing to find if there is at least one match.

  • Allow merge joins to use incremental sorts (Richard Guo) §

  • Improve the efficiency of planning queries accessing many partitions (Ashutosh Bapat, Yuya Watari, David Rowley) § §

  • Allow partitionwise joins in more cases, and reduce its memory usage (Richard Guo, Tom Lane, Ashutosh Bapat) § §

  • Improve cost estimates of partition queries (Nikita Malakhov, Andrei Lepikhov) §

  • Improve SQL-language function plan caching (Alexander Pyhalov, Tom Lane) § §

  • Improve handling of disabled optimizer features (Robert Haas) §

E.1.3.1.2. Indexes #
  • Allow skip scans of btree indexes (Peter Geoghegan) § §

    This allows multi-column btree indexes to be used by queries that only equality-reference the second or later indexed columns.

  • Allow non-btree unique indexes to be used as partition keys and in materialized views (Mark Dilger) § §

    The index type must still support equality.

  • Allow GIN indexes to be created in parallel (Tomas Vondra, Matthias van de Meent) §

  • Allow values to be sorted to speed range-type GiST and btree index builds (Bernd Helmle) §

E.1.3.1.3. General Performance #
  • Add an asynchronous I/O subsystem (Andres Freund, Thomas Munro, Nazir Bilal Yavuz, Melanie Plageman) § § § § § § § § § § §

    This feature allows backends to queue multiple read requests, which allows for more efficient sequential scans, bitmap heap scans, vacuums, etc. This is enabled by server variable io_method, with server variables io_combine_limit and io_max_combine_limit added to control it. This also enables effective_io_concurrency and maintenance_io_concurrency values greater than zero for systems without fadvise() support. The new system view pg_aios shows the file handles being used for asynchronous I/O.

  • Improve the locking performance of queries that access many relations (Tomas Vondra) §

  • Improve the performance and reduce memory usage of hash joins and GROUP BY (David Rowley, Jeff Davis) § § § § §

    This also improves hash set operations used by EXCEPT, and hash lookups of subplan values.

  • Allow normal vacuums to freeze some pages, even though they are all-visible (Melanie Plageman) § §

    This reduces the overhead of later full-relation freezing. The aggressiveness of this can be controlled by server variable and per-table setting vacuum_max_eager_freeze_failure_rate. Previously vacuum never processed all-visible pages until freezing was required.

  • Add server variable vacuum_truncate to control file truncation during VACUUM (Nathan Bossart, Gurjeet Singh) §

    A storage-level parameter with the same name and behavior already existed.

  • Increase server variables effective_io_concurrency's and maintenance_io_concurrency's default values to 16 (Melanie Plageman) § §

    This more accurately reflects modern hardware.

E.1.3.1.4. Monitoring #
  • Increase the logging granularity of server variable log_connections (Melanie Plageman) §

    This server variable was previously only boolean, which is still supported.

  • Add log_connections option to report the duration of connection stages (Melanie Plageman) §

  • Add log_line_prefix escape %L to output the client IP address (Greg Sabino Mullane) §

  • Add server variable log_lock_failures to log lock acquisition failures (Yuki Seino, Fujii Masao) § §

    Specifically it reports SELECT ... NOWAIT lock failures.

  • Modify pg_stat_all_tables and its variants to report the time spent in VACUUM, ANALYZE, and their automatic variants (Sami Imseih) §

    The new columns are total_vacuum_time, total_autovacuum_time, total_analyze_time, and total_autoanalyze_time.

  • Add delay time reporting to VACUUM and ANALYZE (Bertrand Drouvot, Nathan Bossart) § §

    This information appears in the server log, the system views pg_stat_progress_vacuum and pg_stat_progress_analyze, and the output of VACUUM and ANALYZE when in VERBOSE mode; tracking must be enabled with the server variable track_cost_delay_timing.

  • Add WAL, CPU, and average read statistics output to ANALYZE VERBOSE (Anthonin Bonnefoy) § §

  • Add full WAL buffer count to VACUUM/ANALYZE (VERBOSE) and autovacuum log output (Bertrand Drouvot) §

  • Add per-backend I/O statistics reporting (Bertrand Drouvot) § §

    The statistics are accessed via pg_stat_get_backend_io(). Per-backend I/O statistics can be cleared via pg_stat_reset_backend_stats().

  • Add pg_stat_io columns to report I/O activity in bytes (Nazir Bilal Yavuz) §

    The new columns are read_bytes, write_bytes, and extend_bytes. The op_bytes column, which always equaled BLCKSZ, has been removed.

  • Add WAL I/O activity rows to pg_stat_io (Nazir Bilal Yavuz, Bertrand Drouvot, Michael Paquier) § § §

    This includes WAL receiver activity and a wait event for such writes.

  • Change server variable track_wal_io_timing to control tracking WAL timing in pg_stat_io instead of pg_stat_wal (Bertrand Drouvot) §

  • Remove read/sync columns from pg_stat_wal (Bertrand Drouvot) § §

    This removes columns wal_write, wal_sync, wal_write_time, and wal_sync_time.

  • Add function pg_stat_get_backend_wal() to return per-backend WAL statistics (Bertrand Drouvot) §

    Per-backend WAL statistics can be cleared via pg_stat_reset_backend_stats().

  • Add function pg_ls_summariesdir() to specifically list the contents of PGDATA/pg_wal/summaries (Yushi Ogiwara) §

  • Add column pg_stat_checkpointer.num_done to report the number of completed checkpoints (Anton A. Melnikov) §

    Columns num_timed and num_requested count both completed and skipped checkpoints.

  • Add column pg_stat_checkpointer.slru_written to report SLRU buffers written (Nitin Jadhav) §

    Also, modify the checkpoint server log message to report separate shared buffer and SLRU buffer values.

  • Add columns to pg_stat_database to report parallel worker activity (Benoit Lobréau) §

    The new columns are parallel_workers_to_launch and parallel_workers_launched.

  • Have query id computation of arrays consider only the first and last array elements (Dmitry Dolgov, Sami Imseih) § §

    Jumbling is used by pg_stat_statements.

  • Adjust query id computations to group together queries using the same relation name (Michael Paquier, Sami Imseih) §

    This is true even if the tables in different schemas have different column names.

  • Add column pg_backend_memory_contexts.type to report the type of memory context (David Rowley) §

  • Add column pg_backend_memory_contexts.path to show memory context parents (Melih Mutlu) §

E.1.3.1.5. Privileges #
E.1.3.1.6. Server Configuration #
  • Add support for the OAuth authentication method (Jacob Champion, Daniel Gustafsson, Thomas Munro) §

    This adds an oauth authentication method to pg_hba.conf, libpq OAuth options, a server variable oauth_validator_libraries to load token validation libraries, and a configure flag --with-libcurl to add the required compile-time libraries.

  • Add server variable ssl_tls13_ciphers to allow specification of multiple colon-separated TLSv1.3 cipher suites (Erica Zhang, Daniel Gustafsson) §

  • Change server variable ssl_groups's default to include elliptic curve X25519 (Daniel Gustafsson, Jacob Champion) §

  • Rename server variable ssl_ecdh_curve to ssl_groups and allow multiple colon-separated ECDH curves to be specified (Erica Zhang, Daniel Gustafsson) §

    The previous name still works.

  • Make cancel request keys 256 bits (Heikki Linnakangas, Jelte Fennema-Nio) § §

    This is only possible when the server and client support wire protocol version 3.2, introduced in this release.

  • Add server variable autovacuum_worker_slots to specify the maximum number of background workers (Nathan Bossart) §

    With this variable set, autovacuum_max_workers can be adjusted at runtime up to this maximum without a server restart.

  • Allow specification of the fixed number of dead tuples that will trigger an autovacuum (Nathan Bossart, Frédéric Yhuel) §

    The server variable is autovacuum_vacuum_max_threshold. Percentages are still used for triggering.

  • Change server variable max_files_per_process to limit only files opened by a backend (Andres Freund) §

    Previously files opened by the postmaster were also counted toward this limit.

  • Add server variable num_os_semaphores to report the required number of semaphores (Nathan Bossart) §

    This is useful for operating system configuration.

  • Add server variable extension_control_path to specify the location of extension control files (Peter Eisentraut, Matheus Alcantara) § §

E.1.3.1.7. Streaming Replication and Recovery #
  • Allow inactive replication slots to be automatically invalided using server variable idle_replication_slot_timeout (Nisha Moond, Bharath Rupireddy) §

  • Add server variable max_active_replication_origins to control the maximum active replication origins (Euler Taveira) §

    This was previously controlled by max_replication_slots, but this new setting allows a higher origin count in cases where fewer slots are required.

E.1.3.1.8. Logical Replication #
  • Allow the values of generated columns to be logically replicated (Shubham Khanna, Vignesh C, Zhijie Hou, Shlok Kyal, Peter Smith) § § § §

    If the publication specifies a column list, all specified columns, generated and non-generated, are published. Without a specified column list, publication option publish_generated_columns controls whether generated columns are published. Previously generated columns were not replicated and the subscriber had to compute the values if possible; this is particularly useful for non-PostgreSQL subscribers which lack such a capability.

  • Change the default CREATE SUBSCRIPTION streaming option from off to parallel (Vignesh C) §

  • Allow ALTER SUBSCRIPTION to change the replication slot's two-phase commit behavior (Hayato Kuroda, Ajin Cherian, Amit Kapila, Zhijie Hou) § §

  • Log conflicts while applying logical replication changes (Zhijie Hou, Nisha Moond) § § § § §

    Also report in new columns of pg_stat_subscription_stats.

E.1.3.2. Utility Commands #

  • Allow generated columns to be virtual, and make them the default (Peter Eisentraut, Jian He, Richard Guo, Dean Rasheed) § § §

    Virtual generated columns generate their values when the columns are read, not written. The write behavior can still be specified via the STORED option.

  • Add OLD/NEW support to RETURNING in DML queries (Dean Rasheed) §

    Previously RETURNING only returned new values for INSERT and UPDATE, and old values for DELETE; MERGE would return the appropriate value for the internal query executed. This new syntax allows the RETURNING list of INSERT/UPDATE/DELETE/MERGE to explicitly return old and new values by using the special aliases old and new. These aliases can be renamed to avoid identifier conflicts.

  • Allow foreign tables to be created like existing local tables (Zhang Mingli) §

    The syntax is CREATE FOREIGN TABLE ... LIKE.

  • Allow LIKE with nondeterministic collations (Peter Eisentraut) §

  • Allow text position search functions with nondeterministic collations (Peter Eisentraut) §

    These used to generate an error.

  • Add builtin collation provider PG_UNICODE_FAST (Jeff Davis) §

    This locale supports case mapping, but sorts in code point order, not natural language order.

  • Allow VACUUM and ANALYZE to process partitioned tables without processing their children (Michael Harris) §

    This is enabled with the new ONLY option. This is useful since autovacuum does not process partitioned tables, just its children.

  • Add functions to modify per-relation and per-column optimizer statistics (Corey Huinker) § § §

    The functions are pg_restore_relation_stats(), pg_restore_attribute_stats(), pg_clear_relation_stats(), and pg_clear_attribute_stats().

  • Add server variable file_copy_method to control the file copying method (Nazir Bilal Yavuz) §

    This controls whether CREATE DATABASE ... STRATEGY=FILE_COPY and ALTER DATABASE ... SET TABLESPACE uses file copy or clone.

E.1.3.2.1. Constraints #
  • Allow the specification of non-overlapping PRIMARY KEY and UNIQUE constraints (Paul A. Jungwirth) §

    This is specified by WITHOUT OVERLAPS on the last specified column.

  • Allow CHECK and foreign key constraints to be specified as NOT ENFORCED (Amul Sul) § §

    This also adds column pg_constraint.conenforced.

  • Require primary/foreign key relationships to use either deterministic collations or the the same nondeterministic collations (Peter Eisentraut) §

    The restore of a pg_dump, also used by pg_upgrade, will fail if these requirements are not met; schema changes must be made for these upgrade methods to succeed.

  • Store column NOT NULL specifications in pg_constraint (álvaro Herrera, Bernd Helmle) §

    This allows names to be specified for NOT NULL constraint. This also adds NOT NULL constraints to foreign tables and NOT NULL inheritance control to local tables.

  • Allow ALTER TABLE to set the NOT VALID attribute of NOT NULL constraints (Rushabh Lathia, Jian He) §

  • Allow modification of the inheritability of NOT NULL constraints (Suraj Kharage, álvaro Herrera) § §

    The syntax is ALTER TABLE ... ALTER CONSTRAINT ... [NO] INHERIT.

  • Allow NOT VALID foreign key constraints on partitioned tables (Amul Sul) §

  • Allow dropping of constraints ONLY on partitioned tables (álvaro Herrera) §

    This was previously erroneously prohibited.

E.1.3.2.2. COPY #
  • Add REJECT_LIMIT to control the number of invalid rows COPY FROM can ignore (Atsushi Torikoshi) §

    This is available when ON_ERROR = 'ignore'.

  • Allow COPY TO to copy rows from populated materialized views (Jian He) §

  • Add COPY LOG_VERBOSITY level silent to suppress log output of ignored rows (Atsushi Torikoshi) §

    This new level suppresses output for discarded input rows when on_error = 'ignore'.

  • Disallow COPY FREEZE on foreign tables (Nathan Bossart) §

    Previously, the COPY worked but the FREEZE was ignored, so disallow this command.

E.1.3.2.3. EXPLAIN #
  • Automatically include BUFFERS output in EXPLAIN ANALYZE (Guillaume Lelarge, David Rowley) §

  • Add full WAL buffer count to EXPLAIN (WAL) output (Bertrand Drouvot) §

  • In EXPLAIN ANALYZE, report the number of index lookups used per index scan node (Peter Geoghegan) §

  • Modify EXPLAIN to output fractional row counts (Ibrar Ahmed, Ilia Evdokimov, Robert Haas) § §

  • Add memory and disk usage details to Material, Window Aggregate, and common table expression nodes to EXPLAIN output (David Rowley, Tatsuo Ishii) § § § §

  • Add details about window function arguments to EXPLAIN output (Tom Lane) §

  • Add Parallel Bitmap Heap Scan worker cache statistics to EXPLAIN ANALYZE (David Geier, Heikki Linnakangas, Donghang Lin, Alena Rybakina, David Rowley) §

  • Indicate disabled nodes in EXPLAIN ANALYZE output (Robert Haas, David Rowley, Laurenz Albe) § § §

E.1.3.3. Data Types #

  • Improve Unicode full case mapping and conversion (Jeff Davis) § §

    This adds the ability to do conditional and title case mapping, and case map single characters to multiple characters.

  • Allow jsonb null values to be cast to scalar types as NULL (Tom Lane) §

    Previously such casts generated an error.

  • Add optional parameter to json{b}_strip_nulls to allow removal of null array elements (Florents Tselai) §

  • Add function array_sort() which sorts an array's first dimension (Junwang Zhao, Jian He) §

  • Add function array_reverse() which reverses an array's first dimension (Aleksander Alekseev) §

  • Add function reverse() to reverse bytea bytes (Aleksander Alekseev) §

  • Allow casting between integer types and bytea (Aleksander Alekseev) §

    The integer values are stored as bytea two's complement values.

  • Update Unicode data to Unicode 16.0.0 (Peter Eisentraut) §

  • Add full text search stemming for Estonian (Tom Lane) §

  • Improve the XML error codes to more closely match the SQL standard (Tom Lane) §

    These errors are reported via SQLSTATE.

E.1.3.4. Functions #

E.1.3.5. libpq #

  • Add function PQfullProtocolVersion() to report the full, including minor, protocol version number (Jacob Champion, Jelte Fennema-Nio) §

  • Add libpq connection parameters and environment variables to specify the minimum and maximum acceptable protocol version for connections (Jelte Fennema-Nio) § §

  • Report search_path changes to the client (Alexander Kukushkin, Jelte Fennema-Nio, Tomas Vondra) § §

  • Add PQtrace() output for all message types, including authentication (Jelte Fennema-Nio) § § § § §

  • Add libpq connection parameter sslkeylogfile which dumps out SSL key material (Abhishek Chanda, Daniel Gustafsson) §

    This is useful for debugging.

  • Modify some libpq function signatures to use int64_t (Thomas Munro) §

    These previously used pg_int64, which is now deprecated.

E.1.3.6. psql #

  • Allow psql to parse, bind, and close named prepared statements (Anthonin Bonnefoy, Michael Paquier) §

    This is accomplished with new commands \parse, \bind_named, and \close_prepared.

  • Add psql backslash commands to allowing issuance of pipeline queries (Anthonin Bonnefoy) § § §

    The new commands are \startpipeline, \syncpipeline, \sendpipeline, \endpipeline, \flushrequest, \flush, and \getresults.

  • Allow adding pipeline status to the psql prompt and add related state variables (Anthonin Bonnefoy) §

    The new prompt character is %P and the new psql variables are PIPELINE_SYNC_COUNT, PIPELINE_COMMAND_COUNT, and PIPELINE_RESULT_COUNT.

  • Allow adding the connection service name to the psql prompt or access it via psql variable (Michael Banck) §

  • Add psql option to use expanded mode on all list commands (Dean Rasheed) §

    Adding backslash suffix x enables this.

  • Change psql's \conninfo to use tabular format and include more information (álvaro Herrera, Maiquel Grassi, Hunaid Sohail) §

  • Add function's leakproof indicator to psql's \df+, \do+, \dAo+, and \dC+ outputs (Yugo Nagata) §

  • Add access method details for partitioned relations in \dP+ (Justin Pryzby) §

  • Add default_version to the psql \dx extension output (Magnus Hagander) §

  • Add psql variable WATCH_INTERVAL to set the default \watch wait time (Daniel Gustafsson) §

E.1.3.7. Server Applications #

  • Change initdb to default to enabling checksums (Greg Sabino Mullane) § §

    The new initdb option --no-data-checksums disables checksums.

  • Add initdb option --no-sync-data-files to avoid syncing heap/index files (Nathan Bossart) §

    initdb option --no-sync is still available to avoid syncing any files.

  • Add vacuumdb option --missing-stats-only to compute only missing optimizer statistics (Corey Huinker, Nathan Bossart) § §

    This option can only be used by --analyze-only and --analyze-in-stages.

  • Add pg_combinebackup option -k/--link to enable hard linking (Israel Barth Rubio, Robert Haas) §

    Only some files can be hard linked. This should not be used if the backups will be used independently.

  • Allow pg_verifybackup to verify tar-format backups (Amul Sul) §

  • If pg_rewind's --source-server specifies a database name, use it in --write-recovery-conf output (Masahiko Sawada) §

  • Add pg_resetwal option --char-signedness to change the default char signedness (Masahiko Sawada) §

  • Allow pg_dumpall to dump in the same output formats as pg_dump supports (Mahendra Singh Thalor, Andrew Dunstan) §

    Also modify pg_restore to handle such dumps. Previously pg_dumpall only supported text format.

  • Add pg_dump options --with-schema, --with-data, and --with-statistics (Jeff Davis) §

  • Add pg_dump and pg_dumpall option --sequence-data to dump sequence data that would normally be excluded (Nathan Bossart) § §

  • Add pg_dump, pg_dumpall, and pg_restore options --statistics-only, --no-statistics, --no-data, and --no-schema (Corey Huinker, Jeff Davis) §

  • Add option --no-policies to disable row level security policy processing in pg_dump, pg_dumpall, pg_restore (Nikolay Samokhvalov) §

    This is useful for migrating to systems with different policies.

E.1.3.7.2. pg_upgrade #
  • Allow pg_upgrade to preserve optimizer statistics (Corey Huinker, Jeff Davis, Nathan Bossart) § § § §

    Extended statistics are not preserved. Also add pg_upgrade option --no-statistics to disable statistics preservation.

  • Allow pg_upgrade to process database checks in parallel (Nathan Bossart) § § § § § § § § § § §

    This is controlled by the existing --jobs option.

  • Add pg_upgrade option --swap to swap directories rather than copy, clone, or link files (Nathan Bossart) §

    This mode is potentially the fastest.

  • Add pg_upgrade option --set-char-signedness to set the default char signedness of new cluster (Masahiko Sawada) § §

    This is to handle cases where a pre-PostgreSQL 18 cluster's default CPU signedness does not match the new cluster.

E.1.3.7.3. Logical Replication Applications #
  • Add pg_createsubscriber option --all to create logical replicas for all databases (Shubham Khanna) §

  • Add pg_createsubscriber option --remove to remove publications (Shubham Khanna) §

  • Add pg_createsubscriber option --enable-two-phase to enable prepared transactions (Shubham Khanna) §

  • Add pg_recvlogical option --failover to specify failover slots (Hayato Kuroda) §

  • Allow pg_recvlogical --drop-slot to work without --dbname (Hayato Kuroda) §

E.1.3.8. Source Code #

  • Separate the loading and running of injection points (Michael Paquier, Heikki Linnakangas) § §

    Injection points can now be created, but not run, via INJECTION_POINT_LOAD(), and such injection points can be run via INJECTION_POINT_CACHED().

  • Support runtime arguments in injection points (Michael Paquier) §

  • Allow inline injection point test code with IS_INJECTION_POINT_ATTACHED() (Heikki Linnakangas) §

  • Improve the performance of processing long JSON strings using SIMD (Single Instruction Multiple Data) (David Rowley) §

  • Speed up CRC32C calculations using x86 AVX-512 instructions (Raghuveer Devulapalli, Paul Amonson) §

  • Add ARM Neon and SVE CPU intrinsics for popcount (integer bit counting) (Chiranmoy Bhattacharya, Devanga Susmitha, Rama Malladi) § §

  • Improve the speed of numeric multiplication and division (Joel Jacobson, Dean Rasheed) § § § §

  • Add configure option --with-libnuma to enable NUMA awareness (Jakub Wartak, Bertrand Drouvot) § § §

    The function pg_numa_available() reports on NUMA awareness, and system views pg_shmem_allocations_numa and pg_buffercache_numa which report on shared memory distribution across NUMA nodes.

  • Add TOAST table to pg_index to allow for very large expression indexes (Nathan Bossart) §

  • Remove column pg_attribute.attcacheoff (David Rowley) §

  • Add column pg_class.relallfrozen (Melanie Plageman) §

  • Add amgettreeheight, amconsistentequality, and amconsistentordering to the index access method API (Mark Dilger) § §

  • Add GiST support function stratnum() (Paul A. Jungwirth) §

  • Record the default CPU signedness of char in pg_controldata (Masahiko Sawada) §

  • Add support for Python "Limited API" in PL/Python (Peter Eisentraut) § §

    This helps prevent problems caused by Python 3.x version mismatches.

  • Change the minimum supported Python version to 3.6.8 (Jacob Champion) §

  • Remove support for OpenSSL versions older than 1.1.1 (Daniel Gustafsson) § §

  • If LLVM is enabled, require version 14 or later (Thomas Munro) §

  • Add macro PG_MODULE_MAGIC_EXT to allow extensions to report their name and version (Andrei Lepikhov) §

    This information can be access via the new function pg_get_loaded_modules().

  • Document that SPI_connect()/SPI_connect_ext() always returns success (SPI_OK_CONNECT) (Stepan Neretin) §

    Errors are always reported via ereport().

  • Add documentation section about API and ABI compatibility (David Wheeler, Peter Eisentraut) §

  • Remove the experimental designation of Meson builds on Windows (Aleksander Alekseev) §

  • Remove configure options --disable-spinlocks and --disable-atomics (Thomas Munro) § §

    Thirty-two-bit atomic operations are now required.

  • Remove support for the HPPA/PA-RISC architecture (Tom Lane) §

E.1.3.9. Additional Modules #

  • Add extension pg_logicalinspect to inspect logical snapshots (Bertrand Drouvot) §

  • Add extension pg_overexplain which adds debug details to EXPLAIN output (Robert Haas) §

  • Add output columns to postgres_fdw_get_connections() (Hayato Kuroda, Sagar Dilip Shedge) § § § §

    New output column used_in_xact indicates if the foreign data wrapper is being used by a current transaction, closed indicates if it is closed, user_name indicates the user name, and remote_backend_pid indicates the remote backend process identifier.

  • Allow SCRAM authentication from the client to be passed to postgres_fdw servers (Matheus Alcantara, Peter Eisentraut) §

    This avoids storing postgres_fdw authentication information in the database, and is enabled with the postgres_fdw use_scram_passthrough connection option. libpq uses new connection parameters scram_client_key and scram_server_key.

  • Allow SCRAM authentication from the client to be passed to dblink servers (Matheus Alcantara) §

  • Add on_error and log_verbosity options to file_fdw (Atsushi Torikoshi) §

    These control how file_fdw handles and reports invalid file rows.

  • Add reject_limit to control the number of invalid rows file_fdw can ignore (Atsushi Torikoshi) §

    This is active when ON_ERROR = 'ignore'.

  • Add configurable variable min_password_length to passwordcheck (Emanuele Musella, Maurizio Boriani) §

    This controls the minimum password length.

  • Have pgbench report the number of failed, retried, or skipped transactions in per-script reports (Yugo Nagata) §

  • Add isn server variable weak to control invalid check digit acceptance (Viktor Holmberg) §

    This was previously only controlled by function isn_weak().

  • Allow values to be sorted to speed btree_gist index builds (Bernd Helmle, Andrey Borodin) §

  • Add amcheck check function gin_index_check() to verify GIN indexes (Grigory Kryachko, Heikki Linnakangas, Andrey Borodin) §

  • Add functions pg_buffercache_evict_relation() and pg_buffercache_evict_all() to evict unpinned shared buffers (Nazir Bilal Yavuz) §

    The existing function pg_buffercache_evict() now returns the buffer flush status.

  • Allow extensions to install custom EXPLAIN options (Robert Haas, Sami Imseih) § § §

  • Allow extensions to use the server's cumulative statistics API (Michael Paquier) § §

E.1.3.9.1. pg_stat_statements #
  • Allow the queries of CREATE TABLE AS and DECLARE to be tracked by pg_stat_statements (Anthonin Bonnefoy) §

    They are also now assigned query ids.

  • Allow the parameterization of SET values in pg_stat_statements (Greg Sabino Mullane, Michael Paquier) §

    This reduces the bloat caused by SET statements with differing constants.

  • Add pg_stat_statements columns to report parallel activity (Guillaume Lelarge) §

    The new columns are parallel_workers_to_launch and parallel_workers_launched.

  • Add pg_stat_statements.wal_buffers_full to report full WAL buffers (Bertrand Drouvot) §

E.1.3.9.2. pgcrypto #
  • Add pgcrypto algorithms sha256crypt and sha512crypt (Bernd Helmle) §

  • Add CFB mode to pgcrypto encryption and decryption (Umar Hayat) §

  • Add function fips_mode() to report the server's FIPS mode (Daniel Gustafsson) §

  • Add pgcrypto server variable builtin_crypto_enabled to allow disabling builtin non-FIPS mode cryptographic functions (Daniel Gustafsson, Joe Conway) §

    This is useful for guaranteeing FIPS mode behavior.

E.1.4. Acknowledgments #

The following individuals (in alphabetical order) have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues.

(to be completed)
什么是氨基酸 心率过慢有什么危害 牙齿松动吃什么药 什么是富贵包 2020年什么年
持续耳鸣是什么原因引起的 什么什么不生 1993年五行属什么 什么是纤维瘤 曹操的小名叫什么
卒中什么意思 直落是什么意思 做喉镜挂什么科 冰粉籽是什么植物 受精卵着床有什么症状
喝酒后头疼是什么原因 炖牛肉放什么料 onlycook是什么牌子 放大镜是什么镜 化疗是什么意思
什么叫放疗hcv8jop9ns6r.cn 逆商是什么hcv8jop6ns7r.cn 826是什么意思yanzhenzixun.com 梦见别人买房子是什么预兆hcv8jop4ns6r.cn PPm什么意思youbangsi.com
内裤发霉是什么原因hcv8jop9ns8r.cn 恩惠是什么意思hcv8jop3ns1r.cn 眼皮跳吃什么药hcv9jop3ns0r.cn 什么是刺身hcv8jop1ns8r.cn 阴囊潮湿吃什么药hcv7jop7ns0r.cn
甲子日五行属什么hcv8jop4ns5r.cn 子宫内膜薄有什么症状hcv7jop9ns5r.cn 梦见豹子是什么预兆hcv9jop6ns0r.cn 中戏是什么学校hcv8jop1ns6r.cn 结肠炎适合吃什么食物xinjiangjialails.com
三角梅用什么肥料最好hcv8jop1ns2r.cn 儿童语言迟缓挂什么科hcv9jop3ns8r.cn 葬花是什么意思hcv7jop5ns2r.cn 甲钴胺片主要治什么病hcv8jop4ns9r.cn 中药龙骨是什么东西hcv9jop0ns8r.cn
百度