Re: executor relation handling

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: executor relation handling
Дата
Msg-id CA+TgmoZ9DBSqq2Oyk+w9u3gLBhzncCuB6_nfS5DKsq7PNDRpaw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: executor relation handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: executor relation handling
Список pgsql-hackers
On Thu, Oct 4, 2018 at 3:28 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm possibly confused, but I thought that the design of parallel query
> involved an expectation that workers didn't need to get their own locks.

You are, indeed, confused.  A heck of a lot of effort went into making
sure that the workers COULD take their own locks, and into trying to
make sure that didn't break anything.  That effort may or may not have
been entirely successful, but I'm pretty sure that having them NOT
take locks is going to be a lot worse.

> What we've determined so far in this thread is that workers *do* get
> their own locks (or did before yesterday), but I'd been supposing that
> that was accidental not intentional.

Nope, that was intentional.

> In any case, I definitely intend that they will be getting their own
> locks again after the dust has settled.  Panic not.

/me unloads metaphorical bazooka.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: executor relation handling
Следующее
От: Pierre Ducroquet
Дата:
Сообщение: Re: Poor plan when using EXISTS in the expression list