X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 82938D1C9DD; Sun, 3 Aug 2003 23:28:40 +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 60044-09; Sun, 3 Aug 2003 20:27:29 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 93367D1C4BF; Sun, 3 Aug 2003 20:28:29 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h73NRDSa002805; Sun, 3 Aug 2003 19:27:13 -0400 (EDT) To: Joe Conway Cc: Hans Spaans , pgsql-admin@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: [HACKERS] concat_ws In-reply-to: <3F2D97BB.3060600@joeconway.com> References: <20030803131931.GD4326@sch01r01.nexit.nl> <26941.1059926135@sss.pgh.pa.us> <3F2D4B3B.3050405@joeconway.com> <6571.1059934474@sss.pgh.pa.us> <3F2D84FF.3070304@joeconway.com> <1680.1059949492@sss.pgh.pa.us> <3F2D97BB.3060600@joeconway.com> Comments: In-reply-to Joe Conway message dated "Sun, 03 Aug 2003 16:16:11 -0700" Date: Sun, 03 Aug 2003 19:27:13 -0400 Message-ID: <2804.1059953233@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/50 X-Sequence-Number: 9773 Joe Conway writes: > But I wonder why it isn't at all a problem when the function is also > defined STRICT? Because the inliner doesn't think it can safely inline in that case; the substituted expression isn't strict and so inlining would potentially change the semantics. regards, tom lane