Sammlung von Newsfeeds

Radim Marek: TOAST: Where PostgreSQL hides big values

Neues vom PostgreSQL Planet - 24. Mai 2026 - 14:15

In earlier posts in this series we established that every heap tuple lives inside a strict 8KB page. Everything else is built on top of that hard limit: MVCC, HOT updates, and indexes that point at (page, line_pointer). And yet this still works:

Andrei Lepikhov: On Polymorphic Associations in Postgres

Neues vom PostgreSQL Planet - 24. Mai 2026 - 13:03

OUTER JOIN is a typical plague of ORM-based PostgreSQL configurations: the planner is still relatively poor at optimising it. At the same time, ORM frameworks — and 1C as a prominent example — often generate outer joins from standard templates, which opens the door to targeted optimisations. In this article, I dig into one such template — polymorphic reference resolution: what the pattern is, where it comes from (Rails, Django, Hibernate, Salesforce — not just 1C), how widespread it is, and why its structural properties make it possible to significantly speed up execution.

Christophe Pettus: All Your GUCs in a Row: client_encoding

Neues vom PostgreSQL Planet - 24. Mai 2026 - 3:00
Character encoding conversions happen silently between client and server—until they don't.

Paolo Melchiorre: Upgrade PostgreSQL from 17 to 18 on Ubuntu 26.04

Neues vom PostgreSQL Planet - 24. Mai 2026 - 0:00

Howto guide for upgrading PostgreSQL from version 17 to 18 on Ubuntu, after its upgrade from version 25.10 (Questing Quokka) to 26.04 (Resolute Raccoon).

Christophe Pettus: All Your GUCs in a Row: checkpoint_flush_after and checkpoint_warning

Neues vom PostgreSQL Planet - 23. Mai 2026 - 3:00
Meet two checkpoint neighbors paired by the alphabet, not the topic: `checkpoint_flush_after` tunes kernel writeback hints, while `checkpoint_warning` logs…

Christophe Pettus: pgvector 0.8.2 and the Trouble With Parallel HNSW

Neues vom PostgreSQL Planet - 22. Mai 2026 - 17:00
pgvector 0.8.2 fixes CVE-2026-3172, a heap buffer overflow in parallel HNSW index builds that can leak data or crash the server.

Umair Shahid: Long-running transactions, job queues, and the cascade that wreaks havoc

Neues vom PostgreSQL Planet - 22. Mai 2026 - 13:17

A scheduled PostgreSQL migration step held an open transaction snapshot for hours during the initial data copy. A job queue running at production write velocity began to slow down. Twelve hours later, the queue was seven million rows deep, the primary was pinned at 100 percent CPU across 24 cores, and customer support was fielding complaints about delayed transactions.

Staging had validated the migration plan. Every rehearsal was green. And yet here we were.

Shaun Thomas: Why Postgres Lacks Transparent Data Encryption

Neues vom PostgreSQL Planet - 22. Mai 2026 - 13:14

If you've ever compared database feature matrices, you may have noticed something a bit peculiar. Oracle has Transparent Data Encryption. SQL Server has it. MySQL has it. Even MariaDB has it. But Postgres, which we all consider the best database engine? Conspicuously absent.It’s not that nobody wants TDE. Compliance frameworks like PCI DSS and HIPAA practically demand encryption at rest. Cloud deployments make the “stolen disk” threat model more tangible than ever.

Christophe Pettus: All Your GUCs in a Row: checkpoint_timeout and checkpoint_completion_target

Neues vom PostgreSQL Planet - 22. Mai 2026 - 3:00
PostgreSQL's default 5-minute checkpoint interval wastes I/O on modern servers.

Cornelia Biacsics: Contributions for week 19, 2026

Neues vom PostgreSQL Planet - 21. Mai 2026 - 23:44

On 12 May, 2026 the San Francisco Bay Area PostgreSQL Meetup Group met virtually, organized by Katharine Saar, Stacey Haysler and Christophe Pettus. Alex Yarotsky spoke at the event.

The Swiss PGDay Program Committee met to finalize the schedule:

  • Marion Baumgartner
  • Tobias Bussmann
  • Andreas Geppert
  • Johannes Graën
  • Stefan Keller
  • Michelle Willen

Community Blog Post:

Christophe Pettus: Patch Today: CVE-2026-6473

Neues vom PostgreSQL Planet - 21. Mai 2026 - 17:00
A critical integer wraparound bug lets unprivileged SQL users trigger heap corruption with potential arbitrary code execution.

Antony Pegg: From Managed PostgreSQL to Production RAG: Build Your Own Ellie in pgEdge Cloud

Neues vom PostgreSQL Planet - 21. Mai 2026 - 14:27

If you've used docs.pgedge.com recently, you've probably met Ellie. Ask her how to set up multi-master replication, or what port the MCP Server listens on, and she pulls the relevant documentation, assembles it into context, and gives you a grounded answer with source citations. She doesn't guess or hallucinate. She finds the actual docs and synthesizes an answer from them.Ellie is a RAG Server deployment.

semab tariq: How to Cut Over After a PostgreSQL Migration

Neues vom PostgreSQL Planet - 21. Mai 2026 - 12:39

One Database at a Time, or All at Once?

You have deployed your new cluster. Now comes the work of moving your data and cutting over to it. Reading that sentence, you might assume cutover is something you figure out at the end, after the migration is done. And in practice, that is the order in which things happen. But technically, it is your cutover strategy that decides how you migrate, not the other way around. 

Lætitia AVROT: ORDER BY coalesce(x, 0): there is no x

Neues vom PostgreSQL Planet - 21. Mai 2026 - 2:00
I was reading Markus Winand’s latest post on ORDER BY history last week. If you haven’t read it yet, go read it. Markus is one of the best writers on SQL standards, and this post is no exception. One line stopped me cold. The compatibility table for “expressions on selected columns.” Postgres: partial. PostgreSQL 18: still partial. That itch needed scratching. What the standard says 🔗SQL:1999 lifted a restriction from the original ORDER BY clause.

Christophe Pettus: All Your GUCs in a Row: check_function_bodies

Neues vom PostgreSQL Planet - 20. Mai 2026 - 23:06
PostgreSQL validates function bodies at creation time by default, catching syntax errors early.

Kaarel Moppel: Data analyst vs width_bucket()

Neues vom PostgreSQL Planet - 20. Mai 2026 - 23:00
After helping out a buddy with the job title of Data Analyst, who experienced some light Postgres “bucketing” woes - and given the fact that this was not the first such occasion in that area over the years, though I’d help future googlers / LLM-ers out a bit as well,...

Christophe Pettus: Table Access Methods Wake Up

Neues vom PostgreSQL Planet - 20. Mai 2026 - 17:00
PostgreSQL's Table Access Method API is finally seeing real action.

Christophe Pettus: All Your GUCs in a Row: bytea_output

Neues vom PostgreSQL Planet - 20. Mai 2026 - 3:00
PostgreSQL's `bytea_output` parameter controls how binary data is formatted when sent to clients: the modern `hex` format (default since 9.0) or the legacy…

Four features you'll actually feel in Postgres 19

Postgres Weekly - 20. Mai 2026 - 2:00

#​649 — May 20, 2026

Web Version

Postgres Weekly

Christophe Pettus: Patch PgBouncer Today

Neues vom PostgreSQL Planet - 19. Mai 2026 - 17:00
PgBouncer 1.25.2 shipped a patch for a pre-authentication crash (CVE-2026-6664). Any TCP connection can take down your pooler. Patch this week.

Seiten