Re: [PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)

2020-08-28 Thread Ranier Vilela
Em sex., 28 de ago. de 2020 às 04:45, escreveu: > > > > > > ‐‐‐ Original Message ‐‐‐ > On Friday, 28 August 2020 03:22, Ranier Vilela > wrote: > > > Hi, > > > > Per Coverity. > > > > When "Prepare for toasting", it is necessary to turn off the flag > TOAST_NEEDS_DELETE_OLD, > > if there

Re: [PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)

2020-08-28 Thread gkokolatos
‐‐‐ Original Message ‐‐‐ On Friday, 28 August 2020 03:22, Ranier Vilela wrote: > Hi, > > Per Coverity. > > When "Prepare for toasting", it is necessary to turn off the flag > TOAST_NEEDS_DELETE_OLD, > if there is no need to delete external values from the old tuple, otherwise, > th

[PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)

2020-08-27 Thread Ranier Vilela
Hi, Per Coverity. When "Prepare for toasting", it is necessary to turn off the flag TOAST_NEEDS_DELETE_OLD, if there is no need to delete external values from the old tuple, otherwise, there are dereference NULL at toast_helper.c (on toast_tuple_cleanup function). regards, Ranier Vilela fix_n