Re: Fix NULL pointer reference in _outPathTarget()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix NULL pointer reference in _outPathTarget()
Дата
Msg-id 3c7578d3-2f1d-d490-9337-273afda6e194@enterprisedb.com
обсуждение исходный текст
Ответ на Fix NULL pointer reference in _outPathTarget()  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Fix NULL pointer reference in _outPathTarget()  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
On 18.04.22 09:35, Richard Guo wrote:
> The array sortgrouprefs[] inside PathTarget might be NULL if we have not
> identified sort/group columns in this tlist. In that case we would have
> a NULL pointer reference in _outPathTarget() when trying to print
> sortgrouprefs[] with WRITE_INDEX_ARRAY as we are using the length of
> PathTarget->exprs as its array length.

Do you have a test case that triggers this issue?



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg14 psql broke \d datname.nspname.relname
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fix NULL pointer reference in _outPathTarget()