Also posted in Microsoft Blog for PostgreSQL Trying Out GIN VACUUM in PostgreSQL 19 PostgreSQL 19 improves how VACUUM reads GIN indexes during cleanup, allowing that path to use streaming reads. I was curious how much of a difference that…

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…