Maxim Boguk <maxim.bo...@gmail.com> writes: > PS: I try create two-dimentional integer array from query results:
Well, you could do that with a suitably defined aggregate having the signature "agg(anyarray) returns anyarray". But array_agg has the signature "array_agg(anyelement) returns anyarray" so you can't use it on an array input. 2-D arrays are not distinct from 1-D arrays so far as the type system is concerned. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs