Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 33 Minuten 48 Sekunden

Henrietta Dombrovskaya: That’s how Postgres met Django!

vor 52 Minuten 22 Sekunden

That was an experimental meetup: we never, ever scheduled meetups in August, especially during the last week of August! Still, when Keanya Phelps came up with the idea to have a Postgres meetup during the Djangocon.US conference, I couldn’t say no!

Until the last week before the meetup, I was unsure how many people would register and, more importantly, how many would come, but we had a full house (and yes, I didn’t take enough pictures because we had a Zoom setup crisis, so you have to trust me!)

Radim Marek: Read your own writes, off the primary

vor 4 Stunden 18 Minuten

Your API accepts the change. It returns 201 Created or 200 OK, the system has saved the user's change, and the moment the user clicks, the change disappears from the app, only to resurface seconds later. That's if you are lucky. There's no error. The change simply ceased to exist for a while.

Richard Yen: pg-catalog-almanac

31. August 2026 - 10:00
Did you know: PG19 is on track to contain the most changes to pg_catalog in history Introduction

pg_catalog is one of the most important interfaces PostgreSQL gives us: it exposes the metadata that describes database structure – tables, columns, indexes, constraints, types, and dependencies – alongside views into what the server is doing right now. When diagnosing replication lag, long-running or blocked queries, idle transactions, lock contention, vacuum activity, and other real-time performance problems, pg_catalog is often where I’m spending my time poking around.

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

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

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

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

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?

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

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

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

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

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

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

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

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

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

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.

Christophe Pettus: All Your GUCs in a Row: log_connections, log_disconnections, and log_hostname

26. August 2026 - 3:00
PostgreSQL 18 adds granular connection logging.

Alexey Evlampiev: Your Deployment Is a PostgreSQL Program

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

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.

Seiten