Does a GRANT on a table cascade/implied to its SEQUENCES

From: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Does a GRANT on a table cascade/implied to its SEQUENCES
Date: 2006-07-24 21:36:11
Message-ID: 44C53D4B.10004@acm.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm working on an application ( using Catalyst ) and realized I was
using a user with too many privileges to access the database.

I've add a new user and as I go though granting various accesses to the
different tables I realized many of those tables have primary keys that
are generated by a sequence.

Do I need to grant access on the sequences and what type of access --
SELECT for sure but what about UPDATE -- for each of the tables I've
granted the user access to?

TIA,
Rod
--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2006-07-24 22:01:35 Re: CASE statement and SETOF values
Previous Message Christian Schoenebeck 2006-07-24 21:27:57 CASE statement and SETOF values