Re: Limiting user from changing its own attributes

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
Cc: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: Re: Limiting user from changing its own attributes
Date: 2015-04-11 08:05:32
Message-ID: CAKFQuwYZL6TkeEmDT4xZ9F2X2179pM-cg1w-qbr9hqXqgX8Q+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday, April 10, 2015, Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com> wrote:

> On Sat, Apr 11, 2015 at 12:57 AM David G. Johnston <
> david(dot)g(dot)johnston(at)gmail(dot)com
> <javascript:_e(%7B%7D,'cvml','david(dot)g(dot)johnston(at)gmail(dot)com');>> wrote:
>
>> On Fri, Apr 10, 2015 at 9:01 AM, Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com
>> <javascript:_e(%7B%7D,'cvml','sameer(dot)kumar(at)ashnik(dot)com');>> wrote:
>>
>
> Yes either an upper bound to which users can set their own values to.
>
>
>> Upper is somewhat easier but currently the system would only recognize a
>> global constraint.
>>
>
> Does it? Even though my work_mem in postgresql.conf is 1MB, the user can
> alter itself to set its own work_mem to 1GB. Or did I interpret your
> statement wrongly?
>
>>
>>
Pg_settings currently has an upper bound column - though it is a view and
that value cannot be changed that I know of. But if it could I suspect
that whatever catalog you would change to affect it would only cause a
global change. There is no alter database, role, or postgresql way to
change that value.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Carlos Ericksson Richter 2015-04-11 14:08:38 Has anyone used C-JDBC, HA-JDBC or SymmetricDB with PostgreSQL?
Previous Message Sameer Kumar 2015-04-11 05:59:55 Re: Limiting user from changing its own attributes