diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-07-31 13:42:48 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-07-31 13:42:48 -0400 |
commit | d6f87a23d016d6cae9a062fb83d3d851ff1a5305 (patch) | |
tree | 36e8f3c6cfceb10e504255fd2d18886351f12b76 | |
parent | df52739ce3e7b57791c3d2278fa945a4bed61947 (diff) | |
download | postgresql-d6f87a23d016d6cae9a062fb83d3d851ff1a5305.tar.gz postgresql-d6f87a23d016d6cae9a062fb83d3d851ff1a5305.zip |
Doc: specify that the minimum supported version of Perl is 5.8.3.
Previously the docs just said "5.8 or later". Experimentation shows
that while you can build on Unix from a git checkout with 5.8.0,
compiling recent PL/Perl requires at least 5.8.1, and you won't be
able to run the TAP tests with less than 5.8.3 because that's when
they added "prove". (I do not have any information on just what the
MSVC build scripts require.)
Since all these versions are quite ancient, let's not split hairs
in the docs, but just say that 5.8.3 is the minimum requirement.
Discussion: https://postgr.es/m/16894.1501392088@sss.pgh.pa.us
-rw-r--r-- | doc/src/sgml/install-windows.sgml | 3 | ||||
-rw-r--r-- | doc/src/sgml/installation.sgml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml index 11d4da293b3..deb56e9fe1e 100644 --- a/doc/src/sgml/install-windows.sgml +++ b/doc/src/sgml/install-windows.sgml @@ -180,7 +180,8 @@ $ENV{PATH}=$ENV{PATH} . ';c:\some\where\bison\bin'; ActiveState Perl is required to run the build generation scripts. MinGW or Cygwin Perl will not work. It must also be present in the PATH. Binaries can be downloaded from - <ulink url="http://www.activestate.com"></> (Note: version 5.8 or later is required, + <ulink url="http://www.activestate.com"></> + (Note: version 5.8.3 or later is required, the free Standard Distribution is sufficient). </para></listitem> </varlistentry> diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 79d8c6cf137..a724a938fb8 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -163,6 +163,7 @@ su - postgres <application>PL/Perl</application> you need a full <productname>Perl</productname> installation, including the <filename>libperl</filename> library and the header files. + The minimum required version is <productname>Perl</productname> 5.8.3. Since <application>PL/Perl</application> will be a shared library, the <indexterm><primary>libperl</primary></indexterm> <filename>libperl</filename> library must be a shared library @@ -307,7 +308,7 @@ su - postgres <primary>perl</primary> </indexterm> - <application>Perl</> 5.8 or later is needed to build from a Git checkout, + <application>Perl</> 5.8.3 or later is needed to build from a Git checkout, or if you changed the input files for any of the build steps that use Perl scripts. If building on Windows you will need <application>Perl</> in any case. <application>Perl</application> is |