SET encoding

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: SET encoding
Date: 1999-01-22 14:17:49
Message-ID: Pine.SOL2.3.96.SK.990122171343.22369B-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello!

I want to hack into CYR_RECODE. I need to reimplement encoding selection
algorithm. Actually I want to add a few bytes of code - after default
selection I want to SET destination encoding.
From you, folks, I need the following information:

1. How to add new SET command?

2. How to implement SET command?
Detalied explanation would be good, but it is enough to point me into
alread existed code.

3. Any advice on how to name it. I prefer SET DEST_ENCODING='windows-1251'.
Any objection?

Oleg.
----
Oleg Broytmann http://members.tripod.com/~phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

Browse pgsql-hackers by date

  From Date Subject
Next Message Jose' Soares 1999-01-22 14:38:18 view?
Previous Message D'Arcy J.M. Cain 1999-01-22 13:26:19 getcwd failing suddenly