summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2018-07-16 08:44:06 +0000
committerPeter Eisentraut2018-07-16 08:48:05 +0000
commita06e56b247feb2812bad5cf60fd9c0128d81f5c0 (patch)
treed1ff92ce2a479bf352d0ee8883c461198ef411b7 /src
parent1007b0a126c608b530fd2914825f1e6d133cb649 (diff)
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.)
Diffstat (limited to 'src')
-rw-r--r--src/backend/lib/bipartite_match.c2
-rw-r--r--src/backend/utils/adt/numeric.c2
-rw-r--r--src/bin/pgbench/pgbench.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/lib/bipartite_match.c b/src/backend/lib/bipartite_match.c
index 5be5ed24f1..2870b9e063 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 82a14295ee..4d5042b278 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 f0c5149523..41b756c089 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);