pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Verite <daniel@manitou-mail.org>
To: "Mihalidesová Jana" <jana.mihalidesova@cetin.cz>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: Oracke BLOB to Postgres BYTEA using ora2pg
Date: Tue, 15 Jan 2019 12:56:05 +0100
Message-ID: <fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org> (raw)
In-Reply-To: <f6203fc419dd4b48b0289037e788a3df@cewexch402.ad.cetin>

	Mihalidesová Jana wrote:

> nipjd=> select distinct encode(serializable_value, 'escape') from
> alf_node_properties_zaloha where serializable_value is not null; 
>                                                                                                             encode
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> decode(E'aced00057e72002c6f72672e616c66726573636f2e736572766963652e636d722e76657273696f6e2e56657273696f6e5479706500000000000000001200007872000e6a6176612e6c616e672e456e756d000000000000000012000078707400054d494e4f52',
> 'hex') 

These contents are code, in the form of function calls, instead of data.
Possibly if you ran these function calls they would output the
original data, but that's a pretty weird form of storage.  If the
insert was done by Ora2Pg, you want to report this as a bug.


Best regards,
-- 
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite




view thread (10+ messages)  latest in thread

Message-ID: <fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org>
Permalink:  ../fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org/
Also on:    postgresql.org/message-id/fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org

 · 

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-general@postgresql.org
  Cc: daniel@manitou-mail.org, jana.mihalidesova@cetin.cz, pavel.stehule@gmail.com
  Subject: Re: Oracke BLOB to Postgres BYTEA using ora2pg
  In-Reply-To: <fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org>
  References: <f6203fc419dd4b48b0289037e788a3df@cewexch402.ad.cetin> <fa5311f7-586b-4c60-9a2c-e047f1a47259@manitou-mail.org>

* 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