adds interface to pgsql server