From c7e99a59ad68307ca42cf5910a277363bdf6e402 Mon Sep 17 00:00:00 2001 From: Philip Marzullo Date: Wed, 5 Jul 2023 15:00:37 -0400 Subject: [PATCH] 0005913: Update postgres documentation on how to give access to schemas for a SymmetricDS user --- symmetric-assemble/src/asciidoc/appendix/postgresql.ad | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/symmetric-assemble/src/asciidoc/appendix/postgresql.ad b/symmetric-assemble/src/asciidoc/appendix/postgresql.ad index 100faba0b5..bcdc8d3a2d 100644 --- a/symmetric-assemble/src/asciidoc/appendix/postgresql.ad +++ b/symmetric-assemble/src/asciidoc/appendix/postgresql.ad @@ -37,6 +37,14 @@ If you want SymmetricDS to install into a schema other than public you can alter alter user {user name} set search_path to {schema name}; ---- +You will also need to set privileges on the schema so that the SymmetricDS user can use and write to the schema. + +[source, SQL] +---- +grant usage on schema {schema name} to {user name}; +grant create on schema {schema name} to {user name}; +---- + ==== Permissions If SymmetricDS is connected into a different schema than the application tables and a different user account is used to write to the the application tables the following permissions need to be granted to the application user to access the SymmetricDS schema