diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-07-06 08:10:59 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-07-06 08:10:59 +0900 |
commit | 2aca19f2989aa938ece7306678f5494a984ece3f (patch) | |
tree | ac2c00326f2fb958b09fa5f3cca7dba830457593 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 9753324b7d9eba0aaf7e12942f52c240bfc7da7c (diff) | |
download | postgresql-2aca19f2989aa938ece7306678f5494a984ece3f.tar.gz postgresql-2aca19f2989aa938ece7306678f5494a984ece3f.zip |
Use WaitLatch() instead of pg_usleep() at the end of backups
This concerns pg_stop_backup() and BASE_BACKUP, when waiting for the
WAL segments required for a backup to be archived. This simplifies a
bit the handling of the wait event used in this code path.
Author: Bharath Rupireddy
Reviewed-by: Michael Paquier, Stephen Frost
Discussion: https://postgr.es/m/CALj2ACU4AdPCq6NLfcA-ZGwX7pPCK5FgEj-CAU0xCKzkASSy_A@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions