diff options
author | Peter Eisentraut | 2025-01-17 07:35:52 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-01-17 08:30:42 +0000 |
commit | 0869ea43e9c2257819e5c8719e28fe3b5c527911 (patch) | |
tree | 267b1f13959c6350cf2169b040581b67222c6104 /src/backend/utils/misc/guc-file.l | |
parent | b0eff1098860f88dd385e6882ff7b1063d267213 (diff) |
Remove flex version checks
Remove the flex version checks from configure and meson. The cutoff
versions are all so ancient that this is no longer relevant, and what
the actual cutoff should be is a bit fuzzy.
This also removes the ancient behavior that configure would also
accept a "lex" program if it is actuall flex. This aligns the check
with meson in this respect.
For future reference, as of this commit, these are relevant flex
versions:
- The hard required minimum is flex 2.5.34 as of commit b1ef48980dd,
but this has not actually been tested.
- Prior to this, the minimum enforced by configure/meson was flex
2.5.35, which is the oldest present in the buildfarm right now.
- As of commit 6fdd5d95634, the oldest version that will compile
without warnings due to flex-generated code is flex 2.5.36.
- The oldest version that probably still has some practical relevance
is flex 2.5.37, which ships with CentOS/RHEL 7.
Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/backend/utils/misc/guc-file.l')
-rw-r--r-- | src/backend/utils/misc/guc-file.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l index c0ecb8b2ce2..11a1e2a3f9f 100644 --- a/src/backend/utils/misc/guc-file.l +++ b/src/backend/utils/misc/guc-file.l @@ -302,7 +302,7 @@ 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.35 (earliest we support). Otherwise, we would need to + * holds for all currently known flex versions. Otherwise, we would need to * copy the message. * * We return "int" since this takes the place of calls to fprintf(). |