Re: Improve TAP tests of pg_upgrade for cross-version tests

From: "Anton A(dot) Melnikov" <aamelnikov(at)inbox(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Improve TAP tests of pg_upgrade for cross-version tests
Date: 2022-07-31 15:22:33
Message-ID: cc7e961a-d5ad-8c6d-574b-478aacc11cf7@inbox.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-07-31 15:49:51 Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Previous Message mahendrakar s 2022-07-31 15:05:58 Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory