Search Postgresql Archives

Re: Fwd: How to convert a string to bytea?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# revoohc@xxxxxxxxx / 2006-08-30 12:22:47 -0400:
> ---------- Forwarded message ----------
> From: Chris Hoover <revoohc@xxxxxxxxx>
> Date: Aug 30, 2006 12:22 PM
> Subject: How to convert a string to bytea?
> To: "pgsql-admin@xxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxx>
> 
> 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?

    See decode()/encode() in
    http://www.postgresql.org/docs/8.1/static/functions-binarystring.html

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux