public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: mahendrakar s <[email protected]>
To: pgsql-novice <[email protected]>
Cc: [email protected]
Subject: Re: Run make checkinstall with configurable user.
Date: Fri, 28 Jul 2023 08:24:37 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CABkiuWrj2FTGER=NHh-RvXFCqo=xyS8WXQ6CFBwG8sgDxNjyGQ@mail.gmail.com>
References: <CABkiuWrj2FTGER=NHh-RvXFCqo=xyS8WXQ6CFBwG8sgDxNjyGQ@mail.gmail.com>

On Fri, 2023-07-28 at 11:36 +0530, mahendrakar s wrote:
> Is there a way to run the make checkinstall for 3rd party extensions
> with a configurable user? Specifically regression tests of the
> extension.
> Basically, I want the regression tests to be run as other user than
> the super user.
> 
> I'm looking for something like this:
> 
> make checkinstall PG_USER=<otheruser>

For extensions built using PGXS, you can use:

 PGUSER=myuser make installcheck

Yours,
Laurenz Albe






view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Run make checkinstall with configurable user.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox