Fwd: How to convert a string to bytea? - Mailing list pgsql-general

From Chris Hoover
Subject Fwd: How to convert a string to bytea?
Date
Msg-id 1d219a6f0608300922s6a0a4fcdy120de8044febf0a@mail.gmail.com
Whole thread Raw
Responses Re: Fwd: How to convert a string to bytea?  (Roman Neuhauser <neuhauser@sigpipe.cz>)
List pgsql-general


---------- Forwarded message ----------
From: Chris Hoover <revoohc@gmail.com>
Date: Aug 30, 2006 12:22 PM
Subject: How to convert a string to bytea?
To: "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>

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-general by date:

Previous
From: "Brandon Aiken"
Date:
Subject: Re: PostgreSQL on system with root as only user
Next
From: "Joshua D. Drake"
Date:
Subject: Re: plz unsubscribe me