From: rob stone <floriparob@gmail.com>
To: Soni <diptatapa@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org
Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184
Date: Tue, 23 Apr 2019 13:05:13 +1000
Message-ID: <2451b7f700b06dd941def476a7a0b194fe8a4145.camel@gmail.com> (raw)
In-Reply-To: <764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com>
References: <b7082510-b2a1-acbe-dc79-d4492eccacc4@gmail.com>
<e18b015e-fb56-0643-80bf-05ff5164e935@aklaver.com>
<764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com>
On Tue, 2019-04-23 at 09:15 +0700, Soni wrote:
> I install the contrib module from the postgres repo using yum
> install.
> creating extension run as postgres superuser.
>
> Thanks,
> Soni
>
1) Is there a uuid-ossp.control file sitting in the $SHAREDIR/extension
path?
2) Does its name exist in pg_available_extensions?
3) Is there a uuid-ossp.so in the lib path?
My 2 cents.
Cheers
Rob
> On 22/04/2019 21:05, Adrian Klaver wrote:
> > On 4/21/19 9:14 PM, Soni wrote:
> > > Hello All,
> > >
> > > CentOS Linux release 7.5.1804 (Core)
> > > Postgres 10.7.
> > >
> > > 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" ;
> > > I tried reinstall contrib module and even all postgres component,
> > > but
> > > still no luck.
> > > Try restarting the server also but no luck.
> > > Any idea how to resolve this ?
> >
> > How and where are you installing Postgres and -contrib from?
> >
> > Is the user you are running CREATE EXTENSION a superuser?
> >
> > > Thanks,
> > > Soni
> > >
> > >
> > >
>
>
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: floriparob@gmail.com, diptatapa@gmail.com, adrian.klaver@aklaver.com
Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184
In-Reply-To: <2451b7f700b06dd941def476a7a0b194fe8a4145.camel@gmail.com>
References: <b7082510-b2a1-acbe-dc79-d4492eccacc4@gmail.com> <e18b015e-fb56-0643-80bf-05ff5164e935@aklaver.com> <764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com> <2451b7f700b06dd941def476a7a0b194fe8a4145.camel@gmail.com>
* 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