Re: Lua: database lookup value?

From: Marcin Owsiany <>
Date: Mon, 31 Dec 2012 09:33:28 +0000

On Sun, Dec 30, 2012 at 09:34:56PM -0800, Murray S. Kucherawy wrote:
> On Sun, 30 Dec 2012, Murray S. Kucherawy wrote:
> >It wouldn't be hard to add the capability to return the content of
> >a record. Please open a feature request via SourceForge and we can
> >see about adding it for 2.8.0.
> Since this will need to be generic, it will need to be able to
> handle text returns from data sets (colon-separated fields) as well
> as binary (e.g., an LDAP or SQL backed data set that has binary
> content in some columns, such as DER keys).
> I'm thinking right now of a Lua function that will return multiple
> values or nil depending on whether there was a hit. Does that seem
> reasonable?

There also needs to be a way to distinguish lack of entry from some
other error. Commented in the FR.

Marcin Owsiany <>    
GnuPG: 2048R/02F946FC  35E9 1344 9F77 5F43 13DD  6423 DBF4 80C6 02F9 46FC
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown
Received on Mon Dec 31 2012 - 09:33:43 PST

This archive was generated by hypermail 2.3.0 : Mon Dec 31 2012 - 09:45:02 PST