Hello,
Am Samstag, 3. November 2007 schrieb David Goodwin:
> Christian Boltz wrote :
> > Am Samstag, 3. November 2007 schrieb
Gin...@us...:
> > > SUPERADMIN.TXT: updating docs
> > >
> > > +(The domain 'ALL' should already exist in the domain table; if
> > > not you'll need to recreate it)
> >
> > Huh? I don't have 'ALL' in my domain table don't see problems.
> > Why do you think it should be added?
>
> Certainly with PostgreSQL, there's a foreign key between
> domain_admins.domain and domain.domain - hence domain.domain = 'ALL'
> needs to exist first.
>
> Perhaps MySQL either doesn't check the fkey, or doesn't have the fkey
> there?
MySQL doesn't have this foreign key, and I don't think it is really
useful.
OTOH, Postfix sees the domain "ALL" and will (theoretically) accept
mails on it...
I vote for dropping the foreign key in PostgreSQL and then deleting
the "ALL" domain from the database. Both should be done in upgrade.php.
Regards,
Christian Boltz
--
Linux - Life is too short for reboots
|