Comments (5)
Hi,
Thanks for the report, it seems that the function utl_raw.cast_to_varchar2() used to extract RAW type doesn't work with LONG RAW. Do you have any idea of what function to use that can do the same with this type ?
from ora2pg.
It appears that LONG RAW cannot be converted to VARCHAR2 directly due to max size of the two data types.
http://www.dbasupport.com/forums/showthread.php?5342-How-to-read-LONG-RAW-column-into-VARCHAR2
Why do we need to convert RAW/LONG RAW to VARCHAR2 again?
from ora2pg.
This issue should be fixed by the last commit 339423f, could you give it a try an let me know?
from ora2pg.
I tested with the new revision and the problem appears to be fixed. thanks.
Could you let me know if the behavior (LONG RAW conversion) now is back to how it was in 10.1 (before changes in 11.1)? If not, what is the change in the behavior?
Thanks again.
Prabhat
from ora2pg.
Yes this is a come back to the original behavior. Patch in 11.1 was to force hex decoding because someone complain about hex data stored in bytea. This is not something I used to export because it is an obsolete datatype so I've not tested the patch by myself. After give it some try my though is that DBD::Oracle is just handling the datatype as expected: data are returned in binary format and not as hexa so it don't need to be converted as varchar2.
from ora2pg.
Related Issues (20)
- ora2pg -c ora2pg.conf -t COPY -a tablename not working HOT 1
- Package name is shorter when referenced in CREATE TYPE HOT 4
- Package/Schema is missing in search_path HOT 1
- Unrecognized character in Ora2Pg/PLSQL.pm line 1237 HOT 1
- ORA-12505: TNS:listener does not currently know of SID given in connect descriptor HOT 2
- Problem with slow data migration speed. HOT 5
- Function JSON_ARRAYAGG does not get translated properly
- name of a column is a reserved word in postgresql HOT 3
- ORACLE_DSN doesnt recognized HOT 10
- support for MS SQL Server to PostgreSQL HOT 10
- bad table creation operator HOT 2
- There is no control for default values HOT 2
- Invalid timestamp format conversion HOT 2
- BLOB Migration Issue HOT 8
- is this tools supports mysql 8 default authentication as I want to migrate database from mysql v8 to postgres HOT 2
- 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
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.