Skip site navigation (1) Skip section navigation (2)

Re: Ye olde drop-the-database-you-just-left problem

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Ye olde drop-the-database-you-just-left problem
Date: 2007-05-30 19:59:06
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2007-05-30 20:00:40
Subject: Re: Padding on 64-bit
Previous:From: Neil ConwayDate: 2007-05-30 19:04:36
Subject: Re: libedit-preferred by default

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group