Try to fix pgsql insert issue