Re: 9.5rc1 brin_summarize_new_values

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: 9.5rc1 brin_summarize_new_values
Дата
Msg-id CAB7nPqSHjK6-sp4kipj66uq5TBjg4uebohsfvKWLpMn8-qskLQ@mail.gmail.com
обсуждение исходный текст
Ответ на 9.5rc1 brin_summarize_new_values  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: 9.5rc1 brin_summarize_new_values  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Dec 26, 2015 at 7:10 AM, Jeff Janes <jeff.janes@gmail.com> wrote:
> brin_summarize_new_values() does not check that it is called on the
> correct type of index, nor does it check permissions.

Yeah, it should have those sanity checks... On top of that this is not
a really user-friendly message:
=# select brin_summarize_new_values('brin_example'::regclass);
ERROR:  XX000: cache lookup failed for index 16391
LOCATION:  IndexGetRelation, index.c:3279

What do you think about the attached? This should definitely be fixed
by 9.5.0...
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Performance degradation in commit ac1d794
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance degradation in commit ac1d794