Waiting for PostgreSQL 18 – Add SQL function array_reverse()

from blog select * from depesz;, | ↗ original
On 1st of November 2024, Michael Paquier committed patch: Add SQL function array_reverse() This function takes in input an array, and reverses the position of all its elements. This operation only affects the first dimension of the array, like array_shuffle(). The implementation structure is inspired by array_shuffle(), with a subroutine...