From: Tom Lane <tgl@sss.pgh.pa.us>
To: Soni <diptatapa@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184
Date: Mon, 22 Apr 2019 10:04:27 -0400
Message-ID: <3982.1555941867@sss.pgh.pa.us> (raw)
In-Reply-To: <b7082510-b2a1-acbe-dc79-d4492eccacc4@gmail.com>
References: <b7082510-b2a1-acbe-dc79-d4492eccacc4@gmail.com>
Soni <diptatapa@gmail.com> writes:
> When "create extension "uuid-ossp"", I got :
> 2019-04-22 02:41:53.323 UTC [10305] XX000ERROR: XX000: cache lookup
> failed for function 1
> 2019-04-22 02:41:53.323 UTC [10305] XX000LOCATION:
> fmgr_info_cxt_security, fmgr.c:184
> 2019-04-22 02:41:53.323 UTC [10305] XX000STATEMENT: create extension
> "uuid-ossp" ;
That is just bizarre. uuid-ossp's installation script does nothing
beyond a few simple CREATE FUNCTION commands, so it's really hard to
see how you could be getting to an incorrect function call.
Do you perhaps have any other extensions installed that could be
running add-on code during DDL commands? I'm thinking of pgaudit
or auto_explain or the like. If so, try disabling those to see
if the problem goes away.
If that's not it, could we trouble you to get a stack trace of
this problem? Set a breakpoint at errfinish, run the CREATE
EXTENSION, and when it stops send us the output of "bt".
(Make sure that fmgr_info_cxt_security appears one or two levels
down in the trace, else you stopped at the wrong message output.)
https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, diptatapa@gmail.com
Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184
In-Reply-To: <3982.1555941867@sss.pgh.pa.us>
References: <b7082510-b2a1-acbe-dc79-d4492eccacc4@gmail.com> <3982.1555941867@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox