Re: Improve TAP tests of pg_upgrade for cross-version tests - Mailing list pgsql-hackers

From Anton A. Melnikov
Subject Re: Improve TAP tests of pg_upgrade for cross-version tests
Date
Msg-id cc7e961a-d5ad-8c6d-574b-478aacc11cf7@inbox.ru
Whole thread Raw
In response to Re: Improve TAP tests of pg_upgrade for cross-version tests  (Michael Paquier <michael@paquier.xyz>)
List 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



pgsql-hackers by date:

Previous
From: mahendrakar s
Date:
Subject: Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory
Next
From: Tom Lane
Date:
Subject: Re: Add proper planner support for ORDER BY / DISTINCT aggregates