Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace
Date
Msg-id c004ff29-506c-18df-851d-08b6494c0f40@xs4all.nl
Whole thread Raw
In response to Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace  (Gilles Darold <gilles@darold.net>)
Responses Re: [PATCH] proposal for regexp_count, regexp_instr, regexp_substr and regexp_replace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 8/3/21 1:26 PM, Gilles Darold wrote:
> Le 03/08/2021 à 11:45, Gilles Darold a écrit :
>> Actually I just found that the regexp_like() function doesn't support 
>> the start parameter which is something we should support. I saw that 
>> Oracle do not support it but DB2 does and I think we should also 
>> support it. I will post a new version of the patch once it is done.
> 

+1

I for one am in favor of this 'start'-argument addition.  Slightly 
harder usage, but more precise manipulation.


Erik Rijkers


> 
> Here is a new version of the patch that adds the start parameter to 
> regexp_like() function but while I'm adding support to this parameter it 
> become less obvious for me that we should implement it. However feel 
> free to not use this version if you think that adding the start 
> parameter has no real interest.
> 
> 
> Best regards,
> 



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Extra code in commit_ts.h
Next
From: Justin Pryzby
Date:
Subject: Re: when the startup process doesn't (logging startup delays)