changed to PGSQL