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 1hIkye-0000or-Rz for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 02:16:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIkyd-0005hw-IV for pgsql-general@arkaria.postgresql.org; Tue, 23 Apr 2019 02:16:07 +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 1hIkyd-0005co-1L for pgsql-general@lists.postgresql.org; Tue, 23 Apr 2019 02:16:07 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIkyX-00084H-6p for pgsql-general@postgresql.org; Tue, 23 Apr 2019 02:16:05 +0000 Received: by mail-pf1-x441.google.com with SMTP id c207so6615357pfc.7 for ; Mon, 22 Apr 2019 19:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=g85zgeFEct64iB/E4cyM0CZhaKAKQVcGCu8JJ1M1RPo=; b=aO4gqHAQ89ledXu6adQp9yp8fcHv8zrvtT4H5gIe0Fi5Gm0Y+jrJV1XWd0B3gdyWmj oWOVSedV5oISdANPAFia7xrDDaIU5kCliCyeecCVOKH/pXVePcqxE3dHygudQRNl2HeA luDztQeZZWtsJ52sAAT3b8THdwpmKWyQVQfvSfzdI22zQeZ+Mw1TY8iC3MXtvE9tqm8a iYujVlHMYcVwc6lT3V9b/KV6qExyAJLW08QE1Qg2HgXCnkVKMZ31whkWvABAFTBLyoxc SVVIeXgrawEfUBTstrQJ7FbYMhBI/P8cfagnjbpaita6DS+bTTret1oRglXbD6mbpshY H/wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=g85zgeFEct64iB/E4cyM0CZhaKAKQVcGCu8JJ1M1RPo=; b=tb7PATEy3xHKLDV4dCFn7bJDPLkzD5xeflHRPP1zn54biISqzu+JtMvXx/o6oPup4R nzF4PT8pp5lYf3yAeBdf2PBGgQshoAhv2S/kHqoIgSBY4Kzp2aDsDR9p0aX6kUbfrXhY IN0bygEObZovJpvj6c11IgFmEnTe0K+TccIbWIVXRKDBeDrtHcBkjVUDzU0BC+JuKwoE +CmaL1nXyooads9cRz4etGPachlOg7K0hK4H+X9Y3YTIusAMOsULCZliu+b+aKNTphkE TzQg/4QcuBjYAWL2+WxCuiM1Vqrfg0/AJ0PC+SwMYFnT8WOKJnVRwTQQ/rYdGvi38cUo kHCg== X-Gm-Message-State: APjAAAUvREmYddfkVf337ScU48qpnTOTliNM55rSAqQWb4mikKb84Jlm CaHuMkZFb1Lf93QJVRyA6xVAZCba X-Google-Smtp-Source: APXvYqwslu+Y8AHw2r+/aKDQkmAUwdvICSdacWzAOxMwtJoxXDeMPuRQXPM4houGypeySJlsF7Z7mQ== X-Received: by 2002:aa7:818a:: with SMTP id g10mr4333856pfi.178.1555985759164; Mon, 22 Apr 2019 19:15:59 -0700 (PDT) Received: from [192.168.1.11] ([36.79.250.46]) by smtp.gmail.com with ESMTPSA id g4sm23014021pfm.115.2019.04.22.19.15.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Apr 2019 19:15:58 -0700 (PDT) From: Soni To: Adrian Klaver Cc: pgsql-general@postgresql.org Subject: Re: cache lookup failed for function 1 on fmgr_info_cxt_security, fmgr.c:184 References: Message-ID: <764968eb-41e2-5698-b36b-7425e69b2cc7@gmail.com> Date: Tue, 23 Apr 2019 09:15:55 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I install the contrib module from the postgres repo using yum install. creating extension run as postgres superuser. Thanks, Soni 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 >> >> >> > >