When using array_agg or array_string, the array returns empty above a certain size.
SELECT array_agg(x.id) FROM (SELECT id FROM table LIMIT 500) x - this works and returns an array.
but this query : SELECT array_agg(x.id) FROM (SELECT id FROM table LIMIT 667) x
Doesn't work. it returns an empty array.
i'm pretty sure this doesn't reach the limitation size of an array. Any ideas why is this happening?
SELECT array_agg(x.id) FROM (SELECT * FROM cast(generate_series(1,1158) as int)as id) xpgAdmin IIIdoesn't display the data in the UI, but it's there.