Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7LF1-0059dk-P0 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 20:28:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s7LF1-0072b8-P0 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 20:28:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7LF1-0072YO-Bp for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 20:28:47 +0000 Received: from 009.lax.mailroute.net ([199.89.1.12]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7LEx-000QME-4S for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 20:28:46 +0000 Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4VflDT4vJKzlgMVL; Wed, 15 May 2024 20:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mr01; t= 1715804919; x=1718396920; bh=qJzgJ7mBZ4tDNWe59uJBX51x2pQbr4DgyOK 9KH6Y6KM=; b=Rqh0OwLf0CJyRuQaamuFhaTh/YgP57p1ZWc4YeBpml/77APG2op E/WC7Nu5yjLxXwCuq10TIjpUvlS6JNvx41vGzWKvA+vLt7XVznygCdNvONbyAFx4 FGKYD/8OFP40bDMg6ID/7FJ5BRHvf9O/jyJf7r8JiQSbMBPUq7DZaFyuLTsSAXQi I42nuiklGzJbcx2xoPTnjv1NDTRddVthH6cdC/vlUp2l2pEIIUqLpBAUd727zLFm FFqAQoMYtGU2HLjG9tWDncb0ZgoKlWaq7lQ0SK+MI0V2yLrz/e1IHVLNCgt7tNmC DklaEAf81Z6l/05CG+5uK7q86RQvNDG/d/w== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id g3Pz2uX3DYzE; Wed, 15 May 2024 20:28:39 +0000 (UTC) Received: from [73.103.120.3] (c-73-103-120-3.hsd1.in.comcast.net [73.103.120.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jcflack@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4VflDP2G4dzlgT1K; Wed, 15 May 2024 20:28:37 +0000 (UTC) Subject: Re: add function argument names to regex* functions. To: Robert Haas References: <75129a34-14da-48aa-9906-42062fe78664@gmail.com> <1763682.1712090733@sss.pgh.pa.us> <66450B93.2070904@acm.org> Cc: "David G. Johnston" , jian he , Tom Lane , Peter Eisentraut , Dian Fay , Jim Nasby , PostgreSQL Hackers From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <66451AF3.3090302@acm.org> Date: Wed, 15 May 2024 16:28:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 05/15/24 15:31, Robert Haas wrote: > On Wed, May 15, 2024 at 3:23=E2=80=AFPM Chapman Flack = wrote: >> What would be wrong with [occurrence], for consistency's sake? >=20 > It was proposed and rejected upthread, but that's not to say that I > necessarily endorse the reasons given. Apologies for not having read far enough up the thread before replying. Having done so now, I guess I'd just offer one small point: the upthread discussion did mention that 'occurrence' was used by Oracle, and asked "if you're not following Oracle slavishly, exactly what is the argument in its favor?". Nothing else upthread seems to have mentioned that OCCURRENCE is the exact keyword used in ISO SQL for the analogous argument in analogous functions. Maybe that won't have any effect on the outcome either, but it does seem worth getting into the thread. Regards, -Chap