Search Postgresql Archives

Re: Waiting for select

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marc Munro <marc@xxxxxxxxxxxx> writes:
> Can someone explain this?  I seem to have a query which is being blocked
> by a lock.  I was under the impression that selects are never blocked.

AccessExclusiveLock blocks anything.

> A query of blocking locks shows this:

>           object           | trans | pid  |        mode         | blocker
> ---------------------------+-------+------+---------------------+---------
>  testdb.address_type       |       | 5754 | AccessExclusiveLock |        
>  testdb.address_type       |       | 5987 | AccessShareLock     |    5754

So what's process 5754 doing?

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux