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 1hgrov-0008Cd-Rx for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2019 14:25:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgrou-0000Ur-GB for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2019 14:25:44 +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 1hgrou-0000Ni-3h for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2019 14:25:44 +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 1hgror-0001rh-Mg for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2019 14:25:43 +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 x5SEPe5m012541; Fri, 28 Jun 2019 10:25:40 -0400 From: Tom Lane To: shiwangini.shishulkar@webgility.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15880: ERROR: could not open extension control file "/usr/pgsql-11/share/extension/pgagent.control": No su In-reply-to: <15880-845b4af7ec0bf949@postgresql.org> References: <15880-845b4af7ec0bf949@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 28 Jun 2019 10:00:52 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12539.1561731940.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Jun 2019 10:25:40 -0400 Message-ID: <12540.1561731940@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > To implement scheduling, we need use pgagent. For that, extension from > 'https://ftp.postgresql.org/pub/pgadmin/pgagent/pgAgent-4.0.0-Source.tar= .gz'. > And unzipped it to the location, from where it picks. I don't know much about pgagent, but I seriously doubt that "untar the source code into the installation directory" is the correct build process for it. There's probably a README file or some other documentation explaining what you should do instead. > postgres=3D# CREATE EXTENSION pgagent; > ERROR: extension "pgagent" has no installation script nor update path f= or > version "${MAJOR_VERSION}.${MINOR_VERSION}" > The last line error message i received which i'm not able to interpret. "${MAJOR_VERSION}.${MINOR_VERSION}" is what it's seeing as the default version in pgagent.control. This reinforces the idea that what you've installed is some precursor file and not what's intended to be the built-and-installed contents of the extension. regards, tom lane