head	1.6;
access;
symbols
	REL7_4_29:1.5
	REL8_0_25:1.5
	REL8_1_21:1.5
	REL7_4_28:1.5
	REL8_0_24:1.5
	REL8_1_20:1.5
	REL7_4_27:1.5
	REL8_0_23:1.5
	REL8_1_19:1.5
	REL7_4_26:1.5
	REL8_0_22:1.5
	REL8_1_18:1.5
	REL7_4_25:1.5
	REL8_0_21:1.5
	REL8_1_17:1.5
	REL7_4_24:1.5
	REL8_0_20:1.5
	REL8_1_16:1.5
	REL7_4_23:1.5
	REL8_0_19:1.5
	REL8_1_15:1.5
	REL7_4_22:1.5
	REL8_0_18:1.5
	REL8_1_14:1.5
	REL7_4_21:1.5
	REL8_0_17:1.5
	REL8_1_13:1.5
	REL7_4_20:1.5
	REL8_0_16:1.5
	REL8_1_12:1.5
	REL7_3_21:1.3.2.2
	REL7_4_19:1.5
	REL8_0_15:1.5
	REL8_1_11:1.5
	REL7_3_20:1.3.2.2
	REL7_4_18:1.5
	REL8_0_14:1.5
	REL8_1_10:1.5
	REL7_3_19:1.3.2.2
	REL7_4_17:1.5
	REL8_0_13:1.5
	REL8_1_9:1.5
	REL8_0_12:1.5
	REL8_1_8:1.5
	REL7_3_18:1.3.2.2
	REL7_4_16:1.5
	REL8_0_11:1.5
	REL8_1_7:1.5
	REL8_0_10:1.5
	REL8_1_6:1.5
	REL7_4_15:1.5
	REL7_3_17:1.3.2.2
	REL8_1_5:1.5
	REL8_0_9:1.5
	REL7_4_14:1.5
	REL7_3_16:1.3.2.2
	REL7_3_15:1.3.2.2
	REL7_4_13:1.5
	REL8_0_8:1.5
	REL8_1_4:1.5
	REL7_3_14:1.3.2.2
	REL7_4_12:1.5
	REL8_0_7:1.5
	REL8_1_3:1.5
	REL7_3_13:1.3.2.2
	REL7_4_11:1.5
	REL8_0_6:1.5
	REL8_1_2:1.5
	REL7_3_12:1.3.2.2
	REL7_4_10:1.5
	REL8_0_5:1.5
	REL8_1_1:1.5
	REL8_1_STABLE:1.5.0.10
	REL8_1_0:1.5
	REL8_1_0RC1:1.5
	REL8_1_0BETA4:1.5
	REL8_1_0BETA3:1.5
	REL7_3_11:1.3.2.2
	REL7_4_9:1.5
	REL8_0_4:1.5
	REL8_1_0BETA2:1.5
	REL8_1_0BETA1:1.5
	REL7_2_8:1.2
	REL7_3_10:1.3.2.2
	REL7_4_8:1.5
	REL8_0_3:1.5
	REL8_0_2:1.5
	REL7_2_7:1.2
	REL7_3_9:1.3.2.2
	REL7_4_7:1.5
	REL8_0_1:1.5
	REL8_0_STABLE:1.5.0.8
	REL8_0_0:1.5.0.6
	REL8_0_0RC5:1.5
	REL8_0_0RC4:1.5
	REL8_0_0RC3:1.5
	REL8_0_0RC2:1.5
	REL8_0_0RC1:1.5
	REL8_0_0BETA5:1.5
	REL8_0_0BETA4:1.5
	REL7_4_6:1.5
	REL7_3_8:1.3.2.2
	REL7_2_6:1.2
	REL8_0_0BETA3:1.5
	REL8_0_0BETA2:1.5
	REL7_2_5:1.2
	REL7_4_5:1.5
	REL7_3_7:1.3.2.2
	REL7_4_4:1.5
	REL8_0_0BETA1:1.5
	REL7_4_3:1.5
	REL7_4_2:1.5
	REL7_3_6:1.3.2.2
	REL7_4_1:1.5
	REL7_3_5:1.3.2.2
	REL7_4:1.5
	REL7_4_RC2:1.5
	REL7_4_STABLE:1.5.0.4
	REL7_4_RC1:1.5
	REL7_4_BETA5:1.5
	REL7_4_BETA4:1.5
	REL7_4_BETA3:1.5
	REL7_4_BETA2:1.5
	WIN32_DEV:1.5.0.2
	REL7_4_BETA1:1.5
	REL7_3_4:1.3.2.2
	REL7_3_2:1.3.2.2
	REL7_2_4:1.2
	REL7_3_STABLE:1.3.0.2
	REL7_2_3:1.2
	REL7_2_STABLE:1.2.0.2
	REL7_2:1.2
	REL7_2_RC2:1.2
	REL7_2_RC1:1.2
	REL7_2_BETA5:1.2
	REL7_2_BETA4:1.2
	REL7_2_BETA3:1.2
	REL7_2_BETA2:1.2
	REL7_2_BETA1:1.2;
locks; strict;
comment	@# @;


1.6
date	2006.02.25.19.18.58;	author petere;	state dead;
branches;
next	1.5;

1.5
date	2003.01.07.22.17.14;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.07.22.15.56;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.04.05.55.56;	author momjian;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2001.06.23.02.56.23;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.13.02.10.00;	author momjian;	state Exp;
branches;
next	;

1.3.2.1
date	2003.01.07.22.16.18;	author momjian;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2003.01.07.22.17.22;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Remove ora2pg; now available at <http://www.samse.fr/GPL/ora2pg/>.
@
text
@2001 05 09 - Initial version 1.0

2001 05 09 - Version 1.1
	- Add table grant extraction based on group. Oracle ROLES are groups in PG

2001 05 11 - Version 1.2
	- Views extraction is now really done with the option type=>'VIEW'
	- Add indexes extraction on tables.
	- Changes name of constraints, default is now used.
	- Add debug printing to see that the process is running :-)
	- Add extraction of only required tablename.
	- Add extraction of only n to n table indice. Indices of extraction can be obtained
	  with the option showtableid set to 1.
	- Fix print of NOT NULL field.
	- Complete rewrite of the grant extraction
	- Complete rewrite of most things

2001 06 20 - Version 1.3
	- Grant/privilege extraction are now done separatly with the option type=>'GRANT'
	- Sequence extraction with the option type=>'SEQUENCE'
	- Trigger extraction with the option type=>'TRIGGER'
	- Function extraction with the option type=>'FUNCTION' and type=>'PROCEDURE'
	- Complete rewrite of the foreign key extraction
	- Fix incorrect type translation and many other bug fix
	- Add schema only extraction by option schema => 'MYSCHEM'

2001 06 27 - Version 1.4
	- Add online Oracle data extraction and insertion into PG database.
	- Data export as insert statement (type => DATA)
	- Data export as copy from stdin statement (type => COPY)

2001 12 28 - Version 1.5
	- Fix LongReadLen problem when exporting Oracle data on LONG and LOB types
	  Thanks to Stephane Schildknecht for reporting and testing the fix.
	- Add more precision on NUMBER type conversion
	- Add conversion of type LONG, LOB, FILE
	- Fix a problem when extracting data, sometime table could need to be prefixed
	  by the schema name.
	- Fix output of Oracle data extraction. It now require a call to the function
	  export_data().

2002 01 07 - Version 1.6
	- Fix problem exporting NULL value. Thanks to Stephane Schildknecht.

2002 02 14 - Version 1.7
	- Remove export of OUTLINE object type. Thanks to Jean-Paul ARGUDO.

2002 03 05 - Version 1.8
	- Add Oracle type FLOAT conversion to float8.
	- Add column alias extraction on view. Thanks to Jean-Francois RIPOUTEAU
	- Add PACKAGE extraction (type => DATA).

2002 06 04 - Version 1.9
	- Fix a problem export data which fill NULL instead of 0 or empty string.
	  Thanks to Jan Kester.
	- Add time with date when export data [ tochar('YYYY-MM-DD HH24:MI:SS') ].
	  Thanks to Paolo Mattioli.

2002 07 29 - Version 1.10
	- Fix a problem with local settings regarding decimal separator (all ,
	  are changed to .) Thank to Jan Kester.

2002 09 27 - Version 1.11
	- Fix a problem when retrieving package+package body. Thanks to Mike WILHELM-HILTZ
	- Set LongReadLen to 100000 when exporting table information. Many users reports
	  this kind of error: A-01406 LongReadLen too small and/or LongTruncOk not set
	  This should fix the problem else you must increase the value (around line 422 of Ora2Pg.pm.
	- Filtering by owner for better performance when retreiving database schema. Thanks to Jefferson MEDEIROS

2002 12 03 - Version 1.12

I have fixed 2 bugs when using it against Oracle 817R3 on linux.

	- Fix problem regarding RI constraints, the owner name was not
	  getting into the sql statement. Thank to Ian Boston.

	- Moved all the RI constraints out of the create table statement.
	  Thank to Ian Boston for this contribution. This was a major request
	  from Ora2pg users.

2002 12 26 - Version 2.0

	- Clean code.
	- Fix COPY output on column value with end of line and add column naming.
	- Add support to the PostgreSQL 7.3 schema. So Oracle schema can now be exported.
	  (see export_schema init option)
	- Remove data extraction limit (old default: 10) so each tuple will be dump by default.


Thanks for all congratulation message and bug report+fix I received.

Gilles DAROLD <gilles@@darold.net>

@


1.5
log
@Upgrade to even newer ora2pg 2.0.
@
text
@@


1.4
log
@Upgrade to ora2pg 1.10.  Backpatch to 7.3.X.
@
text
@d63 28
a90 1
Thanks for all congratulation message and bug report I received.
@


1.3
log
@Update to new version of Oracle conversion utility, version 1.8.

Gilles DAROLD
@
text
@d41 1
d52 14
@


1.3.2.1
log
@Upgrade to ora2pg 1.10.  Backpatch to 7.3.X.
@
text
@a40 1

a50 14

2002 06 04 - Version 1.9
	- Fix a problem export data which fill NULL instead of 0 or empty string.
	  Thanks to Jan Kester.
	- Add time with date when export data [ tochar('YYYY-MM-DD HH24:MI:SS') ].
	  Thanks to Paolo Mattioli.

2002 07 29 - Version 1.10
	- Fix a problem with local settings regarding decimal separator (all ,
	  are changed to .) Thank to Jan Kester.

Thanks for all congratulation message and bug report I received.

Gilles DAROLD <gilles@@darold.net>
@


1.3.2.2
log
@Upgrade to even newer ora2pg 2.0.
@
text
@d63 1
a63 28
2002 09 27 - Version 1.11
	- Fix a problem when retrieving package+package body. Thanks to Mike WILHELM-HILTZ
	- Set LongReadLen to 100000 when exporting table information. Many users reports
	  this kind of error: A-01406 LongReadLen too small and/or LongTruncOk not set
	  This should fix the problem else you must increase the value (around line 422 of Ora2Pg.pm.
	- Filtering by owner for better performance when retreiving database schema. Thanks to Jefferson MEDEIROS

2002 12 03 - Version 1.12

I have fixed 2 bugs when using it against Oracle 817R3 on linux.

	- Fix problem regarding RI constraints, the owner name was not
	  getting into the sql statement. Thank to Ian Boston.

	- Moved all the RI constraints out of the create table statement.
	  Thank to Ian Boston for this contribution. This was a major request
	  from Ora2pg users.

2002 12 26 - Version 2.0

	- Clean code.
	- Fix COPY output on column value with end of line and add column naming.
	- Add support to the PostgreSQL 7.3 schema. So Oracle schema can now be exported.
	  (see export_schema init option)
	- Remove data extraction limit (old default: 10) so each tuple will be dump by default.


Thanks for all congratulation message and bug report+fix I received.
@


1.2
log
@Here the latest version and first working release of Ora2Pg a tool to export
Oracle database to PostgreSQL.

    It currently dump the database schema (tables, views, sequences,
    indexes, grants), with primary, unique and foreign keys into PostgreSQL
    syntax without editing the SQL code generated. You can dump only a
    particular schema from the Oracle database.

    Functions, procedures and triggers with SQL or PLSQL code generated must
    be reviewed to match the PostgreSQL syntax. Some usefull recommandation
    on porting Oracle to PostgreSQL can be found at
http://techdocs.postgresql.org/
    under the "Converting from other Databases to PostgreSQL" Oracle part. I
just
    notice one thing more is that the trunc() function in Oracle is the same for
number
    or date so be carefull when porting to PostgreSQL to use trunc() for number
and
    date_trunc() for date.

I will add more precision in type NUMBER conversion based on length to match
as closest as possible all rich PostgreSQL numerics type. But it seems not to be

urgent as it seems that Oracle DBAs only create number with length 22 (default)
Space seems not to be their problem...

Gilles DAROLD
@
text
@d27 24
@


1.1
log
@Update to ora2pg 1.2.
@
text
@d7 1
a7 1
	- Views extraction is now really done with the option type=>'VIEWS'
d17 10
@
