2ndQuadrant is now part of EDB

Bringing together some of the world's top PostgreSQL experts.

2ndQuadrant | PostgreSQL
Mission Critical Databases
  • Contact us
  • EN
    • FR
    • IT
    • ES
    • DE
    • PT
  • Support & Services
  • Products
  • Downloads
    • Installers
      • Postgres Installer
      • 2UDA – Unified Data Analytics
    • Whitepapers
      • Business Case for PostgreSQL Support
      • Security Best Practices for PostgreSQL
    • Case Studies
      • Performance Tuning
        • BenchPrep
        • tastyworks
      • Distributed Clusters
        • ClickUp
        • European Space Agency (ESA)
        • Telefónica del Sur
        • Animal Logic
      • Database Administration
        • Agilis Systems
      • Professional Training
        • Met Office
        • London & Partners
      • Database Upgrades
        • Alfred Wegener Institute (AWI)
      • Database Migration
        • International Game Technology (IGT)
        • Healthcare Software Solutions (HSS)
        • Navionics
  • Postgres Learning Center
    • Webinars
      • Upcoming Webinars
      • Webinar Library
    • Whitepapers
      • Business Case for PostgreSQL Support
      • Security Best Practices for PostgreSQL
    • Blog
    • Training
      • Course Catalogue
    • Case Studies
      • Performance Tuning
        • BenchPrep
        • tastyworks
      • Distributed Clusters
        • ClickUp
        • European Space Agency (ESA)
        • Telefónica del Sur
        • Animal Logic
      • Database Administration
        • Agilis Systems
      • Professional Training
        • Met Office
        • London & Partners
      • Database Upgrades
        • Alfred Wegener Institute (AWI)
      • Database Migration
        • International Game Technology (IGT)
        • Healthcare Software Solutions (HSS)
        • Navionics
    • Books
      • PostgreSQL 11 Administration Cookbook
      • PostgreSQL 10 Administration Cookbook
      • PostgreSQL High Availability Cookbook – 2nd Edition
      • PostgreSQL 9 Administration Cookbook – 3rd Edition
      • PostgreSQL Server Programming Cookbook – 2nd Edition
      • PostgreSQL 9 Cookbook – Chinese Edition
    • Videos
    • Events
    • PostgreSQL
      • PostgreSQL – History
      • Who uses PostgreSQL?
      • PostgreSQL FAQ
      • PostgreSQL vs MySQL
      • The Business Case for PostgreSQL
      • Security Information
      • Documentation
  • About Us
    • About 2ndQuadrant
    • 2ndQuadrant’s Passion for PostgreSQL
    • News
    • Careers
    • Team Profile
  • Blog
  • Menu Menu
You are here: Home1 / Introducing PostgreSQL2 / 2ndQuadrant’s Passion for PostgreSQL3 / Contributions to PostgreSQL 12

Contributions to PostgreSQL 12

Migration to Version 12 – Simon Riggs, Abhijit Menon-Sen

  • Move recovery.conf settings into postgresql.conf (Fujii Masao, Simon Riggs, Abhijit Menon-Sen, Sergei Kornilov) recovery.conf is no longer used, and the server will not start if the file exists. recovery.signal and standby.signal are now used to switch into non-primary mode. trigger_file has been renamed to promote_trigger_file. The standby_mode setting has been removed.

Changes

Server

Partitioning – David Rowley, Álvaro Herrera

  • Improve performance of many operations on partitioned tables (Amit Langote, David Rowley, Tom Lane, Álvaro Herrera). Allow tables with thousands of child partitions to be processed efficiently by operations that only affect a small number of partitions.
  • Allow foreign keys to reference partitioned tables (Álvaro Herrera)
  • Add partition introspection functions (Michaël Paquier, Álvaro Herrera, Amit Langote). New function pg_partition_root() returns the top-most parent of a partition tree, pg_partition_ancestors() reports all ancestors of a partition, and pg_partition_tree() displays information about partitions.

Optimizer – Tomas Vondra, Vik Fearing

  • Inline calls to LEAST and GREATEST to improve optimization (Vik Fearing)

General Performance – John Naylor

  • Speed up keyword lookup (John Naylor, Joerg Sonnenberger, Tom Lane)

Monitoring – Alvaro Herrera, Peter Eisentraut

  • Report progress of CREATE INDEX and REINDEX operations (Álvaro Herrera, Peter Eisentraut). Progress is reported in the pg_stat_progress_create_index system view

Utility Commands – Peter Eisentraut, Andrew Dunstan, Tomas Vondra

  • Add REINDEX CONCURRENTLY to allow reindexing concurrently (Michaël Paquier, Andreas Karlsson, Peter Eisentraut). This is also controlled by the reindexdb –concurrently option.
  • Add support for generated columns (Peter Eisentraut). The content of generated columns are computed from expressions (including references to other columns in the same table) rather than being specified by INSERTor UPDATE commands.
  • Allow enumerated values to be added in more transaction types (Andrew Dunstan, Tom Lane, Thomas Munro). Previously, ALTER TYPE … ADD VALUE could only be called in a transaction that created the enumerated type. Now, the only restriction is that the new enumerated value cannot be referenced until the transaction commits.
  • Allow the creation of collations that report string equality for strings that are not byte-wise equal (Peter Eisentraut). This feature supports “nondeterministic” collations that can define case- and accent-agnostic equality comparisons. Thus, for example, a case-insensitive uniqueness constraint on a text column can be made more easily than before. This is only supported for ICU collations.
  • Add EXPLAIN option SETTINGS to output non-default optimizer settings (Tomas Vondra). This can also be output in auto-explain via auto_explain.log_settings.

Client Applications – Peter Eisentraut

  • Add colorization to the output of command-line utilities (Peter Eisentraut). This is enabled by setting the environment variable PG_COLOR to always or auto. The specific colors used can be adjusted by setting the environment variable PG_COLORS, using ANSI escape codes for colors.
Psql – Peter Eisentraut
  • Show the manual page URL in psql’s \help output (Peter Eisentraut)

Server Applications – Peter Eisentraut, Andrew Dunstan

  • Allow pg_upgrade to use the file system cloning feature (Peter Eisentraut). The –clone option has the advantages of –link, while preventing the old cluster from being changed after the new cluster has started.
pg_dump, pg_dumpall, pg_restore
  • Add –exclude-database option to pg_dumpall (Andrew Dunstan)

Source Code – Alvaro Herrera

  • Add CREATE ACCESS METHOD command to create new table types (Andres Freund, Haribabu Kommi, Álvaro Herrera, Alexander Korotkov, Dmitry Dolgov). This enables the development of new table access methods, which can optimize storage for different use-cases. The existing heap access method remains the default.

Note: The features listed above have been taken from the Release Notes for PostgreSQL 12 from www.postgresql.org available here.

Our Team

The following 2ndQuadrant team members, in alphabetical order, have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues:

  • Abhijit Menon-Sen
  • Álvaro Herrera
  • Andrew Dunstan
  • Christoph Moench-Tegeder
  • Craig Ringer
  • David Rowley
  • Gianni Ciolli
  • Ian Barwick
  • Jaime Casanova
  • John Naylor
  • Martín Marqués
  • Pavan Deolasee
  • Peter Eisentraut
  • Rafael Castro
  • Rahila Syed
  • Simon Riggs
  • Tomas Vondra
  • Vik Fearing

Recent Posts

  • Random Data December 3, 2020
  • Webinar: COMMIT Without Fear – The Beauty of CAMO [Follow Up] November 13, 2020
  • Full-text search since PostgreSQL 8.3 November 5, 2020
  • Random numbers November 3, 2020
  • Webinar: Best Practices for Bulk Data Loading in PostgreSQL [Follow Up] November 2, 2020

Support & Services

24/7 Production Support

Developer Support

Remote DBA for PostgreSQL

PostgreSQL Database Monitoring

PostgreSQL Health Check

PostgreSQL Performance Tuning

Database Security Audit

Upgrade PostgreSQL

PostgreSQL Migration Assessment

Migrate from Oracle to PostgreSQL

Products

HA Postgres Clusters

Postgres-BDR®

2ndQPostgres

pglogical

repmgr

Barman

Postgres Cloud Manager

SQL Firewall

Postgres-XL

OmniDB

Postgres Installer

2UDA

Postgres Learning Center

Introducing Postgres

Blog

Webinars

Books

Videos

Training

Case Studies

Events

About Us

About 2ndQuadrant

What does 2ndQuadrant Mean?

News

Careers 

Team Profile

© 2ndQuadrant Ltd. All rights reserved. | Privacy Policy
  • Twitter
  • LinkedIn
  • Facebook
  • Youtube
  • Mail
Scroll to top
×