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

From Don Baccus
Subject Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Date
Msg-id 3.0.1.32.19990612142747.00774d08@mail.pacifier.com
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
At 04:58 PM 6/12/99 -0400, Tom Lane wrote:

>If you have an active website using a database, what are you doing
>destroying the database?  We're not talking about dropping a temp table
>here...  I find it hard to imagine what you'd use this "feature" for,
>except for shooting yourself in the foot.

Or upgrading Postgres :)

Just joking...Tom, you're absolutely right, by definition a web
site being backed by a db that's frequently created and destroyed
is not a 24/7 site.  It it's not 24/7, then you can knock it down,
destroy and re-create the database, then coax the postmaster and
webserver back into service.

Most active web services will be denying some level of service
if you simply drop a (non-temp) table.  The destroy the whole db?

Omigosh!



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, and other goodies at
http://donb.photo.net


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] Re: [PORTS] Patch for m68k architecture