On 2021-Oct-18, Alvaro Herrera wrote:
> Thanks. I'm looking at it now. I notice that if I take out the code
> fix and keep the tests, I only see the ATTACH side of the problem have a
> failure; I expected to see a failure for DETACH too.
Ah, no, the test covers both cases; it's just that if it fails the first
time, it'll fail to fail the second time. But if I run it separately,
and make it succeed the first time, then the second one will fail as
expected. This becomes better visible by adding \c in a few places, but
I don't think it's necessary to add it to the committed test -- I'm
taking the code as Amit submitted.
--
Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/
Maybe there's lots of data loss but the records of data loss are also lost.
(Lincoln Yeoh)