pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Avi Schwartz <avi@CFFtechnologies.com>
To: pgsql-odbc@postgresql.org
Subject: functions and grants question
Date: Wed, 21 May 2003 17:35:49 -0500
Message-ID: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com> (raw)

In other databases, stored procedures run under the privilege of the 
stored procedure owner.  Is it supposed to work the same in postgresql?

I am the owner of the database, tables and functions.  When I grant 
execute permission on a function to another user, that user gets 
permission denied errors on the tables the stored procedure is 
accessing.  Any idea what I may be doing wrong?

Thanks,
Avi
-- 
Avi Schwartz
avi@CFFtechnologies.com




view thread (2+ messages)  latest in thread

Message-ID: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com>
Permalink:  ../9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com/
Also on:    postgresql.org/message-id/9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com

 · 

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-odbc@postgresql.org
  Cc: avi@CFFtechnologies.com
  Subject: Re: functions and grants question
  In-Reply-To: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com>
  References: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com>

* 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