Re: "ERROR: latch already owned" on gharial

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "ERROR: latch already owned" on gharial
Дата
Msg-id 2728962.1653682304@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "ERROR: latch already owned" on gharial  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: "ERROR: latch already owned" on gharial  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, May 27, 2022 at 10:21 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What I'd suggest is to promote that failure to elog(PANIC), which
>> would at least give us the PID and if we're lucky a stack trace.

> That proposed change is fine with me.

> As to the question of whether it's a real bug, nobody can prove
> anything unless we actually run it down.

Agreed, and I'll even grant your point that if it is an HPUX-specific
or IA64-specific bug, it is not worth spending huge amounts of time
to isolate.  The problem is that we don't know that.  What we do know
so far is that if it can occur elsewhere, it's rare --- so we'd better
be prepared to glean as much info as possible if we do get such a
failure.  Hence my thought of s/ERROR/PANIC/.  And I'd be in favor of
any other low-effort change we can make to instrument the case better.

            regards, tom lane



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

Предыдущее
От: Zhihong Yu
Дата:
Сообщение: Re: generic plans and "initial" pruning
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~