There's a mismatch in HEAD between README and the actual definition in
replication/libpqwalreceiver.
In README,
bool walrcv_receive(int timeout, XLogRecPtr *recptr, char **buffer, int *len)
but in walreceiver.h,
typedef bool (*walrcv_receive_type) (int timeout, unsigned char *type,
char **buffer, int *len);
It seems this commit forgot README fix.
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/replication/walreceiver.h?r1=1.5&r2=1.6
Regards,
--
Hitoshi Harada