From: Eugene Karpachov <jk@steel.orel.ru>
To: Stephan Szabo <sszabo@kick.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: grant select,update - bug or feature?
Date: Tue, 30 May 2000 16:40:23 +0400
Message-ID: <20000530164023.A13129@steel.orel.ru> (raw)
In-Reply-To: <000001bfca05$b07d4470$0c64010a@kick.com>
References: <20000529151909.A10272@steel.orel.ru>
<000001bfca05$b07d4470$0c64010a@kick.com>
Mon, May 29, 2000 at 08:51:10PM -0700, Stephan Szabo write:
> This is a known issue in the 7.0 foreign key implementation. The short
Thank you, now it's clear for me.
> It's something that will get fixed, it's just a question of how and when.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It's just what I want to know :)
> > create table master ( i integer primary key, a text);
> > -- I want to protect this table from updating by 'dbuser'
By the way, how can I make such a protection? Are triggers the only way?
> > create table slave ( j integer references master, b text);
> > -- I want to enable updating this table by 'dbuser'
> >
> > grant select on master to dbuser;
> > grant select,update on slave to dbuser;
--
jk
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: jk@steel.orel.ru, sszabo@kick.com
Subject: Re: grant select,update - bug or feature?
In-Reply-To: <20000530164023.A13129@steel.orel.ru>
References: <20000529151909.A10272@steel.orel.ru> <000001bfca05$b07d4470$0c64010a@kick.com> <20000530164023.A13129@steel.orel.ru>
* 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