Re: How to convert a string to bytea?

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

Sorry, this was supposed to go to the -general list.

On 8/30/06, Chris Hoover <revoohc(at)gmail(dot)com> wrote:
>
> 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

Browse pgsql-admin by date

  From Date Subject
Next Message Joe McClintock 2006-08-30 18:29:50 Database Optimization and Peformance
Previous Message Chris Hoover 2006-08-30 16:22:47 Fwd: How to convert a string to bytea?

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-30 16:41:06 Re: plz unsubscribe me
Previous Message Chris Hoover 2006-08-30 16:22:47 Fwd: How to convert a string to bytea?