Skip site navigation (1) Skip section navigation (2)

windows-1250 encoding

From: Martin Zdila <zdila(at)antik(dot)sk>
To: pgsql-admin(at)postgresql(dot)org
Subject: windows-1250 encoding
Date: 2004-05-03 12:10:09
Message-ID: (view raw or whole thread)
Lists: pgsql-admin

How can one set character encoding in the database to windows-1250? I am 
using postgresql 7.2.1-2woody4 (on debian).

create database somedb with encoding = 'windows-1250';
ERROR:  CREATE DATABASE: invalid backend encoding

I just need to order selected rows by some column witch windows-1250 
encoded text.

Or, it would be beven etter if I could change the encoding on the 
existing database, but unfortunately in postgresql 7.2 there is no ALTER 
DATABASE ... Any advice?

Thanks in advance

Best regards

Martin Zdila
EpiSoftware Slovakia Ltd.
Prazska 4, 040 11  Kosice
cellular: +421 908 363 848
phone: +421 55 643 9954
fax: +421 55 643 9954


pgsql-admin by date

Next:From: Corey.BruneDate: 2004-05-03 14:37:33
Subject: Re: freebsd performance
Previous:From: Peter SchmidDate: 2004-05-03 09:13:48
Subject: Creating DB at alternate location

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group