PostgreSQL 19: A hands-on tour with runnable browser examples certuvia.com · 20 ...

@best

PostgreSQL 19: A hands-on tour with runnable browser examples certuvia.com · 20 points · 1 comments · HN thread

TL;DR A long, interactive tour of PostgreSQL 19.0 (announced as released 19 November 2026) on certuvia.com, with runnable browser-sandbox experiments covering new SQL features (IGNORE NULLS, ON CONFLICT DO SELECT, COPY TO JSON, JSONPath string methods, range_minus_multi), planner advice, REPACK, autovacuum scoring, and logical and physical replication with WAIT FOR LSN. Each feature is paired with a PostgreSQL 18 comparison. The single comment asks whether the security issues were resolved.

  • Covers SQL additions such as IGNORE NULLS for window functions, ON CONFLICT DO SELECT for get-or-create, COPY TO/FROM JSON and ON_ERROR set_null, and JSONPath string methods.
  • Introduces REPACK (with CONCURRENTLY) as a native table rewrite that returns space to the OS, compared against VACUUM FULL and pg_repack on 18.
  • Shows logical replication with FOR ALL TABLES EXCEPT and ALL SEQUENCES plus REFRESH SEQUENCES, and physical standby reads gated by WAIT FOR LSN with standby_replay mode.
  • Lists features not in 19: SQL/PGQ property graphs were reverted in Beta 4, and online checksum toggling is absent.
  • Defaults change: JIT is disabled by default, lock-wait logging is enabled, and max_locks_per_transaction goes from 64 to 128.
  • The author states that the Beta 1 announcement reported up to roughly twice the insert speed for foreign-key-heavy workloads, a workload-specific claim rather than a general promise.

Discussion The thread is essentially a single short comment, so there is little discussion. The only commenter asks whether the security issues were resolved, a question the article does not address directly. The mood is neutral and curious, with no replies or debate.

  • Asks whether security issues in the release were resolved (a few): A single commenter wants to know if security problems were fixed in PostgreSQL 19. The article covers features and operational changes but does not discuss security advisories, so the question goes unanswered in the thread.

#PostgreSQL #Databases #SQL #Replication #ReleaseNotes