Re: [HACKERS] UTF-8 support

Поиск
Список
Период
Сортировка
От Serguei Mokhov
Тема Re: [HACKERS] UTF-8 support
Дата
Msg-id 001d01c1449e$d2074d60$5dd9fea9@gunn
обсуждение исходный текст
Ответ на UTF-8 support  (Jean-Michel POURE <jm.poure@freesurf.fr>)
Список pgsql-odbc
----- Original Message -----
From: Tatsuo Ishii <t-ishii@sra.co.jp>
Sent: Sunday, September 23, 2001 7:58 PM

> > 3) Is there a way to query available encodings in PostgreSQL for display in
> > pgAdmin.
> > Is it a planned feature in PostgreSQL 7.2? This would be nice if it existed.
> > Example: function pg_available_encodings -> SQL-ASCII;UNICODE;EUC-JP etc...
>
> Currently no. But it would be easy to implement such a function. What
> comes in mind is:
>
> pg_available_encodings([INTEGER how]) RETURNS setof TEXT
>
> where how is
>
>       0(or omitted): returns all available encodings
>       1: returns encodings in backend
>       2: returns encodings in frontend
>
> Comments?

        3: returns encodings of both backend and frontend

Why both? To compare and match upon the need.
If by 0 (ALL) you meant the same, then please ignore my comment.

My question is now how many BE's/FE's would you return encodings for?

S.


В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Daniel A. Kowalski"
Дата:
Сообщение: SQLSERVER
Следующее
От: Dave Page
Дата:
Сообщение: Re: [HACKERS] UTF-8 support