Andrew Dunstan <andrew@dunslane.net> writes:
> On 2022-12-22 Th 11:44, Tom Lane wrote:
>> (I wonder why this is using RE_compile_and_cache at all, really,
>> rather than some other API. There doesn't seem to be value in
>> forcing the regex into the cache at this point.)
> I agree. The attached uses pg_regcomp instead. I had a lift a couple of
> lines from regexp.c, but not too many.
LGTM. No further comments.
regards, tom lane