Re: interpret bytea output as text / double encode()

Поиск
Список
Период
Сортировка
От Stefan Froehlich
Тема Re: interpret bytea output as text / double encode()
Дата
Msg-id 20140606133758.GA601@Debian-60-squeeze-64-minimal
обсуждение исходный текст
Ответ на Re: interpret bytea output as text / double encode()  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-general
> > # select encode(encode(column, 'escape'), 'escape')

> Any  chance you can encode() into temp table then encode() the result.

Don't think so, PostgreSQL will recognize the temp column either as text
or as bytea and then refuse either the insert or the encode() because of
a type mismatch.

Any workaround for this would most likely solve my original problem
without the use of a temp table.

Stefan


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Trigger to convert UNIX time to timestamp without time zone.
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Trigger to convert UNIX time to timestamp without time zone.