Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZjRk-00042p-Mv for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Aug 2016 18:50:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZjRk-0006WS-9C for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Aug 2016 18:50:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZjQM-0004u1-SW for pgsql-hackers@postgresql.org; Tue, 16 Aug 2016 18:49:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZjQJ-00040W-IB for pgsql-hackers@postgresql.org; Tue, 16 Aug 2016 18:49:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7GInDln012890; Tue, 16 Aug 2016 14:49:13 -0400 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: Intermittent "cache lookup failed for type" buildfarm failures In-reply-to: References: <5983.1471371667@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 16 Aug 2016 14:41:47 -0400" Date: Tue, 16 Aug 2016 14:49:13 -0400 Message-ID: <12889.1471373353@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Tue, Aug 16, 2016 at 2:21 PM, Tom Lane wrote: >> I grepped through the buildfarm logs and determined that there are exactly >> zero similar failures going back as far as 2016-04-01. Now that we've had >> four in a week, it seems certain that this indicates a bug introduced at >> most a few days before Aug 9. A quick trawl through the git logs finds >> no obvious candidates, though. > Well, it would have to be something that was back-patched to 9.5, > right? That doesn't leave too many candidates. It's possible that the bug existed longer and was only exposed by a seemingly unrelated change (eg, a test timing change, since it certainly looks like it might be timing dependent). That's little help though :-( > 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. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers