pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Creating LATIN9 database with PostgreSQL 15 on Windows
2+ messages / 1 participants
[nested] [flat]

* Creating LATIN9 database with PostgreSQL 15 on Windows
@ 2022-10-20 15:32 Sebastien Flaesch <sebastien.flaesch@4js.com>
  2022-10-20 15:55 ` Re: Creating LATIN9 database with PostgreSQL 15 on Windows Sebastien Flaesch <sebastien.flaesch@4js.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Sebastien Flaesch @ 2022-10-20 15:32 UTC (permalink / raw)
  To: pgsql-general

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 QA tests and my programs need LATIN9 (comes from Linux)

Do I have to create/install more locales on this PostgreSQL 15 / Windows installation?

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Creating LATIN9 database with PostgreSQL 15 on Windows
  2022-10-20 15:32 Creating LATIN9 database with PostgreSQL 15 on Windows Sebastien Flaesch <sebastien.flaesch@4js.com>
@ 2022-10-20 15:55 ` Sebastien Flaesch <sebastien.flaesch@4js.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Sebastien Flaesch @ 2022-10-20 15:55 UTC (permalink / raw)
  To: pgsql-general


Answering to myself:

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

I could create my database from the command line:

createdb --username=postgres --port=5436 --template=template0 --encoding=latin9 --locale=English_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 click 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 QA tests and my programs need LATIN9 (comes from Linux)

Do I have to create/install more locales on this PostgreSQL 15 / Windows installation?

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-10-20 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 15:32 Creating LATIN9 database with PostgreSQL 15 on Windows Sebastien Flaesch <sebastien.flaesch@4js.com>
2022-10-20 15:55 ` Sebastien Flaesch <sebastien.flaesch@4js.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox