Re: [PATCH] Fix ouside scope t_ctid (ItemPointerData)

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: [PATCH] Fix ouside scope t_ctid (ItemPointerData)
Дата
Msg-id CAEudQApNke-0_0CU34Stzd1sZ5Kn9iLNxP8yVBZMXiVMmLnU-A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Fix ouside scope t_ctid (ItemPointerData)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Em qui., 14 de mai. de 2020 às 15:07, Tom Lane <tgl@sss.pgh.pa.us> escreveu:
Ranier Vilela <ranier.vf@gmail.com> writes:
> The patch is primarily intended to correct the use of ItemPointerData.

What do you think is being "corrected" here?  It looks to me like
just some random code rearrangements that aren't even clearly
bug-free, let alone being stylistic improvements.
It is certainly working, but trusting that the memory of a local variable will not change,
when it loses its scope, is a risk that, certainly, can cause bugs, elsewhere.
And it is certainly very difficult to discover its primary cause.
 
regards,
Ranier Vilela

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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: [PATCH] Fix ouside scope t_ctid (ItemPointerData)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: new heapcheck contrib module