Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YpU26-0008V3-Vs for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2015 04:00:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YpU26-0006zO-Gj for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2015 04:00:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YpU25-0006yv-Cr for pgsql-hackers@postgresql.org; Tue, 05 May 2015 04:00:33 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YpU22-0006He-Dh for pgsql-hackers@postgresql.org; Tue, 05 May 2015 04:00:32 +0000 Received: from intern.anarazel.de (p54895B1E.dip0.t-ipconnect.de [84.137.91.30]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 738CF860001; Tue, 5 May 2015 06:00:22 +0200 (CEST) Date: Tue, 5 May 2015 06:00:09 +0200 From: Andres Freund To: Peter Geoghegan Cc: Robert Haas , hlinnaka , Jeff Janes , Stephen Frost , Dean Rasheed , Bruce Momjian , Pg Hackers Subject: Re: INSERT ... ON CONFLICT UPDATE/IGNORE 4.0 Message-ID: <20150505040009.GH9855@alap3.anarazel.de> References: <20150501135800.GC22649@awork2.anarazel.de> <20150501141052.GE22649@awork2.anarazel.de> <20150501142403.GG22649@awork2.anarazel.de> <20150501144921.GH22649@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2015-05-04 19:13:27 -0700, Peter Geoghegan wrote: > A question has come up about RTEs, column-level privileges and BEFORE > triggers. This commit message gives a summary: > > https://github.com/petergeoghegan/postgres/commit/87b9f27055e81d1396db3d10a5e9d01c52603783 > > I'm pretty sure that I'll have to require SELECT privileges of the > EXCLUDED.* RTE too (i.e. revert that commit, and probably document the > new behavior of requiring that). I think it's worth getting feedback > on this point, though, since it is a somewhat subtle issue. I think it's pretty clear that we'll have to require that. Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers