pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
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
Date: Fri, 28 Jun 2019 10:25:40 -0400
Message-ID: <12540.1561731940@sss.pgh.pa.us> (raw)
In-Reply-To: <15880-845b4af7ec0bf949@postgresql.org>
References: <15880-845b4af7ec0bf949@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> 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=# CREATE EXTENSION pgagent;
> ERROR:  extension "pgagent" has no installation script nor update path for
> 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





view thread (2+ messages)

Message-ID: <12540.1561731940@sss.pgh.pa.us>
Permalink:  ../12540.1561731940@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12540.1561731940@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shiwangini.shishulkar@webgility.com
  Subject: Re: BUG #15880: ERROR: could not open extension control file "/usr/pgsql-11/share/extension/pgagent.control": No su
  In-Reply-To: <12540.1561731940@sss.pgh.pa.us>
  References: <15880-845b4af7ec0bf949@postgresql.org> <12540.1561731940@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