Search Postgresql Archives

Re: SELECT Generating Row Exclusive Locks?

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

 



"Thomas F. O'Connell" <tfo@xxxxxxxxxxxx> writes:
> For instance, if a long SELECT were running against table_foo and an  
> UPDATE arrived wanting to update table_foo, I would expect to see in  
> pg_locks an entry corresponding to the SELECT with granted = true and  
> an entry corresponding to the UPDATE with granted = false.

Why would you expect to see that exactly?  SELECTs don't block UPDATEs.

			regards, tom lane


[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