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 INSERT statement must have a RETURNING clause, when DO SELECT is specified.   The optional … Continue reading "Missed in PostgreSQL 19 : Add support for INSERT … ON CONFLICT DO SELECT."