How to convert a string to bytea?

Поиск
Список
Период
Сортировка
От Chris Hoover
Тема How to convert a string to bytea?
Дата
Msg-id 1d219a6f0608300922s5c85649ci4ebfb8564fc5eacb@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to convert a string to bytea?  ("Chris Hoover" <revoohc@gmail.com>)
Список pgsql-admin
I am in need of some help.  I need to use the encode function against a text string in one of my pg/plsql functions.  However, the encode function expects a bytea field to be passed to it.  How do I convert my text string into a bytea?

Thanks,

Chris

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Some advice required please
Следующее
От: "Chris Hoover"
Дата:
Сообщение: Re: How to convert a string to bytea?