pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cpp@world-online.no
To: pgsql-sql@postgresql.org
Subject: Need SELECT rights to UPDATE/DELETE WHERE?
Date: Thu, 27 Jan 2005 16:46:25 +0100
Message-ID: <41C17A7100006F65@cpfe4.be.tisc.dk> (raw)

PostgreSQL 8.0.0 on WinXP Pro, libpq

In my hands it looks like a user with INSERT/DELETE/UPDATE rights on table1
cannot do "update table1 set field1=xx where field2=yy" without also being
granted select rights. However, the user can do "update table1 set field1=xx".
Is this right? Any explanations why it should be like this and any suggestions
on how to get around it without granting select is greatly appreciated.

KP





view thread (2+ messages)  latest in thread

Message-ID: <41C17A7100006F65@cpfe4.be.tisc.dk>
Permalink:  ../41C17A7100006F65@cpfe4.be.tisc.dk/
Also on:    postgresql.org/message-id/41C17A7100006F65@cpfe4.be.tisc.dk

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cpp@world-online.no
  Subject: Re: Need SELECT rights to UPDATE/DELETE WHERE?
  In-Reply-To: <41C17A7100006F65@cpfe4.be.tisc.dk>

* 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