Skip to content

Commit de43f74

Browse files
Validation of replication privileges for the admin user
1 parent ddcb9ce commit de43f74

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/postgresql/migrate/concepts-single-to-flexible.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,20 @@ To begin the migration in either Online or Offline mode, you can get started wit
151151

152152
Assign [contributor roles](./how-to-set-up-azure-ad-app-portal.md#add-contributor-privileges-to-an-azure-resource) to source server, target server and the migration resource group. In case of private access for source/target server, add Contributor privileges to the corresponding VNet as well.
153153

154+
#### Verify replication privileges for Single server's admin user
155+
156+
Please run the following query to check if single server's admin user has replication privileges.
157+
158+
```
159+
SELECT usename, userepl FROM pg_catalog.pg_user;
160+
```
161+
162+
Verify that the **userpl** column for the single server's admin user has the value **true**. If it is set to **false**, please grant the replication privileges to the admin user by running the following query on the single server.
163+
164+
```
165+
ALTER ROLE <adminusername> WITH REPLICATION;
166+
```
167+
154168
#### Allow-list required extensions
155169

156170
If you are using any PostgreSQL extensions on the Single Server, it has to be allow-listed on the Flexible Server before initiating the migration using the steps below:

0 commit comments

Comments
 (0)