summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorJohn Naylor2022-09-06 04:41:58 +0000
committerJohn Naylor2022-09-09 05:31:41 +0000
commitb086a47a270fba133969e78f1fb9e264725d97ae (patch)
treecf280575aec027f770f2f7e0a9a56684537cf924 /src/tools
parent96683db880cab7791006fcc13416d67f6230a2f7 (diff)
Bump minimum version of Bison to 2.3
Since the retirement of some older buildfarm members, the oldest Bison that gets regular testing is 2.3. MacOS ships that version, and will continue doing so for the forseeable future because of Apple's policy regarding GPLv3. While Mac users could use a package manager to install a newer version, there is no compelling reason to force them do so at this time. Reviewed by Andres Freund Discussion: https://www.postgresql.org/message-id/1097762.1662145681@sss.pgh.pa.us
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc/pgbison.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/pgbison.pl b/src/tools/msvc/pgbison.pl
index 3974c30d96d..60935adbaa7 100644
--- a/src/tools/msvc/pgbison.pl
+++ b/src/tools/msvc/pgbison.pl
@@ -16,7 +16,7 @@ do './src/tools/msvc/buildenv.pl' if -e 'src/tools/msvc/buildenv.pl';
my ($bisonver) = `bison -V`; # grab first line
$bisonver = (split(/\s+/, $bisonver))[3]; # grab version number
-unless ($bisonver eq '1.875' || $bisonver ge '2.2')
+unless ($bisonver ge '2.3')
{
print "WARNING! Bison install not found, or unsupported Bison version.\n";
print "echo Attempting to build without.\n";