Re: vacuum as flags in PGPROC

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: vacuum as flags in PGPROC
Дата
Msg-id 471F651D.9050903@enterprisedb.com
обсуждение исходный текст
Ответ на Re: vacuum as flags in PGPROC  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: vacuum as flags in PGPROC  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: vacuum as flags in PGPROC  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Alvaro Herrera wrote:
> I did it that way (i.e. added locking) and then realized that it
> shouldn't really be a problem, because the only one who can be setting
> vacuum flags is the process itself.  Other processes can only read the
> flags.

It would still be a problem if there was any other fields that were
updated by other processes, adjacent to the vacuum flags. I don't think
that's the case, however.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: vacuum as flags in PGPROC
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: vacuum as flags in PGPROC