pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Avi Schwartz <avi@CFFtechnologies.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: functions and grants question
Date: Wed, 21 May 2003 22:28:46 -0400
Message-ID: <13627.1053570526@sss.pgh.pa.us> (raw)
In-Reply-To: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com>
References: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com>

Avi Schwartz <avi@CFFtechnologies.com> writes:
> In other databases, stored procedures run under the privilege of the 
> stored procedure owner.  Is it supposed to work the same in postgresql?

Only if you attach the SECURITY DEFINER option to the function.

			regards, tom lane



view thread (2+ messages)

Message-ID: <13627.1053570526@sss.pgh.pa.us>
Permalink:  ../13627.1053570526@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13627.1053570526@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 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: tgl@sss.pgh.pa.us, avi@CFFtechnologies.com
  Subject: Re: functions and grants question
  In-Reply-To: <13627.1053570526@sss.pgh.pa.us>
  References: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com> <13627.1053570526@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