Fix transaction.sql tests in higher isolation levels.

Thomas Munro <tmunro@postgresql.org>

Commit: 37929599499fe5760a9dbab48a10a898879a0d44
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-03-17T04:26:20Z
Releases: 14.0
Fix transaction.sql tests in higher isolation levels.

It seems like a useful sanity check to be able to run "installcheck"
against a cluster running with default_transaction_level set to
serializable or repeatable read.  Only one thing currently fails in
those configurations, so let's fix that.

No back-patch for now, because it fails in many other places in some of
the stable branches.  We'd have to go back and fix those too if we
included this configuration in automated testing.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGJUaHeK%3DHLATxF1JOKDjKJVrBKA-zmbPAebOM0Se2FQRg%40mail.gmail.com

Files

Discussion