resource(4) of type (pgsql link)