trim_array ( array anyarray, n integer ) → anyarrayTrims an array by removing the last
n elements. If the array is multidimensional, only the first dimension is trimmed.trim_array(ARRAY[1,2,3,4,5,6], 2) → {1,2,3,4}Trims an array by removing the last n elements.
trim_array ( array anyarray, n integer ) → anyarrayTrims an array by removing the last
n elements. If the array is multidimensional, only the first dimension is trimmed.trim_array(ARRAY[1,2,3,4,5,6], 2) → {1,2,3,4}Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source