Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjNKK-00046l-6A for pgsql-general@arkaria.postgresql.org; Tue, 15 Jan 2019 11:56:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjNKI-0006TJ-Nu for pgsql-general@arkaria.postgresql.org; Tue, 15 Jan 2019 11:56:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjNKI-0006TC-GA for pgsql-general@lists.postgresql.org; Tue, 15 Jan 2019 11:56:14 +0000 Received: from mail.verite.pro ([185.16.44.216]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjNKG-0002bu-1g for pgsql-general@lists.postgresql.org; Tue, 15 Jan 2019 11:56:14 +0000 Received: from genius-map.net (verite.pro [195.154.189.246]) by mail.verite.pro (Postfix) with ESMTP id C1E3E8C0030; Tue, 15 Jan 2019 12:51:16 +0100 (CET) Received: by genius-map.net (Postfix, from userid 1001) id ED45138A2BF7; Tue, 15 Jan 2019 12:56:09 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Oracke BLOB to Postgres BYTEA using ora2pg From: "Daniel Verite" To: =?ISO-8859-15?Q?"Mihalidesov=E1?= Jana" Cc: "Pavel Stehule" ,"pgsql-general@lists.postgresql.org" In-Reply-To: Date: Tue, 15 Jan 2019 12:56:05 +0100 Message-Id: X-Mailer: Manitou v1.7.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mihalidesov=E1 Jana wrote: > nipjd=3D> select distinct encode(serializable_value, 'escape') from > alf_node_properties_zaloha where serializable_value is not null;=20 > = encode > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------- > decode(E'aced00057e72002c6f72672e616c66726573636f2e736572766963652e636d72= 2e76657273696f6e2e56657273696f6e5479706500000000000000001200007872000e6a617= 6612e6c616e672e456e756d000000000000000012000078707400054d494e4f52', > 'hex')=20 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, --=20 Daniel V=E9rit=E9 PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite