pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris R. <chricki@gmx.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5854: base64 decode returns bytea and no text
Date: Fri, 28 Jan 2011 11:17:28 -0500
Message-ID: <20117.1296231448@sss.pgh.pa.us> (raw)
In-Reply-To: <201101281445.p0SEjjdN078867@wwwmaster.postgresql.org>
References: <201101281445.p0SEjjdN078867@wwwmaster.postgresql.org>

"Chris R." <chricki@gmx.net> writes:
> There is a break in how pg9.0 handles decoding base64 encoded data.

This has nothing to do with decode(), it's a change in the default
output format for bytea data.  Set bytea_output to "escape" to get
the old format.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <20117.1296231448@sss.pgh.pa.us>
Permalink:  ../20117.1296231448@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20117.1296231448@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chricki@gmx.net
  Subject: Re: BUG #5854: base64 decode returns bytea and no text
  In-Reply-To: <20117.1296231448@sss.pgh.pa.us>
  References: <201101281445.p0SEjjdN078867@wwwmaster.postgresql.org> <20117.1296231448@sss.pgh.pa.us>

* 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