Fix possible null pointer dereference or invalid warning message.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/launcher.c | modified | +4 −4 |