aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-05-23 13:58:11 -0400
committerMagnus Hagander <magnus@hagander.net>2017-05-23 13:58:11 -0400
commitf61bd73993bd616ebdc0f34c204291461e3cb52e (patch)
treed9a56d5f42943ebcdd5e426b893554324399e7cc /src
parent1c9b6e818f047e07f1de62b4d11e0c5db2d55ab7 (diff)
downloadpostgresql-f61bd73993bd616ebdc0f34c204291461e3cb52e.tar.gz
postgresql-f61bd73993bd616ebdc0f34c204291461e3cb52e.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/README6
-rwxr-xr-xsrc/tools/pgindent/pgindent4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 28e7d65cdf8..ee27b732ec9 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -31,9 +31,9 @@ DOING THE INDENT RUN:
3) Download the latest 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
+ (See https://www.pgbuildfarm.org/cgi-bin/typedefs.pl?show_list for a full
list of typedef files, if you want to indent some back branch.)
4) Run pgindent on the C files:
@@ -109,7 +109,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 6b533a39f1d..f48af324262 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -452,7 +452,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");
@@ -462,7 +462,7 @@ sub run_build
$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
my $pg_bsd_indent_url =
- "http://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
+ "https://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
. $INDENT_VERSION
. ".tar.gz";