Neues vom PostgreSQL Planet

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

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....

Dimitri Fontaine: Distributed primary keys

17. November 2026 - 16:00

On a single Postgres server, primary keys stay unique because only one sequence hands out the numbers: a bigint identity column asks it for the next one, and no two rows ever get the same. Now put writers in several regions, each of them accepting inserts while the links between them are slow or down. Two regions that each ask their own sequence for “the next number” will hand out the same one, and the first time those two rows meet on a subscriber, one of them is rejected.

Jan Wieremjewicz: PGConf.EU 2026: It's About More Than PostgreSQL

17. November 2026 - 12:00

Autumn is the time when leaves change color and fall. It’s also the time when new PostgreSQL releases come out, or at least that’s been the tradition for quite a while.

There’s one more thing that autumn brings to the PostgreSQL world: PGConf.EU, the annual conference that has grown into the largest PostgreSQL community event.

This year we met in Valencia, Spain. And while I’ve attended several editions already, 2026 brought quite a few firsts for me.

Aleksei Aleinikov: PostgreSQL in Docker for Production: Volumes, Shared Memory, Pooling & Backups

17. November 2026 - 7:30

Running PostgreSQL in Docker takes ten seconds to start in development — and about ten minutes to lose data in production if you copy a default compose.yaml snippet from a tutorial.

Most outages with containerized Postgres are not caused by Docker itself. They happen because Docker’s defaults (64 MB /dev/shm, a 10-second SIGKILL timeout, unpinned :latest tags, and outdated PGDATA volume paths) collide directly with how PostgreSQL manages memory, checkpoints, and disk files.

Bryan Green: Working the PgUS Booth at Texas Linux Fest 2026

17. November 2026 - 5:43
My first time volunteering at a conference: the PgUS booth at Texas Linux Fest 2026. Mostly it was stickers, hats, and asking people how they use Postgres. Then a couple of students from Texas A&M came by.

Dave Stokes: Getting Started With Ollama With DBeaver Community Edition

17. November 2026 - 2:30

 Ollama is popular because it makes running large language models (LLMs) locally simple, private, and inexpensive. DBeaver 26.2.5, also free & open-source, recently added support for Ollama. And both pair well with PostgreSQL.

Why Ollama Is Popular?
  1. Runs AI Locally — Execute models such as Llama, Qwen, Gemma, and DeepSeek on your own computer without relying on cloud services.

Dinesh Kumar: pgSherpa: a PostgreSQL companion for your Mac, now on the Mac App Store

17. November 2026 - 0:00
pgSherpa is a free PostgreSQL companion for macOS, now on the Mac App Store: health, security, cloud events on AWS, DigitalOcean and Supabase, read-only SQL.

David E. Wheeler: Build, Test and Release Extensions with the New PGXN GitHub Actions

16. November 2026 - 21:14

I’ve made three new GitHub actions in the past few months to replace the venerable Docker-based pgxn/pgxn-tools, which has become bloated and requires more work to maintain than I’d like. The new actions require much less maintenance, support all GitHub runner OSes and architectures, and run more quickly. What they do:

Chris van Eijk: invalid input syntax for type json in PostgreSQL, measured

15. November 2026 - 23:30
What raises 'invalid input syntax for type json' (22P02), measured on PostgreSQL 16 to 18: JS arrays, Python lists, NUL escapes, bad rows and a safe ALTER.

Dinesh Kumar: How to Reduce PostgreSQL Memory Usage and Cut Your Cloud Bill in Half

14. November 2026 - 19:45
How to reduce PostgreSQL memory usage and your cloud bill: one pooler setting took a customer from 93% memory to 50%, and from $630 to $320 a month.

Jianghua yang: Pricing plans in PostgreSQL's currency: pg_orca's PG-aligned cost model

14. November 2026 - 1:00
How pg_orca replaced ORCA's Greenplum-calibrated cost model with a port of PostgreSQL's costsize.c: where it plugs in, how it bridges ORCA's total-only costs and rebinds to PostgreSQL's startup costs and loop counts, and how a regression harness keeps both planners within 2%.

Seiten