The prschema utility may be used to create a schema file from
a database.
usage: prschema [options] database
options:
-help - show usage (this list)
-u user - set user name
-p pswd - set user password
-d flags - debug flags
-T - TurboIMAGE compatibility
-B - Eloquence backwards compatibility
The database schema is output to stdout.
The options are:
- -help
- The -help option displays a brief help text.
- -u user
- The -u option specifies the database user (or a file
holding the database user and/or password).
Defaults to the public user unless a default user is
specified with the EQ_DBUSER
environment variable.
- -p password
- The -p option may be used to specify the password
for the database user (or a file holding the password).
If not specified, the password is obtained using the
EQ_DBUSER
and/or EQ_DBPASSWORD
environment variables.
- -T
- The -T option creates a TurboIMAGE compatible schema file.
- -B
- The -B option creates a schema file that is compatible
with historic Eloquence versions.
- -d flags
- The -d option specifies debug flags and is normally not used.
prschema sample > sample.schema
schema utility
|