Re: Remove pg_am.amindexnulls?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove pg_am.amindexnulls?
Дата
Msg-id 29674.1294449633@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove pg_am.amindexnulls?  (David Fetter <david@fetter.org>)
Ответы Re: Remove pg_am.amindexnulls?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Fri, Jan 07, 2011 at 08:08:38PM -0500, Tom Lane wrote:
>> Anyone against simplifying matters by getting rid of
>> pg_am.amindexnulls?

> I guess the only potential use for it would be for some kind of am
> that *couldn't* index nulls out of the gate.  Might their be such AMs
> on the horizon?

Well, there are AMs around already that can't index nulls: hash is one,
and GIN was one until an hour ago.  The question though is whether
anything outside the AM needs to know about that behavior.  Between
amclusterable, amsearchnulls, and amoptionalkey, I believe that we have
quite enough flags already to cover what anything else actually
needs-to-know about the AM's behavior.
        regards, tom lane


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: We need to log aborted autovacuums
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Fixing GIN for empty/null/full-scan cases