X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 7BACC925475 for ; Thu, 22 May 2003 01:04:51 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 36702-10 for ; Thu, 22 May 2003 01:03:56 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by developer.postgresql.org (Postfix) with ESMTP id 5BAF6925A5D for ; Wed, 21 May 2003 22:28:48 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h4M2SkU6013628; Wed, 21 May 2003 22:28:47 -0400 (EDT) To: Avi Schwartz Cc: pgsql-odbc@postgresql.org Subject: Re: functions and grants question In-reply-to: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com> References: <9215DB99-8BDC-11D7-9862-000393AE5044@CFFtechnologies.com> Comments: In-reply-to Avi Schwartz message dated "Wed, 21 May 2003 17:35:49 -0500" Date: Wed, 21 May 2003 22:28:46 -0400 Message-ID: <13627.1053570526@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/51 X-Sequence-Number: 2951 Avi Schwartz 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