handlers/pgsql: make use of the new lib/vserver functionality