Sammlung von Newsfeeds

Christophe Pettus: All your GUCs in a row: allow_in_place_tablespaces

Neues vom PostgreSQL Planet - 22. April 2026 - 3:00
allow_in_place_tablespaces exists so the PostgreSQL test suite can test replication. That’s it. If you’re reading this as an operator, you will never touch it. But it’s in the alphabet, so here we are. When off (the default), CREATE TABLESPACE requires a LOCATION that points to …

A Kafka-like pure SQL queue for Postgres

Postgres Weekly - 22. April 2026 - 2:00

#​645 — April 22, 2026

Web Version

Postgres Weekly

Hubert 'depesz' Lubaczewski: Polish configuration for TSearch

Neues vom PostgreSQL Planet - 21. April 2026 - 23:06
Some time ago someone posted on Reddit that they have problems adding Polish configuration to their PostgreSQL. While checking it, I found some interesting news. And of course figured out how to have Polish configuration… First, the news: apparently in PostgreSQL 19, we will automatically get Polish dictionary, thanks to this commit from 5th of … Continue reading "Polish configuration for TSearch"

Christophe Pettus: Hints, Part 3: Advice, Not Orders

Neues vom PostgreSQL Planet - 21. April 2026 - 15:00
Robert Haas’s pg_plan_advice patch set, proposed for PostgreSQL 19, is where the twenty-year argument from Part 2 has landed — or is trying to. It is not pg_hint_plan brought into core. It is a different thing, with different mechanics, a different scope, and a different answer to the &ldqu…

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Add CONCURRENTLY option to REPACK

Neues vom PostgreSQL Planet - 21. April 2026 - 12:40
On 6th of April 2026, Álvaro Herrera committed patch: Add CONCURRENTLY option to REPACK   When this flag is specified, REPACK no longer acquires access-exclusive lock while the new copy of the table is being created; instead, it creates the initial copy under share-update-exclusive lock only (same as vacuum, etc), and it follows an MVCC … Continue reading "Waiting for PostgreSQL 19 – Add CONCURRENTLY option to REPACK"

Antony Pegg: How to Use the pgEdge Control Plane: From Zero to Multi-Master and Beyond

Neues vom PostgreSQL Planet - 21. April 2026 - 11:37

A couple of months back, the CEO challenged product and marketing to revamp the developer experience on our website in three weeks. I vibe-coded a proof of concept full of "try it now" buttons and interactive guides, the CEO loved it, and then I had to deal with almost every one of those interactive guides being a placeholder card.

Annie Ghazali: Cost of PostgreSQL performance issues

Neues vom PostgreSQL Planet - 21. April 2026 - 11:25

PostgreSQL is widely adopted because it removes licensing constraints and gives companies like OpenAI, Lovable, and Supabase, a reliable foundation for running production systems at scale. However, once deployed, the cost conversation of PostgreSQL shifts away from licensing and toward how efficiently the database supports the workload it is running.

Christophe Pettus: Hints, Part 1: The State of the Art Everywhere But Here

Neues vom PostgreSQL Planet - 20. April 2026 - 23:41
pg_plan_advice is expected to land in PostgreSQL 19. That makes this a good moment to look at query hints — what they are, what every other major database does with them, and how PostgreSQL ended up being the obvious outlier. Three parts. This is the first. What a hint is A query hint is an instr…

Andrei Lepikhov: Finding invisible use-after-free bugs in the PostgreSQL planner

Neues vom PostgreSQL Planet - 20. April 2026 - 21:57

On a PostgreSQL build with assertions enabled, run the standard make check-world suite with a small debugging extension called pg_pathcheck loaded. It will report on pointers to freed memory in the planner's path lists. Such dangling pointers exist even in the core Postgres now. They are harmless today. But the word today is what makes this worth writing about.

Christophe Pettus: All your GUCs in a row: allow_alter_system

Neues vom PostgreSQL Planet - 20. April 2026 - 20:00
We begin at allow_alter_system, which is both new and politically fraught — so let’s start with a fight. ALTER SYSTEM was added in 9.4 as a quality-of-life improvement: set GUCs from an SQL prompt, have the values written into postgresql.auto.conf, no shell access required. It was immediate…

Christophe Pettus: Hints, Part 2: Features We Do Not Want

Neues vom PostgreSQL Planet - 20. April 2026 - 15:00
For most of PostgreSQL’s history, the official community position on query hints has been a polite version of “no, and stop asking.” The position isn’t subtle. The PostgreSQL wiki maintains a page titled Not Worth Doing, and “Oracle-style optimizer hints” is li…

Chao Li: Understanding PostgreSQL REPACK Through repack.c

Neues vom PostgreSQL Planet - 20. April 2026 - 10:55

REPACK is a new PostgreSQL 19 feature for physically compacting a table by rewriting it into new storage. Like VACUUM, it deals with the space left behind by dead tuples, but it does so by building a fresh table file instead of mostly cleaning pages in place. Ordinary VACUUM can mark space reusable

Cornelia Biacsics: Contributions for week 15, 2026

Neues vom PostgreSQL Planet - 20. April 2026 - 10:07

The London PostgreSQL Meetup Group met on April 14, 2026 organized by:

  • Valeria K. (Data Egret)
  • Chris Ellis
  • Alastair Turner
  • Michael Christofides

Monica Sarbu spoke at the The San Francisco Bay Area PostgreSQL Meetup Group met virtually on April 14, 2026 organized by

Richard Yen: The Postgres Performance Triangle

Neues vom PostgreSQL Planet - 20. April 2026 - 10:00

Everyone who’s gone at least knee-deep in photography knows there’s this idea of the exposure triangle: aperture, shutter speed, and ISO. Depending on what you’re going for artistically, you adjust the three parameters, knowing that there are trade-offs in doing so. After working on a few cases, and presenting solutions to customers, I’ve started to think about Postgres performance tuning in a similar way – there are basic parameters that can be tuned, and there are trade-offs for the choices DBAs make:

Christophe Pettus: Hints, Part 1: The State of the Art Everywhere But Here

Neues vom PostgreSQL Planet - 20. April 2026 - 8:00
pg_plan_advice is expected to land in PostgreSQL 19. That makes this a good moment to look at query hints — what they are, what every other major database does with them, and how PostgreSQL ended up being the obvious outlier. Three parts. This is the first. What a hint is A query hint is an instr…

Radim Marek: PostgreSQL MVCC, Byte by byte

Neues vom PostgreSQL Planet - 17. April 2026 - 15:15

You run SELECT * FROM orders in one psql session and see 50 million rows. A colleague in another session runs the same query at the same moment and sees 49,999,999. Neither of you is wrong, and neither is seeing stale data. You are both reading the same 8KB heap pages, the same bytes on disk.

Shaun Thomas: Enforcing Constraints Across Postgres Partitions

Neues vom PostgreSQL Planet - 17. April 2026 - 7:48

Postgres table partitioning is one of those features that feels like a superpower right up until it isn't. Just define a partition key, carve up data into manageable chunks, and everything hums along beautifully. And what's not to love? Partition pruning in query plans, smaller tables, faster maintenance, easy archiving of old data; it's a smorgasbord of convenience.Then you try to enforce a unique constraint without including the partition key, and Postgres behaves as if you just asked it to divide by zero. Well... about that.

Bruce Momjian: Postgres 19 Release Notes

Neues vom PostgreSQL Planet - 15. April 2026 - 23:15

I have just completed the first draft of the Postgres 19 release notes. It includes little developer community feedback and still needs more XML markup and links. This year I have created a wiki page explaining the process I use.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Online enabling and disabling of data checksums

Neues vom PostgreSQL Planet - 15. April 2026 - 20:05
On 3rd of April 2026, Daniel Gustafsson committed patch: Online enabling and disabling of data checksums   This allows data checksums to be enabled, or disabled, in a running cluster without restricting access to the cluster during processing.   Data checksums could prior to this only be enabled during initdb or when the cluster is … Continue reading "Waiting for PostgreSQL 19 – Online enabling and disabling of data checksums"

Tudor Golubenco: Introducing Xata OSS: Postgres platform with branching, now Apache 2.0

Neues vom PostgreSQL Planet - 15. April 2026 - 14:30
Xata core is now available as open source under the Apache 2 license. It adds copy-on-write branching, scale-to-zero compute to Postgres.

Seiten