Re: [Exim] SQL Lookup modification request

Pàgina inicial
Delete this message
Reply to this message
Autor: Richard Welty
Data:  
A: exim-users
Assumpte: Re: [Exim] SQL Lookup modification request
On Sat, 4 Oct 2003 08:11:58 -0400 Rob Butler <robert.butler5@???> wrote:

> Hello all,
>
> 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 can be done from PostgreSQL with the use of stored procedures and/or
triggers. you'd need to return some sort of result set anyway, bogus or
otherwise.

the question "why would you want to?" is still hanging out there, though.

richard
--
Richard Welty                                         rwelty@???
Averill Park Networking                                         518-573-7592
    Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security