Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 64787B5DBD6 for ; Wed, 3 Aug 2011 15:31:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 40454-02 for ; Wed, 3 Aug 2011 18:31:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 297B2B5DBD8 for ; Wed, 3 Aug 2011 15:31:02 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p73IV1Ll021018; Wed, 3 Aug 2011 14:31:01 -0400 (EDT) To: "Gary Durbin" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6145: Drop View hangs on lock In-reply-to: <201108031707.p73H7pKj051096@wwwmaster.postgresql.org> References: <201108031707.p73H7pKj051096@wwwmaster.postgresql.org> Comments: In-reply-to "Gary Durbin" message dated "Wed, 03 Aug 2011 17:07:51 +0000" Date: Wed, 03 Aug 2011 14:31:01 -0400 Message-ID: <21017.1312396261@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.701 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.801 X-Spam-Level: X-Archive-Number: 201108/33 X-Sequence-Number: 30845 "Gary Durbin" writes: > 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. Works as expected for me. Perhaps you could provide a self-contained example? Also, "8.4" is by no means an adequate identification of the PG version. regards, tom lane