September 26, 2024: PostgreSQL 17 Released!

Feature Description

MERGE ... RETURNING

MERGE can now use a RETURNING clause to return modified rows and what action was used to modify them using the merge_action() function.