Re: [Exim] SQL Lookup modification request

Top Pagina
Delete this message
Reply to this message
Auteur: Rob Butler
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] SQL Lookup modification request
I downloaded and looks at exim 4.24 and this feature is infact available for
the MySQL and PostgreSQL drivers. : )

Just to be complete / consistent though I checked the Interbase and Oracle
drivers and they do not support this feature.

It would be nice if this feature was added to those drivers as well so that
the capabilities across all the SQL based drivers is consistent.

Later
Rob

> > I was wondering the other day if it would be possible to use exim's SQL
> > based lookups to perform inserts into a database. From looking at the

code
> > in Exim, I can see this is not possible because the Exim SQL lookups

check
> > that a result set with data is returned. If a result set and data are

not
> > returned the lookups fail.
>
> ....
>
> This was added somewhere between exim 4.10 and exim 4.20 IIRC.
> Exim will return the number of affected rows for INSERT/UPDATE/DELETE
> queries.
>