[COMMITTERS] pgsql: Fix possible null pointer dereference or invalid warningmessage - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix possible null pointer dereference or invalid warningmessage
Date
Msg-id E1d4rat-000716-Ei@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix possible null pointer dereference or invalid warning message.

Thinko in commit de4389712: this warning message references the wrong
"LogicalRepWorker *" variable.  This would often result in a core dump,
but if it didn't, the message would show the wrong subscription OID.

In passing, adjust the message text to format a subscription OID
similarly to how that's done elsewhere in the function; and fix
grammatical issues in some nearby messages.

Per Coverity testing.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/12d11432b4db8a2ae665287e05f0f6868d35545e

Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Micro-optimize some slower queries in the opr_sanityregression
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Sync our copy of the timezone library with IANA releasetzcode20