|
|
1.1 ! root 1: .th DESTROYDB UNIX 3/14/79 ! 2: .sh NAME ! 3: destroydb \- destroy an existing database ! 4: .sh SYNOPSIS ! 5: .bd destroydb ! 6: [ ! 7: .bd \-s ! 8: ] [ ! 9: .bd \-m ! 10: ] dbname ! 11: .sh DESCRIPTION ! 12: .it Destroydb ! 13: will remove all reference to an existing database. ! 14: The directory of the database and all files in that directory ! 15: will be removed. ! 16: .s3 ! 17: To execute this command the current user must be the ! 18: database administrator for the database in question, ! 19: or must be the \*(II superuser ! 20: and have the ! 21: .bd \-s ! 22: flag stated. ! 23: .s3 ! 24: The ! 25: .bd \-m ! 26: flag causes ! 27: .it destroydb ! 28: not to remove the ! 29: \*(UU directory. ! 30: This is useful when the directory is a separate mounted ! 31: \*(UU file system. ! 32: .sh EXAMPLE ! 33: .nf ! 34: destroydb demo ! 35: destroydb \-s erics_db ! 36: .fi ! 37: .sh FILES ! 38: \&.../data/base/* ! 39: .br ! 40: \&.../datadir/* (for compatibility with previous versions) ! 41: .sh "SEE ALSO" ! 42: .nf ! 43: creatdb(unix) ! 44: .fi ! 45: .sh DIAGNOSTICS ! 46: .in +4 ! 47: .ti -4 ! 48: invalid dbname \- the database name specified ! 49: is not a valid name. ! 50: .ti -4 ! 51: you may not reference this database \- the database may exist, ! 52: but you do not have permission to do anything with it. ! 53: .ti -4 ! 54: you may not use the ! 55: \-s ! 56: flag \- you have tried to use the ! 57: .bd \-s ! 58: flag, ! 59: but you are not the INGRES superuser. ! 60: .ti -4 ! 61: you are not the dba \- someone else created this database. ! 62: .ti -4 ! 63: database does not exist \- this database does not exist. ! 64: .in -4
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.