Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ylktv-0004Vm-Pv for pgsql-committers@arkaria.postgresql.org; Fri, 24 Apr 2015 21:12:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ylktt-0001sI-RH for pgsql-committers@arkaria.postgresql.org; Fri, 24 Apr 2015 21:12:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Ylkts-0001s9-0L for pgsql-committers@postgresql.org; Fri, 24 Apr 2015 21:12:40 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ylktk-0005fG-En for pgsql-committers@postgresql.org; Fri, 24 Apr 2015 21:12:38 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 0E567860002; Fri, 24 Apr 2015 23:12:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC70AB.dip0.t-ipconnect.de [93.220.112.171]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id A25D4860001; Fri, 24 Apr 2015 23:12:27 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 153731068C0; Fri, 24 Apr 2015 23:12:27 +0200 (CEST) Date: Fri, 24 Apr 2015 23:12:27 +0200 From: Andres Freund To: Tom Lane Cc: Qingqing Zhou , pgsql-committers@postgresql.org Subject: Re: pgsql: Fix incorrect matching of subexpressions in outer-join plan node Message-ID: <20150424211227.GA12723@awork2.anarazel.de> References: <22812.1428362539@sss.pgh.pa.us> <29122.1429896649@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29122.1429896649@sss.pgh.pa.us> X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2015-04-24 13:30:49 -0400, Tom Lane wrote: > [ catching up on email post-vacation ] Welcome back Tom! Hope you had a nice and relaxing time. > It's okay to store resulttype and retset > because we disallow changing the output type (including set-ness) of a > function; but we don't want to disallow changing strictness for > instance. I don't think we forbid changing the volatility. I'm pretty sure I've changed that using CREATE OR REPLACE in the past. Yep: postgres[l]=# CREATE FUNCTION blarg() RETURNS int VOLATILE LANGUAGE SQL AS $$SELECT 1;$$; CREATE FUNCTION postgres[l]=# CREATE OR REPLACE FUNCTION blarg() RETURNS int STABLE LANGUAGE SQL AS $$SELECT 1;$$; CREATE FUNCTION Greetings, Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers