Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxU7u-0005eA-1i for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Dec 2021 13:15:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxU7s-0008Es-Pd for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Dec 2021 13:15:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxU7s-0008Ej-GG for pgsql-hackers@lists.postgresql.org; Wed, 15 Dec 2021 13:15:20 +0000 Received: from 20.mo550.mail-out.ovh.net ([188.165.45.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxU7n-0001RQ-Qm for pgsql-hackers@lists.postgresql.org; Wed, 15 Dec 2021 13:15:19 +0000 Received: from player789.ha.ovh.net (unknown [10.110.208.160]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 7928524566 for ; Wed, 15 Dec 2021 13:15:12 +0000 (UTC) Received: from darold.net (amontpellier-652-1-149-228.w81-251.abo.wanadoo.fr [81.251.156.228]) (Authenticated sender: gilles@darold.net) by player789.ha.ovh.net (Postfix) with ESMTPSA id B9ED7256AF8DD; Wed, 15 Dec 2021 13:15:05 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-104R00597efc105-7dae-4641-939c-73a1b42675dc, 57C9AFFF2B69B7775342AC497909DD2929138B1F) smtp.auth=gilles@darold.net X-OVh-ClientIp: 81.251.156.228 To: Peter Eisentraut , Tom Lane Cc: Erik Rijkers , pgsql-hackers@lists.postgresql.org, chap@anastigmatix.net References: <2292303d-766d-2172-2942-b076a3bb6505@darold.net> <2122577845.234888.1616324857283@webmailclassic.xs4all.nl> <9f91e4e7-19c8-d8e0-6955-fefaebd4c8fe@darold.net> <60575B5A.4080807@anastigmatix.net> <345476.1616338397@sss.pgh.pa.us> <45fe2893-1efc-1666-3ea5-b5fb1918c7fa@gmail.com> <212635.1627329361@sss.pgh.pa.us> <2204c4a4-8ee8-abdd-d5ca-d0b6893f96ab@darold.net> <1124806.1627681104@sss.pgh.pa.us> <1567465.1627860115@sss.pgh.pa.us> <672983ad-86de-9063-acc1-a1f85ef0e14d@darold.net> <1702731.1627997990@sss.pgh.pa.us> <57cdabdb-4d63-e6ee-66ee-1ffc462e7149@darold.net> <1759344.1628010624@sss.pgh.pa.us> From: Gilles Darold Subject: Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace Message-ID: <170bf229-0d4a-eaa1-4fb0-802442964474@darold.net> Date: Wed, 15 Dec 2021 14:15:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: fr X-Ovh-Tracer-Id: 16888217131686600379 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrledvgdehudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefvfhfhuffkffgfgggjtgfgsehtqhertddtfeejnecuhfhrohhmpefiihhllhgvshcuffgrrhholhguuceoghhilhhlvghssegurghrohhlugdrnhgvtheqnecuggftrfgrthhtvghrnhepudehheduteetfeevhfevgeevvefgheeffefhjefhvdffueelkeefieehvefhuddunecukfhppedtrddtrddtrddtpdekuddrvdehuddrudehiedrvddvkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeekledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehgihhllhgvshesuggrrhholhgurdhnvghtpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le 15/12/2021 =C3=A0 13:41, Peter Eisentraut a =C3=A9crit=C2=A0: > On 03.08.21 19:10, Tom Lane wrote: >> Gilles Darold writes: >>> Sorry I have missed that, but I'm fine with this implemenation so let= 's >>> keep the v6 version of the patch and drop this one. >> >> Pushed, then.=C2=A0 There's still lots of time to tweak the behavior o= f=20 >> course. > > I have a documentation follow-up to this.=C2=A0 It seems that these new= =20 > functions are almost a de facto standard, whereas the SQL-standard=20 > functions are not implemented anywhere.=C2=A0 I propose the attached pa= tch=20 > to update the subsection in the pattern-matching section to give more=20 > detail on this and suggest equivalent functions among these newly=20 > added ones.=C2=A0 What do you think? I'm in favor to apply your changes to documentation. It is a good thing=20 to precise the relation between this implementation of the regex_*=20 functions and the SQL stardard. --=20 Gilles Darold