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.7 / Clang ≈3.3 / VS 2019 (16.5) C11 but without _Generic, _Atomic, _Thread_local. RHEL7 ships GCC 4.8. See discussion for PG19.
Flex 2.5.34 See commit 0869ea43e9c.
Bison 2.3 Ships with macOS (last GPL v2 version).
GNU Readline
libedit
zlib
ICU4C 4.2 CentOS 6 (see commit eccead9ed43, obsolete)
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 See 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