pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wieck@debis.com
To: Martin Kresse <mkresse@slyde.in-berlin.de>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] "Permission denied" on public view
Date: Mon, 14 Feb 2000 19:50:46 +0100 (CET)
Message-ID: <m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <200002141832.e1EIWWR16053@einhorn.in-berlin.de>

> However, when I try the exact same statement with a different user,
> I get the error message:
>  ERROR:  data: Permission denied.
>
> When I remove the ins_data rule, the INSERT works for the other
> users as well. Does the rule need access to the data table? Is this
> a bug or am I doing something wrong?

    Anything  seems  right  for  me.  And I cannot reproduce this
    error in the current developers tree (it works as it should).

    Which version of PG are you using?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #





view thread (3+ messages)  latest in thread

Message-ID: <m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de

 · 

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: wieck@debis.com, mkresse@slyde.in-berlin.de
  Subject: Re: [SQL] "Permission denied" on public view
  In-Reply-To: <m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de>
  References: <200002141832.e1EIWWR16053@einhorn.in-berlin.de> <m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de>

* 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