I'm using Azure Database for PostgreSQL flexible server in my azure account. I'm not able to connect to this server from azure data studio, getting the below error...I have already installed the Postgres extension in the azure studio. Thanks in…
I have an Oracle DB with data in onPrem and Azure Postgresql DB in cloud.
I really need data changes in Oracle to be reflected as near to real-time as possible in Azure Postgresql DB.
I need data changes in Azure Postgresql DB to be reflected as…
i have that table
CREATE TABLE mytable
(
device_id bigint NOT NULL,
start TIMESTAMP WITHOUT TIME ZONE,
level varchar(255) NOT NULL,
amount integer
);
and i want to migrate it to a hypertable
like that:
SELECT…
Trying to figure out how to best give my AKS cluster access to a Postgres database in Azure.
This is how I create the cluster:
az group create \
--name $RESOURCE_GROUP \
--location $LOCATION
az aks create \
--resource-group $RESOURCE_GROUP \
…
How to change/reset the password for the User in Azure Postgresql Server through CLI.
I know there's a way how to reset password through Portal but am looking for resetting through Azure CLI .
I tried ALTER USER {user} WITH PASSWORD '{password}';…
I am trying to connect Azure Postgres instance with SSL enabled. My understanding is if SSL enabled, I must provide certificate for authentication but it allow me to connect without passing any certificate.
I am using below command:-
psql…
I am trying to write pyspark dataframe to Azure Postgres Citus (Hyperscale).
I am using latest Postgres JDBC Driver and I tried writing on Databricks Runtime…
I am trying to add my PostgreSQL server to an existing VNET, however, I can't find the option to do so. I was able to add my app service and even found this tutorial for PostgreSQL, but the UI under "Connection Security" does not give me the…
I need help to write Dockerfile to create TimescaleDB in a container.
I found this instruction for creating a container:
docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb:latest-pg12
But I want to be…
I'm trying to copy data from a view in either on-premise PostgeSQL or MSSQL to a table in Azure PostgreSQL. I can't seem to get this to successfully copy when I map more than 6 columns from source to sink.
I suspected that one of the source columns…
I am not sure what to make of this weird behavior with generating UUID values. I know uuid_generate_v1() is not as secure as uuid_generate_v4().
We are executing uuid_generate_v1() inside a function to generate a unique Id. Initially when the…
In the Azure Portal under PostgreSQL the server configuration statement_timeout controls the following.
"Sets the maximum allowed duration (in milliseconds) of any statement.
0 turns this off."
There doesn't seem to be a way to override that…
While running the below code i get an error saying invalid input syntax for type timestamp from admission_datetime.
UPDATE ccsm.stg_demographics_baseline
SET xx_los_days =
(CASE WHEN admission_datetime IS NULL OR
…
When trying to create index on remote Azure server (PostgreSQL 11.19 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit) create index test on "Table" using gist("Name" gist_trgm_ops(siglen=256)); with custom siglen…
I am trying to migrate my Jira database which I am running on my Azure PostgreSQL single server to the new flexible server. When doing the migration I am encountering the following error:
pgcopydb failed with the errors: 2023-06-23 08:07:11 32…