Unsupported server parameter after Azure flexible PostgreSQL server upgrade v11 to v13

Johannes Boyne 21 Reputation points
2025-02-24T14:13:58.47+00:00

We performed a PostgreSQL version upgrade (v11 -> v13) and cannot change any server parameter via the GUI nor via CLI anymore.

The error is:

(ParameterNotExists) The Parameter [azure.allow_hostname_in_username] is invalid or unsupported in current PG version [13]
Code: ParameterNotExists

But we cannot drop this parameter neither, because there is no CLI call or GUI for this. We already tried to reset the server parameters but it failed with the same error.

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 20,351 Reputation points Microsoft Employee
    2025-02-24T23:15:39.24+00:00

    @Johannes Boyne Thank you for reaching out.

    This GUC was added to the azure extension only for version 11 of Postgres, because it was required for migration scenarios from Single Server to Flexible Server. Once the server is migrated to Flex, you can upgrade to higher versions, but that GUC isn't available, because it isn't necessary outside of the specific context of migration from PGSS 11 to PGFS 11.

    As shared by Mahesh above. It is not supported on higher version of Azure PostgreSQL flex.

    Regards,

    Oury

    0 comments No comments

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.