Если файл output.sql не содержит ничего, кроме заголовка и нижнего колонтитула транзакции Postgres Pro, возможны следующие причины:
Perl-скрипт ora2pgpro выдаёт ошибку
ORA-XXX— это означает, что указан некорректный DSN или данные для входа в систему. Проверьте сообщение об ошибке и указанную информацию и попробуйте снова.Perl-скрипт ничего не выдаёт, а выходной файл пустой — пользователь не имеет доступа к данным из базы. Попробуйте подключиться к Oracle с правами суперпользователя или используйте
USER_GRANTSвыше или директивы из следующего раздела, в частностиSCHEMA.
If the output.sql file has not exported anything other than the Postgres Pro transaction header and footer, there are two possible reasons:
The Perl script ora2pgpro dumps an
ORA-XXXerror: that means that your DSN or login information is wrong, check the error and your settings, and try again.The Perl script says nothing, and the output file is empty: the user lacks permission to extract something from the database. Try to connect to Oracle as super user or take a look at the directive
USER_GRANTSabove and in the next section, especially theSCHEMAdirective.