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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Date: 1999-06-13 00:57:37
Message-ID: 199906130057.UAA15817@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Oleg Bartunov <oleg(at)sai(dot)msu(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-06-13 09:11:03 Re: new patches
Previous Message Bruce Momjian 1999-06-13 00:54:16 Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)