From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] pg_proc.h changed |
Date: | 2000-01-19 02:58:37 |
Message-ID: | Pine.LNX.4.21.0001190102590.11420-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I've been wondering about that. Great!
On 2000-01-18, Tatsuo Ishii mentioned:
> 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
>
> ************
>
>
--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-01-19 02:58:44 | Re: [HACKERS] Index recreation in vacuum |
Previous Message | Peter Eisentraut | 2000-01-19 02:58:29 | Date/time types (Re: [HACKERS] Re: [COMMITTERS] pgsql/src/include/catalog (pg_type.h)) |