| Line | |
|---|
| 1 | NAME
|
|---|
| 2 | rdb2pg - insert an rdb table into a PostgreSQL database
|
|---|
| 3 |
|
|---|
| 4 | SYNOPSIS
|
|---|
| 5 | rdb2pg [*param*=*value* ...]
|
|---|
| 6 |
|
|---|
| 7 | PARAMETERS
|
|---|
| 8 | rdb2pg uses an IRAF-compatible parameter interface. A template parameter
|
|---|
| 9 | file is in /proj/axaf/simul/lib/uparm/rdb2pg.par.
|
|---|
| 10 |
|
|---|
| 11 | input *file*
|
|---|
| 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.
|
|---|
| 14 |
|
|---|
| 15 | DESCRIPTION
|
|---|
| 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.
|
|---|
| 21 |
|
|---|
| 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:
|
|---|
| 26 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.