Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olXto-0001n5-Rk for pgsql-general@arkaria.postgresql.org; Thu, 20 Oct 2022 15:56:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1olXtm-00039I-K5 for pgsql-general@arkaria.postgresql.org; Thu, 20 Oct 2022 15:55:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olXtm-000391-5d for pgsql-general@lists.postgresql.org; Thu, 20 Oct 2022 15:55:58 +0000 Received: from mx0d-001a4c01.pphosted.com ([67.231.151.23]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olXti-0001l0-Qv for pgsql-general@postgresql.org; Thu, 20 Oct 2022 15:55:57 +0000 Received: from pps.filterd (m0210020.ppops.net [127.0.0.1]) by mx0c-001a4c01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29KAoFCq005955 for ; Thu, 20 Oct 2022 11:55:52 -0400 Authentication-Results: ppops.net; spf=fail smtp.mailfrom=sebastien.flaesch@4js.com; dkim=pass header.s=selector2-ourvolaris-onmicrosoft-com header.d=ourvolaris.onmicrosoft.com Received: from eur05-vi1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2177.outbound.protection.outlook.com [104.47.17.177]) by mx0c-001a4c01.pphosted.com (PPS) with ESMTPS id 3k7p7bu3f2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 Oct 2022 11:55:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A9xzTjbUiSgXrAjZjcaW8JrWu3RZlnnUPd0686XqypdIAlJWik1fk7QbB9qx0hF4spEBFkZlhXp3EEjOnF8O8+AqV9Uo11fcQdNc4Ij3yJQS9EBhxmNhVcGLkpGC+jjPndXX39jKgrFlnsMmXUTPhft3kot68ODXd+cEOR/Z7YFBZ20J1Ndhu2oJx48ZEH8ZFMyQC0ajB9bg3s1NEHQE6ROAAsYSDDw+iB7FCcGzsWm6pvKLTFy8vzWggFBwAZtL7VGu2rHIyyOKtEEhiyYnDymy0o/iOQCBNTHNDZQNmQo9pZiQEwjzhBCoNRfT2eidZfk+yuOi2o6/4XG3rC+PJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uXYJexCYlYwQkRCucCwXM7qkIsek9xP/8MKhQj/MwXs=; b=Om97O8Whu9whYJcnRqhNRXW/SODiVCR9tA57nb3ps8Mtz8K+G04t5RixI1dqaBaDWGd94CrbDPM1pBDPZaDB2rqTyC/Dy45NIhRtwn/8aBjqibtSF/ypblOnjg8A/OAKwHnDmFkehe8OAzAlBwUzq72CdxqX4tEZL/k/C/Smgr24TnfKzWi1foxpnRxFMqM25/+VpJUAv9fww63LFOhQjDtHFihbQeNGMZN8QEZDkq2iJenp/xNMVANBefDypW7XQHQYH4McoiBcj3qibblibKSftzED/zIAPVE1Jceo2rkb/tPjqhK8figpJ0pJDM7gilzPMEluB4nGNMGyQFslAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=4js.com; dmarc=pass action=none header.from=4js.com; dkim=pass header.d=4js.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ourvolaris.onmicrosoft.com; s=selector2-ourvolaris-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uXYJexCYlYwQkRCucCwXM7qkIsek9xP/8MKhQj/MwXs=; b=Lh6A2dL+xclvGrfZIqsrXaj+cxt/OhfGJ4/KEZgvORM0VsgkTyoH2IfvI0WCjn1qs+e2p9ME8oVfE6qM3q+KW/jw0WCwU701/PGE6UUHT66zF2ajMtc4KVM03iQ+Z1EUCYJW4hkAv2i0kuYTMlls9LMBy2qEptW6sJXp4JGzqL0= Received: from DBAP191MB1289.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:1c9::19) by PAXP191MB2093.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:283::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.35; Thu, 20 Oct 2022 15:55:48 +0000 Received: from DBAP191MB1289.EURP191.PROD.OUTLOOK.COM ([fe80::7404:56cd:1bf8:2406]) by DBAP191MB1289.EURP191.PROD.OUTLOOK.COM ([fe80::7404:56cd:1bf8:2406%5]) with mapi id 15.20.5723.035; Thu, 20 Oct 2022 15:55:48 +0000 From: Sebastien Flaesch To: "pgsql-general@postgresql.org" Subject: Re: Creating LATIN9 database with PostgreSQL 15 on Windows Thread-Topic: Creating LATIN9 database with PostgreSQL 15 on Windows Thread-Index: AQHY5JgWdAu/JjBdlEuzLX2tbN7mOa4XbjPf Date: Thu, 20 Oct 2022 15:55:48 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DBAP191MB1289:EE_|PAXP191MB2093:EE_ x-ms-office365-filtering-correlation-id: 0602bf05-10f3-45b6-ee37-08dab2b38e6c x-volarisppoutbound: true x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YU3CDOnC4r2bIYSh5HLBEWyL1G0/SyQhYqPDRZSW8PJSj3/x4tcQodpUaQzqp6CVmgcSKuJ1/OJ28l4hO6TDbjjtjrEeLQs86XO3hYP6bwuVCwIFKMp4GM6PL3zAHuiObam9iCZroNGaIJNvvX0kCd1m3VaWgT9f/J5/KHaoWCWRGGCj0cUQoB4pg4LZ8YIcoMEz0AUpMuwu4s0wVgbPqxrGgPYwRKL0FXROfWy8po10WTUvVXZ6FL3WJwBWo7H5JZuDtXB2Vc2RbLBPj2pE5Q6DZi4Y8sIzDxhNHm9pt8ECn1LT5mUvB5OHo6TFx1GXlmcL2SDrTXLG5HZm7CoSBxCgvsZgw8C2edo+pbKBX6j4Afu0amExfsIea1F3u0rWm1tMNdWMk4qfuhXjYj/HknOAQS4o/unL9gE5W1ENLI2NLQ38+tr4BQZHKVhgMeg6mMGd8s5YCVVgHMLNI6jz9yCXurBUhG2zB0ZsHfUvi3KIbjs7bvUscYv6oFCDCssHKUbi9sx5bb/b/Ufi7SA4w0gbB/Gv32Mi9Xsm52laNPqQDCdt7qMFftGJBDDdlfA8wcDZU/GCn8JZR0oaXNyAm9VI1ybIrJcTrsgWdQ8VmcLlLaWV8ANCYbRKIZfFd9/w8Je/LaN04ujSAdYxdpEidtmjHuUG7ZYj3DHGY4mtyl3OJqdUITeLn+zyvVuqe3Fg413ACwSTYBN4bt6II5pItSyLh/sCkVBdUZ3cYDM5tyrAwuTSa9j6BNt4W/6MK8FHrzFHbIUSOrB8BRyGPetI/L+xmawE134UkVQJv+uY+OdI/+N6WTfcq0j4WO5wrBkn x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DBAP191MB1289.EURP191.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(39860400002)(136003)(346002)(376002)(451199015)(19627405001)(91956017)(316002)(19627235002)(83380400001)(33656002)(86362001)(38100700002)(38070700005)(122000001)(44832011)(55016003)(8676002)(52536014)(66946007)(66476007)(64756008)(66446008)(5660300002)(8936002)(41300700001)(186003)(71200400001)(66556008)(9686003)(6916009)(2906002)(7696005)(76116006)(478600001)(53546011)(26005)(6506007)(2940100002)(130980200001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vv7pZ09fnKtTgD6KH95LG47RhDPsqn3PwqT+eoFTiAIhHM3Kl0Qhzh7uajM+?= =?us-ascii?Q?GYK2+bnJkPUEtvbOODBth2l2cPxizUHMeCN+nUikwBJGWFx30G4TT/wXXtyr?= =?us-ascii?Q?6IZ5X8C9YTDs8js+pxTXebjKR3/foIq8+ClKfqAzsneXYAKxeUEyuBIWwXlC?= =?us-ascii?Q?B3CJjfnOcvXL6uIAF2tcR2kQBAoEIt/AndGmiNj6atEOzItFwnPq8Lf2xw5a?= =?us-ascii?Q?S11OEmqq4qkGGONR7/LLsnBZWA4HjBaOyfWKbIfwKbD5rcBa51snozq2jZDQ?= =?us-ascii?Q?UqZ9gUpvp6jc9cP5DJq4CnhPryQjgfWio9/J38qQAZyqiaXT13a9NUHd/KA3?= =?us-ascii?Q?jdyJUQ7CTxhPuXaVIMxz6Kf4d+vsnF6ittYu8fwlxz0CTJWtVmhGknggW39v?= =?us-ascii?Q?APyXVwcRNMhHB3sPD0gBLsdyw3YeB/fkK051JKOi0ScYJyhSZopMfRdZRZEF?= =?us-ascii?Q?irbwRfZ/MKA9mjG6kjnr5qslqzHHqm/fu25KLruNeGU4NcHNNz0VSOZdxnxH?= =?us-ascii?Q?/I7gcjYDvjw+uYMwzV2A52equLsXTieuO+8sBQuLGWBaCNCsITyjLj2Srgtq?= =?us-ascii?Q?pensI8Utwei5xQWYYs5R66xRlG8MWts2R7lVQIGwkmldhVpjJdnpjKdJ7Vol?= =?us-ascii?Q?mYmWHGXAN3XLrPEDtxf0lqg0VvNlB5EydjxEj0CiSgwzR+Npqby0/sZJVMQC?= =?us-ascii?Q?uqrrUch5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content-Type: multipart/alternative; boundary="_000_DBAP191MB12890A2977250A8DF6850FABB02A9DBAP191MB1289EURP_" MIME-Version: 1.0 X-OriginatorOrg: 4js.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DBAP191MB1289.EURP191.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 0602bf05-10f3-45b6-ee37-08dab2b38e6c X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2022 15:55:48.4427 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 75c696ec-5bfb-4892-9a0c-9187a9061cd6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YW6oWHu9XPVC9HIg7zTodWi8OIP+aGQUlJmTbQ647qf9G5feBYjiS9rYgt9ReJsILrYgd7eqU2EX7nFeq4aDC0JteTuUjbH9jiZ6WzjCw1A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP191MB2093 X-Proofpoint-ORIG-GUID: db6b-UbRoCH5nfnzh0ul2saLPMHkqJ0w X-Proofpoint-GUID: db6b-UbRoCH5nfnzh0ul2saLPMHkqJ0w X-ProofpointHeader: Yes X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 mlxscore=0 adultscore=0 mlxlogscore=804 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210200094 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_DBAP191MB12890A2977250A8DF6850FABB02A9DBAP191MB1289EURP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Answering to myself: I was using pgAdmin to create the database, and this tool does not show muc= h collations. I could create my database from the command line: createdb --username=3Dpostgres --port=3D5436 --template=3Dtemplate0 --encod= ing=3Dlatin9 --locale=3DEnglish_US.28605 test2 Stop me if I am wrong. Seb ________________________________ From: Sebastien Flaesch Sent: Thursday, October 20, 2022 5:32 PM To: pgsql-general@postgresql.org Subject: Creating LATIN9 database with PostgreSQL 15 on Windows EXTERNAL: Do not click links or open attachments if you do not recognize th= e sender. Hi! On my Windows 10 with PostgreSQL 15, I try to create a database with LATIN9= encoding (for testing purpose), but I have only the choice to select the C= , POSIX and English_United States.1252 collations... C and POSIX are compatible with LATIN9, but SQL functions like UPPER() fail= . English_United States.1252 is not compatible with LATIN9. I do not want to use WIN1252 encoding, I must use LATIN9 because it's for Q= A tests and my programs need LATIN9 (comes from Linux) Do I have to create/install more locales on this PostgreSQL 15 / Windows in= stallation? I wonder... I while ago with PostgreSQL 13 I have created a DB with LATIN9 = on this machine. I must be missing something, can't remember how I did that. Can someone point me to the doc page where I can find related info? Thanks! Seb --_000_DBAP191MB12890A2977250A8DF6850FABB02A9DBAP191MB1289EURP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Answering to myself:

I was using pgAdmin to create the database, and this tool does not show muc= h collations.

I could create my database from the command line:

createdb --username=3Dpostgres --port=3D5436 --template=3Dtemplate0 --encod= ing=3Dlatin9 --locale=3DEnglish_US.28605 test2

Stop me if I am wrong.

Seb

From: Sebastien Flaesch <= ;sebastien.flaesch@4js.com>
Sent: Thursday, October 20, 2022 5:32 PM
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>= ;
Subject: Creating LATIN9 database with PostgreSQL 15 on Windows
 

EXTERNAL: Do not c= lick links or open attachments if you do not recognize the sender.=

Hi!

On my Windows 10 with PostgreSQL 15, I try to create a database with LATIN9= encoding (for testing purpose), but I have only the choice to select the C= , POSIX and English_United States.1252 collations...

C and POSIX are compatible with LATIN9, but SQL functions like UPPER() fail= .

English_United States.1252 is not compatible with LATIN9.

I do not want to use WIN1252 encoding, I must use LATIN9 because it's for Q= A tests and my programs need LATIN9 (comes from Linux)

Do I have to create/install more locales on this PostgreSQL 15 / Windows in= stallation?

I wonder... I while ago with PostgreSQL 13 I have created a DB with LATIN9 = on this machine.

I must be missing something, can't remember how I did that.

Can someone point me to the doc page where I can find related info?

Thanks!
Seb
--_000_DBAP191MB12890A2977250A8DF6850FABB02A9DBAP191MB1289EURP_--