new backslah command of psql - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject new backslah command of psql
Date
Msg-id 20000219141402U.t-ishii@sra.co.jp
Whole thread Raw
Responses Re: [HACKERS] new backslah command of psql
List pgsql-hackers
I have added new backslash command \eset and \eshow to psql.
(only enabled if --enable-multibyte specified)
Modified files are help.c and command.c. 

-------------------------------------------------------------------
o \eset <encoding>

change the client encoding to <encoding>. This is actually
PQsetClientEncoding + pset.encoding (psql internal data) change. Now
user can change the client side encoding on the fly, that is not
possible before 7.0.

o \eshow

show the client encoding.
-------------------------------------------------------------------
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: SQL compliance - why -- comments only at psql level ?
Next
From: Marc Tardif
Date:
Subject: handling multiple file descriptors