Fwd: How to convert a string to bytea?

From: "Chris Hoover" <revoohc(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Fwd: How to convert a string to bytea?
Date: 2006-08-30 16:22:47
Message-ID: 1d219a6f0608300922s6a0a4fcdy120de8044febf0a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

---------- Forwarded message ----------
From: Chris Hoover <revoohc(at)gmail(dot)com>
Date: Aug 30, 2006 12:22 PM
Subject: How to convert a string to bytea?
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Hoover 2006-08-30 16:23:30 Re: How to convert a string to bytea?
Previous Message Chris Hoover 2006-08-30 16:22:18 How to convert a string to bytea?

Browse pgsql-general by date

  From Date Subject
Next Message Chris Hoover 2006-08-30 16:23:30 Re: How to convert a string to bytea?
Previous Message Chris Hoover 2006-08-30 16:22:18 How to convert a string to bytea?