summary refs log tree commit diff
path: root/docs/postgres.rst
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-07-18 15:20:00 +0100
committerRichard van der Hoff <richard@matrix.org>2019-07-18 15:20:00 +0100
commit4102cb220aaf4c4e73344c28370db6c0535fd7aa (patch)
tree40d1eebf3f583bbf78aac39c794bd41fef9d01bd /docs/postgres.rst
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentClean up opentracing configuration options (#5712) (diff)
downloadsynapse-4102cb220aaf4c4e73344c28370db6c0535fd7aa.tar.xz
Merge branch 'release-v1.2.0' into matrix-org-hotfixes
Diffstat (limited to 'docs/postgres.rst')
-rw-r--r--docs/postgres.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/postgres.rst b/docs/postgres.rst

index 0ae52ccbd8..e08a5116b9 100644 --- a/docs/postgres.rst +++ b/docs/postgres.rst
@@ -11,7 +11,9 @@ a postgres database. * If you are using the `matrix.org debian/ubuntu packages <../INSTALL.md#matrixorg-packages>`_, - the necessary libraries will already be installed. + the necessary python library will already be installed, but you will need to + ensure the low-level postgres library is installed, which you can do with + ``apt install libpq5``. * For other pre-built packages, please consult the documentation from the relevant package. @@ -34,7 +36,7 @@ Assuming your PostgreSQL database user is called ``postgres``, create a user su - postgres createuser --pwprompt synapse_user -Before you can authenticate with the ``synapse_user``, you must create a +Before you can authenticate with the ``synapse_user``, you must create a database that it can access. To create a database, first connect to the database with your database user:: @@ -53,7 +55,7 @@ and then run:: This would create an appropriate database named ``synapse`` owned by the ``synapse_user`` user (which must already have been created as above). -Note that the PostgreSQL database *must* have the correct encoding set (as +Note that the PostgreSQL database *must* have the correct encoding set (as shown above), otherwise it will not be able to store UTF8 strings. You may need to enable password authentication so ``synapse_user`` can connect