decode('hallo',???)

Поиск
Список
Период
Сортировка
От Fritz Lehmann-Grube
Тема decode('hallo',???)
Дата
Msg-id 3D6BDFB6.8080905@math.tu-berlin.de
обсуждение исходный текст
Ответы Re: decode('hallo',???)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-sql
hallo somebody,

what do the functions "encode" and "decode" expect as arguments ?
I was puzzled when I got the following:

pgdocsample=# \encoding
SQL_ASCII
pgdocsample=# select decode('hallo','SQL_ASCII');
ERROR:  No such encoding as 'SQL_ASCII'

What have I understood wrong ?

Fritz



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

Предыдущее
От: Mathieu Arnold
Дата:
Сообщение: triggers and plpgsql question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: decode('hallo',???)