BUG #6145: Drop View hangs on lock

From: "Gary Durbin" <hacker(at)synchsource(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6145: Drop View hangs on lock
Date: 2011-08-03 17:07:51
Message-ID: 201108031707.p73H7pKj051096@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6145
Logged by: Gary Durbin
Email address: hacker(at)synchsource(dot)com
PostgreSQL version: 8.4
Operating system: Linux
Description: Drop View hangs on lock
Details:

Drop view tries to get an exclusive lock on a view. If the view is in use
it waits. But when the connection using the view ends the drop does not
continue. The request for exclusive lock on the view does not show up in
the lock list.

We can cancel the transaction and rerun when the view is not in use and it
completes.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-08-03 18:31:01 Re: BUG #6145: Drop View hangs on lock
Previous Message Kevin Grittner 2011-08-03 16:36:55 Re: BUG #6143: connection problem