pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6145: Drop View hangs on lock
2+ messages / 2 participants
[nested] [flat]

* BUG #6145: Drop View hangs on lock
@ 2011-08-03 17:07 Gary Durbin <hacker@synchsource.com>
  2011-08-03 18:31 ` Re: BUG #6145: Drop View hangs on lock Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Gary Durbin @ 2011-08-03 17:07 UTC (permalink / raw)
  To: 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #6145: Drop View hangs on lock
  2011-08-03 17:07 BUG #6145: Drop View hangs on lock Gary Durbin <hacker@synchsource.com>
@ 2011-08-03 18:31 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-08-03 18:31 UTC (permalink / raw)
  To: Gary Durbin <hacker@synchsource.com>; +Cc: pgsql-bugs

"Gary Durbin" <hacker@synchsource.com> 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-08-03 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-08-03 17:07 BUG #6145: Drop View hangs on lock Gary Durbin <hacker@synchsource.com>
2011-08-03 18:31 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox