pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedLocale problems
4+ messages / 3 participants
[nested] [flat]
* Locale problems
@ 2003-02-13 20:57 Aleksander Kmetec <alex@spletzone.com>
0 siblings, 0 replies; 4+ messages in thread
From: Aleksander Kmetec @ 2003-02-13 20:57 UTC (permalink / raw)
To: pgsql-admin
Hello!
I have a db cluster which contains databases with LATIN2 encoding and
some databases with UNICODE encoding. If I initalise the cluster with
--locale=sl_SI option, then special characters in LATIN2 databases are
sorted correctly, but special chars in UNICODE dbs end up in wrong
places; and the other way around if I use sl_SI.utf8 locale (or no locale).
Is there a way to get correct sorting order in both cases, other than
running two separate servers? ( pg 7.3.1 )
Thank you.
Best regards,
Aleksander
^ permalink raw reply [nested|flat] 4+ messages in thread
* locale problems
@ 2003-08-07 18:10 Hornyak Laszlo <kocka@tigrasoft.hu>
2003-08-07 18:27 ` Re: locale problems Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 4+ messages in thread
From: Hornyak Laszlo @ 2003-08-07 18:10 UTC (permalink / raw)
To: pgsql-admin
Hi all!
I made a failure. I changed operating system under my database from Red
Hat 8.0 to Debian 3.0 (Woody), without pg_dump-ing the database. The
database version haven`t changed. Now I cannot start my database on the
same data directory, it stops with the following failure:
Failed to initialize lc_messages to ''
FATAL: invalid value for option 'LC_MESSAGES': 'en_US.UTF-8'
pg_ctl: cannot start postmaster
Examine the log output.
I tryed with modifying the postgresql.conf with a number of different
locale settings but they did not work. What is the shortest way to get my
database back? Should I install RedHat back?
Thanks,
Laszlo
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: locale problems
2003-08-07 18:10 locale problems Hornyak Laszlo <kocka@tigrasoft.hu>
@ 2003-08-07 18:27 ` Peter Eisentraut <peter_e@gmx.net>
2003-08-07 18:35 ` Re: locale problems Hornyak Laszlo <kocka@tigrasoft.hu>
0 siblings, 1 reply; 4+ messages in thread
From: Peter Eisentraut @ 2003-08-07 18:27 UTC (permalink / raw)
To: Hornyak Laszlo <kocka@tigrasoft.hu>; +Cc: pgsql-admin
Hornyak Laszlo writes:
> I made a failure. I changed operating system under my database from Red
> Hat 8.0 to Debian 3.0 (Woody), without pg_dump-ing the database. The
> database version haven`t changed. Now I cannot start my database on the
> same data directory, it stops with the following failure:
>
> Failed to initialize lc_messages to ''
> FATAL: invalid value for option 'LC_MESSAGES': 'en_US.UTF-8'
> pg_ctl: cannot start postmaster
> Examine the log output.
Install the en_US.UTF-8 locale on your system. Try "dpkg-reconfigure
locales".
--
Peter Eisentraut peter_e@gmx.net
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: locale problems
2003-08-07 18:10 locale problems Hornyak Laszlo <kocka@tigrasoft.hu>
2003-08-07 18:27 ` Re: locale problems Peter Eisentraut <peter_e@gmx.net>
@ 2003-08-07 18:35 ` Hornyak Laszlo <kocka@tigrasoft.hu>
0 siblings, 0 replies; 4+ messages in thread
From: Hornyak Laszlo @ 2003-08-07 18:35 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-admin
Cool :)
Thanks,
Laszlo
On Thu, 7 Aug 2003, Peter Eisentraut wrote:
> Hornyak Laszlo writes:
>
> > I made a failure. I changed operating system under my database from Red
> > Hat 8.0 to Debian 3.0 (Woody), without pg_dump-ing the database. The
> > database version haven`t changed. Now I cannot start my database on the
> > same data directory, it stops with the following failure:
> >
> > Failed to initialize lc_messages to ''
> > FATAL: invalid value for option 'LC_MESSAGES': 'en_US.UTF-8'
> > pg_ctl: cannot start postmaster
> > Examine the log output.
>
> Install the en_US.UTF-8 locale on your system. Try "dpkg-reconfigure
> locales".
>
> --
> Peter Eisentraut peter_e@gmx.net
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-08-07 18:35 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 20:57 Locale problems Aleksander Kmetec <alex@spletzone.com>
2003-08-07 18:10 locale problems Hornyak Laszlo <kocka@tigrasoft.hu>
2003-08-07 18:27 ` Re: locale problems Peter Eisentraut <peter_e@gmx.net>
2003-08-07 18:35 ` Re: locale problems Hornyak Laszlo <kocka@tigrasoft.hu>
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