How to make column with ARRAY(Integer) type, where each integer is primary key from some other table? If it\'s impossible, how to achieve similar table relationships with ot
As of PostgreSQL 9.3, this is not implemented, see
http://blog.2ndquadrant.com/postgresql-9-3-development-array-element-foreign-keys/
One should turn array into other table.