From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: plctl extension issue postgresql 11.2
Date: Tue, 26 Mar 2019 10:47:18 -0700
Message-ID: <889d0b30-73ee-2c9c-ce2b-b7dda9d96bff@aklaver.com> (raw)
In-Reply-To: <CAA2eZXzJwBGSAQ3bmyyqNNorMq9UQJop4QLSNn5+FOJDNGqujQ@mail.gmail.com>
References: <CAA2eZXzokt48JfmiO2oFgH2ibXDf+MV-OXj_8-Z2OnOOGmG2Mg@mail.gmail.com>
<58c8bb24-2c9a-6ac9-7cd3-b503b2ba3f5b@aklaver.com>
<CAA2eZXw+h_LpHtz5be1Xac=R36_p4Zd4i9_zsxC8j_P8S6cUuw@mail.gmail.com>
<871be6e8-afa2-5808-898b-79b94b9e49b5@aklaver.com>
<CAA2eZXzJwBGSAQ3bmyyqNNorMq9UQJop4QLSNn5+FOJDNGqujQ@mail.gmail.com>
On 3/26/19 10:43 AM, Prakash Ramakrishnan wrote:
> I did postgres 11.2 version using yum option this file only Missing and
> using rhel 7.5 version.
Please respond to all questions below:
YUM using what repo's?
From command line what does pg_config show?
Have you looked in:
/usr/pgsql-11/share/extension/
to see if file actually exists or that the directory exists?
>
> On Tue, Mar 26, 2019, 23:07 Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 3/26/19 10:32 AM, Prakash Ramakrishnan wrote:
> > Nope I tried that's command and getting above error control file
> missing.
>
> Well it should be a different message something like:
>
> /usr/pgsql-11/share/extension/pltctl.control": No such file or directory
>
> correct?
>
> If the above is the case then:
>
> 1) How did you install Postgres, package or source?
>
> 2) If package, from where?
>
> 3) What does pg_config show in the CONFIGURE section?
>
> >
> > On Tue, Mar 26, 2019, 22:53 Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> > <mailto:adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>>> wrote:
> >
> > On 3/26/19 8:56 AM, Prakash Ramakrishnan wrote:
> > > Hi Team,
> > >
> > > We are getting below error in production server please do
> > the needful.
> > >
> > > ==> psql
> > > psql (11.2)
> > > Type "help" for help.
> > > > AIBE01PR=# create extension plctl;
> > > > ERROR: could not open extension control file
> > > > "/usr/pgsql-11/share/extension/plctl.control": No such
> file or
> > directory
> >
> > I am guessing you actually want:
> >
> > CREATE EXTENSION pltcl;
> >
> > >
> > > RHEL-7.5
> > > --
> > >
> > >
> > > Regards,
> > > Prakash.R
> > > Postgresql DBA
> >
> >
> > --
> > Adrian Klaver
> > adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> <mailto:adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>>
> >
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, prakash.ramakrishnan.ap@nielsen.com
Subject: Re: plctl extension issue postgresql 11.2
In-Reply-To: <889d0b30-73ee-2c9c-ce2b-b7dda9d96bff@aklaver.com>
References: <CAA2eZXzokt48JfmiO2oFgH2ibXDf+MV-OXj_8-Z2OnOOGmG2Mg@mail.gmail.com> <58c8bb24-2c9a-6ac9-7cd3-b503b2ba3f5b@aklaver.com> <CAA2eZXw+h_LpHtz5be1Xac=R36_p4Zd4i9_zsxC8j_P8S6cUuw@mail.gmail.com> <871be6e8-afa2-5808-898b-79b94b9e49b5@aklaver.com> <CAA2eZXzJwBGSAQ3bmyyqNNorMq9UQJop4QLSNn5+FOJDNGqujQ@mail.gmail.com> <889d0b30-73ee-2c9c-ce2b-b7dda9d96bff@aklaver.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