diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-04-22 08:08:28 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-04-22 08:08:28 +0900 |
commit | cd123234404ef9a45415060633d3be31329820b2 (patch) | |
tree | 86be45c66105a0341bda751617c48e031a585f73 /src/backend/utils/adt/array_userfuncs.c | |
parent | c33869cc3bfc42bce822251f2fa1a2a346f86cc5 (diff) | |
download | postgresql-cd123234404ef9a45415060633d3be31329820b2.tar.gz postgresql-cd123234404ef9a45415060633d3be31329820b2.zip |
Fix single-record reads to use restore_command if available in pg_rewind
readOneRecord() is used now when looking for a checkpoint record to
check if the target server is an ancestor of the source across multiple
timelines, and using a restore_command if available improves the
stability of the operation. This part was missed in a7e8ece.
Reported-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20200421.150830.1410714948345179794.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions