14th September 2023: PostgreSQL 16 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