Re: [sqlsmith] Missing CHECK_FOR_INTERRUPTS in tsquery_rewrite

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [sqlsmith] Missing CHECK_FOR_INTERRUPTS in tsquery_rewrite
Дата
Msg-id 20109.1477849229@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [sqlsmith] Missing CHECK_FOR_INTERRUPTS in tsquery_rewrite  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> Also, I think this is outright *wrong* for phrase search --- dropping some
> of the child nodes without any other adjustment isn't valid is it?

After further digging, it seems there's no bug because the tree is
originally binary and QTNTernary won't try to flatten OP_PHRASE nodes.
So we can't actually get to this logic for such nodes.  But seems like
an Assert for that wouldn't be a bad thing.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [sqlsmith] Missing CHECK_FOR_INTERRUPTS in tsquery_rewrite
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Speed up Clog Access by increasing CLOG buffers