Comments (9)
Thanks for the report, could you please execute ora2pg 12.1 again with the -d option and add the result to this issue?
Regards,
from ora2pg.
command:
ora2pg -d -c conf/ora2pg.conf -t SHOW_TABLE
output
Trying to connect to database: dbi:Oracle:host=;sid=
Isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
Auto detecting Oracle character set and the corresponding PostgreSQL client encoding to use.
Using Oracle character set: AMERICAN_AMERICA.WE8ISO8859P1.
Using PostgreSQL client encoding: LATIN1.
Showing table information...
FATAL:
Aborting export...
Regards
from ora2pg.
Ok, thanks for the report. The error message is not really useful but maybe the error comes from the materialized view listing introduced before displaying table information. I have patched ora2pg to change level of the error message when querying materialized view to continue even if there's an error.
Could you test latest code from github and let us know if it solves the issue.
Regards,
from ora2pg.
Hi, I've pulled the latest code (with the changes in the .pm module). But result stays the same.
:-(
FATAL:
Aborting export...
Regards
from ora2pg.
Ok. Ive enumerated all the FATAL "echos" in the Ora2Pg.pm and btw there are a lot of them... ;-)
The FATAL which is triggered is in Line 4249
4243 my $ret = $self->{dbh}->err;
4244 if (!$recurs && ($ret == 942) && ($self->{prefix} eq 'DBA')) {
4245 $self->logit("HINT: Please activate USER_GRANTS or connect using a user with DBA privilege.\n");
4246 $self->{prefix} = 'ALL';
4247 return $self->_column_info($table, $owner, 1);
4248 }
4249 $self->logit("50FATAL: " . $self->{dbh}->errstr . "\n", 0, 1);
4250 }
Hope that helps. Regards
from ora2pg.
I'm trying to install a 8i on a VM with a help of colleague to be able to reproduce the issue. It takes time because it is a task that required some knowledge of palaeontology :-(
from ora2pg.
Ok. I think I found the solution. It was a missing if(!$sth)
I have commited it as a patch in my forked repository
c1acafc
hope thats right. I'm new to this github thing ;-)
from ora2pg.
.... aaaaaaaaand forgot to close the if statement
740d45f
Seems to work with '-t SHOW_TABLE' going for a test run tomorrow (the export takes a while) and report back
from ora2pg.
Good catch, commit 20b8327 applied your patch. At least now, thanks to you and Marco I have a running 8i for testing :-)
from ora2pg.
Related Issues (20)
- [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
- Error while running DBD::Oracle > make: *** [Makefile:524: blib/arch/auto/DBD/Oracle/Oracle.so] Error 1 HOT 1
- Ora2pg scanner HOT 1
- while doing INSERT, ST_GEOMETRY() is applied to non-spatial columns, resulting in syntax error, since SRID parameter is empty
- [Urgent Question] NON DBA Account to generate report and export HOT 1
- Option for ALTER TABLE ADD CONSTRAINT being in a separate file HOT 2
- ERROR: out of memory DETAIL: Cannot enlarge string buffer containing 1073741808 bytes by 8191 more bytes. CONTEXT: COPY TABL, line 95ERROR: out of memory DETAIL: Cannot enlarge string buffer containing 1073741808 bytes by 8191 more bytes. CONTEXT: HOT 10
- Include validation count for public procedural code within Packages - Oracle_PostgreSQL.
- Duplicate SQL On Create Trigger HOT 5
- partitioned tables copy statement with wrong name HOT 1
- Wrong procedure Name Generated HOT 7
- Trouble Exporting Table if User Has Access to More Than One Table with Same Name HOT 5
- Performance penalty doing ora2pg migration in tables with lobs througth WAN HOT 4
- Bug from Commit fb6b0ad HOT 1
- Bug from commit cabd72a HOT 5
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.