Re: Testing an extension against multiple versions of Postgresql

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
Cc: "Rhys A(dot)D(dot) Stewart" <rhys(dot)stewart(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Testing an extension against multiple versions of Postgresql
Date: 2019-07-13 08:15:14
Message-ID: CAKoxK+4TDyMLYLVhvs2n1BEZy1=T1LoG-Dj_fgtByfkVkTvAgA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jul 13, 2019 at 8:03 AM Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com> wrote:
> > So the questions are:
> > Can I have make install & make installcheck run against multiple versions at the same time or how do I tell the installcheck to run against the 11 server.
>
> Try setting relevant environment variables [*] for the target version before running "make installcheck".
>
> [*] https://www.postgresql.org/docs/current//libpq-envars.html
>

Aside that, a possible easy way to test something against different
PostgreSQL instance is to use something like pgenv
<https://github.com/theory/pgenv>, that is for instance used to test
sqitch.

Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-07-13 11:30:01 Re: Issue: Creating Symlink for data directory of postgresql in CentOS7
Previous Message Luca Ferrari 2019-07-13 08:12:31 Re: Issue: Creating Symlink for data directory of postgresql in CentOS7