1,570 questions with Azure Database for PostgreSQL tags

Sort by: Updated
0 answers

Azure PostgreSQL Flexible Server Consecutive Major Version Upgrade Issue - Version 15 to 16/17

Azure PostgreSQL Flexible Server upgrade from version 15 to 16 fails with "major version upgrade failed precheck" error, despite a successful upgrade from version 14 to 15 the previous day. Environment Details Service: Azure PostgreSQL…

Azure Database for PostgreSQL
asked 2025-09-15T22:17:27.2466667+00:00
DHAVAL R PATEL 46 Reputation points
0 answers

postgres database stuck restarting

the postgres database storage got full and i try to do a restart

Azure Database for PostgreSQL
asked 2025-09-15T14:32:16.3+00:00
Laba Abiodun 0 Reputation points
commented 2025-09-15T16:02:59.78+00:00
Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
0 answers

Database Failed

We have observed repeated failures on our production database starting from 11th September 2025. The database has failed every day for the past five consecutive days. This pattern is concerning for service continuity and may indicate an underlying…

Azure Database for PostgreSQL
asked 2025-09-15T11:12:57.2933333+00:00
Mark Davis 0 Reputation points
commented 2025-09-15T11:41:42.57+00:00
Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
1 answer

I am unable to update Server Parameters on my Azure PostgreSQL server due to InternalServerError

I’m trying to update or reset PostgreSQL parameters on an Azure Database for PostgreSQL Flexible Server (for example max_connections). What I Tried Use the UI or the CLI to set a custom value: az postgres flexible-server parameter set \     …

Azure Database for PostgreSQL
asked 2025-09-09T13:11:37.5533333+00:00
Hugues Marandeau 0 Reputation points
commented 2025-09-15T08:03:19.28+00:00
Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
0 answers

Cannot create azure_ai extension in Postgres Flexible Server 16.9

When I run the following SQL command i get the below error, practically the same as here: https://learn.microsoft.com/en-us/answers/questions/5537021/cannot-add-azure-ai-or-azure-storage-extension-to Can you please help? SQLCopy CREATE EXTENSION IF NOT…

Azure Database for PostgreSQL
asked 2025-09-09T08:17:24.8933333+00:00
Nimrod Senhav 0 Reputation points
commented 2025-09-14T10:58:24.0966667+00:00
Nimrod Senhav 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to delete a PostgreSQL Flexible database in a failed provisioning state?

A PostgreSQL Flexible Server was configured in the portal but failed during provisioning with the error "The resource operation completed with terminal provisioning state 'Failed'." It is now stuck in a failed provisioning state. The server…

Azure Database for PostgreSQL
asked 2025-09-04T13:27:07.5133333+00:00
Daniel Colgrove 20 Reputation points
accepted 2025-09-12T13:48:42.9466667+00:00
Daniel Colgrove 20 Reputation points
1 answer

How to delete a seemingly corrupted resource

I can list a resource gsa-he-db, but when I navigate to the detail page of that resource, it says that a create date can't be found for the resource: can't access property "createdAt", this._serverData().systemData is undefined It looks like…

Azure Database for PostgreSQL
asked 2025-09-10T08:41:34.7866667+00:00
Dieuwe Van Amerongen 0 Reputation points
edited an answer 2025-09-12T10:02:54.8133333+00:00
Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
2 answers

UpgradePostgreSqlFlexibleServer fails to update from PostgreSql 14 to 17

Hi there, I am struggling to upgrade my Azure Database for PostgreSQL flexible server instance from version 14 to 17 using the Azure Upgrade Utility. The prechecks are all passing and the process runs for about 15 mins, then suddenly fails with the…

Azure Database for PostgreSQL
asked 2025-09-12T04:26:53.19+00:00
Arno Brand 0 Reputation points
answered 2025-09-12T06:01:23.0166667+00:00
Arno Brand 0 Reputation points
0 answers

Azure Database for PostgreSQL Flexible Server Stuck in Dropping State

I had provisioned an instance of Azure Database for PostgreSQL successfully through a custom ARM Template and then deleted it. A few hours later, I tried provisioning another instance with the same server name as the previous one. But the deployment has…

Azure Database for PostgreSQL
asked 2025-09-11T18:38:42.19+00:00
Anirudh Vasudevan 0 Reputation points
commented 2025-09-12T05:50:12.9466667+00:00
VRISHABHANATH PATIL 425 Reputation points Microsoft External Staff Moderator
0 answers

Unable to upgrade Azure Database for Postgres flexible

i, I am not able to upgrade my Postgres database from 13 to 17. I also tried to upgrade to 14, 15, but no luck. I disabled all plugins, even though they are not mentioned in the azure docs. just to be sure. Here is the upgrade log, other logs attached. I…

Azure Database for PostgreSQL
asked 2025-09-10T14:35:42.5833333+00:00
Alex Ivan 20 Reputation points
commented 2025-09-11T19:11:34.5633333+00:00
Mahesh Kurva 7,895 Reputation points Microsoft External Staff Moderator
0 answers

The server is currently in 'starting' state. Please wait for the operation to complete. You can refresh to check status. Reach out to Microsoft support if the operation is taking too long.

The server is currently in 'starting' state. Please wait for the operation to complete. You can refresh to check status. Reach out to Microsoft support if the operation is taking too long.  The status has been in this state for days. The option to stop…

Azure Database for PostgreSQL
asked 2025-09-09T19:57:22.0833333+00:00
Ícaro Sousa 0 Reputation points
commented 2025-09-11T19:04:06.5466667+00:00
Mahesh Kurva 7,895 Reputation points Microsoft External Staff Moderator
0 answers

Why can't I Geo-redundant restore to a paired region?

We had a PostgreSQL Flexible Server set up with Geo-redundant backups in our personal Azure subscription. We are now switching to a new subscription (for the Azure credits for startups). We are setting up the database here and on testing the…

Azure Database for PostgreSQL
asked 2025-09-11T09:40:30.9133333+00:00
Wout Van Droogenbroeck 0 Reputation points
commented 2025-09-11T12:33:37.59+00:00
Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
1 answer

The removed database still works.

I deleted the Postgres database and its resource group on August 29th (see the attached image), but it’s still working. I can’t find it anywhere in the Azure portal—what am I doing wrong?

Azure Database for PostgreSQL
asked 2025-09-04T04:51:53.2666667+00:00
Francesco Manzotti 0 Reputation points
commented 2025-09-11T05:11:51.2866667+00:00
VRISHABHANATH PATIL 425 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

PostgreSQL Flexible Server - pg_cron permissions issue

Hi, I'm having issue trying to use pg_cron functionality on a PostgreSQL flexible server. The extension was allowed/created correctly and I can see the cron schema on the standard 'postgres' database. The server parameter points to that database. I…

Azure Database for PostgreSQL
asked 2025-09-09T14:11:08.7833333+00:00
Developer treebyte 20 Reputation points
accepted 2025-09-10T09:02:39.2333333+00:00
Developer treebyte 20 Reputation points
1 answer

My azure PostgresDb just got deleted by itself and no logs are there

I have my postgres db on azure , in which i have all my databases , so it just got deleted by itself and no logs are shown anywhere.

Azure Database for PostgreSQL
asked 2025-09-09T04:29:28.4966667+00:00
Shailendra Singh 0 Reputation points
commented 2025-09-10T06:06:11.9466667+00:00
Saraswathi Devadula 13,315 Reputation points Microsoft External Staff Moderator
1 answer

Please I tried to create three database and they are stuck in dropping status, could you help me?

can you guarantee I will not be charge?

Azure Database for PostgreSQL
asked 2025-09-05T23:15:20.3433333+00:00
walter 0 Reputation points
commented 2025-09-10T02:58:44.1966667+00:00
Pratyush Vashistha 1,955 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

PostgreSQL flexible server stuck in starting sate

Hi, our PostgreSQL server ran out of storage space recently (we're not sure why, it happened quickly over a few days, and we've not been able to access it since so the reason unknown at this time). We now can't access the server, and having stopped it…

Azure Database for PostgreSQL
asked 2025-08-31T19:43:09.08+00:00
David Waterson 20 Reputation points
accepted 2025-09-09T08:15:44.47+00:00
David Waterson 20 Reputation points
1 answer One of the answers was accepted by the question author.

Not able to delete PSQL Flexible Server

I am unable to delete my PostgreSQL Flexible Server resource. The server appears in the Azure Portal with status Ready. When attempting deletion from the portal, I receive the following error: Code: ResourceNotFound When attempting deletion via Azure…

Azure Database for PostgreSQL
asked 2025-09-09T01:56:39.24+00:00
brinkercode 20 Reputation points
accepted 2025-09-09T06:33:46.6566667+00:00
brinkercode 20 Reputation points
0 answers

The azure PostgreSQL flexible server is stuck in updating state for 6 hours

After attempting to resize our Azure Database for PostgreSQL Flexible Server, the resource became stuck in the Updating state I tried the following recovery steps without success: Stop/Restart via CLI: both returned ServerIsNotReady since those…

Azure Database for PostgreSQL
asked 2025-09-04T22:44:34.4133333+00:00
VictorEsteves-9839 0 Reputation points
commented 2025-09-08T12:43:59.3433333+00:00
Abhisek Mishra 90 Reputation points Microsoft External Staff Moderator
1 answer

Azure Database for PostgreSQL flexible server - Illegal instruction with pgvector 0.8.0

I’m using Azure Database for PostgreSQL Flexible Server with the vector extension (pgvector 0.8.0). The server raises errors whenever I insert rows with an embedding column. Also, embedding column has HNSW index type. In the server logs I found that…

Azure Database for PostgreSQL
asked 2025-09-04T10:58:25.9133333+00:00
Vitalii Horbovyi 5 Reputation points
edited a comment 2025-09-08T10:57:39.6433333+00:00
Swapnesh Panchal 175 Reputation points Microsoft External Staff Moderator