generate_subscripts ( array anyarray, dim integer ) → setof integerGenerates a series comprising the valid subscripts of the
dim'th dimension of the given array.Functions / Set Returning Functions
Generates a series comprising the valid subscripts of the dim'th dimension of the given array.
Reading PG 18current·documented in 19 of 27 versions, 8.4 to 20
generate_subscripts ( array anyarray, dim integer ) → setof integerGenerates a series comprising the valid subscripts of the
dim'th dimension of the given array.generate_subscripts ( array anyarray, dim integer, reverse boolean ) → setof integerGenerates a series comprising the valid subscripts of the
dim'th dimension of the given array. When reverse is true, returns the series in reverse order.Definition snapshot: b7bd9cda · English manual source