psql select integer in selected arrays
Summary The error operator does not exist: bigint = integer[] occurs when querying PostgreSQL tables t1 and t2 due to a mismatch between the expected and actual data types. The subquery returns an array of arrays, while the IN operator expects a flat array of integers. Root Cause The subquery SELECT a2 FROM t2 WHERE … Read more