pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Jonathan Leroy - Inikup <jonathan@inikup.com>
Cc: Tim Cross <theophilusx@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Commands linked to pg_wrapper not working with non-root users
Date: Wed, 11 Apr 2018 17:05:24 -0700
Message-ID: <1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com> (raw)
In-Reply-To: <CAC88fzEsdHuQa2vMOJ+=+FANyy5LX9poCH264ntzDSp831Q6VQ@mail.gmail.com>
References: <CAC88fzE-ajOudW_Gath9N5W4ofr_OXWUCVc85mSu76N==738sw@mail.gmail.com>
	<878t9t753a.fsf@gmail.com>
	<CAC88fzFbhOqwPghmVKHxx9h_=UnzQqVmD95jwaiKfFcZVi8tmw@mail.gmail.com>
	<6968c432-c9c7-6241-55da-8b078e6e56ed@aklaver.com>
	<CAC88fzEsdHuQa2vMOJ+=+FANyy5LX9poCH264ntzDSp831Q6VQ@mail.gmail.com>

On 04/11/2018 04:49 PM, Jonathan Leroy - Inikup wrote:
> 2018-04-12 1:38 GMT+02:00 Adrian Klaver <adrian.klaver@aklaver.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.klaver@aklaver.com




view thread (12+ messages)  latest in thread

Message-ID: <1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com>
Permalink:  ../1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com/
Also on:    postgresql.org/message-id/1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, jonathan@inikup.com, theophilusx@gmail.com
  Subject: Re: Commands linked to pg_wrapper not working with non-root users
  In-Reply-To: <1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com>
  References: <CAC88fzE-ajOudW_Gath9N5W4ofr_OXWUCVc85mSu76N==738sw@mail.gmail.com> <878t9t753a.fsf@gmail.com> <CAC88fzFbhOqwPghmVKHxx9h_=UnzQqVmD95jwaiKfFcZVi8tmw@mail.gmail.com> <6968c432-c9c7-6241-55da-8b078e6e56ed@aklaver.com> <CAC88fzEsdHuQa2vMOJ+=+FANyy5LX9poCH264ntzDSp831Q6VQ@mail.gmail.com> <1a10e369-fbbe-6b7e-fa47-a8af7dcd923f@aklaver.com>

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

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