PostgreSQL Bulk Copy with PowerShell
Hello folks! I sure hope you're having a kick ass weekend! This is my first of hopefully many posts here and i have to admit it was a bit of a click bait. There is no Bulk Copy on PostgreSQL that i know and like any good guy who's just starting to…
How to create PostgreSQL project in Visual Studio 2019?
How to create a PostgreSQL database project in Visual Studio 2019 as like we are doing SQL DB Project????. Visual Studio has provided SQL Database project template but I didn't find anything for PostgreSQL Database. We are using AzureDevops + GITHUB…
Replication solution between on-premise PostgreSQL and Azure database for PostgreSQL
My client wants to replicate their on-premise PostgreSQL database and Azure Database for PostgreSQL. The on-premise database is a master and Azure is a slave(read-only). My client wants to sync data in minimum time(etc, 1min).
Hi i have a question. For the "Upgrade your Azure Database for PostgreSQL from version 9.6 to 11" notification. Does this impact South Africa regions as i dont see it in the "IMPACTED SERVICE(S) AND REGION(S)" list ?
This is the Notification that i received from Azure: You're receiving this notice because you are using Azure Database for PostgreSQL version 9.6. Because PostgreSQL version 9.6 community support ends on 11 November 2021, Azure Database for…
How to pass file path from Azure Storage into your Azure stored procedure
Hi, I have written a stored procedure that reads data from csv file and put it into multiple Postgres tables. It requires file path as a parameter and locally it works perfectly. Call myProcedure('c:\file.csv'); // this works fine locally. I have…
How to connect two Azure postgreSQL Databases on different hosts with a postgre_fdw
Hello, I'm trying to connect my Azure DB to another Azure DB on a different host using postgres_fdw. I receive an error: ERROR: could not connect to server "********" DETAIL: could not connect to server: Network is down (0x00002742/10050) …
how to access and read archived postgresql logs from blob storage ?
We have made diagnostic settings in one of our azure postgresql server to archive postgresql logs into the storage account. But when we exploring the storage using storage explorer is showing into muliple folder hirearachy like…
Azure PostgreSql Tuning
Hi, I using the Azure Postgres and need changes settings to Tuning the Postgres, but not access a some importante properties. Changing this properties checkpoint_completion_target, effective_cache_size, maintenance_work_mem,…
On prem DB2 Migration to PostgreSQL in Azure
Hi, Does Azure migration service migrate DB2 instance in on prem to PostgreSQL in Azure. How long it will take to migrate Let say we have 1000 tables ? Or only we have an option of provisioning a VM and running DB2 instance (Rehost strategy) ? …
ANALYZE command in azure database for postgresql
Hi Team, Looking for some inputs on the below. We are in the process of moving our on premises postgres v10 to azure database for postgresql(v11) single server. Do we need to manually run ANALYZE on all tables on the PAAS platform (azure database for…
PostgreSQL Private Endpoint - Resource Not Supported
I'm having issues creating a private endpoint to my postgreSQL service. I created a basic Azure Database for PostgreSQL Server instance and spun up a test vm. I enabled the Allow access to Azure services option in connection security. When I go to…
Parse az postgres server show
Hi,Currently, this is the JSON for 'az postgres server show'. I want to know how I can use this JSON to parse for minimal-tls-version ? { "administratorLogin": "myadmin", "earliestRestoreDate": null, …
42601 : syntax error at or near "'Microsoft.ACE.OLEDB.12.0'"/
Hello, I am getting this error while I am running my code.(42601 : syntax error at or near "'Microsoft.ACE.OLEDB.12.0'"/) using (var conn = new NpgsqlConnection(configuration.SqlServerConnectionString)) { conn.Open(); var command =…
Azure database for Postgresql - SSL enabling
Hi, We are using Azure database for Postgresql and application is hosted in Azure private cloud. By default Postgresql enforces SSL to be enabled, so have used so in the connection string have used sslmode=require. …
consuming azw postgres server list variable
Hi, I want to query azw postgres server list and I understand, one of the parameters is "query". Can I know how I can consume the value of "minimal-tls-version" in my local variable? Something like this: db_version=$(azw postgres…
Azure Data Factory : Self hosted IR fails to connect to Azure PostgresSQL
Hi, We are trying to move data from Postgres DB running on On-Prem using Azure data factory copy data activity. We have installed Self hosted IR (SHIR) on one of our On-Prem machines. We are able to run lookup activity which connects to this On-Prem…
JSON funtion and operator support in Azure Database for Postgresql
Does Azure database for PostgreSQL support json function and operator? I have postgre dB installed on the VM where I am heavily using Json functions and opeartors, but, on migration of the dB to Azure database for PostgreSQL I noticed that none of my…
How to put the first element of csv string into the last column in Postgres.
I have a column with comma-separated values and I want to split it into fixed-size columns. I have used the split_part function to do so but the values in columns should appear from the right side. Example: Table with a single column a1, b1, c1 a2,…
Upgrade Postres Azure version
Hi My connect select version() ; PostgreSQL 10.11, compiled by Visual C++ build 1800, 64-bit My collegue has select version() ; PostgreSQL 11.6, compiled by Visual C++ build 1800, 64-bit PostgreSQL 11 support Stored Procedures How can…
PostgreSQL 12 Flexible Server
Hello we are planning to upgrade our postgresql 9.6 azure to a new version, since the EOS est 2021/11. we wish to upgrade to Postgresql 13 or at least 12. but posqtgreSQL 13 is not availble and 12 is only availble as Flexible Server and it is…