Re: Bugs/slowness inserting and indexing cubes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bugs/slowness inserting and indexing cubes
Дата
Msg-id 220.1328733405@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bugs/slowness inserting and indexing cubes  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I guess.  I think the compelling reason to do ambuildempty first is
> that it's fast.  So might as well.  I think you'e just going to end up
> hard-wiring the assumption that ambuild happens before ambuildempty,

Well, no, because I'm proposing that both functions throw this error.

> which doesn't seem any better than the other way around, but I don't
> care enough to argue about if you feel strongly about it.

What's ugly about this solution is the duplicative ereport calls.  But
at least the ugliness is confined to its source, ie gist.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_dump -s dumps data?!
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: [PATCH] Enable min/max optimization for bool_and/bool_or/every