pg_partman 5.0.0-beta available for community testing - Mailing list pgsql-announce

From Crunchy Data via PostgreSQL Announce
Subject pg_partman 5.0.0-beta available for community testing
Date
Msg-id 169225643340.642.17544925473862911250@wrigleys.postgresql.org
Whole thread Raw
List pgsql-announce
 

pg_partman 5.0.0-beta available for community testing

Crunchy Data is proud to announce the upcoming release of pg_partman 5.0.0. We are currently releasing a beta version for community testing.

Highlights of this release

Version 5.0.0-beta August 16th, 2023

  • pg_partman is deprecating many older features. These are breaking changes, so please proceed with caution on updates
    • Removing trigger-based partitioning
    • Special time-based intervals are removed
  • A minimum version of PostgreSQL 14 is required
  • The default table is optional
  • Simplified partitioning suffixes

The top of the update file contains the current full release notes.

Since this is a beta release, this version cannot be installed directly. The standard installation procedures will install the latest stable release (4.7.3) into the database. To install 5.0.0-beta, you will then have to run an extension update

ALTER EXTENSION pg_partman UPDATE TO '5.0.0-beta’;

There will also not be any upgrade paths from 5.0.0-beta to the final 5.0.0. So please do not install this for production use.

Special instructions for certain upgrade scenarios can be found in the 5.0.0 upgrade guide. General usage instructions and other guides can be found in the documents folder of the 5.0.0-beta branch.

About pg_partman

https://github.com/pgpartman/pg_partman

pg_partman is an extension to create and manage both time-based and number-based table partition sets. As of version 5.0.0, only built-in, declarative partitioning is supported and the older trigger-based methods have been deprecated.

The declarative partitioning built into PostgreSQL provides the commands to create a partitioned table and its children, but it does not provide a means of automating that child table maintenance over time (Ex. adding new children, dropping old ones based on a retention policy). It also does not provide a means to easily turn an existing table into a partitioned table or vice versa. pg_partman aims to use the built-in declarative features that PostgreSQL provides, but build upon them to provide those missing features as well as many others to help make managing partitions easier.

Thank you in advance for helping with the testing of pg_partman’s upcoming release. Please submit issues or pull requests for anything you find. General questions can be submitted to discussions.

 

pgsql-announce by date:

Previous
From: PostgreSQL Europe via PostgreSQL Announce
Date:
Subject: Schedule published for PGDay UK 2023, September 12th, London, England
Next
From: SCaLE Conference via PostgreSQL Announce
Date:
Subject: CfP is open for PostgreSQL@SCaLE