1N/ANAME
1N/A rdb2pg - insert an rdb table into a PostgreSQL database
1N/A
1N/ASYNOPSIS
1N/A rdb2pg [*param*=*value* ...]
1N/A
1N/APARAMETERS
1N/A rdb2pg uses an IRAF-compatible parameter interface. A template parameter
1N/A file is in /proj/axaf/simul/lib/uparm/rdb2pg.par.
1N/A
1N/A input *file*
1N/A The RDB file to insert into the database. If the given name is the
1N/A string `stdin', it reads from the UNIX standard input stream.
1N/A
1N/ADESCRIPTION
1N/A rdb2pg will enter the data from an RDB database into a PostgreSQL
1N/A database table, optionally creating the database and the table if they
1N/A do not exist. It automatically determines the PostgreSQL data type from
1N/A the column definition in the RDB file, but may be overriden via a series
1N/A of definition files or directly via one of its parameters.
1N/A
1N/A The target database and table are specified by the `db' and `table'
1N/A parameters. If they do not exist, and the `createdb' parameter is set,
1N/A they will be created. Table field definitions are determined in the
1N/A following order:
1N/A