Skip to content

Commit beaa3b1

Browse files
committed
Update URLs in pgindent source and README
Website and buildfarm is https, not http, and the ftp protocol will be shut down shortly.
1 parent b3c536b commit beaa3b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tools/pgindent/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
2020

2121
5) Download the typedef file from the buildfarm:
2222

23-
wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
23+
wget -O src/tools/pgindent/typedefs.list https://buildfarm.postgresql.org/cgi-bin/typedefs.pl
2424

2525
6) Run pgindent:
2626

@@ -62,7 +62,7 @@ BSD indent
6262
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
6363
We have fixed a few bugs which requre the NetBSD source to be patched
6464
with indent.bsd.patch patch. A fully patched version is available at
65-
ftp://ftp.postgresql.org/pub/dev.
65+
https://ftp.postgresql.org/pub/dev.
6666

6767
GNU indent, version 2.2.6, has several problems, and is not recommended.
6868
These bugs become pretty major when you are doing >500k lines of code.

src/tools/pgindent/pgindent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ sub run_build
445445
chdir "$code_base/src/tools/pgindent";
446446

447447
my $typedefs_list_url =
448-
"http://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
448+
"https://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
449449

450450
my $rv = getstore($typedefs_list_url, "tmp_typedefs.list");
451451

@@ -455,7 +455,7 @@ sub run_build
455455
$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
456456

457457
my $pg_bsd_indent_url =
458-
"ftp://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
458+
"https://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
459459
. $INDENT_VERSION
460460
. ".tar.gz";
461461

0 commit comments

Comments
 (0)