17th September 2020: PostgreSQL 13 RC 1 Released!

Feature Description

RETURN QUERY in pl/pgsql

simply way to return the result of an arbitrary query in pl/pgsql