added postgresql utils from example