From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: dbuser acess privileges
Date: Thu, 4 Apr 2019 05:25:29 -0500
Message-ID: <40af7159-a07c-1b44-377b-0fe0f35ce654@gmail.com> (raw)
In-Reply-To: <CAJCZkoJo_e8yQCowniedv3Tw5MqZ55NNfumSSd=bWKeE+Vrjuw@mail.gmail.com>
References: <CAJCZkoJo_e8yQCowniedv3Tw5MqZ55NNfumSSd=bWKeE+Vrjuw@mail.gmail.com>
On 4/4/19 5:07 AM, Durgamahesh Manne wrote:
> hi
> Respected international pgsql team
>
> pershing=# grant INSERT on public.hyd to ravi;
> GRANT
> i have granted insert command access to non superuser(ravi)
> pershing=> insert into hyd (id,name) values('2','delhi');
> INSERT 0 1
> here data inserted
>
>
> pershing=# grant UPDATE on public.hyd to ravi;
> GRANT
> i have granted update command access to non superuser(ravi)
>
> pershing=> update public.hyd set id = 3 where name = 'hyderabad';
> ERROR: permission denied for relation hyd
> please let me know what is the issue with update command
Are there any triggers on public.hyd which modify other tables?
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: dbuser acess privileges
In-Reply-To: <40af7159-a07c-1b44-377b-0fe0f35ce654@gmail.com>
References: <CAJCZkoJo_e8yQCowniedv3Tw5MqZ55NNfumSSd=bWKeE+Vrjuw@mail.gmail.com> <40af7159-a07c-1b44-377b-0fe0f35ce654@gmail.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