Re: elog(DEBUG2 in SpinLocked section.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: elog(DEBUG2 in SpinLocked section.
Дата
Msg-id CA+TgmoandgaD=+SznpsNEuyFPRTpAT0mGCrkMrbPr_rvL_fsFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: elog(DEBUG2 in SpinLocked section.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: elog(DEBUG2 in SpinLocked section.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Jun 3, 2020 at 12:36 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Should we think about adding automated detection of this type of
> mistake?  I don't like the attached as-is because of the #include
> footprint expansion, but maybe we can find a better way.

I think it would be an excellent idea.

Removing some of these spinlocks and replacing them with LWLocks might
also be worth considering.

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



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Bump default wal_level to logical
Следующее
От: Tom Lane
Дата:
Сообщение: Re: elog(DEBUG2 in SpinLocked section.