From 3262607b5b9fddb5c3ce4681a6895cfb8b3b0b5b Mon Sep 17 00:00:00 2001 From: Leon du Toit Date: Mon, 23 Jan 2017 17:34:39 +0100 Subject: [PATCH] Document connect strings for older versions of libpq (#11) (#31) --- admin.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.rst b/admin.rst index e2fadd380..751830018 100644 --- a/admin.rst +++ b/admin.rst @@ -45,7 +45,7 @@ pre-request String ================ ====== ======= ======== db-uri - The standard connection PostgreSQL `URI format `_. Also allows connections over Unix sockets for higher performance. + The standard connection PostgreSQL `URI format `_. On older systems like Centos 6, with older versions of libpq, a different db-uri syntax has to be used. In this case the URI is a string of space separated key-value pairs (key=value), so the example above would be :code:`"host=host user=user port=5432 dbname=dbname password=pass"`. Also allows connections over Unix sockets for higher performance. db-schema The database schema to expose to REST clients. Tables, views and stored procedures in this schema will get API endpoints. db-anon-role