Avoid lost result of recursion (src/backend/optimizer/util/inherit.c)

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Avoid lost result of recursion (src/backend/optimizer/util/inherit.c)
Дата
Msg-id CAEudQArohfB_Gy+hcH2-bANUkxgjJiP=ABq01_LgTNTbcNijag@mail.gmail.com
обсуждение исходный текст
Ответы Re: Avoid lost result of recursion (src/backend/optimizer/util/inherit.c)  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
Hi.

IMO, I think that commit a61b1f7, has an oversight.
Currently is losing the result of recursion of function translate_col_privs_multilevel.

Once the variable result (Bitmapset pointer) is reassigned.

Without a test case for this patch.
But also, do not have a test case for the current thinko in head.

Pass regress check.

regards,
Ranier Vilela
Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Add LSN along with offset to error messages reported for WAL file read/write/validate header failures
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Array initialisation notation in syscache.c