Re: tsearch2api project

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsearch2api project
Дата
Msg-id 13528.1192667348@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tsearch2api project  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> but I would
> #define ENVELOPE_FCE(name,dest) \
> Datum name (PG_FUNCTION_ARGS); \
> PG_FUNCTION_INFO_V1(name); \
> Datum \
> name (PG_FUNCTION_ARGS) \
> { \
>         return (dest)(fceinfo); \
> }

That seems perfectly legitimate to me --- I'm pretty sure there are
several instances of that in the core code already.

I'd be more inclined to call the macro WRAPPER_FUNCTION, perhaps.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: About to remove current contents of contrib/tsearch2
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: Hash index todo list item