new utility: dump_oracle_table_for_pg
authorGalen Charlton <gmc@esilibrary.com>
Wed, 6 Mar 2013 18:19:07 +0000 (13:19 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 6 Mar 2013 18:19:07 +0000 (13:19 -0500)
commit07a1454d9162950c16e98347c13a64c3d8f60efb
treeb404fe3552b1f931a3e977812a3014ba61a39f81
parent62ae8fc257b7637ba3d378ca21ff61a674bf2553
new utility: dump_oracle_table_for_pg

This utility dumps the contents of an Oracle table
to file for loading into PostgreSQL.

Usage: dump_oracle_table_for_pg \
    [--sid oracle_sid] [--host oracle_host] --user oracle_user --pw oracle_password \
    --table oracle_table_name \
    --pg-table destination_pg_table_name \
    --out output_tsv_file --sql output_table_create_sql_file \
    [--column-prefix column_prefix] [--inherits-from base_pg_table] [--help]

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
dump_oracle_table_for_pg [new file with mode: 0755]