Re: BRIN indexes - TRAP: BadArgument

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BRIN indexes - TRAP: BadArgument
Дата
Msg-id 20141111125234.GO1791@alvin.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BRIN indexes - TRAP: BadArgument  (Greg Stark <stark@mit.edu>)
Ответы Re: BRIN indexes - TRAP: BadArgument  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
Greg Stark wrote:
> On Tue, Nov 11, 2014 at 12:12 PM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
> > As far as I understand, the scan keys don't change within any given
> > scan; if they do, the rescan AM method is called, at which point we
> > should reset whatever is cached about the previous scan.
>
> But am I guaranteed that rescan will throw away the opcinfo struct and
> its opaque element? I guess that's the heart of the uncertainty I had.

Well, it should, and if not that's a bug, which should be fixed by the
attached (untested) patch.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Add generate_series(numeric, numeric)
Следующее
От: Greg Stark
Дата:
Сообщение: Re: BRIN indexes - TRAP: BadArgument