Fix possible null pointer dereference or invalid warning message.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 12d11432b4db8a2ae665287e05f0f6868d35545e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-04-30T16:21:02Z
Releases: 10.0
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.

Files

PathChange+/−
src/backend/replication/logical/launcher.c modified +4 −4