BUG #6145: Drop View hangs on lock - Mailing list pgsql-bugs

From Gary Durbin
Subject BUG #6145: Drop View hangs on lock
Date
Msg-id 201108031707.p73H7pKj051096@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #6145: Drop View hangs on lock
List pgsql-bugs
The following bug has been logged online:

Bug reference:      6145
Logged by:          Gary Durbin
Email address:      hacker@synchsource.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.

pgsql-bugs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: BUG #6143: connection problem
Next
From: Tom Lane
Date:
Subject: Re: BUG #6145: Drop View hangs on lock