Hi Team,
The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause.
Example
Cannot determine the PostgreSQL's datatype corresponding to hierarchyid. This is a bug
at ./sqlserver2pgsql.pl line 379, <$file> line 690.
main::convert_type('hierarchyid', undef, 'OrganizationNode', 'Employee', undef, 'HumanResources') called at ./sqlserver2pgsql.pl line 1424
main::add_column_to_table('HumanResources', 'Employee', 'OrganizationNode', undef, 'hierarchyid', undef, undef, 'NULL') called at ./sqlserver2pgsql.pl line 1546
main::parse_dump() called at ./sqlserver2pgsql.pl line 3316
And then it stops here without providing anything in the output files. Is there a way to skip/ignore such statements and go ahead with converting the rest?
The -ignore_errors flag exists for the data side but a similar flag during schema conversion will be a huge help.
Thank You in advance!
Hi Team,
The current behaviour of the tool is that it errors out during schema conversion if it finds some unknown clause.
Example
And then it stops here without providing anything in the output files. Is there a way to skip/ignore such statements and go ahead with converting the rest?
The
-ignore_errorsflag exists for the data side but a similar flag during schema conversion will be a huge help.Thank You in advance!