pg_recvlogical message and code improvements.
authorAndres Freund <andres@anarazel.de>
Tue, 12 Aug 2014 09:12:16 +0000 (11:12 +0200)
committerAndres Freund <andres@anarazel.de>
Tue, 12 Aug 2014 11:06:34 +0000 (13:06 +0200)
commit596385be06e1c8ac7291958a556b10b37ee333d5
treee2d9e712a61d8cba606a22364901fa51e6643018
parentd6ded369a7793c926661f492c153a6dd05afc5bc
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
src/bin/pg_basebackup/pg_recvlogical.c