Removes sql statements restriction on pg_ queries