home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- PURGE(UNIX) 3/14/79 PURGE(UNIX)
-
-
-
- NAME
- purge - destroy all expired and temporary relations
-
- SYNOPSIS
- _p_u_r_g_e [ -_f ] [ -_p ] [ -_a ] [ -_s ] [ +__w ] [ database ... ]
-
- DESCRIPTION
- _P_u_r_g_e searches the named databases deleting system temporary
- relations. When using the -_p flag, expired user relations
- are deleted. The -_f flag will cause unrecognizable files to
- be deleted, normally purge will just report these files.
-
- Only the database administrator (the DBA) for a database may
- run purge, except the INGRES superuser may purge any data-
- base by using the -_s flag.
-
- If no databases are specified all databases for which you
- are the DBA will be purged. All databases will be purged if
- the INGRES superuser has specified the -_s flag. The -_a flag
- will cause purge to print a message about the pending opera-
- tion and execute it only if the response if a `y'. Any oth-
- er response is interpreted as ``no''.
-
- _P_u_r_g_e will lock the data base while it is being processed,
- since errors may occur if the database is active while purge
- is working on the database. If a data base is busy _p_u_r_g_e
- will report this and go on to the next data base, if any.
- If standard input is not a terminal _p_u_r_g_e will wait for the
- data base to be free. If -_w flag is stated _p_u_r_g_e will not
- wait, regardless of standard input. The +_w flag causes
- _p_u_r_g_e to always wait.
-
- EXAMPLES
- purge -p +w tempdata
- purge -a -f
-
- SEE ALSO
- save(quel), restore(unix)
-
- DIAGNOSTICS
- who are you? - you are not entered into the users file.
- not ingres superuser - you have tried to use the -_s flag but
- you are not the INGRES superuser.
- you are not the dba - you have tried to purge a database for
- which you are not the DBA.
- cannot access database - the database does not exist.
-
- BUGS
- If no database names are given, only the databases located
- in the directory _d_a_t_a/_b_a_s_e are purged, and not the old data-
- bases in _d_a_t_a_d_i_r. Explicit database names still work for
- databases in either directory.
-
-
-