Re: patch adding new regexp functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch adding new regexp functions
Дата
Msg-id 27337.1174484748@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>)
Список pgsql-patches
Jeremy Drake <pgsql@jdrake.com> writes:
> BTW, should I be calling
> get_typlenbyvalalign on TEXTOID or are there macros for those also?

By and large we tend to hard-wire those properties too, eg there are
plenty of places that do things like this:

    /* XXX: this hardcodes assumptions about the regtype type */
    result = construct_array(tmp_ary, num_params, REGTYPEOID, 4, true, 'i');

Some are better commented than others ...

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: patch adding new regexp functions
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Make CLUSTER MVCC-safe