1,219 questions with Azure Database for PostgreSQL tags

Sort by: Updated
1 answer

Flexible Postgres Server unavailable

My Flexible Postgres Server is completely unavailable. I can connect to it or describe it via the Portal or the CLI az postgres flexible-server db show \ …

Azure Database for PostgreSQL
asked 2025-02-26T11:54:16.1733333+00:00
Brenwell 0 Reputation points
commented 2025-02-28T05:30:48.65+00:00
Vinodh247 28,386 Reputation points MVP
1 answer

Data of type AzureDiagnostics is being dropped due to incorrect format at lineOffset: 247. Exception message: Unexpected character encountered while parsing value: \. Path 'records[247].resultDescription', line 1, position 155215.

The Diag setting of my Postgresql seems to send wrong data to my log analytics workspace: https://learn.microsoft.com/en-us/answers/questions/1701891/log-analytics-workspace-reports-10-warnings Data of type AzureDiagnostics is being dropped…

Azure Database for PostgreSQL
asked 2025-02-26T10:37:01.24+00:00
Nicolas Lhoir 0 Reputation points
commented 2025-02-28T05:30:23.9233333+00:00
Vinodh247 28,386 Reputation points MVP
0 answers

PostgreSQL in Azure loading high CPU lately

Our system was running fine until the last few days it has been very slow. I checked and noticed that PostgreSQL has been getting full CPU load lately. Can you help me what happened, is there something running in the background that I don't know about?

Azure Database for PostgreSQL
asked 2025-02-27T19:00:13.46+00:00
Hong Phuc Nguyen 0 Reputation points
edited the question 2025-02-28T00:47:12.7633333+00:00
Alison A 650 Reputation points Microsoft Vendor
0 answers

Migration from Postgresql Single Server to Flexible stuck

Hi, I triggered migration from single server to flexible server (7 databases). 5 were migrated successfully but it stuck on 6. For last 3h I'm having "Migration data" and when I click on details I can see this: Is there any way to check what…

Azure Database for PostgreSQL
asked 2025-02-27T13:17:08.0466667+00:00
Szwed, Slawomir 0 Reputation points
commented 2025-02-27T21:24:02.46+00:00
Mallaiah Sangi 85 Reputation points Microsoft Vendor
0 answers

Cannot Upgrade Postgresql Flexible Server to V14

I'm trying to upgrade my azure postgresql flexible server v13 instance to v14, and keep getting the standard InternalServerError "An unexpected error occured while processing the request." error. I've also followed the full upgrade…

Azure Database for PostgreSQL
asked 2025-02-26T16:08:20.15+00:00
Ryan H 0 Reputation points
commented 2025-02-27T20:37:33.48+00:00
Mallaiah Sangi 85 Reputation points Microsoft Vendor
1 answer

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

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…

Azure Database for PostgreSQL
asked 2025-02-24T14:13:58.47+00:00
Johannes Boyne 21 Reputation points
commented 2025-02-27T20:06:39.49+00:00
Oury Ba-MSFT 20,351 Reputation points Microsoft Employee
0 answers

Can't change the owner of a table in azure database for postgreSQL flexible server

I can't change the owner of a table even though I am using the server admin. The error message is 'must be able to SET ROLE "ROLE NAME REDACTED"'. Is there any way to give the server admin the needed permissions? Since it is a managed server,…

Azure Database for PostgreSQL
asked 2025-02-27T19:56:09.4666667+00:00
Yannic Jörg 0 Reputation points
edited the question 2025-02-27T19:58:17.4266667+00:00
Yannic Jörg 0 Reputation points
2 answers

Postgres Flexible Server stuck in “starting” state for two days

Hello, everyone. I started my Postgres Flexible DB server Wednesday morning, and it remains stuck in the “starting” state. How can a restart this server? The “stop” and “restart” buttons are all greyed out. Can I “self-rescue” by running a…

Azure Database for PostgreSQL
asked 2025-02-21T11:56:07.9733333+00:00
Jonathan Craft 0 Reputation points
edited a comment 2025-02-27T08:44:03.8033333+00:00
Adithya Prasad K 10 Reputation points Microsoft Vendor
1 answer

Connection DoesNotExistsError:connection was closed in the middle of operation

Hi, Users are complaining "Connection DoesNotExistsError:connection was closed in the middle of operation" error while using a streamlit UI based web app deployed on Azure. Thanks for help!

Azure Database for PostgreSQL
asked 2025-02-26T12:19:59.53+00:00
Humankind 0 Reputation points
commented 2025-02-27T08:36:40.1333333+00:00
Humankind 0 Reputation points
0 answers

How to prevent/deal with corrupted WAL for Azure Database for PostgreSQL flexible server.

We are running a Postgres instance with a Timescale DB extension on Azure and are currently not able to log into the service from any client. With the error "Connection refused Is the server running on that host and accepting TCP/IP…

Azure Database for PostgreSQL
asked 2025-02-24T10:47:06.3266667+00:00
Konrad Wölms 0 Reputation points
commented 2025-02-27T07:10:47.63+00:00
Adithya Prasad K 10 Reputation points Microsoft Vendor
1 answer

Metrics for Storage incorrect

The storage metrics for my PostgreSQL Flexible server no longer update. They do not reflect the true size/usage of the storage on the server. I have restarted the database multiple times to no effect.

Azure Database for PostgreSQL
asked 2025-02-17T10:50:30.4166667+00:00
Conor Nash 0 Reputation points
commented 2025-02-27T04:53:56.12+00:00
PratikLad 80 Reputation points Microsoft Vendor
0 answers

PostgreSQL Single Server migration in flexible server.

Team, Currently, we are using Azure PostgreSQL Single Server, but as its support has ended, we are required to migrate to Azure PostgreSQL Flexible Server. We have received a notification that the default migration is scheduled for March 16. Since this…

Azure Database for PostgreSQL
asked 2025-02-26T06:20:06.45+00:00
Tripesh Dhoriya 0 Reputation points
commented 2025-02-26T11:12:11.9966667+00:00
Tripesh Dhoriya 0 Reputation points
2 answers

The server is currently in 'disabled' state.

Our PostgreSQL server/VM is in a 'disabled' state. because the spending limit in the subscription has been reached. After increasing the limit, all other VMs were re-enabled except the database server. I have tried to resolve this with Azure paid…

Azure Database for PostgreSQL
asked 2025-01-10T11:08:34.3666667+00:00
Christian Schmittel 0 Reputation points
commented 2025-02-26T05:55:04.06+00:00
Alex Rothberg 20 Reputation points
2 answers

Azure PostgreSQL Flexible Server Stuck in Restarting State from past 3 hours.

Azure PostgreSQL Flexible Server has been stuck in the "restarting" state for the past 3 hours. I am unable to connect to the server or make any changes. The logs show that storage utilization is at 100%. Since I can't access the server, I'm…

Azure Database for PostgreSQL
asked 2025-02-25T07:12:47.56+00:00
Saurabh Gupta (Quadrant Resource) 0 Reputation points
commented 2025-02-26T02:12:24.97+00:00
Vijayalaxmi Kattimani 1,485 Reputation points Microsoft Vendor
1 answer

Azure Cosmos for PostgresDB provisioning error when specifying authConfig

I'm seeing an issue when trying to provision a Cosmos for PostgresDB instance using terraform/arm templates. I can provision this configuration successfully, but if I uncomment the 'authConfig' block it fails with a "500 - Internal Server…

Azure Database for PostgreSQL
asked 2024-12-31T10:53:33.0433333+00:00
PGT 0 Reputation points
commented 2025-02-26T00:07:51.83+00:00
Alexandra Avendano 0 Reputation points Microsoft Employee
2 answers

Resolving Permission Denied Errors for pg_authid During PostgreSQL Migration to Azure Flexible Server

How can I resolve permission denied errors related to pg_authid and other restricted tables when migrating from a single server to an Azure PostgreSQL Flexible Server? PS - Based on common issues that we have seen from customers and other sources, we are…

Azure Database for PostgreSQL
asked 2024-07-26T18:43:58.77+00:00
GeethaThatipatri-MSFT 29,517 Reputation points Microsoft Employee
answered 2025-02-25T11:52:33.49+00:00
Gianluca Valente 0 Reputation points
1 answer

Error migrating from single to flex postgres

After 16h in online migration the process failed with the following error: DB004: Failed to fetch the current migrations status. Please reference MigrationId 3691c83d-e8ba-4fca-a612-88fd534ed620, when contacting Microsoft customer support. Parameter…

Azure Database for PostgreSQL
asked 2025-02-13T17:03:57.81+00:00
João Dias 0 Reputation points
commented 2025-02-25T11:16:19.64+00:00
PratikLad 80 Reputation points Microsoft Vendor
0 answers

My connection to flexible server was working but now it seems that azure is blocking it

My connection to the flexible server was working fine, but it now appears that Azure is blocking it. This issue started on Saturday, even though this configuration had been working for over seven months.

Azure Database for PostgreSQL
asked 2025-02-24T13:41:57.8766667+00:00
Antonio Mendez 0 Reputation points
edited the question 2025-02-24T23:46:09.7+00:00
TP 106K Reputation points
3 answers One of the answers was accepted by the question author.

my postgresSQL, server parameters dont have pgbouncer

why my azure postgresSQL, server parameters dont have pgbouncer to enable... https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-pgbouncer?WT.mc_id=Portal-Microsoft_Azure_Support

Azure Database for PostgreSQL
asked 2022-03-03T10:36:14.143+00:00
rui dias 21 Reputation points
commented 2025-02-24T15:50:39.0633333+00:00
Saurabh Talele 0 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Database for PostgreSQL - Flexible Server unavailable twice a day

We are running Azure Database for PostgreSQL - Flexible Server. According to the metrics, the system is not under heavy load at all (memory is constantly at approx. 60%, CPU 12% with no peaks). Database is not available approx. twice a day - this problem…

Azure Database for PostgreSQL
asked 2025-02-19T21:18:58.1233333+00:00
Martin Gubis 20 Reputation points
accepted 2025-02-24T15:49:22.16+00:00
Martin Gubis 20 Reputation points