SET encoding - Mailing list pgsql-hackers

From Oleg Broytmann
Subject SET encoding
Date
Msg-id Pine.SOL2.3.96.SK.990122171343.22369B-100000@sun.med.ru
Whole thread Raw
List 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@earthling.net          Programmers don't die, they
justGOSUB without RETURN.
 



pgsql-hackers by date:

Previous
From: "D'Arcy" "J.M." Cain
Date:
Subject: getcwd failing suddenly
Next
From: "Jose' Soares"
Date:
Subject: view?