Neues vom PostgreSQL Planet

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

Pavel Stehule: Using non ACID storage as workaround instead missing autonomous transactions

3. April 2026 - 7:57

When I was younger, the culture war (in my bubble) was about transactional versus non-transactional engines, Postgres versus MySQL (MyISAM). Surely, I preferred the transactional concept. Data integrity and crash safety is super important.  But it is not without costs. It was visible 30 years ago, when MySQL was a super fast and PostgreSQL super slow database. Today on more powerful computers it is visible too, not too strong, but still it is visible. And we still use non-transactional storages a lot of - applications logs. 

David Wheeler: pg_clickhouse 0.1.6

2. April 2026 - 17:21

We fixed a few bugs this week in pg_clickhouse, the query interface for ClickHouse from Postgres The fixes, improve query cancellation and function & operator pushdown, including to_timestamp(float8), ILIKE, LIKE, and regex operators. Get the new v0.1.6 release from the usual places:

Antony Pegg: pgEdge MCP Server for Postgres Is Now GA. Here’s Why That Matters

2. April 2026 - 14:08

If you’re building agentic AI applications, you’ve probably already hit the wall where your LLM needs to actually talk to a database. Not just dump a schema and hope for the best, but genuinely understand the data model, write reasonable queries, generate code for new UIs and even entire applications, and do it all without you holding its hand through every interaction.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Add UPDATE/DELETE FOR PORTION OF

2. April 2026 - 12:51
On 1st of April 2026, Peter Eisentraut committed patch: Add UPDATE/DELETE FOR PORTION OF   This is an extension of the UPDATE and DELETE commands to do a "temporal update/delete" based on a range or multirange column. The user can say UPDATE t FOR PORTION OF valid_at FROM '2001-01-01' TO '2002-01-01' SET ... (or likewise … Continue reading "Waiting for PostgreSQL 19 – Add UPDATE/DELETE FOR PORTION OF"

Vibhor Kumar: pg_background v1.9: a calmer, more practical way to run SQL in the background

2. April 2026 - 1:30

There is a kind of database pain that does not arrive dramatically. It arrives quietly.

A query runs longer than expected. A session stays occupied. Someone opens another connection just to keep moving. Then another task shows up behind it. Soon, a perfectly normal day starts to feel like too many people trying to get through one narrow doorway.

That is where pg_background becomes useful.

Antony Pegg: Replicating CrystalDBA With pgEdge MCP Server Custom Tools

1. April 2026 - 9:44

A disclaimer before we start: I'm product management, no longer an engineer. I can read code, I can write it … incredibly slowly. I understand PostgreSQL at a product level, and I know what questions to ask. But the code in this project was written by Claude - specifically, Claude Code running in my terminal as a coding agent. I directed the architecture, made the design calls, reviewed the output, and did the testing. Claude wrote the code. This is a vibe-coding story as much as it is a technical one.The pgEdge Postgres MCP Server has a custom tool system.

Elizabeth Garrett Christensen: Postgres Vacuum Explained: Autovacuum, Bloat and Tuning

31. März 2026 - 12:24

If you’ve been using Postgres for a while, you’ve probably heard someone mention "vacuuming" the database or use the term “bloat.” These both sound choresome and annoying — but they’re just part of life in a healthy database. In modern Postgres versions, autovacuum usually handles these issues for you behind the scenes. But as your database footprint grows, you might start wondering: Is the default setting enough? Do I need to vacuum Postgres manually? or Why is my database suddenly taking up way more disk space than it should?

Deepak Mahto: Why Ora2Pg Should Be Your First Stop for PostgreSQL Conversion

31. März 2026 - 10:16

I have been doing Oracle-to-PostgreSQL migrations for over last decades across enterprises, cloud platforms, and everything in between. I have used commercial tools, cloud-native services, and custom scripts. And when it comes to table DDL conversion, I keep coming back to the same tool: Ora2pg. Not because it is the flashiest or the easiest to set up, but because once you understand its configuration model, nothing else comes close to the control it gives you.

Umut TEKIN: Patroni: Cascading Replication with Stanby Cluster

31. März 2026 - 7:42

Patroni is a widely used solution for managing PostgreSQL high availability. It provides a robust framework for automatic failover, cluster management, and operational simplicity in PostgreSQL environments. Patroni offers many powerful features that make PostgreSQL clusters easier to manage while maintaining reliability and operational flexibility.

Lætitia AVROT: pg_service.conf: the spell your team forgot to learn

31. März 2026 - 2:00
I’ll be honest with you. I’m old school. My IDE is vim. My PostgreSQL client is psql. I’ve been using it for almost 20 years and I still think it’s the best PostgreSQL client out there. I might be biased. When I joined a new team recently, I noticed something: nobody was using psql. Everyone was connecting through their IDE. Which, fair enough, IDEs have saved connection profiles. You click, you’re in.

Richard Yen: The Hidden Behavior of plan_cache_mode

30. März 2026 - 10:00
Introduction

Most PostgreSQL users use prepared statements as a way to boost performance and prevent SQL injection. Fewer people know that the query planner silently changes the execution plan for prepared statements after exactly five executions.

This behavior often surprises engineers because a query plan can suddenly shift—sometimes dramatically, even though the query itself hasn’t changed. The reason lies in the planner’s handling of custom plans vs generic plans, controlled by the parameter plan_cache_mode.

Cornelia Biacsics: Contributions for week 12, 2026

30. März 2026 - 9:31

From March 23 to March 26, the following contributions were made to PostgreSQL at SREcon26 (Americas):

PostgreSQL booth volunteers:

  • Aya Griswold
  • Erika Miller
  • Gabrielle Roth
  • Jennifer Scheuerell
  • Umair Shahid
  • Alex Wood

PostgreSQL speakers:

Henrietta Dombrovskaya: Prairie Postgres Second Developers’ Summit and Why You Should Participate

29. März 2026 - 23:38

In my current position as Database Architect at DRW, I talk with end users more than I ever did in my life. Our end users are application developers who look at PostgreSQL from a very utilitarian perspective. Trust me, they do not care whether Postgres is the most advanced DBMS or not. They are very pragmatic: they need a database that will help them accomplish their goals: write the data fast, store reliably, read anything in milliseconds, and run analytics.

Radim Marek: Good CTE, bad CTE

29. März 2026 - 14:47

CTEs are often the first feature developers reach for beyond basic SQL, and often the only one.

But the popularity of CTEs usually has less to do with modernizing code and more to do with the promise of imperative logic. For many, CTE acts as an easy to understand remedy for 'scary queries' and way how to force execution order on the database. The way how many write queries is as if they tell optimizer "first do this, then do that".

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – json format for COPY TO

29. März 2026 - 14:34
On 20th of March 2026, Andrew Dunstan committed patch: json format for COPY TO   This introduces the JSON format option for the COPY TO command, allowing users to export query results or table data directly as a stream of JSON objects (one per line, NDJSON style).   The JSON format is currently supported only … Continue reading "Waiting for PostgreSQL 19 – json format for COPY TO"

Yuwei Xiao: pg_duckpipe: What's New in March 2026

28. März 2026 - 1:00
pg_duckpipe is a PostgreSQL extension for real-time CDC to DuckLake columnar tables. This month: transparent query routing, append-only changelog, fan-in streaming, partitioned table support, and more.

Cornelia Biacsics: My First Self-Organized PostgreSQL Meetup in Vienna

27. März 2026 - 20:33

Have you noticed how many new PostgreSQL meetups have appeared over the past few months?

Just to name a few examples:

Shaun Thomas: PG Phriday: Absorbing the Load

27. März 2026 - 7:53

Recently on the pgsql-performance mailing list, a question popped up regarding a Top-N query gone wrong. On the surface, the query merely fetched the latest 1000 rows through a join involving a few CTEs in a dozen tables with a few million rows distributed among them.

Deepak Mahto: Oracle & SQL Server to PostgreSQL – Migration Tooling Gotchas No One Warns You About!

26. März 2026 - 19:37

Every migration unfolds a story. Here are the chapters most teams miss.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Add support for EXCEPT TABLE in ALTER PUBLICATION.

26. März 2026 - 12:46
On 20th of March 2026, Amit Kapila committed patch: Add support for EXCEPT TABLE in ALTER PUBLICATION.   Following commit fd366065e0, which added EXCEPT TABLE support to CREATE PUBLICATION, this commit extends ALTER PUBLICATION to allow modifying the exclusion list.   New Syntax: ALTER PUBLICATION name SET publication_all_object [, ...

Seiten