It seems postgresql-contrib installs postgresql16, which then had precedence in the $PATH. This resulted in the tests running postgresql16 for the non-16 tests. Obviously, this is not the behavior we want. I validated this because in the postgresql 14 logs you can see: starting PostgreSQL 16.3
Motivation
Fix our test environment
Testing
Validating it works as expected:
Checked the postgresql14 and postgresql15 to ensure the versions were what we expect
Description
It seems postgresql-contrib installs postgresql16, which then had precedence in the $PATH. This resulted in the tests running postgresql16 for the non-16 tests. Obviously, this is not the behavior we want. I validated this because in the postgresql 14 logs you can see:
starting PostgreSQL 16.3
Motivation
Fix our test environment
Testing
Validating it works as expected: Checked the postgresql14 and postgresql15 to ensure the versions were what we expect
starting PostgreSQL 14.12
starting PostgreSQL 15.7