Re: Grant on multiple objects

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Jason Dixon <jason(at)dixongroup(dot)net>
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Grant on multiple objects
Date: 2005-01-01 19:18:07
Message-ID: 20050101191807.GA31364@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Sat, Jan 01, 2005 at 11:04:16 -0500,
Jason Dixon <jason(at)dixongroup(dot)net> wrote:
> Is it possible to GRANT permissions on multiple objects at once? I
> would like to assign limited permissions on multiple objects (tables,
> indices, sequences in the same database) without granting full
> ownership. For example, something like this:

Yes, but not the way you want. You can list multiple objects of the same
type when issuing a GRANT command. However you can't use a query in the
GRANT statement to generate the list. If you are doing this programatically
you could do a select for each type and use the results to build GRANT
statements.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jason Dixon 2005-01-01 19:33:48 Re: Grant on multiple objects
Previous Message Jason Dixon 2005-01-01 16:04:16 Grant on multiple objects