]> granicus.if.org Git - postgresql/commit
Fix possible null pointer dereference or invalid warning message.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Apr 2017 16:21:02 +0000 (12:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Apr 2017 16:21:02 +0000 (12:21 -0400)
commit12d11432b4db8a2ae665287e05f0f6868d35545e
treea4954e6e85ac20a430435a972e439cf4ee422d2c
parentc23844212d768b0423859437ca8189b89fd85250
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.
src/backend/replication/logical/launcher.c