Well, rm is also a specific command, yet it's still a good idea to allow
for confirmations...Effects of destroydb are rather permanent ...
The reason I wanted to add this cause I intended to type destroyuser
but accidentally typed destroydb....*sigh* at least I have a backup...
Well...you can still do destroydb -y to force it...maybe building an
environment variable (something like PGFORCEDESTROY or something) would be
ok too...
=+=------------------------/\---------------------------------=+=
Igor Natanzon |**| E-mail: igor@sba.miami.edu
=+=------------------------\/---------------------------------=+=
On Sun, 1 Jun 1997, Thomas G. Lockhart wrote:
> Marc G. Fournier wrote:
> > I am including a patch for destroydb to ask for confirmation before
> > deleting databases (after I accidentally deleted mine)...destroydb -y
> > would force delete without any confirmation.
>
> Uh, "destroydb" would seem to be a specific-enough command that if you
> type it, you actually wanted to delete a database :)
>
> Would have preferred that the behavior remained as-is, myself.
>
> - Tom
>
------------------------------