How to convert a string to bytea? - Mailing list pgsql-admin

From Chris Hoover
Subject How to convert a string to bytea?
Date
Msg-id 1d219a6f0608300922s5c85649ci4ebfb8564fc5eacb@mail.gmail.com
Whole thread Raw
Responses Re: How to convert a string to bytea?  ("Chris Hoover" <revoohc@gmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some advice required please
Next
From: "Chris Hoover"
Date:
Subject: Re: How to convert a string to bytea?