[PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)
Date
Msg-id CAEudQArJCzV6o-Nh-X0Y3cih-ot3XojK19UrT7xmJ=pW-S8kfA@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: XMAX_LOCK_ONLY and XMAX_COMMITTED (fk/multixact code)
Next
From: Peter Geoghegan
Date:
Subject: Disk-based hash aggregate's cost model