pgsql: Teach PostgresVersion all the ways to mark non-release code

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Teach PostgresVersion all the ways to mark non-release code
Date: 2021-04-24 13:45:18
Message-ID: E1laIb0-00053V-UC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Teach PostgresVersion all the ways to mark non-release code

As well as 'devel' version_stamp.pl provides for 'alphaN'
'betaN' and 'rcN', so teach PostgresVersion about those.

Also stash the version string instead of trying to reconstruct it during
stringification.

Discussion: https://postgr.es/m/YIHlw5nSgAHs4dK1@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aa271209f6d995488fc5cba9731415f974823990

Modified Files
--------------
src/test/perl/PostgresVersion.pm | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-04-24 17:52:43 pgsql: Provide pg_amcheck with an --install-missing option
Previous Message Michael Paquier 2021-04-24 06:12:47 pgsql: Fix come comments in execMain.c