style for pg queries