Skip to content

Commit 5137dfa

Browse files
Merge pull request #219552 from AwdotiaRomanowna/patch-6
Update concepts-logical.md
2 parents 5914292 + 56e66b1 commit 5137dfa

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

articles/postgresql/flexible-server/concepts-logical.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,10 @@ Here is an example of configuring pglogical at the provider database server and
108108
\C myDB
109109
CREATE EXTENSION pglogical;
110110
```
111-
2. If the replication user is other than the server administration user (who created the server), make sure that you assign `azure_pg_admin` and `replication` privileges to the user. Alternatively, you can grant the administrator user to the replication user. See [pglogical documentation](https://github.com/2ndQuadrant/pglogical#limitations-and-restrictions) for details.
111+
2. If the replication user is other than the server administration user (who created the server), make sure that you grant membership in a role `azure_pg_admin` to the user and assign REPLICATION and LOGIN attributes to the user. See [pglogical documentation](https://github.com/2ndQuadrant/pglogical#limitations-and-restrictions) for details.
112112
```SQL
113-
GRANT azure_pg_admin, replication to myUser;
114-
```
115-
or
116-
```SQL
117-
GRANT myAdminUser to myUser;
113+
GRANT azure_pg_admin to myUser;
114+
ALTER ROLE myUser REPLICATION LOGIN;
118115
```
119116
2. At the **provider** (source/publisher) database server, create the provider node.
120117
```SQL

0 commit comments

Comments
 (0)