The Postgres license is already fully compatible with the AGPL. BSD/MIT is more permissive.