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 1sXnHK-006PoJ-Fk for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Jul 2024 19:40:30 +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 1sXnHI-006pLT-Lz for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Jul 2024 19:40:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXnHI-006pLL-CS for pgsql-hackers@lists.postgresql.org; Sat, 27 Jul 2024 19:40:28 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXnHF-001lJ4-TI for pgsql-hackers@lists.postgresql.org; Sat, 27 Jul 2024 19:40:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 46RJe9dM2018483; Sat, 27 Jul 2024 15:40:09 -0400 From: Tom Lane To: jian he cc: Robert Haas , Peter Eisentraut , Dian Fay , Jim Nasby , PostgreSQL Hackers , Chapman Flack Subject: Re: add function argument names to regex* functions. In-reply-to: References: <0eb3a5d7-75d8-4da5-9c88-a93deccdaa03@gmail.com> <75129a34-14da-48aa-9906-42062fe78664@gmail.com> <1763682.1712090733@sss.pgh.pa.us> <1674439.1722003451@sss.pgh.pa.us> <1676993.1722004798@sss.pgh.pa.us> Comments: In-reply-to jian he message dated "Sat, 27 Jul 2024 08:56:00 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2018481.1722109209.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sat, 27 Jul 2024 15:40:09 -0400 Message-ID: <2018482.1722109209@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk jian he writes: > On Fri, Jul 26, 2024 at 10:40 PM Tom Lane wrote: >> Hmm, yeah, you're right. I didn't want to write two separate >> synopses there, but maybe there's no choice. > Now the output is > It has the syntax regexp_replace(string, pattern, replacement [, flags > ]) and regexp_replace(string, pattern, replacement, start [, N [, > flags ]]). Pushed, thanks. regards, tom lane