postgres.git / summary / log / commit / refs
commit 46cda5bf7bc209554b3c1bbb3040b45735387e0c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Apr 25 17:58:39 2018 +0000
First released in: 11.0
Change pgindent/README to specify that we use perltidy version 20170521.
Per discussion, this is now the project's standard version.
Update the obsolete URL, and explain how to install a specific version.
Discussion: https://postgr.es/m/CABUevEzK3cNiHZQ18f5tK0guoT+cN_jWeVzhYYxY=r+1Q3SmoA@mail.gmail.com
src/tools/pgindent/README | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index ae425da285e..dce80285970 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -14,9 +14,14 @@ PREREQUISITES:
git clone https://git.postgresql.org/git/pg_bsd_indent.git
then follow the directions in README.pg_bsd_indent therein.
-2) Install perltidy. Please be sure it is v20090616 (older and newer
- versions make different formatting choices, and we want consistency). See
- https://sourceforge.net/projects/perltidy/files/perltidy/perltidy-20090616/
+2) Install perltidy. Please be sure it is version 20170521 (older and newer
+ versions make different formatting choices, and we want consistency).
+ You can get the correct version from
+ https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/
+ To install, follow the usual install process for a Perl module
+ ("man perlmodinstall" explains it). Or, if you have cpan installed,
+ this should work:
+ cpan SHANCOCK/Perl-Tidy-20170521.tar.gz
DOING THE INDENT RUN:
[parent: 4eaf7eaccb29]