pgsql: Remove flex version checks

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove flex version checks
Date: 2025-01-17 08:36:00
Message-ID: E1tYhpg-00232u-0I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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/1a204ccd-7ae6-478c-a431-407b5c48ccc6@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0869ea43e9c2257819e5c8719e28fe3b5c527911

Modified Files
--------------
config/programs.m4 | 51 ++------------------
configure | 97 +++++++++++++++++++++------------------
doc/src/sgml/installation.sgml | 14 +++---
meson.build | 2 +-
src/backend/utils/misc/guc-file.l | 2 +-
5 files changed, 66 insertions(+), 100 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2025-01-17 09:38:00 pgsql: Speed up hex_encode with bytewise lookup
Previous Message Peter Eisentraut 2025-01-17 07:29:09 pgsql: Add pg_nodiscard decorations to base64 functions