pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15569: decode function is not correclty working in 10.6
2+ messages / 2 participants
[nested] [flat]

* BUG #15569: decode function is not correclty working in 10.6
@ 2018-12-31 03:29 PG Bug reporting form <noreply@postgresql.org>
  2018-12-31 15:36 ` Re: BUG #15569: decode function is not correclty working in 10.6 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2018-12-31 03:29 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: binduharikrishnanv@gmail.com

The following bug has been logged on the website:

Bug reference:      15569
Logged by:          Bindu Harikrishnan
Email address:      binduharikrishnanv@gmail.com
PostgreSQL version: 10.6
Operating system:   Ubuntu
Description:        

Sir
  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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15569: decode function is not correclty working in 10.6
  2018-12-31 03:29 BUG #15569: decode function is not correclty working in 10.6 PG Bug reporting form <noreply@postgresql.org>
@ 2018-12-31 15:36 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-12-31 15:36 UTC (permalink / raw)
  To: binduharikrishnanv@gmail.com; +Cc: pgsql-bugs@lists.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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-12-31 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 03:29 BUG #15569: decode function is not correclty working in 10.6 PG Bug reporting form <noreply@postgresql.org>
2018-12-31 15:36 ` Tom Lane <tgl@sss.pgh.pa.us>

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