pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: binduharikrishnanv@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15569: decode function is not correclty working in 10.6
Date: Mon, 31 Dec 2018 10:36:06 -0500
Message-ID: <3880.1546270566@sss.pgh.pa.us> (raw)
In-Reply-To: <15569-e040513fbbdecb8f@postgresql.org>
References: <15569-e040513fbbdecb8f@postgresql.org>

=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
>   I was using postgres 9.4 version. Currenly I chnaged to version 10.6. I
> stored image as  bytea datatype . For this purpose I used 
> decode('','base64')  while insert an image into a table. This code is
> working in version 9.4. But when I used the same function in version 10.6 it
> return different result. Kindly please help me to over come this issue

You're not likely to get useful help without being a lot more specific.
In a quick test I don't see any difference in the behavior of decode()
since 9.4, so please show a concrete case where it behaves differently.

One possibility is that it's actually giving the same bytea output,
but it looks different because you have bytea_output set differently
in the two installations.

			regards, tom lane




view thread (2+ messages)

Message-ID: <3880.1546270566@sss.pgh.pa.us>
Permalink:  ../3880.1546270566@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3880.1546270566@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, binduharikrishnanv@gmail.com
  Subject: Re: BUG #15569: decode function is not correclty working in 10.6
  In-Reply-To: <3880.1546270566@sss.pgh.pa.us>
  References: <15569-e040513fbbdecb8f@postgresql.org> <3880.1546270566@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