diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-07-05 16:32:27 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-07-05 17:43:04 +0100 |
commit | 5f17d2f09733cc77355841fbf095a95186cc9fe5 (patch) | |
tree | 7040c65ccc02b23ef1435a4d8937349a51084324 /doc | |
parent | 89b1a5980cf39a0f34186a4c91c3b316c7b2f831 (diff) |
Support ret-full on lsearch. Bug 2611
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 7 | ||||
-rw-r--r-- | doc/doc-txt/NewStuff | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 9a49373f3..6d440e938 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -6859,6 +6859,13 @@ the implicit key is the host's IP address rather than its name (see section &*Warning 3*&: Do not use an IPv4-mapped IPv6 address for a key; use the IPv4, in dotted-quad form. (Exim converts IPv4-mapped IPv6 addresses to this notation before executing the lookup.) + +.new +One option is supported, "ret=full", to request the return of the entire line +rather than omitting the key porttion. +Note however that the key portion will have been de-quoted. +.wen + .next .cindex lookup json .cindex json "lookup type" diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index ecb9814f4..ac6383ca4 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -33,6 +33,9 @@ Version 4.95 db file, replacing the previous prefix to the SQL string (which had issues when the SQL used tainted values). + 9. Lsearch lookups accept a "ret=full" option, to return both the portion + of the line matching the key, and the remainder. + Version 4.94 ------------ |