Commit | Line | Data |
360aca43 |
1 | NAME |
2 | rdb2pg - insert an rdb table into a PostgreSQL database |
3 | |
4 | SYNOPSIS |
5 | rdb2pg [*param*=*value* ...] |
6 | |
7 | PARAMETERS |
664bb207 |
8 | rdb2pg uses an IRAF-compatible parameter interface. A template parameter |
9 | file is in /proj/axaf/simul/lib/uparm/rdb2pg.par. |
360aca43 |
10 | |
11 | input *file* |
664bb207 |
12 | The RDB file to insert into the database. If the given name is the |
13 | string `stdin', it reads from the UNIX standard input stream. |
360aca43 |
14 | |
15 | DESCRIPTION |
664bb207 |
16 | rdb2pg will enter the data from an RDB database into a PostgreSQL |
17 | database table, optionally creating the database and the table if they |
18 | do not exist. It automatically determines the PostgreSQL data type from |
19 | the column definition in the RDB file, but may be overriden via a series |
20 | of definition files or directly via one of its parameters. |
360aca43 |
21 | |
664bb207 |
22 | The target database and table are specified by the `db' and `table' |
23 | parameters. If they do not exist, and the `createdb' parameter is set, |
24 | they will be created. Table field definitions are determined in the |
25 | following order: |
360aca43 |
26 | |