Re: [PATCH] Store Extension Options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Store Extension Options
Дата
Msg-id 412.1388863391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Store Extension Options  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-01-04 14:06:19 -0500, Tom Lane wrote:
>> And if we have ext. as a prefix, exactly what prevents conflicts in the
>> second part of the name?  Nothing, that's what.  It's useless.

> Uh? We are certainly not going to add core code that defines relation
> options with ext. in the name like we've introduced toast.fillfactor et
> al?

If this feature is of any use, surely we should assume that more than
one extension will use it.  If those extensions are separately developed,
there's nothing preventing name conflicts.  I would rank the odds of
two people writing "my_replication_extension" a lot higher than the odds
of the core code deciding to use such a prefix.

What's more, what happens if we decide to migrate some such extension
into core?  A hard and fast division between names allowed to external
and internal features is just going to bite us on the rear eventually.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [ANNOUNCE] IMCS: In Memory Columnar Store for PostgreSQL
Следующее
От: knizhnik
Дата:
Сообщение: Re: [ANNOUNCE] IMCS: In Memory Columnar Store for PostgreSQL