Re: BUG #3548: When quickly switching between databases the server lags behind

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Heyder" <Daniel(dot)Heyder(at)comsoft(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3548: When quickly switching between databases the server lags behind
Date: 2007-08-17 16:29:53
Message-ID: 7217.1187368193@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Daniel Heyder" <Daniel(dot)Heyder(at)comsoft(dot)de> writes:
> when I do quick PQconnectdb give the connection something to do PQfinish the
> connection and PQconnectdb to another database the database server does not
> keep up, neither does PQconnectdb or PQfinish block until the work is
> complete. This is annoying when I want to delete the still working database.

As of 8.3, DROP DATABASE will wait a little bit to see if conflicting
sessions terminate.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2007-08-17 17:17:45 Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Previous Message Peter Koczan 2007-08-17 16:19:44 Re: BUG #3504: Some listening sessions never return from writing, problems ensue