On October 3, 2019, the PostgreSQL Global Development Group announced PostgreSQL 12 with changes aimed at both query work and database upkeep. The release added SQL/JSON path expressions and stored generated columns, while allowing certain common-table expressions to be inlined: only nonrecursive, side-effect-free queries referenced once qualify. [shared-03ed6acce83a0bacef917af69439e5eb384487f7733b6a8e76f1e7e88de9f19a]

For teams maintaining large databases, the practical stakes include time spent waiting on maintenance and the risk of disrupting services. PostgreSQL 12 introduced REINDEX CONCURRENTLY to rebuild indexes without blocking writes, and pg_checksums could enable or disable page checksums—but only while the cluster is offline. Those options may reduce particular operational burdens; they do not erase the need to plan maintenance around users and workloads. [shared-03ed6acce83a0bacef917af69439e5eb384487f7733b6a8e76f1e7e88de9f19a]

The project also reported improvements to B-tree indexing and partitioned-table performance. Its benchmark cited an average 40% reduction in space use and an overall query-performance gain under a fair-use TPC-C test; those are release-specific results, not a promise for every system. Just-in-time compilation was enabled by default only in installations built or packaged with LLVM. The useful question for administrators was therefore not whether version 12 was universally faster, but which changes fit their own data, configuration and tolerance for downtime. [shared-03ed6acce83a0bacef917af69439e5eb384487f7733b6a8e76f1e7e88de9f19a]

Source documents

  1. PostgreSQL 12 Released!https://www.postgresql.org/about/news/postgresql-12-released-1976/