[PATCH] Avoid dereference null relation pointer (src/backend/replication/logical/reorderbuffer.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Avoid dereference null relation pointer (src/backend/replication/logical/reorderbuffer.c)
Date
Msg-id CAEudQAo1BCgxTw1pSaK4JtHsv-zSTpnyY_ENs14Y_O_C_Fiv9w@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi hackers,

Minor oversight with commit 0da92dc.
RelationIdGetRelation can return NULL, then it is necessary to check the return.

regards,
Ranier Vilela

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Logical insert/update/delete WAL records for custom table AMs
Next
From: "Gunnar \"Nick\" Bluth"
Date:
Subject: Re: [PATCH] pg_stat_toast v9