Sammlung von Newsfeeds

Christophe Pettus: All Your GUCs in a Row: log_min_messages, log_min_error_statement, and log_error_verbosity

Neues vom PostgreSQL Planet - 31. August 2026 - 3:00
Three parameters control what reaches your server log: a severity floor, whether to attach the triggering SQL, and how many fields each message prints.

Christophe Pettus: All Your GUCs in a Row: log_line_prefix and log_timezone

Neues vom PostgreSQL Planet - 30. August 2026 - 3:00
A log line has two parts: the message, which PostgreSQL decides, and everything in front of it, which you do. log_line_prefix is the join key. Every fact that lets you connect a line to a session, a transaction, a client, or a moment in another system’s logs has to be in the prefix, because the m…

Pavel Stehule: Integration Lua to psql III

Neues vom PostgreSQL Planet - 29. August 2026 - 7:47
I finished patch that integrates Lua language to psql client https://github.com/okbob/lua-psql I wrote two examples. Second is a wrapping VACUUM command. Target is a more readable output in verbose mode. One bonus is printing progress - any second the pg_stat_progress_vacuum is selected and result is printed. function vacuum(args) local options = {} local tables = {} if args == "help" then print "\\lua vacuum {verbose=true}" return end if args then local transfx = load("return " ..

Christophe Pettus: All Your GUCs in a Row: log_rotation_age, log_rotation_size, and log_truncate_on_rotation

Neues vom PostgreSQL Planet - 29. August 2026 - 3:00
PostgreSQL's log rotation has three parameters that only make sense together: one rotates at clock boundaries, one at file sizes, and one decides whether to…

Umair Shahid: How Fast Should You Patch Production PostgreSQL?

Neues vom PostgreSQL Planet - 28. August 2026 - 13:41

On August 13, 2026, PostgreSQL shipped its biggest security release ever: 28 CVEs closed in a single day. The old record was 11.

The community has done its job, a phenomenal one at that! If you run PostgreSQL for critical workloads in production, the number you should focus on is how long it takes to get a fix from “released” to “running in production.” Call it your patch latency. That’s what this post is about.

Shaun Thomas: From the Trenches: My Path Through Postgres

Neues vom PostgreSQL Planet - 28. August 2026 - 13:26

Hello fellow Postgres Enjoyer. I'd like to do something a little different this week and talk a bit about how I got ensnared by the Postgres ecosystem, and what I've done with it over the years. Maybe you have something better to do with your Friday than listen to some old guy reminiscing about Postgres, but I promise you it'll be worth the read.There's a reason I've been a dedicated Postgres zealot for over 20 years now, and it definitely isn't because of the name.

Pavlo Golub: pgwatch v6: dashboards reimagined, and a reaper that doesn't choke

Neues vom PostgreSQL Planet - 28. August 2026 - 5:00

In the first post we covered the headline feature of v6.0.0-beta: Prometheus exporters as a native pgwatch source. This second post covers everything that shipped alongside it: a full dashboard overhaul, a reaper core that's noticeably harder to kill, four new metrics, and a security fix worth knowing about even if you never touch Prometheus.

Christophe Pettus: All Your GUCs in a Row: log_directory, log_filename, and log_file_mode

Neues vom PostgreSQL Planet - 28. August 2026 - 3:00
All three of these do nothing unless logging_collector is on; they describe the files the collector writes. Where, what they’re called, and who can read them. The defaults for all three are fine for a laptop and wrong for a server, and the reasons are more mechanical than the documentation lets o…

Mikhail Shytsko: The Dump That Breaks Its Own Restore

Neues vom PostgreSQL Planet - 28. August 2026 - 2:00

A pg_dump data-only restore into a fresh, empty copy of the schema is the safest-sounding restore in PostgreSQL, since there is not a single row in the target for the incoming data to collide with. It stops anyway, on a table sitting plainly in \dt.

semab tariq: How to Calculate Fillfactor for Your Tables

Neues vom PostgreSQL Planet - 27. August 2026 - 10:51

A small setting most teams either ignore or guess at. Here’s the quick version, then the full breakdown.

Key Takeaways

Christophe Pettus: All Your GUCs in a Row: log_destination and logging_collector

Neues vom PostgreSQL Planet - 27. August 2026 - 3:00
PostgreSQL's logging collector is a small pipe-based daemon that prevents message loss and garbling—but turning it on requires a restart, which you'll want on…

Pavel Stehule: integration Lua to psql II

Neues vom PostgreSQL Planet - 26. August 2026 - 22:34
Ten years ago, I attempted to enhance the \dt+ command to sort results by size. There were perhaps a hundred discussions, yet no consensus was reached on a new syntax. Eventually, I created the pspg tool, which allows results to be sorted by any column based on the vertical cursor position. Now, I have prepared a set of patches that integrates Lua into psql.

Andrew Atkinson: PostgreSQL 18: 23x Faster Inserts With UUID V7

Neues vom PostgreSQL Planet - 26. August 2026 - 13:50
📌 Overview

We recently switched to version 7 (v7) uuid primary keys and saw significantly faster inserts for some tables.

The databases were running Postgres 18.4 and mostly used v1 with some v4 uuid values for primary keys.

Changing the column default involved running a single alter table command, but did require an exclusive lock on the table, blocking everything including selects.

To solve that, we used a short lock timeout and lots of retries.

Pavlo Golub: pgwatch v6: Prometheus becomes a source, not just a sink

Neues vom PostgreSQL Planet - 26. August 2026 - 9:43

We're excited to unveil pgwatch v6.0.0-beta — the biggest release since v5. It's a big one, so I'm splitting the tour into two posts. This first post is about the headline feature: pgwatch can now scrape a Prometheus exporter directly, as a first-class source, side by side with your regular PostgreSQL sources.

Alexey Evlampiev: Your Deployment Is a PostgreSQL Program

Neues vom PostgreSQL Planet - 26. August 2026 - 2:00
Your Deployment Is a PostgreSQL Program#

Every migration tool is a program that executes your SQL. Invert the control flow and deployment policy becomes SQL the project owns.

By Alexey Evlampiev

Ismaël Mejía: MongoDB on PostgreSQL: DocumentDB with pglayers-azure

Neues vom PostgreSQL Planet - 26. August 2026 - 2:00

DocumentDB is a MongoDB-compatible document database built on PostgreSQL. It adds the BSON data type and a full CRUD API to Postgres, and ships a gateway that speaks the MongoDB wire protocol -- so existing MongoDB clients (mongosh, pymongo, the Node.js driver) can connect to a PostgreSQL server as if it were MongoDB. It's the same engine behind Azure DocumentDB.

28 CVEs and a GROUP BY ALL U-turn

Postgres Weekly - 26. August 2026 - 2:00

#​662 — August 26, 2026

Web Version

🏖️ After a week of being Disneyed-out, I return tired, but more ready than ever to dive back into the (far less humid) waters of Postgres!
__
Your editor, Peter Cooper

Postgres Weekly

Hubert 'depesz' Lubaczewski: New things for regular expressions in PostgreSQL (pg_tre and pg_re2)

Neues vom PostgreSQL Planet - 25. August 2026 - 20:41
Well, truth be told these are not all that new (couple of months), but I finally have gotten around to research it. So, let's see what's what. For starters I need some test data. Luckily, I have explain.depesz.com DB… Extracted all plans to side table, with this structure: =$ \d all_plans Table "public.all_plans" Column | … Continue reading "New things for regular expressions in PostgreSQL (pg_tre and pg_re2)"

Henrietta Dombrovskaya: How to optimize when you can’t do anything!

Neues vom PostgreSQL Planet - 25. August 2026 - 13:50

It’s hard to say anything new about query optimization. On the one hand, each new Postgres release includes multiple query planner improvements, and it feels like there is something for any problem that can possibly arise. On the other hand, the fundamental principles of optimization do not change: if your query is highly selective, meaning the result is a small percentage of the original data set, you need to build indexes that would support this particular search.

Seiten