Run make checkinstall with configurable user.

Поиск
Список
Период
Сортировка
Искать

Run make checkinstall with configurable user.

От:
mahendrakar s <mahendrakarforpg@gmail.com>
Дата:
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=


Thanks,
Mahendrakar.


Re: Run make checkinstall with configurable user.

От:
Laurenz Albe <laurenz.albe@cybertec.at>
Дата:
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=

For extensions built using PGXS, you can use:

 PGUSER=myuser make installcheck

Yours,
Laurenz Albe


FAQ