removed attempt to silence warn on pg_query