Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Date
Msg-id 199906130057.UAA15817@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Oleg Bartunov <oleg@sai.msu.su> writes:
> >> You cannot destroy a DB while there are backends connected to it;
> >> all hell breaks loose if you do.  See thread "How to destroy your entire
> >> Postgres installation" in pg-hackers in late Sept. 1998.
> 
> > I did it without any problem :-)
> 
> You were lucky.  I suffered severe database corruption in *other*
> databases when I did it by accident last year.

Destroydb is reworked in 6.5 because it flushes all its buffers.  I
specifically fixed something like this.



--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Next
From: "David R. Favor"
Date:
Subject: PostgreSQL 6.5beta 3 broken - typeidTypeRelid error