Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 2 Stunden 52 Minuten

Mats Kindahl: Building a Table Access Method, Part 9: UNLOGGED tables and surviving a restart

22. November 2026 - 20:25

Everything that pg_memtable stores lives in shared memory, and a restart of the server destroys it, but the handle is left in the catalog. Since nothing special is done to inform Postgres that tables that use the memtable table access method (MemTables) do not survive a restart, it will treat the table as permanent, with “interesting” consequences. In this post you’ll learn about table persistence, how unlogged tables deal with a server restart, how to make every MemTable unlogged so that Postgres handles MemTables correctly, and how to recreate the arena of a table after a restart.

Henrietta Dombrovskaya: The Last Prairie PUG Meetup of 2026

22. November 2026 - 19:22

Prairie Postgres turned two in October, but since I was overseas then, we moved our celebration (and a cake!) to November.

We are very thankful to Sami Imseih for presenting his Become a PG_STAT_* talk (which I missed at PG DATA 2026); it was exceptionally informative and now includes the most recent additions coming in PG 19. A great final accord to 2026~

Thank you everyone who participated and expecially thoe who volunteered in 2026! See you in 2027!

Dan Langille: Galène: fixing double-encoded port files

22. November 2026 - 2:07
If you looked at the Makefile for www/galene on FreshPorts, you would have seen COMMENT= The Galène videoconference server. The port itself says Galène. This post explains how that happened, the fix I just pushed, how I will test it on dev, and how I plan to repair the text that is already wrong. What […]

uzair aslam: PostgreSQL Connection Pooling on Vercel with Next.js

22. November 2026 - 0:36

Configure PostgreSQL connection pooling on Vercel with Next.js. Size pg pools, release clients, handle transactions, and reproduce queued requests locally.

Your Next.js endpoint works locally, then starts timing out after a deployment or traffic spike. PostgreSQL reports too many connections, or requests wait even though the database has little CPU activity. Adding more function instances can make the problem worse because each instance can open another group of connections.

Vibhor Kumar: Relevance Is Not Permission: Filter-First Vector Search in PostgreSQL

21. November 2026 - 13:59
The retrieval was perfect. That was the problem.

Picture an internal assistant that answers employee questions from a shared document store. Someone asks a reasonable question about bonus timelines. The vector search does exactly what it was built to do and finds the most semantically similar chunks. One of those chunks comes from a compensation review meant only for HR.

Jimmy Angelakos: postgres.scot November 2026: a live Radar demo and Call for Presentations for December meetup

20. November 2026 - 14:08

Yesterday, Thursday, November 19th, was a cold night in Edinburgh, but the wonderful Law School in the University of Edinburgh's Old College was warm and cosy for our November meetup.

Aleksei Aleinikov: PostgreSQL 19 vs 18: Native REPACK, pg_plan_advice, Graph Myth & Production Upgrade Guide

20. November 2026 - 10:00

If PostgreSQL 18 was the storage-speed release that brought Asynchronous I/O (io_uring and worker threads) to Postgres, PostgreSQL 19 is the operational release DBAs and backend teams have been asking for since 2018.

Zsolt Parragi: What's left in Postgres 19

20. November 2026 - 1:00

Yesterday, PostgreSQL 19 was finally released after multiple delays. Everyone already knows about the many reverts that happened, but what actually remains? Is it still an interesting release?

This blog post doesn’t aim to be a complete list: the release notes are there for that.

Ahsan Hadi: PostgreSQL 19 is Here: Worth the Wait

19. November 2026 - 18:37

PostgreSQL 19 was released today. pgEdge packages for it are available the same day across all of our supported deployments - including Spock, where PG 19 support is already available. I have been testing the release candidates for a few weeks, so here is what I think matters most to DBAs and teams. replaces and , and with the option it rebuilds a bloated table without blocking reads and writes. In my own test, inserts kept running at about 2,000 a second with no failed transactions while a bloated table was rebuilt in under a second.

Dave Stokes: Using dbvr with PostgreSQL: From First Datasource to Production Queries

19. November 2026 - 16:55
What dbvr is, and why use it with PostgreSQL

dbvr lets you define PostgreSQL connections and run SQL from the command line, with no graphical interface. That makes it a fit for servers, containers, and pipelines where a desktop database tool cannot run.

David Wheeler: pg_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown

19. November 2026 - 12:52

Don't let the minor version increment fool you: pg_clickhouse v0.11.1, released last week, delivers a slew of improvements and bug fixes, including UPDATE, DELETE, TRUNCATE, and pgvector search pushdown.

pgvector type mapping

Let's start with the latter: pgvector type mapping. Given this ClickHouse table:

CALL clickhouse_perform('ch_server', $$ CREATE TABLE items ( id Int32, category String, v Array(Float32) ) ENGINE = MergeTree ORDER BY (id); $$);

Radim Marek: Your biggest tenant runs someone else's plan

19. November 2026 - 12:30

This one started with RegreSQL. Since The tests passed. The plan didn't. I've been loading production statistics into empty databases to see how much the plans alone can tell about a real workload. One paginated endpoint in a multi-tenant app wouldn't line up. Its plan was cheap, a cost of a few hundred and an estimate of one row, while pg_stat_statements in production had the same query reading thousands of buffers per call to return about eight rows.

Cornelia Biacsics: Contributions for week 45

19. November 2026 - 12:27

The following speakers delivered sessions about PostgreSQL at PASS Data Community Summit, which happened from 9-11 November 2026:

Álvaro Herrera: Squeezing tables with Postgres 19

19. November 2026 - 11:27

Working with the Postgres development community is such a rewarding experience.

In January 2024, Pavel Stehule asked in the hackers mailing list: why is there no VACUUM FULL CONCURRENTLY?

Laurenz Albe: Plan stability with pg_stash_advice: how to do it in practice

19. November 2026 - 5:00


© Laurenz Albe 2026

One of the more important new v19 features is the option to force the planner's hand with the help of pg_plan_advice and pg_stash_advice. You may have heard that “PostgreSQL v19 finally has query hints”, which is not entirely wrong. But if you are used to Oracle style query hints, you may be surprised and confused, because the PostgreSQL feature works in a different way. So I'd like to explain the feature with the aid of a fairly realistic example.

Andrew Dunstan: New Security Infrastructure for PostgreSQL

18. November 2026 - 21:36

Since June 2026, PostgreSQL security fixes have had a home of their own: a private git repository holding every pending fix as a stack of patches, and a private buildfarm that builds and tests that stack across every supported branch, continuously, before anything goes public.

damien clochard: PGRX 0.20: Build your own RPM/DEB packages

18. November 2026 - 13:30

Writing a Postgres extension in Rust with pgrx is a lot of fun. You write a few functions in Rust, launch an instance with cargo pgrx run and you can call these functions directly inside Postgres.

With cargo pgrx test and cargo pgrx regress, you can run unit tests and regression checks against any major version of Postgres until everything is green. Then comes the last step, and it’s the least fun one: shipping it.

Nikolay Samokhvalov: The hidden costs of CREATE TEMP TABLE: catalog bloat and LWLock:SInvalWrite

18. November 2026 - 8:00
Postgres 18: a CTE ran 23x the TPS of a temp table per transaction. With 5000 idle sessions, temp-table DDL got 127 and 249 of a 500 TPS target in two runs.

salaheddine el hssani: Checking a compiler against a second implementation

18. November 2026 - 1:00

A test says what its author expected. When the author also wrote the code, both come from the same reading of the problem, and a mistake in that reading is in both. They agree, the test passes, and the bug ships. Below is one way out of that loop for code whose answers can be computed another way: write a second implementation that is slow and plain, and compare the two on inputs neither author chose. It covers what that comparison found in a policy compiler, what it missed, and why the second implementation needs checks of its own.

Kaarel Moppel: A public safety reminder - large Postgres instances love huge pages

17. November 2026 - 23:00
Nothing new for the Postgres veterans out there - basically a TLDR can be drawn from the title already. So here just my contribution to making the next generation of LLMs maybe a bit more aware and perhaps saving some tons of CO2 down the line on less pointless churn....

Seiten