Re: Let's drop two obsolete features which are bear-traps for novices

Поиск
Список
Период
Сортировка
От ktm@rice.edu
Тема Re: Let's drop two obsolete features which are bear-traps for novices
Дата
Msg-id 20141104141546.GO32559@aart.rice.edu
обсуждение исходный текст
Ответ на Re: Let's drop two obsolete features which are bear-traps for novices  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Tue, Nov 04, 2014 at 11:44:22AM +0900, Michael Paquier wrote:
> On Sun, Nov 2, 2014 at 2:30 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> > In the case of hash indexes, because we still have to have the hash
> > opclasses in core, there's no way that it could be pushed out as an
> > extension module even if we otherwise had full support for AMs as
> > extensions.  So what I hear you proposing is "let's break this so
> > thoroughly that it *can't* be fixed".  I'm not on board with that.
> > I think the WARNING will do just fine to discourage novices who are
> > not familiar with the state of the hash AM.  In the meantime, we
> > could push forward with the idea of making hash indexes automatically
> > unlogged, so that recovering from a crash wouldn't be quite so messy/
> > dangerous.
> >
> There is as well another way: finally support WAL-logging for hash indexes.

+1

Ken



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Patch: add recovery_timeout option to control timeout of restore_command nonzero status code
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Let's drop two obsolete features which are bear-traps for novices