Return to pgsql