Re: Minor fix in lwlock.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Minor fix in lwlock.c
Дата
Msg-id 9474.1112939289@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Minor fix in lwlock.c  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Список pgsql-patches
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> Another alternative might use PG_TRY/PG_CATCH to make sure that the
> semaphore is released. But seems this costs too much ...

I agree.  LWLockAcquire is a hot-spot already.

Maybe we *should* make it a PANIC.  Thoughts?

            regards, tom lane

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Minor fix in lwlock.c
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Minor fix in lwlock.c