summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor2022-09-06 04:41:58 +0000
committerJohn Naylor2022-09-09 05:55:23 +0000
commit8b878bffa8d8ac7e13508025c3ca5e6101e3a5e8 (patch)
tree311263a4649908bec0489075037203048fd2e412 /src
parentb086a47a270fba133969e78f1fb9e264725d97ae (diff)
Bump minimum version of Flex to 2.5.35
Since the retirement of some older buildfarm members, the oldest Flex that gets regular testing is 2.5.35. Reviewed by Andres Freund Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/misc/guc-file.l4
-rw-r--r--src/tools/msvc/pgflex.pl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l
index 4f43430db4c..721628c0cf1 100644
--- a/src/backend/utils/misc/guc-file.l
+++ b/src/backend/utils/misc/guc-file.l
@@ -332,8 +332,8 @@ record_config_file_error(const char *errmsg,
/*
* Flex fatal errors bring us here. Stash the error message and jump back to
* ParseConfigFp(). Assume all msg arguments point to string constants; this
- * holds for flex 2.5.31 (earliest we support) and flex 2.5.35 (latest as of
- * this writing). Otherwise, we would need to copy the message.
+ * holds for flex 2.5.35 (earliest we support). Otherwise, we would need to
+ * copy the message.
*
* We return "int" since this takes the place of calls to fprintf().
*/
diff --git a/src/tools/msvc/pgflex.pl b/src/tools/msvc/pgflex.pl
index eb3198381f6..b62478b9f59 100644
--- a/src/tools/msvc/pgflex.pl
+++ b/src/tools/msvc/pgflex.pl
@@ -21,7 +21,7 @@ $flexver = (split(/\s+/, $flexver))[1];
$flexver =~ s/[^0-9.]//g;
my @verparts = split(/\./, $flexver);
unless ($verparts[0] == 2
- && ($verparts[1] > 5 || ($verparts[1] == 5 && $verparts[2] >= 31)))
+ && ($verparts[1] > 5 || ($verparts[1] == 5 && $verparts[2] >= 35)))
{
print "WARNING! Flex install not found, or unsupported Flex version.\n";
print "echo Attempting to build without.\n";