Thomas Kellerer <spam_eater@gmx.net> writes:
> Thomas, now wondering how why a database with win1251 ever got created on my
> machine :)
It might be worth poking into that --- we could have, say, a mistake
in initdb's idea of how to convert system names for locales into PG
encoding names. Please see if you can duplicate it.
regards, tom lane