Testing an extension against multiple versions of Postgresql

From: "Rhys A(dot)D(dot) Stewart" <rhys(dot)stewart(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Testing an extension against multiple versions of Postgresql
Date: 2019-07-13 01:55:54
Message-ID: CACg0vTkVVD6WnQ0HGu=rJBERp2W5-YvcnB+xWK3GQ0QFCo1tKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings All,

I have both postgresql versions 10 and 11 installed on my box. I'm working
on an extension and just realized that 'make install' installs the
extension to the 11 server, but 'make installcheck' runs against the 10
server (I had previously installed the extension there).

Running psql without specifying a host or port connects me to the 10
server, so I suspect that both make installcheck and psql are doing similar
things with respect to connecting to a default server.

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.

Thanks.

Rhys
Peace & Love | Live Long & Prosper

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dinesh kumar 2019-07-13 04:53:54 Re: How to run a task continuously in the background
Previous Message Inoue, Hiroshi 2019-07-13 00:53:12 Re: Postgresql and VBA - Connection Timeout