X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 73382D1B570 for ; Wed, 8 Oct 2003 07:21:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 03219-04 for ; Wed, 8 Oct 2003 04:20:20 -0300 (ADT) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by svr1.postgresql.org (Postfix) with ESMTP id BDC8FD1B4EA for ; Wed, 8 Oct 2003 04:20:17 -0300 (ADT) Received: from poczta.onet.BLABLA.pl (core-1.citynet.pl [80.48.135.69]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id 7A5052B3CB for ; Wed, 8 Oct 2003 09:19:57 +0200 (CEST) Message-ID: <3F83BAAC.7000900@poczta.onet.BLABLA.pl> Date: Wed, 08 Oct 2003 09:20:12 +0200 From: Tomek User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; pl-PL; rv:1.5) Gecko/20030916 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Lista dyskusyjna pgsql-sql Subject: security definer function Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/152 X-Sequence-Number: 15552 Hi I have two functions: A) function defined with "SECURITY DEFINER" B) function defined with "SECURITY INVOKER" Function A calls function B. How is the function b called - with rights of definer of function A, or rather with rights of caller of function A ? Regards, Tomasz Myrta