home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- INGRES(UNIX) 3/14/79 INGRES(UNIX)
-
-
-
- NAME
- ingres - INGRES relational data base management system
-
- SYNOPSIS
- _i_n_g_r_e_s [ _f_l_a_g_s ] dbname [ process_table ]
-
- DESCRIPTION
- This is the UNIX command which is used to invoke INGRES.
- Dbname is the name of an existing data base. The optional
- flags have the following meanings (a ``+_'' means the flag
- may be stated ``+_x'' to set option _x or ``-_x'' to clear op-
- tion _x. ``-'' alone means that ``-_x'' must be stated to get
- the _x function):
-
- +_U Enable/disable direct update of the system rela-
- tions and secondary indicies. You must have the
- 000004 bit in the status field of the users file
- set for this flag to be accepted. This option is
- provided for system debugging and is strongly
- discouraged for normal use.
- -uname Pretend you are the user with login name _n_a_m_e
- (found in the users file). If _n_a_m_e is of the form
- :_x_x, _x_x is the two character user code of a user.
- This may only be used by the DBA for the database
- or by the INGRES superuser.
- -cN Set the minimum field width for printing character
- domains to _N. The default is 6.
- -ilN Set integer output field width to _N. _l may be 1,
- 2, or 4 for i1's, i2's, or i4's repectively.
- -flxM.N Set floating point output field width to _M charac-
- ters with _N decimal places. _l may be 4 or 8 to
- apply to f4's or f8's respectively. _x may be _e,
- _E, _f, _F, _g, _G, _n, or _N to specify an output for-
- mat. _E is exponential form, _F is floating point
- form, and _G and _N are identical to _F unless the
- number is too big to fit in that field, when it is
- output in _E format. _G format guarantees decimal
- point alignment; _N does not. The default format
- for both is _n_1_0._3.
- -vX Set the column seperator for retrieves to the ter-
- minal and print commands to be _X. The default is
- vertical bar.
- -rM Set modify mode on the _r_e_t_r_i_e_v_e command to _M. _M
- may be _i_s_a_m, _c_i_s_a_m, _h_a_s_h, _c_h_a_s_h, _h_e_a_p, _c_h_e_a_p,
- _h_e_a_p_s_o_r_t, or _c_h_e_a_p_s_o_r_t, for ISAM, compressed ISAM,
- hash table, compressed hash table, heap,
- compressed heap, sorted heap, or compressed sorted
- heap. The default is ``cheapsort''.
- -nM Set modify mode on the _i_n_d_e_x command to _M. _M can
- take the same values as the -_r flag above. De-
- fault is ``isam''.
- +_a Set/clear the autoclear option in the terminal
- monitor. It defaults to set.
- +_b Set/reset batch update. Users must the 000002 bit
- set in the status field of the users file to clear
- this flag. This flag is normally set. When
- clear, queries will run slightly faster, but no
- recovery can take place. Queries which update a
- secondary index automatically set this flag for
- that query only.
- +_d Print/don't print the dayfile. Normally set.
- +_s Print/don't print any of the monitor messages, in-
- cluding prompts. This flags is normally set. If
- cleared, it also clears the -_d flag.
- +_w Wait/don't wait for the database. If the +_w flag
- is present, INGRES will wait if certain processes
- are running (purge,restore, and/or sysmod) on the
- given data base. Upon completion of those
- processes INGRES will proceed. If the -_w flag is
- present, a message is returned and execution
- stopped if the data base is not available. If the
- +__w flag is omitted and the data base is unavail-
- able, the error message is returned if INGRES is
- running in foreground (more precisly if the stan-
- dard input is from a terminal), otherwise the wait
- option is invoked.
-
- _P_r_o_c_e_s_s__t_a_b_l_e is the pathname of a UNIX file which may be
- used to specify the run-time configuration of INGRES. This
- feature is intended for use in system maintenance only, and
- its unenlightened use by the user community is strongly
- discouraged.
-
- Note: It is possible to run the monitor as a batch-
- processing interface using the `<', `>' and `|' operators of
- the UNIX shell, provided the input file is in proper
- monitor-format.
-
- EXAMPLE
- ingres demo
- ingres -d demo
- ingres -s demo < batchfile
- ingres -f4g12.2 -i13 +b -rhash demo
-
- FILES
- .../files/users - valid INGRES users
- .../data/base/* - data bases
- .../datadir/* - for compatability with previous versions
- .../files/proctab8 - runtime configuration file
-
-
- SEE ALSO
- monitor(quel)
-
- DIAGNOSTICS
- Too many options to INGRES - you have stated too many flags
- as INGRES options.
- Bad flag format - you have stated a flag in a format which
- is not intelligible, or a bad flag entirely.
- Too many parameters - you have given a database name, a pro-
- cess table name, and ``something else'' which INGRES
- doesn't know what to do with.
- No database name specified
- Improper database name - the database name is not legal.
- You may not access database _n_a_m_e - according to the users
- file, you do not have permission to enter this database.
- You are not authorized to use the _f_l_a_g flag - the flag
- specified requires some special authorization, such as a
- bit in the users file, which you do not have.
- Database _n_a_m_e does not exist
- You are not a valid INGRES user - you have not been entered
- into the users file, which means that you may not use
- INGRES at all.
- You may not specify this process table - special authoriza-
- tion is needed to specify process tables.
- Database temporarily unavailable - someone else is currently
- performing some operation on the database which makes it
- impossible for you to even log in. This condition
- should disappear shortly.
-
-
-