Re: patch adding new regexp functions
От
Jeremy Drake
Тема
Re: patch adding new regexp functions
Дата
Msg-id
Pine.BSO.4.64.0703212241550.19070@resin.csoft.net
Ответ на
Re: patch adding new regexp functions (Tom Lane)
Список
Дерево обсуждения
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Alvaro Herrera <alvherre@commandprompt.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Alvaro Herrera <alvherre@commandprompt.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Alvaro Herrera <alvherre@commandprompt.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Andrew Dunstan <andrew@dunslane.net>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Neil Conway <neilc@samurai.com>
Re: patch adding new regexp functions Gregory Stark <stark@enterprisedb.com>
Re: patch adding new regexp functions Gregory Stark <stark@enterprisedb.com>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Peter Eisentraut <peter_e@gmx.net>
Re: patch adding new regexp functions Mark Dilger <pgsql@markdilger.com>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Tom Lane <tgl@sss.pgh.pa.us>
Re: patch adding new regexp functions David Fetter <david@fetter.org>
Re: patch adding new regexp functions Andrew Dunstan <andrew@dunslane.net>
Re: patch adding new regexp functions Jeremy Drake <pgsql@jdrake.com>
Re: patch adding new regexp functions Bruce Momjian <bruce@momjian.us>
On Thu, 22 Mar 2007, Tom Lane wrote: > AFAIR, the reason there's no TextPGetDatum (and ditto for lots of other > datatypes) is lack of obvious usefulness. A function dealing with a > "text *" doesn't normally have reason to convert that to a Datum until > it returns --- and at that point PG_RETURN_TEXT_P is the thing to use. > Do you have a counterexample, or does this just suggest that the regexp > function patch needs some refactoring? If you are asking why I have reason to convert text * to a Datum in cases other than PG_RETURN_TEXT_P, it is used for calling text_substr functions using DirectFunctionCallN. BTW, this usage of text_substr using PointerGetDatum was copied from the pre-existing textregexsubstr function. -- Malek's Law: Any simple idea will be worded in the most complicated way.
В списке pgsql-patches по дате отправления