* Fujii Masao (masao(dot)fujii(at)gmail(dot)com) wrote:
> The attached patch fixes this problem. It just changes walsender so that it
> waits for all the outstanding WAL records to be replicated to the standby
> before closing the replication connection.
Seems like a good idea to me.. Rather surprised that we're not doing
this already, to be honest.
Thanks,
Stephen