adding psql stuff