Re: gin--a rule for function parameter

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: gin--a rule for function parameter
Дата
Msg-id 10550.1246457758@sss.pgh.pa.us
обсуждение исходный текст
Ответ на gin--a rule for function parameter  ("Fly.Li" <fly2nn@126.com>)
Список pgsql-hackers
"Fly.Li" <fly2nn@126.com> writes:
> version: PG8.2.2
> MY Question:
> Why must "take the same number of parameters" ?

Because the GIN code will call it with a particular number of arguments.

> When I use tsearch2, I found that gin_extract_tsquery() has 3 parameters, it 
> break the rule "take the same number of parameters".

3 is the correct number of parameters for an extractQuery function
(before 8.4 anyway), so I'm not clear what you are complaining about.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extensions User Design
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Extensions User Design