Re: Issue with markers in isolation tester? Or not? - Mailing list pgsql-hackers

From Michail Nikolaev
Subject Re: Issue with markers in isolation tester? Or not?
Date
Msg-id CANtu0oixObnevEDSvp=6wz=DBHb18NS6YJmqmzNSVOJChwngAA@mail.gmail.com
Whole thread Raw
List 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.

pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: New GUC autovacuum_max_threshold ?
Next
From: Alena Rybakina
Date:
Subject: Re: pgsql: Consolidate docs for vacuum-related GUCs in new subsection