| From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | pg_proc.h changed |
| Date: | 2000-01-18 05:51:14 |
| Message-ID: | 20000118145114M.t-ishii@sra.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
I have added two built-in functions:
pg_char_to_encoding() -- convert encoding string to encoding id
pg_encoding_to_char() -- convert encoding id to encoding string
Main purpose for this is to allow psql -l to print encoding names
rather than encoding ids (sample output from psql shown below) in a
multibyte enabled installation.
List of databases
Database | Owner | Encoding
------------+---------+----------
regression | t-ishii | EUC_JP
template1 | t-ishii | EUC_JP
test | t-ishii | EUC_JP
(3 rows)
This is much more "user friendly" IMHO.
initdb required.
--
Tatsuo Ishii
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2000-01-18 05:53:50 | Re: [PATCHES] docs done Re: [HACKERS] LIBPQ patches ... |
| Previous Message | Hiroshi Inoue | 2000-01-18 05:48:19 | RE: [HACKERS] How to ignore system indexes |