Eugene Prokopiev wrote:
> Hi,
> 
> Why DBMail developers use sprintf function instead of bind variables to
> create sql expressions? 

Because dbmail predates the availability of prepared statements in mysql and
postgresql.

> Yes, bind variables require additional
> abstraction level for using with different RDBMs, but it can
> significantly increase perfomance with some of them.

Agreed.

> Is there any plans to implement this in future releases?

No plans afaik. But I agree this is worth thinking about. It won't happen before
2.2 though.


-- 
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to