跳转到主要内容

FOLLOW THE EVOLUTION

PostgreSQL 19 beta 3 目录变更

从一次升级开始,了解目录、字段与类型的变化。
对比任意两个版本,也可以沿着发布历史逐步探索。

PostgreSQL 18 → 19
+ oid+ pgepgid+ pgerelid+ pgealias+ pgekind+ pgesrcvertexid+ pgedestvertexid+ pgekey+ pgesrckey+ pgesrcref+ pgesrceqop+ pgedestkey+ pgedestref+ pgedesteqop
pg_range结构变更
+ rngconstruct2+ rngconstruct3+ rngmltconstruct0+ rngmltconstruct1+ rngmltconstruct2
+ relid+ schemaname+ relname+ score+ xid_score+ mxid_score+ vacuum_score+ vacuum_insert_score+ analyze_score+ do_vacuum+ do_analyze+ for_wraparound
pg_stat_lock新增目录
+ locktype+ waits+ wait_time+ fastpath_exceeded+ stats_reset
+ pid+ datid+ datname+ phase+ databases_total+ databases_done+ relations_total+ relations_done+ blocks_total+ blocks_done
+ pid+ datid+ datname+ relid+ command+ phase+ repack_index_relid+ heap_tuples_scanned+ heap_tuples_inserted+ heap_tuples_updated+ heap_tuples_deleted+ heap_blks_total+ heap_blks_scanned+ index_rebuild_count
pg_stat_recovery新增目录
+ promote_triggered+ last_replayed_read_lsn+ last_replayed_end_lsn+ last_replayed_tli+ replay_end_lsn+ replay_end_tli+ recovery_last_xact_time+ current_chunk_start_time+ pause_state
pg_stats_ext_exprs结构变更
+ tableid+ statistics_id+ range_length_histogram+ range_empty_frac+ range_bounds_histogram
pg_subscription结构变更
+ subretaindeadtuples+ submaxretention+ subretentionactive+ subserver+ subwalrcvtimeout~ subconninfo: not_null: true → false