Re: [HACKERS] 'Waiting on lock'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] 'Waiting on lock'
Дата
Msg-id 18686.1182354448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] 'Waiting on lock'  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: [HACKERS] 'Waiting on lock'  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> Is it possible for unlocking the semaphore to wake another process other than
> our own? In which case checking log_lock_waits before signalling the semaphore
> arguably locks us into having log_lock_waits be PGC_POSTMASTER.

How you figure that?

> Currently it's PGC_SIGHUP which is odd since it could have been
> USERSET in the old regime.

Actually I changed it to SUSET yesterday.  I don't see any strong reason
why we should disallow different processes having different settings;
however, if the DBA is trying to gather this info, random users
shouldn't be able to turn it off.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Preliminary GSSAPI Patches
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: [HACKERS] 'Waiting on lock'