[PATCH] Fix Null pointer dereferences (pgoutput.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Fix Null pointer dereferences (pgoutput.c)
Date
Msg-id CAEudQApO0n2k7HCchZo0AU9iFRbK8BdzNEftcP=uqHo=_kZ9Gg@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Fix Null pointer dereferences (pgoutput.c)
List pgsql-hackers
Hi,

Per Coverity.

If test oldtuple can be NULL, I mean it can really be NULL.
On DELETE process, if oldtuple is NULL, log error and continue.
So UPDATE must have the same treatment.

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Juan José Santamaría Flecha
Date:
Subject: Re: PG compilation error with Visual Studio 2015/2017/2019
Next
From: Tom Lane
Date:
Subject: Re: More efficient RI checks - take 2