Re: multi-install PostgresNode fails with older postgres versions - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: multi-install PostgresNode fails with older postgres versions
Date
Msg-id 20210422183513.GA14549@alvherre.pgsql
Whole thread Raw
In response to Re: multi-install PostgresNode fails with older postgres versions  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: multi-install PostgresNode fails with older postgres versions  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 2021-Apr-22, Andrew Dunstan wrote:

>         # Accept standard formats, in case caller has handed us the
>     output of a
>         # postgres command line tool
>         my $devel;
>         ($arg,$devel) = ($1, $2)
>           if ($arg =~  m/^(?:\(?PostgreSQL\)? )?(\d+(?:\.\d+)*)(devel)?/);
> 
>         # Split into an array
>         my @result = split(/\./, $arg);
> 
>         # Treat development versions as having a minor/micro version one
>     less than
>         # the first released version of that branch.
>         push @result, -1 if ($devel);
> 
>         return bless \@result, $class;

WFM, thanks :-)

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: decoupling table and index vacuum
Next
From: Robert Haas
Date:
Subject: Re: decoupling table and index vacuum