Re: patch adding new regexp functions
От | Tom Lane |
---|---|
Тема | Re: patch adding new regexp functions |
Дата | |
Msg-id | 24873.1171553846@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: patch adding new regexp functions (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: patch adding new regexp functions
Re: patch adding new regexp functions |
Список | pgsql-patches |
Alvaro Herrera <alvherre@commandprompt.com> writes: > so that you would have the position for each match, automatically. Is > this information available in the regex code? Certainly, that's where we got the text snippets from to begin with. However, I'm not sure that this is important enough to justify a special type --- for one thing, since we don't have arrays of composites, that would foreclose responding to Peter's concern that SETOF is the wrong thing. If you look at the Perl and Tcl APIs for regexes, they return just the strings, not the numerical positions; and I've not heard anyone complaining about that. regards, tom lane
В списке pgsql-patches по дате отправления: