Share via

PostgreSQL Flexible Server stuck in read-only mode after restore – default_transaction_read_only = on

Rayyan Mohammad 0 Reputation points
2026-02-24T13:48:52.8366667+00:00

After performing multiple database restores on the Azure PostgreSQL Flexible Server Its was failing due to SSL connection. sql-mediohflow-beta-hyp-eastus-pg02, the server is now stuck in read-only mode.

SHOW default_transaction_read_only; returns on

current_setting('default_transaction_read_only') = on

source = configuration file

pg_is_in_recovery() = false

Restarting the server does NOT resolve the issue

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Saraswathi Devadula 14,645 Reputation points Microsoft External Staff Moderator
    2026-02-25T12:17:57.58+00:00

    Hi Rayyan Mohammad

    In our investigation, we have noticed that the server is in dropped state. I request you to please check and let me know if you have dropped the server from your end.

    0 comments No comments

Your answer

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