Ispirer Website
Ispirer Capabilities: PostgreSQL Migration
Free Trial
Since the PostgreSQL doesn't support the synonyms the migration of synonyms from Oracle to PostgreSQL could have several approches:
To convert synonyms in our tool you can use the following conversion options:
To convert such synonyms using view, you need to use the option:
[DDL]
SYNONYM_TO_VIEW=Yes
More details on how to set the option can be found in the How to Set Options in SQLWays article.
If this option is used, instead of synonyms for tables and views, PostgreSQL will create views for the corresponding objects:
ORACLE | POSTGRESQL |
---|---|
CREATE SYNONYM SYN_FOR_TAB FOR TAB_FOR_SYN | CREATE VIEW SYN_FOR_TAB AS SELECT * FROM TAB_FOR_SYN |
For other types of objects (functions, procedures, etc.), during migration, synonyms will be skipped and the code will change the use of synonyms to the objects themselves.
If you have any other questions regarding the usage of our tool, please, contact our support team: support@ispirer.com