From 70f290cdcfadde6efa22700aefb292c1e37bea90 Mon Sep 17 00:00:00 2001 From: Carla Date: Fri, 29 Jul 2016 17:51:38 +0200 Subject: [PATCH] Add user conf in cdb conf --- client/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/README.md b/client/README.md index 9b26f0e..f2dd473 100644 --- a/client/README.md +++ b/client/README.md @@ -41,3 +41,12 @@ CREATE EXTENSION cdb_dataservices_client; ``` The extension creation in the user's db requires **superuser** privileges. + +## User configuration + +``` +-- Point to the dataservices server DB (you can use a specific database for the server or your same user's): +SELECT CDB_Conf_SetConf('geocoder_server_config', '{ "connection_str": "host=localhost port=5432 dbname= user=postgres"}'); + +SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": ""}'); +```