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 1sXM76-003VJY-Nd for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jul 2024 14:40:08 +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 1sXM75-00CxLh-6q for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jul 2024 14:40:07 +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 1sXM74-00CxLZ-TE for pgsql-hackers@lists.postgresql.org; Fri, 26 Jul 2024 14:40:06 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sXM72-001apr-N4 for pgsql-hackers@lists.postgresql.org; Fri, 26 Jul 2024 14:40:06 +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 46QEdwG31676994; Fri, 26 Jul 2024 10:39:58 -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> <3999490.1721339304@sss.pgh.p! a.us> <1674439.1722003451@sss.pgh.pa.us> Comments: In-reply-to jian he message dated "Fri, 26 Jul 2024 22:30:55 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1676992.1722004798.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 26 Jul 2024 10:39:58 -0400 Message-ID: <1676993.1722004798@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:17 PM Tom Lane wrote: >> AFAICS, that one is correct, so I left it alone. (I didn't try to >> merge the table's two entries into one like that, though.) > regexp_replace(string, pattern, replacement [, start [, N ]] [, flags ]). > can represent > regexp_replace(string, pattern, replacement , start, flags ) ? Hmm, yeah, you're right. I didn't want to write two separate synopses there, but maybe there's no choice. regards, tom lane