postgres=# -- Specify non-default array subscripts in an array literal postgres=# postgres=# SELECT f1[1][-2][3] AS e1, f1[1][-1][5] AS e2 postgres-# FROM (SELECT '[1:1][-2:-1][3:5]={{{1,2,3},{4,5,6}}}'::int[] AS f1) AS ss; e1 | e2 ----+---- 1 | 6 (1 row) postgres=# postgres=#