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 1hIlkK-00030P-C8 for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 03:05:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIlkJ-00046l-2M for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 03:05:23 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIlkI-00046e-Ot for pgsql-general@lists.postgresql.org; Tue, 23 Apr 2019 03:05:22 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIlkG-00072Q-JX for pgsql-general@postgresql.org; Tue, 23 Apr 2019 03:05:22 +0000 Received: by mail-pl1-x641.google.com with SMTP id y6so6760388plt.1 for ; Mon, 22 Apr 2019 20:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=1Lw7U+dHk2qIaogCb3Jw3KEz1k9axiw526S3D89JRWU=; b=LWMZZ6WIT2fSR4DhGRmAhknwrnjmHK7dtZTCklSiEbSYE9BDUCn+TgIJCJMPDJj7Ow K0Gs+Lrr5fkoaFSNFJcWkRH5bDMur0BbLovbyWBpg5d8vMMMsbUYZ4FMZNyddjX9nft/ 56LU3YFBwQJoillf4Wuf3qb92BSgKTmedm1kV2PQLSwXqonKB9RRIJzAtMpGTkbXyc03 H+CDZw5bPScAJtEACTcnmKk8XxJ7g4A+LPyiHQ8Fit5ExhJ+COsqddeMphewo4QC+L6m SF7kr8fkVJ5dCm5xWy8QxegNjy3eCb50SXbTwch4y0oWK9+bYeA0uTmRoNHfyGtdUoRq hbOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=1Lw7U+dHk2qIaogCb3Jw3KEz1k9axiw526S3D89JRWU=; b=mttr05jU1q426V0xFh+6QJ2eKLMfuJwiABKJoyjCKr52x/WBy51swKe21AOUMQeRm3 azYeV1rt/bpjlo4yMkAjpS7U29lhDGkndittauJ328TA/Qa+D6ommjwr+mXl90xI/+qn BASGzDIj1lNVDgjS+TV6q2z75FkF3cpO3YtVapAUKZrU35ueLKTekmqS4D+Ql3ZMlCfT cPx2l+zC1DpF9lxA5RqZPDBVMCPgsuz4Js6IfkCW5rKbr2KvxewPPjGVNc3OiGd0wtEp /via6pHulcUq2uraLryylNyKynTb3xM2ZER9cv+0uoey4B8tJPw3tneAtEBndQfox8G/ AXNw== X-Gm-Message-State: APjAAAUnFlVNxr66McSt7sFBSlB1fx1L1NYmsL2QWoAQW6QrPnDzDiGk 3/QF0GbexEblBP12ZlSHc/I= X-Google-Smtp-Source: APXvYqwUlv5gVhd0WIaAL3PMM5ANuxbWqIam/JLanHGwWADI2o9T2STNkFSPosABnC/a6MSpShui2A== X-Received: by 2002:a17:902:e084:: with SMTP id cb4mr23707675plb.77.1555988718676; Mon, 22 Apr 2019 20:05:18 -0700 (PDT) Received: from roblaptop (203-219-76-220.tpgi.com.au. [203.219.76.220]) by smtp.gmail.com with ESMTPSA id f2sm24555603pgc.30.2019.04.22.20.05.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2019 20:05:18 -0700 (PDT) Message-ID: <2451b7f700b06dd941def476a7a0b194fe8a4145.camel@gmail.com> Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184 From: rob stone To: Soni , Adrian Klaver Cc: pgsql-general@postgresql.org Date: Tue, 23 Apr 2019 13:05:13 +1000 In-Reply-To: <764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com> References: <764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 > > > > > > > > > > >