On Thu, Nov 13, 2014 at 11:26 AM, Robert Haas <robertmh...@gmail.com> wrote:
>
> On Thu, Nov 13, 2014 at 3:38 AM, Jeff Davis <pg...@j-davis.com> wrote:
> > If two backends both have an exclusive lock on the relation for a join
> > operation, that implies that they need to do their own synchronization,
> > because obviously the lock manager is not doing it for them.
>
> This doesn't make sense to me.  Why would they need to synchronize
> access to a relation in order to join it?


Unfortunate typo: that was supposed to be "joint" operation, just meaning
that they are working together for something (e.g. CLUSTER, VACUUM FULL as
you suggest). Sorry for the confusion.

I meant that the backends need to divide up the work somehow. And if each
operator needs to divide up the work before operating, that means we need
to change every operator.

Regards,
     Jeff Davis

Reply via email to