Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
When using TEST_COUNT with ora2pg v24.1, we observed a fatal error in the debug output:
$ ora2pg -t TEST_COUNT -c config/ora2pg.conf -d --jobs 1 --parallel 4 -l log/testcount.log
[2023-11-17 14:32:58] FATAL: can't read file ora2pg_stdout_locker, No such file or directory
HINT: you should activate USER_GRANTS for a connection without DBA privilege. Continuing with USER privilege.
FATAL: can't read file ora2pg_stdout_locker, No such file or directory
Our workaround was to create the ora2pg_stdout_locker file before running the command:
$ touch log/ora2pg_stdout_locker
$ ora2pg -t TEST_COUNT -c config/ora2pg.conf -d --jobs 1 --parallel 4 -l log/testcount.log -b log
[TEST ROWS COUNT]
[ERRORS ROWS COUNT]
OK, Oracle and PostgreSQL have the same number of rows.
Hello,
When using TEST_COUNT with ora2pg v24.1, we observed a fatal error in the debug output:
Our workaround was to create the
ora2pg_stdout_locker
file before running the command:Regards, Florent