Re: Intermittent "cache lookup failed for type" buildfarm failures

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Intermittent "cache lookup failed for type" buildfarm failures
Дата
Msg-id 20160816190316.GA838146@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Intermittent "cache lookup failed for type" buildfarm failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:

> > It would sure be nice if those cache lookup failure messages printed
> > the file and line number.  I wonder if we could teach psql to always
> > treat the VERBOSITY as verbose when the error code is XX000.
> 
> I looked around when I saw the earlier ones of these, and had more or less
> convinced myself that the errors were probably coming from one of the
> lsyscache.c convenience subroutines.  If that's true, we'd need a stack
> trace to have much hope of identifying the cause.

Maybe we can have a code path that calls backtrace() somewhere in
errfinish, for platforms that support that.  At least grouse uses gcc,
so I suppose it must also use glibc.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Declarative partitioning - another take
Следующее
От: Shay Rojansky
Дата:
Сообщение: Re: Slowness of extended protocol