changing the pgsql stuff to odbc.