X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5EC215694F for ; Tue, 22 Mar 2005 05:52:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46639-01 for ; Tue, 22 Mar 2005 05:52:08 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by svr1.postgresql.org (Postfix) with ESMTP id 1195256943 for ; Tue, 22 Mar 2005 05:52:07 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a41so1274964rng for ; Mon, 21 Mar 2005 21:52:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Vj6vqVwieHMQTxpirW/uvRzGh0NsRLSpHYJKXD3xXdWhd/fRQgrn2vmm3nA1+IUY7RuKimn1vI58i/FSdwhQJNS/6aCkF6mPxg/NWklk/Y0MRniBpOkLBT8S4Y+bAPoNtWW23RU4f9f8ERGcYcx5IlsEU8Kz/okBrduzpT6TJpE= Received: by 10.38.76.23 with SMTP id y23mr2430394rna; Mon, 21 Mar 2005 21:52:07 -0800 (PST) Received: by 10.38.125.43 with HTTP; Mon, 21 Mar 2005 21:52:07 -0800 (PST) Message-ID: Date: Tue, 22 Mar 2005 11:22:07 +0530 From: Rajarshi Mukherjee Reply-To: Rajarshi Mukherjee To: pgsql-admin@postgresql.org Subject: grant problem Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.201 tagged_above=0 required=5 tests=DEAR_SOMETHING, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: * X-Archive-Number: 200503/430 X-Sequence-Number: 16928 Dear Sir/Madam, I have a problem regarding grants in PG. It is as follows: I wanted to grant execute on a function that updates a table. But i got an ERROR: permission denied for relation Now i don't want to grant update on that table as i want all updates to be done through the function, and no one should be able to update it manually. How can i achieve that? thanks & Regards, Rajarshi Mukherjee.