]> granicus.if.org Git - postgresql/commit
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:47 +0000 (13:06 +0200)
commit876f1e6805c34bb87525583e524e3445a33c215b
tree9c36669cc6c907fc3a2e5c4eb80fa054a58b6dd8
parent423f73df9dcb9fd5b05fb1ed17bd636245bb90f3
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