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

From Tom Lane
Subject Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Date
Msg-id 18775.943927769@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can someone comment on where we are on this?

Problem's gone: you cannot destroy a DB containing active backends
anymore.  That may not be quite the solution Edmund wanted ;-), but
it's effective.

>> Create and fill a database. Connect to this database with psql
>> and perform some query. Without disconnecting destroy and re-create 
>> the database but insert this time different data. Performing
>> the same query a second time will retrieve the same data as before 
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Bizarre coding in _bt_binsrch
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Bizarre coding in _bt_binsrch