diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2023-09-08 22:50:56 +0900 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2023-09-08 22:50:56 +0900 |
commit | 1b95c8d85fa66c0ef63591b8064b023872a8f43c (patch) | |
tree | cc1e0e3aa89a115d1f88c0a706e9890f8d117206 /src/backend/executor/tqueue.c | |
parent | bae47d78673e42bc203bc5a8172e058f1c5bb548 (diff) | |
download | postgresql-1b95c8d85fa66c0ef63591b8064b023872a8f43c.tar.gz postgresql-1b95c8d85fa66c0ef63591b8064b023872a8f43c.zip |
Stabilize subscription stats test.
The new test added by commit 68a59f9e9 disables the subscription and
manually drops the associated replication slot. However, since
disabling the subsubscription doesn't wait for a walsender to release
the replication slot and exit, pg_drop_replication_slot() could
fail. Avoid failure by adding a wait for the replication slot to
become inactive.
Reported-by: Hou Zhijie, as per buildfarm
Reviewed-by: Hou Zhijie
Discussion: https://postgr.es/m/OS0PR01MB571682316378379AA34854F694E9A%40OS0PR01MB5716.jpnprd01.prod.outlook.com
Backpatch-through: 15
Diffstat (limited to 'src/backend/executor/tqueue.c')
0 files changed, 0 insertions, 0 deletions