Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 95E7647643B for ; Tue, 12 Nov 2002 12:26:26 -0500 (EST) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id DDAF8476438; Tue, 12 Nov 2002 12:26:25 -0500 (EST) Received: by davinci.ethosmedia.com (CommuniGate Pro PIPE 3.5.9) with PIPE id 1822656; Tue, 12 Nov 2002 09:29:50 -0800 X-Spam-Status: Scanner Called Received: from [63.195.55.98] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.9) with HTTP id 1822655; Tue, 12 Nov 2002 09:29:44 -0800 From: "Josh Berkus" Subject: Re: Permission on insert rules To: Luis Sousa , josh@agliodbs.com Cc: pgsql-sql X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Tue, 12 Nov 2002 09:29:44 -0800 Message-ID: In-Reply-To: <3DD13751.1030100@ualg.pt> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-4.1 required=6.0 tests=IN_REP_TO,AWL version=2.20 X-Spam-Level: X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/191 X-Sequence-Number: 10333 Luis, > That's what I already made. The problem is when I do the update, I > permission denied in all the tables for update and insert. The user > that's making this operation only have select privilege. > Any way, I'm using version 7.2.1-2 for debian. I can't reproduce the problem, and permissions did not get fixed between 7.2.1 and 7.2.3. So I'm pretty sure that you're missing something, somewhere. Please post: 1) The table definitions for the tables being updated. 2) The view definition and permissions 3) The Rules statements defined on the view 4) A copy of your database session where your update is denied, including the exact error message received. Without that information, no futher help is available. -Josh Berkus