#​588 — February 13, 2025

Web Version

Together with  Heroku

Postgres Weekly

Scaling Postgres without Boiling the Ocean — Postgres scales pretty far out of the box with the default settings, but once a server starts getting some serious load ‘weird issues’ can start to rear their head. Shayon addresses some common issues of this type and the solutions for them.

Shayon Mukherjee

How About Trailing Commas in SQL? — Could this be the simplest yet most requested SQL feature? It's implemented in some dialects, but could it be implemented in Postgres's dialect? And should it? It’s far trickier than it sounds.

Peter Eisentraut

Find Your Flow with Heroku Postgres — The world’s most advanced open source database is easier to use than ever. With Heroku’s PostgreSQL database service, you can get the most out of your data and leave the admin to us. So go ahead and focus on your data-driven apps – we got you.

Heroku Postgres sponsor

QUICK BITS:

Dealing With "found xmin ... from before relfrozenxid" — A look into a commonly reported error with easily misunderstood wording. It occurs during (and breaks) the vacuuming process when an unfrozen tuple’s xmin predates the table’s relfrozenxid, signaling data corruption. Luckily, there are solutions.

Laurenz Albe

📄 Working with the Postgres Protocol From Rust – From the creator of the PgDog sharding proxy. Lev Kokotov

▶️ The Early History of Spatial Databases and PostGIS Paul Ramsey

🛠 Code and Tools

Citus 13: Now with Postgres 17 Support — Citus is a long standing open source extension that makes it easier to horizontally scale Postgres. Bought by Microsoft some years ago, it continues to get releases, including this new one with Postgres 17 support, including for distributed queries using JSON_TABLE() and improved support for distributed partitioned tables.

Naisila Puka (Citus Data)

Locksmith: Detect SQL Migration Issues Quickly — A new Rust-powered tool to detect table locks, table rewrites, and modified tables, columns and indexes during a schema migration.

Tom Forbes

pgroll 0.9.0 Released with New Schema Migration Featurespgroll is a tool for performing reversible schema migrations on Postgres without taking the database down. v0.9 supports adding table-level constraints into the table creation process, as well as generated columns.

Andrew Farries

Pig v0.1.4: Now with 400 Postgres ExtensionsPig (short for Postgres Install Genius) is one of the newer attempts to manage Postgres extensions in a package-based fashion. The latest version adds support for Microsoft’s DocumentDB, pg_tracing, pg_cooldown, VectorChord-bm25, and more.

Pigsty

📰 Classifieds

Making the move from Oracle to Postgres? Read this in-depth guide to replacing Oracle hints with pg_hint_plan equivalents & when not to use hints.


📑 Start tracking vital resource and activity metrics from your PostgreSQL databases with Datadog's handy cheatsheet.