pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedHungarian collation in English Windows server
4+ messages / 3 participants
[nested] [flat]
* Hungarian collation in English Windows server
@ 2018-08-22 12:26 Durumdara <durumdara@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Durumdara @ 2018-08-22 12:26 UTC (permalink / raw)
To: pgsql-general
Dear Members!
One of the customer preinstalled a 9.6 PGSQL server for us.
Today we tried to create and migrate our database.
CREATE DATABASE yyy
WITH
OWNER = xxx
ENCODING = 'UTF8'
* LC_COLLATE = 'Hungarian_Hungary.1250' <----*
* LC_CTYPE = 'Hungarian_Hungary.1250' <----*
But we got error that collation doesn't exists in English Windows server.
How to we add this collation in english server?
What we can do now?
This is a problematic/unpleasant situation because they wait for us, but we
didn't use only Hungarian servers where this collation is default.
Thank you for your help!
Regards
dd
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Hungarian collation in English Windows server
@ 2018-08-22 13:08 Laurenz Albe <laurenz.albe@cybertec.at>
parent: Durumdara <durumdara@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Laurenz Albe @ 2018-08-22 13:08 UTC (permalink / raw)
To: Durumdara <durumdara@gmail.com>; pgsql-general
Durumdara wrote:
> CREATE DATABASE yyy
> WITH
> OWNER = xxx
> ENCODING = 'UTF8'
> LC_COLLATE = 'Hungarian_Hungary.1250' <----
> LC_CTYPE = 'Hungarian_Hungary.1250' <----
>
> But we got error that collation doesn't exists in English Windows server.
You have to install the collation on the Windows maching, not in PostgreSQL.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Hungarian collation in English Windows server
@ 2018-08-24 08:21 Durumdara <durumdara@gmail.com>
parent: Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 4+ messages in thread
From: Durumdara @ 2018-08-24 08:21 UTC (permalink / raw)
To: pgsql-general
Dear Laurenz!
> You have to install the collation on the Windows maching, not in
PostgreSQL.
We could add languages. As I remember my coll. told me that Hungarian lang.
pack is installed in that machine.
But maybe this is different thing.
What we need to do to PGSQL see that collation? Would you or other member
decribe the steps, please?
Very-very thank you!
dd
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Hungarian collation in English Windows server
@ 2018-08-24 14:01 Tom Lane <tgl@sss.pgh.pa.us>
parent: Durumdara <durumdara@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2018-08-24 14:01 UTC (permalink / raw)
To: Durumdara <durumdara@gmail.com>; +Cc: pgsql-general
Durumdara <durumdara@gmail.com> writes:
> Dear Laurenz!
>> You have to install the collation on the Windows maching, not in
>> PostgreSQL.
> We could add languages. As I remember my coll. told me that Hungarian lang.
> pack is installed in that machine.
> But maybe this is different thing.
> What we need to do to PGSQL see that collation? Would you or other member
> decribe the steps, please?
Did you add the language pack after PG was already installed? If so,
you could re-initdb, or if that's inconvenient maybe you could run
pg_import_system_collations().
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-08-24 14:01 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-22 12:26 Hungarian collation in English Windows server Durumdara <durumdara@gmail.com>
2018-08-22 13:08 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-08-24 08:21 ` Durumdara <durumdara@gmail.com>
2018-08-24 14:01 ` Tom Lane <tgl@sss.pgh.pa.us>
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