September 25, 2025: PostgreSQL 18 Released!

Feature Description

SQLERRM/SQLSTATE for pl/pgsql

allows simple access to the SQL error state and the associated error text if an exception happened