Sammlung von Newsfeeds

Christophe Pettus: All Your GUCs in a Row: idle_session_timeout

Neues vom PostgreSQL Planet - 5. August 2026 - 3:00
Idle sessions consume connection slots and backend memory—not locks or xmin. Learn when and how to reap them without sabotaging your connection pooler.

What if Claude were your Postgres server?

Postgres Weekly - 5. August 2026 - 2:00

#​660 — August 5, 2026

Web Version

Lots of videos from this year's PGConf.dev are now on YouTube and I've rounded up some highlights at the end of the issue!
__
Your editor, Peter Cooper

Postgres Weekly

Wellingtone Luvonga: Mastering PostgreSQL Configuration Management with CloudNativePG (CNPG)

Neues vom PostgreSQL Planet - 4. August 2026 - 7:00

If you are a traditional database administrator (DBA) transitioning to Kubernetes, the cloud-native ecosystem can feel like a series of personal attacks on your workflow.

For years, your terminal was your home. If a query was running slow, you SSH’d into the VM, opened /var/lib/pgsql/data/postgresql.conf in vim, bumped up shared_buffers, and ran a quick pg_ctl reload. If you needed to lock down access for a new application server, you hopped into pg_hba.conf, appended a new host rule, and went about your day.

Christophe Pettus: All Your GUCs in a Row: idle_replication_slot_timeout

Neues vom PostgreSQL Planet - 4. August 2026 - 3:00
Replication slots promise to keep WAL forever—until PostgreSQL 18's new `idle_replication_slot_timeout` puts an expiration date on abandoned ones before they…

Umair Shahid: PostgreSQL Lockup vs Stale Connection: How to Tell Them Apart

Neues vom PostgreSQL Planet - 3. August 2026 - 17:33

“The database is locked up.” We heard some version of that sentence more than once this past week, from the same team, about what looked like the same problem. It was not the same problem. Once, Postgres had genuinely stopped responding. Every other time, Postgres was fine, and a connection sitting in the application’s pool had quietly died somewhere between the app and the database.

Christophe Pettus: All Your GUCs in a Row: idle_in_transaction_session_timeout

Neues vom PostgreSQL Planet - 3. August 2026 - 3:00
Idle transactions hold locks and block vacuums, turning one forgotten connection into a cascading outage.

Christophe Pettus: All Your GUCs in a Row: ident_file

Neues vom PostgreSQL Planet - 2. August 2026 - 3:00
ident_file tells the server where pg_ident.conf lives, but when it's wrong, the server just logs a quiet failure and keeps running.

Christophe Pettus: All Your GUCs in a Row: hot_standby_feedback

Neues vom PostgreSQL Planet - 1. August 2026 - 3:00
`hot_standby_feedback` trades primary bloat to prevent query cancellations on standbys—but it only stops cleanup conflicts, not lock or drop conflicts, and…

Alexey Evlampiev: Your Transaction Boundary Belongs in the Program, Not the Filename

Neues vom PostgreSQL Planet - 1. August 2026 - 2:00
Your Transaction Boundary Belongs in the Program, Not the Filename#

A phased schema change spans transactional and non-transactional work. Most migration frameworks express that distinction as metadata; pgmi makes it part of the SQL program.

By Alexey Evlampiev

Three facts about PostgreSQL decide how a deployment has to be shaped, and all three are the server’s rules rather than any tool’s.

Alexey Evlampiev: Your ALTER TABLE Is Fast. The Queue Behind It Is Not.

Neues vom PostgreSQL Planet - 1. August 2026 - 2:00
Your ALTER TABLE Is Fast. The Queue Behind It Is Not.#

A schema change that runs in six milliseconds can still stop every read on the table for sixteen seconds — the damage is done by waiting, not by working.

By Alexey Evlampiev

Elizabeth Garrett Christensen: Postgres COUNT(DISTINCT) Too Slow? Fast Approximation Guide

Neues vom PostgreSQL Planet - 1. August 2026 - 0:49

That's 320 milliseconds vs 671 ms for exact COUNT(DISTINCT) which is about twice as fast on a single scan. Also HLL isn't just about raw speed on one query. The function names are a bit verbose but the pattern is always the same: hash the value, aggregate the hashes into an HLL, then ask for the cardinality.

Mark Wong: Performance Farm July 2026 Update

Neues vom PostgreSQL Planet - 31. Juli 2026 - 21:29

 

The PostgreSQL Performance Farm is still not quite a reality, but I think there is some hope on the horizon.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – SQL Property Graph Queries (SQL/PGQ)

Neues vom PostgreSQL Planet - 31. Juli 2026 - 18:57
On 16th of March 2026, Peter Eisentraut committed patch: SQL Property Graph Queries (SQL/PGQ)   Implementation of SQL property graph queries, according to SQL/PGQ standard (ISO/IEC 9075-16:2023).

Robert Haas: Hacking Workshop for September 2026

Neues vom PostgreSQL Planet - 31. Juli 2026 - 17:09

I'm pleased to announce that David Rowley will be joining us in September to discuss his talk Optimizing code in the hot path; with examples from tuple deformation. If you're interesting in joining us, please sign up using this form and I will send you an invite to one of the sessions. As always, thanks to David for agreeing to join the sessions.

Muhammad Aqeel: PostgreSQL 18's extension_control_path: Decoupling Extensions from Server Images

Neues vom PostgreSQL Planet - 31. Juli 2026 - 12:08

PostgreSQL 18 adds a Grand Unified Configuration (GUC), , that lets an extension's control and SQL files live outside the server's own directories. Together with Kubernetes's ImageVolume and Docker's , that makes it practical to package an extension as its own small OCI container image and mount it into the PostgreSQL pod at runtime, without rebuilding the server image.The idea is compelling. A fleet of clusters sharing one lean, unmodified PostgreSQL image. Extensions versioned and upgraded independently.

Pavlo Golub: WAWTech+Summer 2026 [UNLOGGED]

Neues vom PostgreSQL Planet - 31. Juli 2026 - 12:00

The official logs are still processing, but the raw data is ready.

Welcome to the newest #UNLOGGED drop from WAWTech+Summer 2026 in Warsaw. We traded the classic conference center for an open-air tech festival at Tor Służewiec, and the energy was incredible.

Shaun Thomas: Looking Forward to Postgres 19: The Cult of Functionality

Neues vom PostgreSQL Planet - 31. Juli 2026 - 11:31

Postgres ships with a genuinely bountiful catalog of built-in functions. There are literally thousands of them, covering everything from trigonometry to JSON path queries to full-text ranking. It's a kitchen sink of staggering proportions. Somehow despite all of that, there are actually still a few gaps to fill.Need a random date for some test data? That's going to be an entire expression, I'm afraid. How about the exact definition of a role, tablespace, or database?

Christophe Pettus: All Your GUCs in a Row: hot_standby

Neues vom PostgreSQL Planet - 31. Juli 2026 - 3:00
PostgreSQL's hot_standby switch transforms a spare server into a readable replica, but the real tuning work happens elsewhere.

Alexey Evlampiev: Your Migration Numbers Are a Distributed Counter Without Coordination

Neues vom PostgreSQL Planet - 31. Juli 2026 - 2:00
Your Migration Numbers Are a Distributed Counter Without Coordination#

What migration-number collisions reveal about identity, ordering, and enforcement.

By Alexey Evlampiev

Christopher Winslett: Hybrid Search Patterns with Postgres and pgvector

Neues vom PostgreSQL Planet - 30. Juli 2026 - 17:00

Most production vector queries are not simple nearest-neighbor searches. Rarely is the query to return "the 10 most similar documents in the entire table." Typically, it's something closer to: find the 10 most similar documents in the legal category, published in the last 30 days. That mix of similarity ranking plus scalar filters is hybrid search.

Seiten