\pset columns X
export PAGER=less
export LESS='-iMSx4 -RSFX -e
cardinality()
SELECT a,b,c FROM mytable WHERE cardinality(myarray) > 2