Skip to content

Commit

Permalink
Document connect strings for older versions of libpq (#11) (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
leondutoit authored and begriffs committed Jan 23, 2017
1 parent e56ffe7 commit 3262607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pre-request String
================ ====== ======= ========

db-uri
The standard connection PostgreSQL `URI format <https://www.postgresql.org/docs/current/static/libpq-connect.html#AEN45347>`_. Also allows connections over Unix sockets for higher performance.
The standard connection PostgreSQL `URI format <https://www.postgresql.org/docs/current/static/libpq-connect.html#AEN45347>`_. 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
Expand Down

0 comments on commit 3262607

Please sign in to comment.