Re: Run make checkinstall with configurable user.

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: mahendrakar s <mahendrakarforpg(at)gmail(dot)com>, pgsql-novice <pgsql-novice(at)lists(dot)postgresql(dot)org>
Cc: rohanforpostgres(at)gmail(dot)com
Subject: Re: Run make checkinstall with configurable user.
Date: 2023-07-28 06:24:37
Message-ID: 65bd98768e471ebd6a371c60cc482bf43a4d5f63.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mahesh Govind 2023-08-09 16:40:30 Handling large number transactions
Previous Message mahendrakar s 2023-07-28 06:06:57 Run make checkinstall with configurable user.