PostgreSQL 18 introduces enhanced RETURNING clause functionality that allows developers to access both old and new row values in a single DML operation. This eliminates the need for separate queries or complex triggers when tracking data changes. The feature introduces special 'old' and 'new' aliases that work across INSERT,
2 Comments
Sort: