Problem with multibyte encoding

From: "Sergei Pohilko" <spohilko(at)onepage(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Problem with multibyte encoding
Date: 2001-06-13 22:34:37
Message-ID: 9g8pqm$1d5v$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message David Wall 2001-06-13 22:55:21 Re: Vacuum analyze in 7.1.1
Previous Message holtzman 2001-06-13 22:30:56 What do you do when...? A schema Question