public inbox for [email protected]  
help / color / mirror / Atom feed
Run make checkinstall with configurable user.
2+ messages / 2 participants
[nested] [flat]

* Run make checkinstall with configurable user.
@ 2023-07-28 06:06  mahendrakar s <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: mahendrakar s @ 2023-07-28 06:06 UTC (permalink / raw)
  To: pgsql-novice <[email protected]>; +Cc: [email protected]

Hi,

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>


Thanks,
Mahendrakar.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Run make checkinstall with configurable user.
@ 2023-07-28 06:24  Laurenz Albe <[email protected]>
  parent: mahendrakar s <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2023-07-28 06:24 UTC (permalink / raw)
  To: mahendrakar s <[email protected]>; pgsql-novice <[email protected]>; +Cc: [email protected]

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-07-28 06:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28 06:06 Run make checkinstall with configurable user. mahendrakar s <[email protected]>
2023-07-28 06:24 ` Laurenz Albe <[email protected]>

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