PostgreSQL 18 brings several security, monitoring, and developer enhancements relevant to Amazon RDS and Aurora PostgreSQL users. Key changes include: deprecation of MD5 password authentication in favor of SCRAM-SHA-256 with a new md5_password_warnings parameter; new parallel worker tracking columns in pg_stat_database and pg_stat_statements to detect worker shortages; expanded pg_stat_subscription_stats with seven new conflict-type columns for logical replication diagnostics; automatic optimizer statistics preservation during pg_upgrade; native uuidv7() function for timestamp-ordered UUIDs that avoid B-tree index fragmentation; logical replication streaming now defaults to 'parallel'; idle_replication_slot_timeout to auto-invalidate abandoned replication slots; COPY command gains REJECT_LIMIT and LOG_VERBOSITY silent options; and OLD/NEW aliases in RETURNING clauses for DML statements.

14m read timeFrom aws.amazon.com
Post cover image
Table of contents
Deprecation of MD5 passwordEnhanced monitoring of parallel worker activityReplication monitoring improvements in pg_stat_subscription_statsOptimizer statistics preservation during pg_upgradeGenerate timestamp-ordered UUIDs with uuidv7()Default streaming changed to parallelInactive replication slot auto-invalidationCOPY command enhancementsOLD and NEW in RETURNING clauses (INSERT, UPDATE, DELETE, and MERGE)ConclusionAbout the authors
174 Impressions