Re: Intermittent "cache lookup failed for type" buildfarm failures - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Intermittent "cache lookup failed for type" buildfarm failures
Date
Msg-id 20160816190316.GA838146@alvherre.pgsql
Whole thread Raw
In response to Re: Intermittent "cache lookup failed for type" buildfarm failures  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: Declarative partitioning - another take
Next
From: Shay Rojansky
Date:
Subject: Re: Slowness of extended protocol