fix: pin version of libpq to 17.x (#1649)
* fix: pin version of libpq to the major version installed
* fix: the variable is postgresql_major_version
* fix: using the correct var
* fix: default to postgres 15 major version
* fix: default to 15
* fix: supposedly main contains all releases for libpq5
* fix: syntax
* fix: different syntax
* fix: rely on ppa
* fix: ppa removal
* fix: change to trigger workflow
* fix: adding a test to see postgres version
* fix: testing for failure related to libpq5 version issue
* test: include read-only test for postgrest
* test: reduce log access time
* test: make sure to fail if version wrong
* chore: bump vars