Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
guides:migration-toolkit:command-line:sqlways-ini:postgresql-section [2019/10/18 11:45]
darya.prikhodkina
guides:migration-toolkit:command-line:sqlways-ini:postgresql-section [2019/11/16 09:54]
darya.prikhodkina
Line 12: Line 12:
 | **BIN** | Specifies the directory where PSQL.exe utility is located. | | **BIN** | Specifies the directory where PSQL.exe utility is located. |
 | **USE_EXPLICIT_CURSORS** | This option controls the way cursors will be converted in PostgreSQL database. If this option is set to "​Yes",​ explicit cursor declaration will be used. If set to "​No",​ implicit cursor declaration will be used. \\ Possible values: Yes, No. | | **USE_EXPLICIT_CURSORS** | This option controls the way cursors will be converted in PostgreSQL database. If this option is set to "​Yes",​ explicit cursor declaration will be used. If set to "​No",​ implicit cursor declaration will be used. \\ Possible values: Yes, No. |
-| **REPLACE_NULL_BYTE_WITH** | In PostgreSQL it is not allowed to insert null byte in not BYTEA data type column. So this option controls how the null byte should be changed to make correct import. \\ If the data type of the inserted column is BYTEA, this option will not work for that case. | +| **REPLACE_NULL_BYTE_WITH** | In PostgreSQL it is not allowed to insert null byte in not BYTEA data type column. So this option controls how the null byte should be changed to make correct import. \\ If the data type of the inserted column is BYTEA, this option will not work for that case. | 
-| **SET_SEARCH_PATH_TO** | This option will add "SET search_path TO" statement into each sql file generated by the SQLWays Wizard tool. To use this option you need just to specify a schema name that will be used in SET search_path TO statement. \\ By default this option is empty. |+| **SET_SEARCH_PATH_TO** | This option will add "SET search_path TO" statement into each sql file generated by SQLWays Wizard tool. To use this option you just need to specify a schema name that will be used in SET search_path TO statement. \\ By default this option is empty. |
 | **DATA_LOAD_FORMAT** | This option defines the format the data from MSSQL database will be extracted and loaded into PostgreSQL database. Possible values - "​HEX"​ and "​OCT"​. | | **DATA_LOAD_FORMAT** | This option defines the format the data from MSSQL database will be extracted and loaded into PostgreSQL database. Possible values - "​HEX"​ and "​OCT"​. |
 | **DOLLAR_QUOTED_PGSQL_MASK** | This option controls dollar quotation in the pgsql. The value specified here will be used instead of "​$$"​ in Pl/PgSQL, which is set by default. | | **DOLLAR_QUOTED_PGSQL_MASK** | This option controls dollar quotation in the pgsql. The value specified here will be used instead of "​$$"​ in Pl/PgSQL, which is set by default. |
Line 22: Line 22:
 | **ROWNUM_TO_GENERATE_SERIES** | This option controls how Oracle Rownum function will be converted to PostgreSQL database. If this option is set to "​Yes",​ it will be converted to GENERATE_SERIES. If this option is set to "​No",​ then Oracle Rownum function will be converted to ROW_NUMBER() with OVER clause in PostgreSQL. \\ Possible values - "​Yes"​ or Empty, "​No"​. \\ Default value - "​Yes"​ or Empty. ​  | | **ROWNUM_TO_GENERATE_SERIES** | This option controls how Oracle Rownum function will be converted to PostgreSQL database. If this option is set to "​Yes",​ it will be converted to GENERATE_SERIES. If this option is set to "​No",​ then Oracle Rownum function will be converted to ROW_NUMBER() with OVER clause in PostgreSQL. \\ Possible values - "​Yes"​ or Empty, "​No"​. \\ Default value - "​Yes"​ or Empty. ​  |
 | **CAST_PARAMETERS_IN_CALL** | This option controls whether the parameters in call routine statements should be casted to the appropriate data types in accordance to the routine signature. \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​No"​ or Empty. | | **CAST_PARAMETERS_IN_CALL** | This option controls whether the parameters in call routine statements should be casted to the appropriate data types in accordance to the routine signature. \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​No"​ or Empty. |
-| **PARTITION_ENABLE** | This option is available for PostgreSQL version 10 and later and controls whether table partitioning should be migrated or no. To allow table partitions conversion, set this option to Yes. If table partitions conversion is not required, "​No"​ value should be specified. \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​Yes"​ or Empty. | +| **PARTITION_ENABLE** | This option is available for PostgreSQL version 10 and later and controls whether table partitioning should be migrated or no. To allow table partitions conversion, set this option to "Yes". If table partitions conversion is not required, "​No"​ value should be specified. \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​Yes"​ or Empty. | 
-| **TABLES_WITH_OIDS** | This option defines whether the tables will be created with OID. OID column is a system column created for each table. It contains the unique identifier for the row of data in the database and can be used as a unique pointer to the exact record in the database. By default this option is set to "​Yes"​. This means that all the CREATE TABLE statements will be created with the WITH OIDS option. ​  \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​Yes"​. |+| **TABLES_WITH_OIDS** | This option defines whether the tables will be created with OID. OID column is a system column created for each table. It contains the unique identifier for the row of data in the database and can be used as a unique pointer to an exact record in the database. By default this option is set to "​Yes"​. This means that all the CREATE TABLE statements will be created with the WITH OIDS option. ​  \\ Possible values - "​Yes",​ "​No"​ or Empty. \\ Default value - "​Yes"​. |
 | **TABLESPACE** | In this option you can specify the tablespace name that will be used in CREATE TABLE statements in PostgreSQL. \\ Default value - Empty. | | **TABLESPACE** | In this option you can specify the tablespace name that will be used in CREATE TABLE statements in PostgreSQL. \\ Default value - Empty. |
 | **INDEX_TABLESPACE** | In this option you can specify the tablespace name that will be used in CREATE INDEX statements in PostgreSQL. \\ Default value - Empty. | | **INDEX_TABLESPACE** | In this option you can specify the tablespace name that will be used in CREATE INDEX statements in PostgreSQL. \\ Default value - Empty. |