Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIm9f-0004Hq-0e for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 03:31:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIm9b-0007QR-UH for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 03:31:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIm9b-0007QK-H8 for pgsql-general@lists.postgresql.org; Tue, 23 Apr 2019 03:31:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIm9Y-0001LN-Cu for pgsql-general@postgresql.org; Tue, 23 Apr 2019 03:31:29 +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 x3N3VPGU015431; Mon, 22 Apr 2019 23:31:25 -0400 From: Tom Lane To: Soni cc: pgsql-general@postgresql.org Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184 In-reply-to: References: <3982.1555941867@sss.pgh.pa.us> Comments: In-reply-to Soni message dated "Tue, 23 Apr 2019 10:04:19 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <15429.1555990285.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 22 Apr 2019 23:31:25 -0400 Message-ID: <15430.1555990285@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Soni writes: > Here's the backtrace. Please let me know if it helps. > #4  OidFunctionCall1Coll (functionId=functionId@entry=1, > collation=collation@entry=0, arg1=arg1@entry=75471) at fmgr.c:1325 hm, there's "function 1" ... > #5  0x0000000000532054 in ProcedureCreate (procedureName= out>, procNamespace=procNamespace@entry=2200, replace=, >     returnsSet=returnsSet@entry=0 '\000', > returnType=returnType@entry=2950, proowner=10, > languageObjectId=languageObjectId@entry=13, >     languageValidator=languageValidator@entry=1, ... and that's where it's coming from. Seems like you have corrupt data in pg_language. Might be entertaining to see what "select * from pg_language" gives. regards, tom lane