Fix dbload for postgres.