Re: Charset Win1250 on Windows and Ubuntu

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Charset Win1250 on Windows and Ubuntu
Дата
Msg-id 968C401E-0008-48E1-A233-A391AFA01CE4@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Re: Charset Win1250 on Windows and Ubuntu  (Durumdara <durumdara@gmail.com>)
Список pgsql-general
On 21 Dec 2009, at 10:26, Durumdara wrote:

> So if I have Python and pygresql, can I set this value in Python?
> The main problem that I don't want to set this value globally - possible another applications want to use another
encoding....

Sure you can, just execute SET client_encoding TO 'WIN1250' once you've set up your connection. You can even do that
betweenqueries if your client encoding requirements change between queries. 

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4b2f51b9228057414011521!



В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Charset Win1250 on Windows and Ubuntu
Следующее
От: Mike Christensen
Дата:
Сообщение: Question about the ANY operator