pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ross J. Reedstrom <reedstrm@rice.edu>
To: Najm Hashmi <najm@mondo-live.com>
Cc: Rick Delaney <rick@consumercontact.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Permissions for foreign keys
Date: Wed, 31 Jan 2001 09:50:24 -0600
Message-ID: <20010131095024.A16818@rice.edu> (raw)
In-Reply-To: <3A797C29.62D812E1@mondo-live.com>
References: <3A77613D.184BB8D8@consumercontact.com>
	<3A797C29.62D812E1@mondo-live.com>

This is a bug that was fixed in 7.1beta for sure, but also 7.0.3,
I believe. So it's as simple as upgrading. 


Ross


On Thu, Feb 01, 2001 at 10:09:29AM -0500, Najm Hashmi wrote:
> Hey Rick,
>          I am sure there are more elegant solutions but I have a simple
> one. Write a trigger that  will grant the permissions  before insert or
> update and and revoke all privileges after the insert or update.
> -Najm
> 
> 
> Rick Delaney wrote:
> 
> > I'm using 7.0 and have noticed that I need to grant SELECT and UPDATE
> > permissions on any referentially-related tables.  Can/should I get
> > around this?  A somewhat contrived example:
> >
-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005



view thread (7+ messages)  latest in thread

Message-ID: <20010131095024.A16818@rice.edu>
Permalink:  ../20010131095024.A16818@rice.edu/
Also on:    postgresql.org/message-id/20010131095024.A16818@rice.edu

 · 

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-sql@postgresql.org
  Cc: reedstrm@rice.edu, najm@mondo-live.com, rick@consumercontact.com
  Subject: Re: Permissions for foreign keys
  In-Reply-To: <20010131095024.A16818@rice.edu>
  References: <3A77613D.184BB8D8@consumercontact.com> <3A797C29.62D812E1@mondo-live.com> <20010131095024.A16818@rice.edu>

* 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