pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited

pgsql: Fix issue with WAL archiving in standby.

2021-09-09 Thread Fujii Masao
Fix issue with WAL archiving in standby. Previously, walreceiver always closed the currently-opened WAL segment and created its archive notification file, after it finished writing the current segment up and received any WAL data that should be written into the next segment. If walreceiver exited