Re: multiset patch review

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: multiset patch review
Дата
Msg-id AANLkTi=vJ6DDSDs6BUECzKnx8Xy1AMsd3KCHgL7FN5UW@mail.gmail.com
обсуждение исходный текст
Ответ на Re: multiset patch review  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: multiset patch review  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sat, Feb 5, 2011 at 04:24, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote:
>> In math class, maybe.  But in programming, no.  Multiset is a
>> datatype.  Array is a different datatype.  There is no reason why we
>> need to clutter our parser with extra keywords to support a
>> non-standard feature extension.
>
> My understanding is that we will have to have those functions defined
> and user visible, and that we benefit from function overloading which is
> not in the standard.  So there's no reason not to provide those function
> for arrays already, then extend to full multiset support.
>
> Given PostgreSQL overloading, yes, arrays are multisets as far as
> defining those standard compliant APIs is concerned.  AFAIUI.

Yes, I'd like to use overloading.
Choosing arbitrary names increases learning costs for users.

--
Itagaki Takahiro


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

Предыдущее
От: "Bill Pedersen"
Дата:
Сообщение: OpenVMS - an effort which needs guidance and support.
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Named restore points