diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-12 14:32:09 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-12-12 14:32:13 -0500 |
commit | 23f722ba8e19ca1a7c2ada9d6e687989b6e8f4d1 (patch) | |
tree | 0bc264c554a7ea897d3c4e3897f4b8ed683013ef /src/backend/commands/cluster.c | |
parent | b4630e01fd4c73c195025b7307ebc13d489b9ef9 (diff) | |
download | postgresql-23f722ba8e19ca1a7c2ada9d6e687989b6e8f4d1.tar.gz postgresql-23f722ba8e19ca1a7c2ada9d6e687989b6e8f4d1.zip |
Fix race condition in test_decoding "slot" test.
This test, just added in commit a924c327e, sometimes fails because
the old backend hasn't finished dropping the temporary replication slot
when the new backend looks. Borrow the previously-invented methodology
for waiting for the old process to disappear from pg_stat_activity.
Petr Jelinek
Discussion: https://postgr.es/m/62935e6f-4f1b-c433-e0fa-7f936a38b3e5@2ndquadrant.com
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions