pg_recvlogical message and code improvements.

Andres Freund <andres@anarazel.de>

Commit: 876f1e6805c34bb87525583e524e3445a33c215b
Author: Andres Freund <andres@anarazel.de>
Date: 2014-08-12T11:06:47Z
Releases: 9.4.0
pg_recvlogical message and code improvements.

Some error messages complained about --init and --stop being used
whereas the --create and --drop are the correct verbs. Fix that.

Also a XLogRecPtr was tested in a boolean fashion instead of being
compared to InvalidXLogRecPtr.

Backpatch to 9.4 where pg_recvlogical was introduced.

Michael Paquier

Files

PathChange+/−
src/bin/pg_basebackup/pg_recvlogical.c modified +3 −3