Minimum Dependency Versions

From PostgreSQL wiki
Jump to navigationJump to search

This documents the minimum supported versions of the build and test dependencies for Postgres, as listed in the documentation, alongside any known rationale for keeping those particular versions.

Hopefully this makes it easier to remember what's holding a version back.

Name Minimum Version Rationale
GNU Make 3.81 As of 2025, Apple still ships this on macOS (last GPL v2 version).
Meson 0.57.2 See comments in top-level meson.build. (RHEL 8)
C Compiler GCC 4.9 / Clang ≈3.3 / VS 2022 (17.3) C11. See also discussion for PG20.
Flex 2.5.34 See commit 0869ea43e9c.
Bison 2.3 Ships with macOS (last GPL v2 version).
GNU Readline
libedit
zlib
ICU4C 55 See commit 4854b2373c7.
Perl 5.14 Shipped with Debian 7 (Wheezy), which is used in the buildfarm for obscure 32-bit architecture testing.
Python 3.6.8 Base version shipped with RHEL8.
Tcl 8.4 macOS ships with 8.5. See also commit e2609323eb5.
gettext
OpenSSL 1.1.1 Base version shipped with RHEL8.
LibreSSL 3.4 Shipped with OpenBSD 7.
MIT Kerberos
Curl 7.61 Shipped with RHEL8. Allows control over TLS 1.3 ciphers.
LZ4
zstd 1.4.0

The current development cycle is PG20. Historical revisions are linked below, for back branches:

- PostgreSQL 19
- PostgreSQL 18