Fixed up postgres client + query.run