#GT-980: wrapped pg_query_params into transaction