How do I set the wal_level in PostgreSQL Single Server?

Justus Witmer 20 Reputation points
2024-10-22T15:27:56.1966667+00:00

I am trying migrate my PostgreSQL Single Server to a Flexible Server. I am using Azure's migration portal, but am running into an error:

Error 603107: GUC settings error. Source server WAL level parameter is set to 'replica'. Set GUC parameter WAL level to be 'logical'.

However, for a single server there is no server parameter to change the WAL level. I am confused as to why I cannot set the level, but I can't move forward with migration unless the level is set to logical. Any suggestions?

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 10,825 Reputation points Volunteer Moderator
    2024-10-22T16:27:19.29+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Enable logical replication on your PostgreSQL Single Server. For Single Server instances, you can't directly modify the WAL level parameter. Instead, you need to enable logical replication, which will automatically set the WAL level to logical

    After enabling logical replication and restarting the server, the WAL level will be set to logical


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.