Re: Commands linked to pg_wrapper not working with non-root users

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Jonathan Leroy - Inikup <jonathan(at)inikup(dot)com>
Cc: Tim Cross <theophilusx(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Commands linked to pg_wrapper not working with non-root users
Date: 2018-04-12 00:05:24
Message-ID: 1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/11/2018 04:49 PM, Jonathan Leroy - Inikup wrote:
> 2018-04-12 1:38 GMT+02:00 Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>:
>> Another thought do you have the PGDATA environment variable set for your
>> user1?
>
> Nope.
>
> Maybe I will try to "dissect" pg_wrapper to find where the error
> occurs, but the script is quite complex...
>

Does this happen for the other commands also? e.g:

pg_dump -V

Also what happens if you do:

psql 9.4 main -V

Substituting your cluster name for main if required.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-04-12 00:09:39 Re: Commands linked to pg_wrapper not working with non-root users
Previous Message Jonathan Leroy - Inikup 2018-04-11 23:49:04 Re: Commands linked to pg_wrapper not working with non-root users