Neues vom PostgreSQL Planet
Gabriele Bartolini: CNPG Recipe 17 - PostgreSQL In-Place Major Upgrades
CloudNativePG 1.26 introduces one of its most anticipated features: declarative in-place major upgrades for PostgreSQL using pg_upgrade. This new approach allows you to upgrade PostgreSQL clusters by simply modifying the imageName in their configuration—just like a minor version update. While it requires brief downtime, it significantly reduces operational overhead, making it ideal for managing large fleets of PostgreSQL databases in Kubernetes.
Lukas Fittl: Postgres vs. SQL Server: B-Tree Index Differences & the Benefit of Deduplication
Hans-Juergen Schoenig: Using pgvector for timeseries data
pgvector is a widely adopted extension for PostgreSQL that is often used to handle semantic search. One can find various topics and posts dealing with AI and so on. Recently, we have posted information about semantic search in PostgreSQL (see post).
Luca Ferrari: pgagroal now has docker files!
An important contribution to pgagroal.
pgagroal now has docker files!Thanks to the contribution of Arshdeep now the pgagroal connection pooler has also docker images available on the repository.
There are two docker files: one based on Alpine Linux and one based on Rocky Linux 9.
Thanks to these docker files it should be simpler to test and do a play of the connection pooler.
Grant Fritchey: Multi-Version Concurrency Control (MVCC) in PostgreSQL: Learning PostgreSQL with Grant
It’s a tale as old as time. You want to read data. Your mate wants to write data. You’re stepping on each other’s toes, all the time. When we’re talking about relational data stores, one aspect that makes them what they are is the need to comply with the ACID properties. These are:
Christophe Pettus: Do not expose port 5432 to the public Internet
Sometimes, we run into a client who has port 5432 exposed to the public Internet, usually as a convenience measure to allow remote applications to access the database without having to go through an intermediate server appllication.
Do not do this.
Henrietta Dombrovskaya: Please Welcome Prairie Postgres!
Dear Postgres Community! In this post, I want to formally introduce Prairie Postgres, a project that has kept me really busy for the past several months.
Bertrand Drouvot: Postgres backend statistics (Part 2): WAL statistics
PostgreSQL 18 will normally (as there is always a risk of seeing something reverted until its GA release) include those commits: Add data for WAL in pg_stat_io and backend statistics:
David Wheeler: 2025 Postgres Extensions Mini Summit Two
Last Wednesday, March 26, we hosted the second of five virtual Extension Mini-Summits in the lead up to the big one at the Postgres Development Conference (PGConf.dev) on May 13 in Montreal, Canada.
Karen Jex: Postgres on Kubernetes for the Reluctant DBA
Slides and transcript from my talk, "Postgres on Kubernetes for the Reluctant DBA", at Data on Kubernetes Day Europe in London on 1 April 2025.
Laurenz Albe: Swiss Database Synergy Day 2025: Oracle and PostgreSQL User Groups Unite
Since I sang the praise of the 2024 Swiss PGDay, my people asked me to report from yet another small conference: the Swiss Database Synergy Day 2025, organized by the Swiss Oracle and PostgreSQL user groups.
Andreas 'ads' Scherbaum: Akshat Jaimini
Ian Barwick: PgPedia Week, 2025-03-30
A lot going on this week (well, last week - this edition of PgPedia Week is unfortunately delayed due to personal reason), as CommitFest 52 (2025-03) - the final CommitFest in the PostgreSQL 18 development cycle - draws to an end. Though usually it will continue right up until code freeze on April 8th .
Pavel Stehule: How to fix Hibernate bug by conditional index
Yesterday I found significant grow of seq read tuples. After some investigation I found query with strange predicate:
WHERE 1 = case when pb1_0.parent_id is not null then 0 endIt is really strange, and I had to ask, who wrote it.
The reply is - Hibernate. It is a transformation of predicate parent_id = (?) when the list of id is empty.
Unfortunately, PostgreSQL is not able to detect so this predicate is always false, and then the repeated execution ended in repeated full scans.
Jan Wieremjewicz: Transparent Data Encryption for PostgreSQL Release Candidate is Here!
Regina Obe: Converting JSON documents to relational tables
JSON is one of the most popular ways of disseminating data between systems. It is probably the most common offered by webservices. PostgreSQL is a database perfectly suited for grabbing that data and transforming it into a more structured relational format. All this can be done directly in the database. We'll go over some ways to load and restructure json data.
Continue reading "Converting JSON documents to relational tables"Dave Stokes: Saving The Output From psql
Occasionally, you will need to capture data when working with a database. You can cut-n-paste or use a shell command like script. In typical PostgreSQL fashion, psql has two ways to save your output.
The First Way You must invoke psql with the --log-file- or -L option. The entire session will be recorded.
stoker@ThinkPad:~$ psql --log-file=/tmp/psqllog demo
Password for user stoker:
Pavlo Golub: Contributions for the week of 2025-03-10 (Week 10)
On March 12, 2025 Elizabeth Christensen organized Postgres Meetup for All and the event theme was Postgres Schema Migrations. The following people contributed with their respective talks:
Henrietta Dombrovskaya: March Meetup with Ryan Booz
On March 25, Chicago PUG members gathered one more time at the Training Center of the DRW Holdings office for our monthly meetup. Our speaker was Ryan Booz, an Advocate at Redgate; he presented the talk Intro to database migrations with Flyway.