[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locales gone
From: |
Danny Milosavljevic |
Subject: |
Re: locales gone |
Date: |
Sat, 15 Oct 2016 10:15:40 +0200 |
Hi,
On Fri, 14 Oct 2016 12:59:10 +0200
address@hidden (Ludovic Courtès) wrote:
> Then you’d have to strace psql to see why it thinks that en_US.UTF-8 is
> unavailable.
connect(3, {sa_family=AF_FILE, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_FILE, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, 4294967295) = 1 ([{fd=3,
revents=POLLOUT}])
sendto(3,
"\0\0\0U\0\3\0\0user\0postgres\0database\0template1\0application_name\0psql\0client_encoding\0UTF8\0\0",
85, MSG_NOSIGNAL, NULL, 0) = 85
poll([{fd=3, events=POLLIN|POLLERR}], 1, 4294967295) = 1 ([{fd=3,
revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0E\0\0\1\34SFATAL\0CXX000\0Mdatabase locale is
incompatible with operating system\0DThe database was initialized with
LC_COLLATE \"en_US.UTF-8\", which is not recognized by setlocale().\0HRecreate
the database with another locale or install the missing
locale.\0Fpostinit.c\0L368\0RCheckMyDatabase\0\0", 16384, 0, NULL, NULL) = 294
write(2, "psql: FATAL: database locale is incompatible with operating
system\nDETAIL: The database was initialized with LC_COLLATE \"en_US.UTF-8\",
which is not recognized by setlocale().\nHINT: Recreate the database with
another locale or install the missing locale.\n", 258psql: FATAL: database
locale is incompatible with operating system
DETAIL: The database was initialized with LC_COLLATE "en_US.UTF-8", which is
not recognized by setlocale().
HINT: Recreate the database with another locale or install the missing locale.
) = 258
close(3) = 0
exit_group(2) = ?
So it seems the message comes from the server.
- Re: locales gone, Danny Milosavljevic, 2016/10/08
- Re: locales gone, Ludovic Courtès, 2016/10/10
- Re: locales gone, Danny Milosavljevic, 2016/10/12
- Re: locales gone, Ludovic Courtès, 2016/10/13
- Re: locales gone, Danny Milosavljevic, 2016/10/13
- Re: locales gone, Ludovic Courtès, 2016/10/14
- Re: locales gone,
Danny Milosavljevic <=
- Re: locales gone, Danny Milosavljevic, 2016/10/15
- Re: locales gone, Danny Milosavljevic, 2016/10/15
- Re: locales gone, Ludovic Courtès, 2016/10/17
- Re: locales gone, Leo Famulari, 2016/10/17
- Re: locales gone, Ludovic Courtès, 2016/10/18