pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sergey Holod <sss@radiocom.net.ua>
Cc: pgsql-sql@postgresql.org, Stephan Szabo <sszabo@megazone23.bigpanda.com>
Subject: Re: Making "SECURITY DEFINER" procedures.. - SOLVED
Date: Wed, 30 Apr 2003 00:10:37 -0400
Message-ID: <19603.1051675837@sss.pgh.pa.us> (raw)
In-Reply-To: <200304300256.02294.sss@radiocom.net.ua>
References: <20030429150829.G54888-100000@megazone23.bigpanda.com>
	<200304300218.08129.sss@radiocom.net.ua>
	<200304300256.02294.sss@radiocom.net.ua>

Sergey Holod <sss@radiocom.net.ua> writes:
> GRANT USAGE ON schema data TO rcbilling;
> Don't fully undestand why I need that, but It works..

Okay, that's the same bug we found just a couple days ago.  Schema-usage
errors are checked at query parse time, not execution time, and the
foreign-key triggers weren't being careful to set the right context for
those checks.  There's a fix in place for 7.3.3.

			regards, tom lane




view thread (3+ messages)  latest in thread

Message-ID: <19603.1051675837@sss.pgh.pa.us>
Permalink:  ../19603.1051675837@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19603.1051675837@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, sss@radiocom.net.ua, sszabo@megazone23.bigpanda.com
  Subject: Re: Making "SECURITY DEFINER" procedures.. - SOLVED
  In-Reply-To: <19603.1051675837@sss.pgh.pa.us>

* 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