pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Nathalie Boulos <nathalieboulos@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: GRANT access on table fields
Date: Fri, 28 Feb 2003 09:28:18 -0600
Message-ID: <20030228152818.GA7288@wolff.to> (raw)
In-Reply-To: <F14mcQXu89679gXJPTN00003848@hotmail.com>
References: <F14mcQXu89679gXJPTN00003848@hotmail.com>

On Fri, Feb 28, 2003 at 12:37:53 +0200,
  Nathalie Boulos <nathalieboulos@hotmail.com> wrote:
> Hi,
> 
> is there a way to grant or revoke rights on specific fields of a table for 
> specific users?
> 
> if yes how is it possibly done and in which versions of postgres?

You need to use views or rules to do this. (You could also use functions,
but I don't think this would be a good idea.)



view thread (4+ messages)

Message-ID: <20030228152818.GA7288@wolff.to>
Permalink:  ../20030228152818.GA7288@wolff.to/
Also on:    postgresql.org/message-id/20030228152818.GA7288@wolff.to

 · 

reply

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-admin@postgresql.org
  Cc: bruno@wolff.to, nathalieboulos@hotmail.com
  Subject: Re: GRANT access on table fields
  In-Reply-To: <20030228152818.GA7288@wolff.to>
  References: <F14mcQXu89679gXJPTN00003848@hotmail.com> <20030228152818.GA7288@wolff.to>

* 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