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

Поиск
Список
Период
Сортировка
От Don Baccus
Тема Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Дата
Msg-id 3.0.1.32.19990612142747.00774d08@mail.pacifier.com
обсуждение исходный текст
Ответ на Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] Re: [PORTS] Patch for m68k architecture