On Sat, Dec 7, 2013 at 6:02 PM, MauMau <maumau...@gmail.com> wrote:
> From: "Amit Kapila" <amit.kapil...@gmail.com>
>
>> Today, I had again gone through all the discussion that happened at
>> that time related to this problem
>> and I found that later in discussion it was discussed something on
>> lines as your Approach-2,
>> please see the link
>> http://www.postgresql.org/message-id/503a879c.6070...@dunslane.net
>
>
> Thank you again.  I'm a bit relieved to see similar discussion.
>
>
>
>> Wouldn't the other way to resolve this problem be reinvoke pg_ctl in
>> non-restricted mode for the case in question?
>
>
> It's effectively the same as not checking admin privileges.  And direct
> invocation of postgres -C/--describe-config still cannot be helped.

   Yeah, that is the only point of reinvoke pg_ctl in non-restricted
mode, that it should be only allowed through
   pg_ctl, but not directly with postgres -C.
   In anycase, I think now we have link for the discussion and patch
as well for other Approach, so if the consensus
   is to modify postgres code such that we don't need to check for
admin privs for -C/--describe-config option, then the
   patch proposed by you can be taken else the other patch can be used.

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to