Add RegisterTask for Pgsql registry.