Re: Improve TAP tests of pg_upgrade for cross-version tests
Anton A. Melnikov <aamelnikov@inbox.ru>
From: "Anton A. Melnikov" <aamelnikov@inbox.ru>
To: Michael Paquier <michael@paquier.xyz>,
Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>,
Robert Haas <robertmhaas@gmail.com>
Date: 2022-07-31T15:22:33Z
Lists: pgsql-hackers
Hello! On 30.07.2022 10:29, Michael Paquier wrote: > [ > - 'psql', '-X', > + "$newbindir/psql", '-X', > Found that adding $newbindir to psql gives an error when upgrading from versions 14 and below to master when the test tries to run upgrade_adapt.sql script: t/002_pg_upgrade.pl .. 1/? # Failed test 'ran adapt script' # at t/002_pg_upgrade.pl line 141. in regress_log_002_pg_upgrade: # Running: <$newbindir>/psql -X -f <$srcdir>/src/bin/pg_upgrade/upgrade_adapt.sql regression <$newbindir>/psql: symbol lookup error: <$newbindir>/psql: undefined symbol: PQmblenBounded Tests from 15-stable and from itself work as expected. Question about similar error was here: https://www.postgresql.org/message-id/flat/BN0PR20MB3912AA107FA6E90FB6B0A034FD9F9%40BN0PR20MB3912.namprd20.prod.outlook.com With best regards, -- Anton A. Melnikov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Add filtering capability for cross-version pg_upgrade tests
- 62be9e4cdc1d 16.0 landed