"Grzegorz Jaśkiewicz" <gryzman(at)gmail(dot)com> writes:
> that would be a type mismatch, heh.
prepare "select * from foo where a = any($1::int[])"
then pass "{1,2,3}"
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!