From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Does initdb -e is working ? (Latest dev. snapshot) |
Date: | 2000-01-29 10:28:58 |
Message-ID: | Pine.GSO.3.96.SK.1000129130635.18405q-100000@ra |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Probably I miss something
I tried latest snapshot and notice some changes in configure.
Everything went smoothly on my Linux 2.2.14, glic 2.1.2 system.
One problem: I tried initdb -e koi8 and it doesn't works -
all databases I have are in SQL_ASCII encoding
Database | Owner | Encoding
-----------+----------+-----------
discovery | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
test | postgres | SQL_ASCII
createdb -E koi8 works as expected:
createdb -E koi8 aa
CREATE DATABASE
zen:~$ psql -l
List of databases
Database | Owner | Encoding
-----------+----------+-----------
aa | postgres | KOI8
discovery | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
test | postgres | SQL_ASCII
I found -e for initdb , -E for createdb options for specifying encoding a
little bit confused - why not just use one of them !
Is't possible to change encoding of database except dump/destroydb/createdb
cycle ? Is't worth to have pg_encoding to do this ?
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-01-29 11:13:40 | GUC (Re: AW: AW: [HACKERS] Some notes on optimizer cost estimates) |
Previous Message | Michael Meskes | 2000-01-29 09:42:17 | Re: [HACKERS] Copyright |