Problem with multibyte encoding - Mailing list pgsql-general

From Sergei Pohilko
Subject Problem with multibyte encoding
Date
Msg-id 9g8pqm$1d5v$1@news.tht.net
Whole thread Raw
List pgsql-general
Hi!

I have problem to enable the multibyte encoding.

I've installed PostgreSQL:

./configure
gmake
gmake install
adduser postgres
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

The short version worked fine.
Was able to create new databases (test2, qqq) using CREATE DATABASE command.

Then I tried to enable the MB encoding:

-- opened another session
-- connected as root
-- ran:
    ./configure --enable-multibyte=UNICODE
It ran without error messages.

But in psql:

test=> CREATE DATABASE dev1 WITH ENCODING = 'UNICODE';
ERROR:  Multi-byte support is not enabled

Platform: Linux RadHat 6.2,  PostgreSQL 7.1.2.

What's the problem?

Thanks.
Sergei Pohilko







pgsql-general by date:

Previous
From: "Fabrizio Mazzoni"
Date:
Subject: sum of row values..
Next
From: Nils Zonneveld
Date:
Subject: Re: Newbie question: How to check how many tables avaliable at that database?