Forum Discussion
Is Encoding SQL_ASCII and Collation en_US.1252 supported in Azure Flexible Server PostgreSQL?
luistorres If you encounter issues, consider adjusting the collation settings.
Some applications rely on specific collation rules, so adjust the collation settings based on your application's requirements to choose the appropriate locale.
However, I recommend using the using UTF8
CREATE DATABASE "database_name_here"
WITH
ENCODING = 'UTF8'
LC_COLLATE = 'en_US.UTF-8'
LC_CTYPE = 'en_US.UTF-8'
IS_TEMPLATE = False;
You can review the https://learn.microsoft.com/en-us/azure/postgresql/migrate/how-to-migrate-single-to-flexible-portal?WT.mc_id=%3Fwt.mc_id%3Dstudentamb_357518 latest update, release on 03/07/2024 .
Thanks
I created the database using the encodings UTF8, then I created the Collation 1252 in the database. Internal customer tested read/write with the ASCII fat client and works without issues
CREATE COLLATION "English_United States.1252" (provider = icu, locale = "English_United States.1252");
highlighted: library C and Template0 needed for creating the database
- BabatundeDallasMar 24, 2024Brass Contributor
luistorres It's great to hear that your internal testing with the ASCII fat client went smoothly after creating the database using UTF8 encoding and subsequently adding the 1252 collation.
If you encounter any further challenges or need additional assistance, please do not hesitate to contact me.