aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-05-23 14:02:24 -0400
committerMagnus Hagander <magnus@hagander.net>2017-05-23 14:02:24 -0400
commit72d62b65f3902636ebe0010b335aadc9e1a7b4d0 (patch)
tree59958b5f8e6e7e8a09ac1d737f74cbb7faa4afea /src
parent5032f704ee39336a8b30a1ff92da161ac9dff345 (diff)
downloadpostgresql-72d62b65f3902636ebe0010b335aadc9e1a7b4d0.tar.gz
postgresql-72d62b65f3902636ebe0010b335aadc9e1a7b4d0.zip
Update URLs in pgindent source and README
Website and buildfarm is https, not http, and the ftp protocol will be shut down shortly.
Diffstat (limited to 'src')
-rw-r--r--src/tools/pgindent/README4
-rwxr-xr-xsrc/tools/pgindent/pgindent4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 878edf697ef..704cd4d5d84 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -20,7 +20,7 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
5) Download the typedef file from the buildfarm:
- wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
+ wget -O src/tools/pgindent/typedefs.list https://buildfarm.postgresql.org/cgi-bin/typedefs.pl
(see http://www.pgbuildfarm.org/cgi-bin/typedefs.pl?show_list for a full list of typedefs,
also http://adpgtech.blogspot.com/2015/05/running-pgindent-on-non-core-code-or.html)
@@ -67,7 +67,7 @@ BSD indent
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
We have fixed a few bugs which requre the NetBSD source to be patched
with indent.bsd.patch patch. A fully patched version is available at
-ftp://ftp.postgresql.org/pub/dev.
+https://ftp.postgresql.org/pub/dev.
GNU indent, version 2.2.6, has several problems, and is not recommended.
These bugs become pretty major when you are doing >500k lines of code.
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 0d3859d029d..85ce57079d6 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -453,7 +453,7 @@ sub run_build
chdir "$code_base/src/tools/pgindent";
my $typedefs_list_url =
- "http://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
+ "https://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
my $rv = getstore($typedefs_list_url, "tmp_typedefs.list");
@@ -463,7 +463,7 @@ sub run_build
$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
my $pg_bsd_indent_url =
- "ftp://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
+ "https://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
. $INDENT_VERSION
. ".tar.gz";