diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-07-17 13:19:17 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-07-17 13:19:17 -0400 |
commit | 7099ba0580356bb455d75de4f6cd0faa046e1a10 (patch) | |
tree | 211a78be33cd9c2dfdf4d816526a4c2ea39d3bb1 /src/backend/commands/async.c | |
parent | 35e9d26a1bfe0d4fb726edc5c03b8e4fcc0a9869 (diff) | |
download | postgresql-7099ba0580356bb455d75de4f6cd0faa046e1a10.tar.gz postgresql-7099ba0580356bb455d75de4f6cd0faa046e1a10.zip |
Make new replication slot test code less racy
The new test code added in ead9e51e8236 is racy -- it hinges on
shared-memory state, which changes before the WARNING message is logged.
Put it the other way around.
Backpatch to 13.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/202107161809.zclasccpfcg3@alvherre.pgsql
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions