Reverted the psql changes