On Fri, Jul 29, 2022 at 04:15:26PM -0500, Justin Pryzby wrote: > This was using the old psql rather than the new one. > Before v10, psql didn't have \if.
# Note that upgrade_adapt.sql from the new version is used, to # cope with an upgrade to this version. - $oldnode->command_ok( + $newnode->command_ok( [ - 'psql', '-X', + "$newbindir/psql", '-X', Yeah, you are right here that this psql command should use the one from the new cluster and connect to the old cluster. There is no point in adding $newbindir though as Cluster::_get_env would enforce PATH to find the correct binary. I'll look at that in details later. -- Michael
signature.asc
Description: PGP signature