From: Markus Bertheau ☭ <twanger@bluetwanger.de>
To: pgsql-sql@postgresql.org
Subject: SQL repr of bytea val
Date: Mon, 20 Jun 2005 15:47:01 +0200
Message-ID: <1119275221.4688.14.camel@dicaprio.akademie1.de> (raw)
Hi,
I'm constructing querys on the fly in PL/pgSQL_ and need a function that
returns the SQL representation of a bytea value. I tried encode(..,
'escape') but it seems to return 8 bit ASCII values, not the \377 stuff
that's supposed to be in the bytea input syntax. Does anyone know a way
to do that?
Markus
--
Markus Bertheau ☭ <twanger@bluetwanger.de>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: twanger@bluetwanger.de
Subject: Re: SQL repr of bytea val
In-Reply-To: <1119275221.4688.14.camel@dicaprio.akademie1.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox