Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSlje-0000r6-8N for pgsql-docs@arkaria.postgresql.org; Thu, 07 Nov 2019 17:38:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iSljd-00042Z-2t for pgsql-docs@arkaria.postgresql.org; Thu, 07 Nov 2019 17:38:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSljc-00042S-S3 for pgsql-docs@lists.postgresql.org; Thu, 07 Nov 2019 17:38:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSlja-0002U4-71 for pgsql-docs@lists.postgresql.org; Thu, 07 Nov 2019 17:38:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xA7HcB5J014398; Thu, 7 Nov 2019 12:38:11 -0500 From: Tom Lane To: Bruce Momjian cc: brian.williams@mayalane.com, pgsql-docs@lists.postgresql.org Subject: Re: Nit: "Immutable" should be "pure" In-reply-to: <20191107172830.GD12478@momjian.us> References: <157313627814.14272.6307248648194149757@wrigleys.postgresql.org> <20191107172830.GD12478@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 07 Nov 2019 12:28:30 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14396.1573148291.1@sss.pgh.pa.us> Date: Thu, 07 Nov 2019 12:38:11 -0500 Message-ID: <14397.1573148291@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Thu, Nov 7, 2019 at 02:17:58PM +0000, PG Doc comments form wrote: >> The adjective "immutable" describing the functions and operators used in an >> index (see two occurrences in doc snippet below) is incorrect and should be >> replaced with "pure". > I think the best we can do is to mention that IMMUTABLE functions mean > pure, but I am not sure there is even enough demand for that, vs. > confusing people. Yeah. I don't think this terminology is nearly as universal as the OP believes, so I don't feel a need to change anything. If we adopt Corey's proposal to create a glossary [1], there'd be room for a parenthetical comment like "(In some circles, "pure" is the preferred term for this function property.)" in the glossary entry for "immutable". I suspect it won't be the only entry that needs cross-references to other terminology. regards, tom lane [1] https://commitfest.postgresql.org/25/2305/