Which GRANTS are needed on a Sequnce? - Mailing list pgsql-novice

From Dani Oderbolz
Subject Which GRANTS are needed on a Sequnce?
Date
Msg-id 3EFC5825.8040904@ecologic.de
Whole thread Raw
Responses Re: Which GRANTS are needed on a Sequnce?  (Bruno Wolff III <bruno@wolff.to>)
Re: Which GRANTS are needed on a Sequnce?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi all,
I just created a Sequence S for User A.
User B has the USAGE Privilage in Schema A.
I granted SELECT On S TO B.
But this does not seem to be enough to use the Sequcence,
postgres claims:
 [1] ERROR:  S.nextval: you don't have permissions to set sequence S
So I granted ALL ON S TO B
which works fine.
What are the minimal grants neeeded? (And where is it documented,
the reference of 7.3.3 sais nothing about Sequences)

Cheers,
Dani





pgsql-novice by date:

Previous
From: Nabil Sayegh
Date:
Subject: Re: Probably a stupid question
Next
From: Tom Lane
Date:
Subject: Re: missing postmaster.conf