Comments (6)
Hi
Thanks for the report. Do you have the same issue with BLOB ?
from ora2pg.
Fixed for RAW datatype in commit 199a4b5, please use latest code from github. Normally BLOB should not have the same issue because they are not returned as HEX string. Let us know if you have any other problem with that.
Regards,
from ora2pg.
Hi,
I had tested this with a raw column only (no BLOB).
Best regards
Jens
From: Darold [mailto:[email protected]]
Sent: Mittwoch, 26. Februar 2014 10:34
To: darold/ora2pg
Cc: Jens Wiechmann
Subject: Re: [ora2pg] missing escapes for bytea columns (#52)
Hi
Thanks for the report. Do you have the same issue with BLOB ?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-36106811.
from ora2pg.
Hi,
thanks for the quick response.
Here is the result of the latest sources from the github:
-- Generated by Ora2Pg, the Oracle database Schema converter, version 12.1
:
SET client_encoding TO 'LATIN1';
\set ON_ERROR_STOP ON
BEGIN;
TRUNCATE TABLE tt;
COPY tt (c) FROM STDIN;
\xABBAFF
.
COMMIT;
But a second backslash is missing. I see \x but not \x
The wrong result is this:
select * from tt;
c
\xab42414646
(1 row)
Only the first two byte are correct.
from ora2pg.
Right, fixed in commit d4b1c8c
from ora2pg.
It works now. Thank you.
from ora2pg.
Related Issues (20)
- SQL queries selecting NEXVAL from the sequence in the trigger are not translated HOT 1
- DROP_FKEY happens even during --oracle_speed, when >1 table HOT 2
- error message : Unmatched ( in regex; marked by <-- HERE in m/\bg_grsamt( HOT 3
- SQL Server 2014 does not provide sys.indexes.auto_created column HOT 1
- issue using ora2pg conversion to postgresql for objects referred with mdsys.geomerty (specifically related to shapefiles) HOT 3
- can't read file ora2pg_stdout_locker
- Ora2pg Migration assessment using sql file HOT 2
- Enhance DATA_EXPORT_ORDER with custom order of Tables.
- Unwanted NOT NULL constraint
- Data validation through FDW
- Error in tempfile() using /tmp/tmp_ora2pgXXXXXX: Could not create temp file /tmp/tmp_ora2pg4CEPen: Too many open files at /usr/share/perl5/vendor_perl/Ora2Pg.pm line 8711
- Assessment report via ora2pg HOT 1
- Schema for Default partition is not dumped while using the RENAME_PARTITION
- Clarification HOT 4
- [BUG] Procedure not converting properly using Ora2pg 24.1 (MSSQL Server - Postgresql) HOT 1
- [NICE2HAVE] line-continuation character for config-file HOT 1
- CREATE TABLE DDL in schema dump of Oracle for List Partitions is not correct HOT 1
- not sure if this is an issue \N HOT 1
- psql:./schema/tables/table.sql:625: ERROR: syntax error at or near what -- missing comma HOT 2
- Ora2Pg migration Speed reducing after 20-30 mins of migration start time. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ora2pg.