From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Sergey Burladyan <eshkinkot(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: problem with glibc strerror messages translation (was: Could not open file pg_xlog/000000010....) |
Date: | 2010-10-16 12:58:08 |
Message-ID: | AANLkTikGo=Sgusaj5ZnzbRNyF8-688=OD7QuLkB7J8Fh@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
2010/10/13 Sergey Burladyan <eshkinkot(at)gmail(dot)com>:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
>> Victor <only-victor(at)mail(dot)ru> writes:
>> > Oct 12 17:53:25 localhost postgres[26997]: [1753-1] PANIC: could not
>> > open file "pg_xlog/000000010000000000000007" (log file 0, segment
>> > 7): ???????????? ????????
>>
>> Hm, where's the rest of that error message? You should certainly not
>> have gotten just question-marks there.
>
> IMHO you can receive question-marks here if lc_messages in postgresql.conf
> do not match with locale from environment at server start, for example:
>
> correctly translated and displayed:
> $ LANG=ru_RU.UTF-8 ../bin/postgres -D d -k`pwd`/s
> 2010-10-13 05:34:39 MSD 14796 4cb50caf.39cc FATAL: XX000: could not create shared memory segment: Недопустимый аргумент
>
> incorrect, question-marks only:
> $ LANG=C ../bin/postgres -D d -k`pwd`/s
> 2010-10-13 05:34:54 MSD 14798 4cb50cbd.39ce FATAL: XX000: could not create shared memory segment: ???????????? ????????
This seems like it might be a bug. Can we fix it by initializing...
something... a bit more thoroughly than we presently do?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2010-10-16 14:47:24 | Re: problem with glibc strerror messages translation |
Previous Message | Ionut Berlea | 2010-10-16 09:56:54 | BUG #5713: lo_export |