Re: Patch to fix write after end of array in hashed agg initialization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch to fix write after end of array in hashed agg initialization
Дата
Msg-id 16775.1558584156@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch to fix write after end of array in hashed agg initialization  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Patch to fix write after end of array in hashed agg initialization
Список pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> My inclination is to fix this in the planner rather than the executor;
> there seems no good reason to actually hash a duplicate column more than
> once.

Sounds reasonable --- but would it make sense to introduce some
assertions, or other cheap tests, into the executor to check that
it's not being given a case it can't handle?

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Remove useless associativity/precedence from parsers
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Patch to fix write after end of array in hashed agg initialization