From: Ludek Finstrle <ludek.finstrle@pzkagis.cz>
To: pgsql-admin@postgresql.org
Subject: initdb: FATAL: conversion between LATIN2 and UNICODE
Date: Wed, 5 May 2004 13:27:07 +0200
Message-ID: <20040505112707.GA18319@soptik.pzkagis.cz> (raw)
Hello.
I compile pgsql 7.4.2 on Redhat 7.2 on dual AMD (32-bit arch) with:
./configure --prefix=/opt/software/postgresql/7.4.2 \
--enable-thread-safety --enable-integer-datetimes --enable-nls \
--with-pgport=5433 --with-perl --with-pam --with-openssl=/usr
make -j3
(I install bison-1875 before I configure pgsql)
Then I run initdb as pgsql user and I get error:
bash-2.05$ /opt/software/postgresql/7.4.2/bin/initdb -D /data.sql/pgsql/7.4.X/standard -E UNICODE
The files belonging to this database system will be owned by user "pgsql".
This user must also own the server process.
The database cluster will be initialized with locale cs_CZ.utf8.
fixing permissions on existing directory /data.sql/pgsql/7.4.X/standard... ok
creating directory /data.sql/pgsql/7.4.X/standard/base... ok
creating directory /data.sql/pgsql/7.4.X/standard/global... ok
creating directory /data.sql/pgsql/7.4.X/standard/pg_xlog... ok
creating directory /data.sql/pgsql/7.4.X/standard/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /data.sql/pgsql/7.4.X/standard/base/1... ok
initializing pg_shadow... FATAL: conversion between LATIN2 and UNICODE is not supported
initdb: failed
bash-2.05$
I install pgsql on this machine since 7.1 and I never had same error.
I have 7.4.1 installed without problem. Maybe I make some trivial
mistake but I can't find it.
Do you have some idea?
Luf
P.S. make check - successfuly passed all test.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ludek.finstrle@pzkagis.cz
Subject: Re: initdb: FATAL: conversion between LATIN2 and UNICODE
In-Reply-To: <20040505112707.GA18319@soptik.pzkagis.cz>
References: <20040505112707.GA18319@soptik.pzkagis.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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