Re: Ye olde drop-the-database-you-just-left problem - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Ye olde drop-the-database-you-just-left problem
Date
Msg-id 87wsyqhylx.fsf@oxford.xeocode.com
Whole thread Raw
In response to Ye olde drop-the-database-you-just-left problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Ye olde drop-the-database-you-just-left problem
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> However, it suddenly struck me that we could probably make most of the
> problem go away if we put that same wait into DROP DATABASE itself --- that
> is, if we see other backends in the target DB, sleep for a second or two and
> then recheck before erroring out.

Is there any way to tell, perhaps from the command string, that the process is
about to start exiting? What stage of exiting is it that we think the kernel
goes to lunch?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: libedit-preferred by default
Next
From: Bruce Momjian
Date:
Subject: Re: Padding on 64-bit