On 2000-01-29, Oleg Bartunov mentioned:
> One problem: I tried initdb -e koi8 and it doesn't works -
> createdb -E koi8 works as expected:
> I found -e for initdb , -E for createdb options for specifying encoding a
> little bit confused - why not just use one of them !
That's exactly why initdb uses -E as well now. But I see now it doesn't
reject invalid args because it interprets them as data directory. Will
fix.
Next time: initdb -? or initdb --help.
> Is't possible to change encoding of database except dump/destroydb/createdb
> cycle ? Is't worth to have pg_encoding to do this ?
pg_encoding is just a tools that maps encoding names to codes and vice
versa.
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden