Re: Function to convert from TEXT to BYTEA?

Поиск
Список
Период
Сортировка
От TJ O'Donnell
Тема Re: Function to convert from TEXT to BYTEA?
Дата
Msg-id 476024F2.1070907@acm.org
обсуждение исходный текст
Ответ на Function to convert from TEXT to BYTEA?  ("D. Dante Lorenso" <dante@lorenso.com>)
Список pgsql-general
I think decode('your string', 'escape') might be what you need.
It returns bytea when 'your string' is type text or varchar.

TJ
http://www.gnova.com

> Is there a function that will do what I want to convert the datatype
> without having to create a CAST that PostgreSQL doesn't have natively?
> How else are you supposed to use the ENCRYPT and DECRYPT functions?


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

Предыдущее
От: Jeff Trout
Дата:
Сообщение: Re: Slow PITR restore
Следующее
От: Samantha Atkins
Дата:
Сообщение: Re: what is the date format in binary query results