pg_recvlogical message and code improvements.

Andres Freund <andres@anarazel.de>

Commit: 596385be06e1c8ac7291958a556b10b37ee333d5
Author: Andres Freund <andres@anarazel.de>
Date: 2014-08-12T11:06:34Z
Releases: 9.5.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