Re: Issue with markers in isolation tester? Or not?

From: Michail Nikolaev <michail(dot)nikolaev(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issue with markers in isolation tester? Or not?
Date: 2025-01-13 23:33:57
Message-ID: CANtu0oixObnevEDSvp=6wz=DBHb18NS6YJmqmzNSVOJChwngAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello!

In case if someone will look for a workaround - it is possible to use
"notices N" mark.\

Instead of

step before {
SELECT injection_points_run('injection-points-wait-2');
}

use something like:

step before {
DO $$
BEGIN
PERFORM injection_points_run('injection-points-wait-2');
RAISE NOTICE 'before is complete';
END $$
}

and then:

permutation
after(before notices 1)
before
detach1
wakeup1
detach2
wakeup2

permutation
after(before notices 1)
wakeup1
before
detach1
detach2
wakeup2

in such a case, both permutations report "before" to be completed before
"after", not after.

Best regards,
Michail.

>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alena Rybakina 2025-01-13 23:51:47 Re: pgsql: Consolidate docs for vacuum-related GUCs in new subsection
Previous Message Jacob Champion 2025-01-13 23:21:31 Re: [PoC] Federated Authn/z with OAUTHBEARER