Re: [HACKERS] Trouble with amcheck

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [HACKERS] Trouble with amcheck
Дата
Msg-id 20170915013128.GK4628@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Trouble with amcheck  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: [HACKERS] Trouble with amcheck  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Peter, Douglas,

* Peter Geoghegan (pg@bowt.ie) wrote:
> On Thu, Sep 14, 2017 at 5:03 PM, Douglas Doole <dougdoole@gmail.com> wrote:
> > I just cloned PostgreSQL to a new machine today (Ubuntu 17.04). "make
> > install" and "make check-world" run fine but "make installcheck-world" is
> > having trouble with amcheck:
> >
> > In contrib/amcheck/results:
> >
> > CREATE EXTENSION amcheck;
> > ERROR:  could not open extension control file
> > "/home/doole/pgCommunity/install/share/postgresql/extension/amcheck.control":
> > No such file or directory
> >
> > I expect I'm missing something in the machine set up, but I'm stumped as to
> > what.
>
> I think you need to build and install contrib, so that it is available
> to the server that you're running an installcheck against. amcheck is
> alphabetically first among contrib modules that have tests, IIRC.

Yes, I was working with someone earlier today who ran into exactly the
same issue.  If you don't 'make world' or make the individual contrib
modules, then 'make installcheck-world' isn't going to work.

I do think it'd be nice if we could provide a better error message in
such a case..

Thanks!

Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [HACKERS] Process startup infrastructure is a mess
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Clarification in pg10's pgupgrade.html step 10(upgrading standby servers)