gnue-schema man page

gnue-schema — gnue-schema


gnue-schema [ options ] file [, file, ...]


Import GNUe Schema Definition files into a given connection


--connection <connectionname>, -c

Use the connection <connectionname> for creating the schema

--connections <location>

Specifies the location of the connection definition file. <location>  may specify a file name (/usr/local/gnue/etc/connections.conf),or a  URL location (http://localhost/connections.conf).If this option is  not specified, the environent variable GNUE_CONNECTIONS is checked. If neither of them is set, "/home/reinhard/gnue/etc/connections. conf" is used as a default.

--createdb, -d

If this option is set, the database will be created before any  schema creation is done. There must be an owner or a username either  from the given connection-configuration or from the command line.  This user becomes the owner of the database and will be implicitly  created.

--debug-file <filename>

Sends all debugging messages to a specified file (e.g.,  "--debug-file trace.log" sends all output to "trace.log")

--debug-level <level>

Enables debugging messages.  Argument specifies the level of  messages to display (e.g., "--debug-level 5" displays all  debugging messages at level 5 or below.)

--file-only, -f

If this flag is set, only code is sent to the output file and the  schema is not created automatically.


Displays this help screen.


Displays a list of valid configuration file entries, their purpose,  and their default values.


Display help information related to database connections, including  a list of available drivers.


Display all options of interest to core developers.

--mode <both|schema|data>, -m

Mode of operation. If mode is 'schema', only schema creation is done.
If mode is 'data' only data integration is done.

--output <filename>, -o

Also send the code for creating the schema to this file.

--owner <owner>, -O

If the database is to be created this will be its owner.

--ownerpassword <ownerpwd>, -P

If the database is to be created this will be the password used for  the database owner.

--password <password>, -p

Set the password to connect to the database.


Displays no output at all.

--username <user>, -u

Set the username to connect to the database. If the database is to  be created and no owner (--owner) is specified, this username will  be it's owner.


Displays the version information for this program.

--yes, -y

If this option is set, the program runs in batch-mode, which means  all questions are answered with 'yes' automatically.

--debug-gc <logfile>, -g

Debug Python's garbage collection on a SIGUSR1. If the argument is  empty 'garbage.log' will be used as logfile.


All python imports are logged to stdout


Run the app inside Python's built-in debugger


Run Python's built-in profiler and display the resulting run  statistics.

--selfdoc <type[,subtype]>

Generates self-documentation.

--selfdoc-file <filename>

Specifies the filename that selfdoc should write to. If not provided,
output is sent to stdout.

--selfdoc-format <format>

Format to output the self-documentation in. Supported formats are  dependent on the type of selfdoc being created.

--selfdoc-options <options>

Options specific to individual selfdoc types.


GNU Enterprise Project <>


Please report any bugs to Include a complete, self-contained example that will allow the bug to be reproduced, and say which version of this tool you are using.


12 July 2007 gnue-schema