Re: [PATCH] regexp_positions ( string text, pattern text, flags text ) → setof int4range[]

From: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>
To: Joel Jacobson <joel(at)compiler(dot)org>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andreas Karlsson <andreas(at)proxel(dot)se>, David Fetter <david(at)fetter(dot)org>
Subject: Re: [PATCH] regexp_positions ( string text, pattern text, flags text ) → setof int4range[]
Date: 2021-03-08 17:11:53
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mar 8, 2021, at 9:05 AM, Joel Jacobson <joel(at)compiler(dot)org> wrote:
>
> If a N+1 dimension array could easily be unnested to a N dimension array,
> I would prefer Tom's idea of a 2-D regexp_positions(), since it simple and not controversial.

How about proposing some array functions to go along with the regexp_positions, and then do it that way?


Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2021-03-08 17:14:09 Re: [PATCH] pg_permissions
Previous Message Andrey Borodin 2021-03-08 17:06:32 Re: Yet another fast GiST build