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 1mzFCc-0006iN-Ho for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Dec 2021 09:43:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mzFCb-0000PK-DA for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Dec 2021 09:43:29 +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 1mzFCa-0000PB-94 for pgsql-hackers@lists.postgresql.org; Mon, 20 Dec 2021 09:43:29 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzFCW-000121-V8 for pgsql-hackers@lists.postgresql.org; Mon, 20 Dec 2021 09:43:27 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A84CA5C0134; Mon, 20 Dec 2021 04:43:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Dec 2021 04:43:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=pfFhDL7GnZOdTVyYYboZCcRCYVjZoUrIvsOQpE4kM eQ=; b=eEKxdY/jG5X2J9CHvcN3sCa1ZHsbnWOo7M69DEZmNK1dtT7XU5KmLdWMF LX9GLXuLllrgW3HDouL96O/PazUHYeHBwf39bs8/80trXLdFipC16ZEDAKAIFE1g hdYGc40dJ0KTghTTUzh0ppdzQR1k99Fd1Ko4ApJ9k+zC6QWxivL1s/MYArreca9d 7IDx65r1Vi6ZCkyzqDFyMAcmQudZNDH6SIYVYHCRJ+cq9ki/icxAs3OZxkYXqGxl WjyBUh+VJglFSVjU9NW8HlEIkcR0y+VZSWv+pyjghHXhIgfzwmnfZnhegekWmky8 c86yB3j9alQRkkQs6MffLQfya2M8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtvddgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnheplefgteefiedtleelgeeg jeevhfeuteefvddtjeehveeuieefgedvhfeuleduteeunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Dec 2021 04:43:21 -0500 (EST) Message-ID: <81423aa1-154f-7cc7-5709-d6c040261ceb@enterprisedb.com> Date: Mon, 20 Dec 2021 10:43:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace Content-Language: en-US To: Gilles Darold , 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> <170bf229-0d4a-eaa1-4fb0-802442964474@darold.net> From: Peter Eisentraut In-Reply-To: <170bf229-0d4a-eaa1-4fb0-802442964474@darold.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15.12.21 14:15, Gilles Darold wrote: > Le 15/12/2021 à 13:41, Peter Eisentraut a écrit : >> 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.  There's still lots of time to tweak the behavior of >>> course. >> >> I have a documentation follow-up to this.  It seems that these new >> functions are almost a de facto standard, whereas the SQL-standard >> functions are not implemented anywhere.  I propose the attached patch >> to update the subsection in the pattern-matching section to give more >> detail on this and suggest equivalent functions among these newly >> added ones.  What do you think? > > > I'm in favor to apply your changes to documentation. It is a good thing > to precise the relation between this implementation of the regex_* > functions and the SQL stardard. ok, done