Re: [exim-dev] sqlite lookup support.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Jakob Hirsch
CC: exim-dev
Sujet: Re: [exim-dev] sqlite lookup support.
On Tue, 5 Jul 2005, Jakob Hirsch wrote:
> David Woodhouse wrote:
>
> > I really shouldn't be using lsearch and ${run sh -c "echo blah >> dbfile"}
> > for my greylisting. Here's sqlite3 support.
>
> very nice, thanks!


Yes, but it could do with documentation :-)

> > +  NULL                           /* no quoting function */

>
> Shouldn't the single quote character ' be quoted, at least?


I suspect it could do with a SQL-quoting function similar to those for
MySQL/Oracle/Postgres. I wonder why those functions are different...

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}