From: Jeremy Harris Date: Tue, 28 Feb 2017 09:40:04 +0000 (+0000) Subject: Docs: add more Redis info X-Git-Tag: exim-4_89_RC7~5 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/be43ad74273ed8a4e7c5bdc3345e4310a4767327 Docs: add more Redis info (cherry picked from commit d5d82b8443e2604e7b0729ecbb3b2041ce176189) Signed-off-by: Phil Pennock --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 19227beef..788444088 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -6731,8 +6731,8 @@ PostgreSQL database. See section &<>&. .next .cindex "Redis lookup type" .cindex lookup Redis -&(redis)&: The format of the query is an SQL statement that is passed to a -Redis database. See section &<>&. +&(redis)&: The format of the query is either a simple get or simple set, +passed to a Redis database. See section &<>&. .next .cindex "sqlite lookup type" @@ -7805,6 +7805,19 @@ are rejected after a timeout period, during which the SQLite library waits for the lock to be released. In Exim, the default timeout is set to 5 seconds, but it can be changed by means of the &%sqlite_lock_timeout%& option. + +.new +.section "More about Redis" "SECTredis" +.cindex "lookup" "Redis" +.cindex "redis lookup type" +Redis is a non-SQL database. Commands are simple get and set. +Examples: +.code +${lookup redis{set keyname ${quote_redis:objvalue plus}}} +${lookup redis{get keyname}} +.endd +.wen + .ecindex IIDfidalo1 .ecindex IIDfidalo2