chiprook
← Software
SoftwareSeptember 24, 2026, 19:45

PostgreSQL 19 will transform NOT IN into an anti-join

PostgreSQL 19 will rewrite NOT IN queries as NOT EXISTS when NOT NULL is guaranteed, enabling anti-joins via Nested Loop, Merge Join or Hash Join. A 1M-row example that never finished on PG18 ran in 3.2 seconds on PG19 beta 4.

PostgreSQL 19 will transform NOT IN into an anti-join
#PostgreSQL
Read next
Software

Google Beam 3D videoconferencing goes on sale on HP Dimension

Software

A third of public API specs vanished, half of surviving contracts changed

Software

Leica Lux 2.0 for iPhone Adds Steve McCurry Artist Look

Software

Adobe brings Acrobat tools to Claude and Photoshop to Google Gemini