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 1iSown-0008W0-1k for pgsql-docs@arkaria.postgresql.org; Thu, 07 Nov 2019 21:04:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iSowl-0005Z0-Nx for pgsql-docs@arkaria.postgresql.org; Thu, 07 Nov 2019 21:04:03 +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 1iSm96-0006tT-3U for pgsql-docs@lists.postgresql.org; Thu, 07 Nov 2019 18:04:36 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSm93-0002h3-0T for pgsql-docs@lists.postgresql.org; Thu, 07 Nov 2019 18:04:35 +0000 Received: by mail-qk1-x743.google.com with SMTP id m4so2784149qke.9 for ; Thu, 07 Nov 2019 10:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mayalane-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oYMWGwqYmiRE1dD8nefniBn4UnVSNPq5poBRyH80eJ0=; b=v+LyrWOCBiidO6kNle15HB+nf5yCp8WmEF37lnO2g3TMzpvxeQ7O+WpgjNtfTXoN1w G4Sx9sK/7rPpHWZBhuNm+07vq7dAUF4imaztun5fLd3/+OchMiy5IWJZ0mxub6BFTud2 0yJHJju/RE5q0270liYCaoSFFELQG78NQCi7RCQJ3wwzaOIaXZq5cbGO/xqouzz4ne33 tJ3/5Gg15nCpRgq+Q1hKG/X3kCKfaE/bmWgzPRWEQ6FEBeWd6BAd04Ww3pAOCqAe9tgi j2au9M//c7LMhyyJavjpb/n5D9zFfEHBTMT06UlYF2/dOkFkGLeVRgyPFz0xwG3IIOOD q1vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oYMWGwqYmiRE1dD8nefniBn4UnVSNPq5poBRyH80eJ0=; b=Pc+RXEuFUIhybntj2kREdDZt0bQobav6qmUaFRBFrTuconR6Fh1wkuwMhrBOh5iFiX cN3jJF6wKjcXKafyY0x/RJnPFANb/drcJr9kKeIMNbnDAS7HyaJVtblBCbRn1U+DV9E+ VnpXMlcEgYygWmgUsN8oqyQWAMGVxRQbI1mcx4n7F8t6JpjWRYrRIiLIKiqZPcFF7dDy yBpQPxwppKyUjys/MQqjuZr1cBiUZ4odkeVEmv8PGE4hAbs7aFa3GDsToZGFn56B8P7m 2Sso+oByaQky2NRrlJF3GaCjuVv2ROCz7e6zseJyVqSoKy1IKIeMTUferU4w2uH/yITs tVXw== X-Gm-Message-State: APjAAAUrbvFEPZMUfLLpB95om6jRhSGBIHXVOw5Go2ND79x1ICKv6qP1 VCoVRR6AQvvj9+hIwp8du8ebzCubcU0RFQ== X-Google-Smtp-Source: APXvYqybVlfhVauJgBjU5NYsu7Khb+6ncRsDaVZ7cB/RIbWLKjKWRjzakV8ngUCDcfQuzQTDy7Bktg== X-Received: by 2002:a37:4906:: with SMTP id w6mr4274000qka.82.1573149871192; Thu, 07 Nov 2019 10:04:31 -0800 (PST) Received: from ?IPv6:2601:140:8980:730:d3b:7368:ae78:46cc? ([2601:140:8980:730:d3b:7368:ae78:46cc]) by smtp.gmail.com with ESMTPSA id v20sm1295124qkg.92.2019.11.07.10.04.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Nov 2019 10:04:30 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: Nit: "Immutable" should be "pure" From: Brian Williams In-Reply-To: <14397.1573148291@sss.pgh.pa.us> Date: Thu, 7 Nov 2019 13:04:28 -0500 Cc: Bruce Momjian , pgsql-docs@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <157313627814.14272.6307248648194149757@wrigleys.postgresql.org> <20191107172830.GD12478@momjian.us> <14397.1573148291@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3601.0.10) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thanks for the feedback folks. I had not seen the IMMUTABLE argument to = CREATE FUNCTION and realize this change is too expensive. This probably will not be the last you hear on this since pureness and = immutability are all the rage in development circles. =20 > On Nov 7, 2019, at 12:38 PM, Tom Lane wrote: >=20 > 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". >=20 >> 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. >=20 > 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. >=20 > 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. >=20 > regards, tom lane >=20 > [1] https://commitfest.postgresql.org/25/2305/