| От | Richard Huxton |
|---|---|
| Тема | Re: Customised Encoding |
| Дата | |
| Msg-id | 200404271416.16156.dev@archonet.com обсуждение исходный текст |
| Ответ на | Customised Encoding ("kumar" <sgnerd@yahoo.com.sg>) |
| Список | pgsql-sql |
On Tuesday 27 April 2004 13:55, kumar wrote:
> Hi Richar,
Kumar - try to make sure you reply to the list.
> It didnt work for me.
>
> select encode('65536'::bytea,'UTF-8')
> ERROR: Cannot cast type integer to bytea
>
> select encode('65536'::bytea,'UTF-8')
> ERROR: No such encoding as 'UTF-8'
I think you're using the encode() function wrongly. The second parameter is
supposed to be something like "base64" or "hex". I'm not sure it makes sense
to try and cast an integer to a bytea either.
Can you say what you're trying to achieve here?
-- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера