Add "server=" feature to MySQL and PostgreSQL lookups.
[exim.git] / test / scripts / 9200-PostgreSQL / 9200
index 2fd81f5e42e4bf1a0cf85220fc2e08cbda6f9ada..2dfb15b950b06c5f5d7c1f5778341adfcd5e363a 100644 (file)
@@ -9,6 +9,11 @@ ${lookup pgsql {delete from them where id='nonexist';}}
 ${lookup pgsql {select * from them where id='quote2';}}
 ${lookup pgsql {select * from them where id='newline';}}
 ${lookup pgsql {select * from them where id='tab';}}
+${lookup pgsql {select * from them where name='${quote_pgsql:'stquot}';}}
+${lookup pgsql {servers=x:localhost; select name from them where id='ph10';}}
+${lookup pgsql {servers=localhost:x; select name from them where id='ph10';}}
+${lookup pgsql {servers=localhost/test/CALLER/:x; select name from them where id='ph10';}}
+${lookup pgsql {servers=(/tmp/.s.PGSQL.5432)/test/ph10/:x; select name from them where id='ph10';}}
 ****
 exim -d -bh 10.0.0.0
 mail from:<a@b>