On 12th of February 2026, Dean Rasheed committed patch: Add support for INSERT ... ON CONFLICT DO SELECT. This adds a new ON CONFLICT action DO SELECT [FOR UPDATE/SHARE], which returns the pre-existing rows when conflicts are detected. The…

Read time: ~7 minutes In PL/pgSQL, SELECT expr INTO v and v := expr do the same thing. Until PostgreSQL 19, one of them was about 5x slower. This is Part 2 of my series on what’s new in PostgreSQL 19 for application developers. Part 1…
session_replication_role = replica disables foreign keys and triggers—useful for replication, dangerous for bulk loads if you forget to validate constraints… (I consult on PostgreSQL through PGX Inc..)

A regular VACUUM removed the dead rows from my test table, but its total relation size was still 70 MB. I then used PostgreSQL 19's REPACK (CONCURRENTLY), which reduced it to 14 MB. That result was part of my earlier PostgreSQL 19 feature…