Re: [Exim] quote_pgsql?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Alastair Varnals
Υ/ο: 'exim-users@exim.org'
Αντικείμενο: Re: [Exim] quote_pgsql?
On Wed, 27 Feb 2002, Alastair Varnals wrote:

> Is there a quote_pgsql in 3.34? Exim seems not to recognise it.


What error message do you get?

> A grep of
> the entire source distribution finds this string only in spec.txt.


That's because quote_xxx calls the quoting function for the lookup type
"xxx". There is no fixed table. It should work automatically if you
build Exim with pgsql support.

> Otherwise, communication with PostgreSQL is working as expected.


Hmm. So you clearly have built it with pgsql support. That is odd,
because quote_pgsql works for me:

$ ./exim -be
> ${quote_pgsql:'abc'}

\'abc\'

(Admittedly using 3.35, but that area didn't change.)

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.