more psql goodies