From a06e56b247feb2812bad5cf60fd9c0128d81f5c0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 16 Jul 2018 10:44:06 +0200 Subject: doc: Update redirecting links Update links that resulted in redirects. Most are changes from http to https, but there are also some other minor edits. (There are still some redirects where the target URL looks less elegant than the one we currently have. I have left those as is.) --- src/backend/lib/bipartite_match.c | 2 +- src/backend/utils/adt/numeric.c | 2 +- src/bin/pgbench/pgbench.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/backend/lib/bipartite_match.c b/src/backend/lib/bipartite_match.c index 5be5ed24f1c..2870b9e0634 100644 --- a/src/backend/lib/bipartite_match.c +++ b/src/backend/lib/bipartite_match.c @@ -5,7 +5,7 @@ * * This implementation is based on pseudocode found at: * - * http://en.wikipedia.org/w/index.php?title=Hopcroft%E2%80%93Karp_algorithm&oldid=593898016 + * https://en.wikipedia.org/w/index.php?title=Hopcroft%E2%80%93Karp_algorithm&oldid=593898016 * * Copyright (c) 2015-2018, PostgreSQL Global Development Group * diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c index 82a14295ee1..4d5042b2780 100644 --- a/src/backend/utils/adt/numeric.c +++ b/src/backend/utils/adt/numeric.c @@ -8353,7 +8353,7 @@ power_var_int(const NumericVar *base, int exp, NumericVar *result, int rscale) * While 0 ^ 0 can be either 1 or indeterminate (error), we treat * it as 1 because most programming languages do this. SQL:2003 * also requires a return value of 1. - * http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power + * https://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power */ set_var_from_var(&const_one, result); result->dscale = rscale; /* no need to round */ diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index f0c5149523d..41b756c0894 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -763,7 +763,7 @@ getGaussianRand(TState *thread, int64 min, int64 max, double parameter) * pg_erand48 generates [0,1), but for the basic version of the * Box-Muller transform the two uniformly distributed random numbers * are expected in (0, 1] (see - * http://en.wikipedia.org/wiki/Box_muller) + * https://en.wikipedia.org/wiki/Box-Muller_transform) */ double rand1 = 1.0 - pg_erand48(thread->random_state); double rand2 = 1.0 - pg_erand48(thread->random_state); -- cgit v1.2.3