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 11

Contributions to PostgreSQL 11

New Features

Server

Partitioning  – David Rowley, Rahila Syed, Álvaro Herrera.

  • Allow faster partition elimination during query processing – Amit Langote / David Rowley / Dilip Kumar. This speeds access to partitioned tables with many partitions.
  • Allow partition elimination during query execution – David Rowley / Beena Emerson. Previously partition elimination could only happen at planning time, meaning many joins and prepared queries could not use partition elimination.
  • Allow partitioned tables to have a default partition – Jeevan Ladhe / Beena Emerson / Ashutosh Bapat / Rahila Syed / Robert Haas. The default partition can store rows that don’t match any of the other defined partitions, and is searched accordingly.
  • Allow UNIQUE indexes on partitioned tables if the partition key guarantees uniqueness – Álvaro Herrera / Amit Langote.
  • Allow indexes on a partitioned table to be automatically created in any child partitions – Álvaro Herrera. The new command ALTER INDEX ATTACH PARTITION allows indexes to be attached to partitions. This does not behave as a global index since the contents are private to each index. WARN WHEN USING AN EXISTING INDEX?
  • Allow foreign keys on partitioned tables – Álvaro Herrera.
  • Allow FOR EACH ROW triggers on partitioned tables – Álvaro Herrera. Creation of a trigger on partitioned tables automatically creates triggers on all partition tables, and on newly-created ones. This also allows deferred unique constraints on partitioned tables.

Parallel Queries – David Rowley

  • Improve performance of sequential scans with many parallel workers

Indexes – Pavan Deolasee

  • Remember the highest btree index page to optimize future monotonically increasing index additions – Pavan Deolasee, Peter Geoghegan

Monitoring – Peter Eisentraut

  • Show memory usage in log_statement_stats, log_parser_stats, log_planner_stats, log_executor_stats – Justin Pryzby / Peter Eisentraut

  • Add pg_stat_activity.backend_type now shows the type of background worker.

  • Add bgw_type to the background worker C structure. This is displayed to the user in pg_stat_activity.backend_type and ps output.

  • Add information_schema columns related to table constraints and triggers. Specifically, table_constraints.enforced, triggers.action_order, triggers.action_reference_old_table, and triggers.action_reference_new_table.

Server Configuration – Peter Eisentraut, Simon Riggs

  • Add server setting ssl_passphrase_command to allow supplying of the passphrase for SSL key files – Peter Eisentraut.  Also add ssl_passphrase_command_supports_reload to specify whether the the SSL configuration should be reloaded and ssl_passphrase_commandcalled during a server configuration reload.

  • Add storage parameter toast_tuple_target to control the minimum length before TOAST storage will be considered for new rows – Simon Riggs. The default TOAST threshold has not been changed.

Write-Ahead Log (WAL) – Simon Riggs

  • No longer retain WAL that spans two checkpoints. The retention of WAL records for only one checkpoint is required.

Base Backup and Streaming Replication

Simon Riggs, Marco Nenciarini, Peter eisentraut, Nikhil Sontakke, Petr Jelinek

  • Replicate TRUNCATE activity when using logical replication – Simon Riggs / Marco Nenciarini / Peter Eisentraut

  • Pass prepared transaction information to logical replication subscribers – Nikhil Sontakke / Stas Kelvich

  • Allow replication slots to be advanced programmatically, rather than be consumed by subscribers – Petr Jelínek. This allows efficient advancement replication slots when the contents do not need to be consumed. This is performed by pg_replication_slot_advance().

Utility Commands

Andrew Dunstan

  • Allow ALTER TABLE to add a column with a non-null default without a table rewrite – Andrew Dunstan / Serge Rielau

Functions

Peter Eisentraut, Andrew Dunstan

  • Add SHA-2 family of hash functions – Peter Eisentraut. Specifically, sha224(), sha256(), sha384(), sha512() were added.

  • Allow to_char() and to_timestamp() to specify the time zone’s hours and minutes from UTC – Nikita Glukhov / Andrew Dunstan. This is done with format specifications TZH and TZM.

Server-Side Languages

Peter Eisentraut

  • Add SQL procedures, which can start and commit their own transactions. They are created with the new CREATE PROCEDURE command and invoked via CALL. The new ALTER/DROP ROUTINE commands allows altering/dropping of procedures, functions, and aggregates.

  • Add transaction control to PL/pgSQL, PL/Perl, PL/Python, PL/Tcl, and SPI server-side languages. Transaction control is only available to top-transaction-level CALLs or in nested PL/pgSQL DO and CALL blocks that only contain other PL/pgSQL DO and CALLblocks.

Client Interfaces

Peter Eisentraut.

  • Change libpq to disable compression by default. Compression is already disabled in modern OpenSSL versions and the libpq setting had no effect in that case.

Server Applications

Peter Eisentraut.

  • Add long options to pg_resetwal and pg_controldata – Nathan Bossart / Peter Eisentraut

Source Code

Peter Eisentraut, Tomas Vondra.

  • Convert documentation to DocBook XML – Peter Eisentraut / Alexander Lakhin / Jürgen Purtz. The file names still use an sgml extension for compatibility with back branches.

  • Use stdbool.h to define type bool on platforms where it’s suitable, which is most – Peter Eisentraut. This eliminates a coding hazard for extension modules that need to include stdbool.h.

  • Add a generational memory allocator which is optimized for serial allocation/deallocation – Tomas Vondra. This reduces memory usage for logical decoding.

  • Make the computation of system column pg_class.reltuples consistent – Tomas Vondra

  • Update to use perltidy version 20170521 – Tom Lane / Peter Eisentraut

Additional Modules

Peter Eisentraut.

  • Remove extension chkpass. This extension no longer served as a usable security tool or example of how to write an extension.

*The features listed above have been taken from the Release Notes for PostgreSQL 10 from www.postgresql.org available here .[LINK].

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
Craig Ringer
David Rowley
Gianni Ciolli
Jaime Casanova
Leonardo Cecchi
Marco Nenciarini
Martín Marqués
Nikhil Sontakke
Pavan Deolasee
Peter Eisentraut
Petr Jelínek
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
×