"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