DARIA NIKOLAENKO: PostgreSQL DDL/DML Migration Checklist for the Anxious
Nov 25, 2026
Every now and then, a PostgreSQL database needs changes: adding a column, creating an index, updating data, or modifying constraints. Changes like these are called migrations. They can finish in seconds and go unnoticed, or lead to blocking, replication lag, unexpected load, or even downtime.
Of course, no checklist can guarantee a trouble-free migration. However, asking the right questions beforehand can significantly reduce the risk.
In this article, we’ll go through a checklist that can help prepare for PostgreSQL migrations more confidently:
Keep reading
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
AI summaryThis article analyzes what PostgreSQL 19.0, released on November 19, changes for SQL, based on running the queries from The Art of PostgreSQL on versions 19.0 and 18.6 and reading the final release notes. The findings include 7 headline features withdrawn before release, 11 changes affecting existing SQL, roughly 20 new features, and an 8-step upgrade checklist. While release-day posts emphasize REPACK, plan advice, and ON CONFLICT DO SELECT, the change with the most consequences for existing SQL is that the planner now reads NOT NULL constraints and rewrites queries with them.
WAIT FOR LSN in PostgreSQL 19, a 3-part series Part 1: Stop Fighting Synchronous Replication: Meet WAIT FOR LSN (you are here) Part 2: Hands-on with WAIT FOR LSN: a walkthrough for DBAs Part 3: WAIT FOR LSN under load: numbers, tuning and t
`server_version` and `server_version_num` look simple until you upgrade packages without restarting the server, or put a pooler in front of it. (I consult on PostgreSQL through PGX Inc..)
Read time: ~8 minutes PostgreSQL 19 finally lets INSERT hand back the row that already exists, no dummy update, no exception block, no second round trip. PostgreSQL 19 was released on November 19, 2026. With it, I’m starting a new series: w
A customer asked me recently how to optimize performance writing to PostgreSQL from a Flink pipeline. Without hesitation, I recommended using PostgreSQL’s COPY interface. The result was approximately twice the throughput. This post explores