How to check if an array is empty in Postgres How to check if an array is empty in Postgres arrays arrays