aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-09-01 10:18:23 +0530
committerAmit Kapila <akapila@postgresql.org>2021-09-01 10:18:23 +0530
commit8d0138ef51b51ba3e419cf49069eb72a15f74706 (patch)
tree1496251c87dd20147f26fdaae70a54914824de4f /contrib/postgres_fdw/postgres_fdw.c
parentb175b9cde720a81852b70c0c7fbc18c72ff1acc6 (diff)
downloadpostgresql-8d0138ef51b51ba3e419cf49069eb72a15f74706.tar.gz
postgresql-8d0138ef51b51ba3e419cf49069eb72a15f74706.zip
Fix the random test failure in 001_rep_changes.
The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting due to an error before that. Now, the walsender was erroring out before reaching the 'streaming' state because it tries to acquire the slot before the previous walsender has exited. In passing, improve the die messages so that it is easier to investigate the failures in the future if any. Reported-by: Michael Paquier, as per buildfarm Author: Ajin Cherian Reviewed-by: Masahiko Sawada, Amit Kapila Backpatch-through: 10, where this test was introduced Discussion: https://postgr.es/m/YRnhFxa9bo73wfpV@paquier.xyz
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions