From a06e56b247feb2812bad5cf60fd9c0128d81f5c0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 16 Jul 2018 10:44:06 +0200 Subject: [PATCH] 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.) --- doc/src/sgml/acronyms.sgml | 94 ++++++++++++++--------------- doc/src/sgml/bloom.sgml | 2 +- doc/src/sgml/client-auth.sgml | 2 +- doc/src/sgml/docguide.sgml | 14 ++--- doc/src/sgml/external-projects.sgml | 6 +- doc/src/sgml/history.sgml | 4 +- doc/src/sgml/install-windows.sgml | 8 +-- doc/src/sgml/installation.sgml | 10 +-- doc/src/sgml/isn.sgml | 14 ++--- doc/src/sgml/nls.sgml | 2 +- doc/src/sgml/passwordcheck.sgml | 2 +- doc/src/sgml/pgcrypto.sgml | 14 ++--- doc/src/sgml/plpython.sgml | 14 ++--- doc/src/sgml/problems.sgml | 2 +- doc/src/sgml/release.sgml | 6 +- doc/src/sgml/runtime.sgml | 4 +- doc/src/sgml/spgist.sgml | 2 +- doc/src/sgml/textsearch.sgml | 8 +-- doc/src/sgml/wal.sgml | 2 +- src/backend/lib/bipartite_match.c | 2 +- src/backend/utils/adt/numeric.c | 2 +- src/bin/pgbench/pgbench.c | 2 +- 22 files changed, 105 insertions(+), 111 deletions(-) diff --git a/doc/src/sgml/acronyms.sgml b/doc/src/sgml/acronyms.sgml index d17b6ff8f0..411e368a9c 100644 --- a/doc/src/sgml/acronyms.sgml +++ b/doc/src/sgml/acronyms.sgml @@ -13,7 +13,7 @@ ANSI - + American National Standards Institute @@ -23,7 +23,7 @@ API - Application Programming Interface + Application Programming Interface @@ -32,7 +32,7 @@ ASCII - American Standard + American Standard Code for Information Interchange @@ -51,7 +51,7 @@ CA - Certificate Authority + Certificate Authority @@ -61,7 +61,7 @@ Classless + url="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless Inter-Domain Routing @@ -81,7 +81,7 @@ Certificate + url="https://en.wikipedia.org/wiki/Certificate_revocation_list">Certificate Revocation List @@ -92,7 +92,7 @@ Comma + url="https://en.wikipedia.org/wiki/Comma-separated_values">Comma Separated Values @@ -121,7 +121,7 @@ Database + url="https://en.wikipedia.org/wiki/Database_administrator">Database Administrator @@ -131,7 +131,7 @@ DBI - Database Interface (Perl) + Database Interface (Perl) @@ -140,7 +140,7 @@ DBMS - Database Management + Database Management System @@ -151,7 +151,7 @@ Data + url="https://en.wikipedia.org/wiki/Data_Definition_Language">Data Definition Language, SQL commands such as CREATE TABLE, ALTER USER @@ -163,7 +163,7 @@ Data + url="https://en.wikipedia.org/wiki/Data_Manipulation_Language">Data Manipulation Language, SQL commands such as INSERT, UPDATE, DELETE @@ -175,7 +175,7 @@ Daylight + url="https://en.wikipedia.org/wiki/Daylight_saving_time">Daylight Saving Time @@ -194,7 +194,7 @@ ESQL - Embedded + Embedded SQL @@ -204,7 +204,7 @@ FAQ - Frequently Asked + Frequently Asked Questions @@ -251,7 +251,7 @@ Git + url="https://en.wikipedia.org/wiki/Git_(software)">Git @@ -260,7 +260,7 @@ GMT - Greenwich Mean Time + Greenwich Mean Time @@ -270,7 +270,7 @@ Generic + url="https://en.wikipedia.org/wiki/Generic_Security_Services_Application_Program_Interface">Generic Security Services Application Programming Interface @@ -300,7 +300,7 @@ Heap-Only + url="https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/access/heap/README.HOT;hb=HEAD">Heap-Only Tuples @@ -311,7 +311,7 @@ International + url="https://en.wikipedia.org/wiki/International_Electrotechnical_Commission">International Electrotechnical Commission @@ -332,7 +332,7 @@ Inter-Process + url="https://en.wikipedia.org/wiki/Inter-process_communication">Inter-Process Communication @@ -342,7 +342,7 @@ ISO - International Organization for + International Organization for Standardization @@ -352,7 +352,7 @@ ISSN - International Standard + International Standard Serial Number @@ -363,7 +363,7 @@ Java + url="https://en.wikipedia.org/wiki/Java_Database_Connectivity">Java Database Connectivity @@ -394,7 +394,7 @@ Lightweight + url="https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">Lightweight Directory Access Protocol @@ -415,7 +415,7 @@ Microsoft + url="https://en.wikipedia.org/wiki/Visual_C++">Microsoft Visual C @@ -435,7 +435,7 @@ National + url="https://en.wikipedia.org/wiki/Internationalization_and_localization">National Language Support @@ -446,7 +446,7 @@ Open + url="https://en.wikipedia.org/wiki/Open_Database_Connectivity">Open Database Connectivity @@ -465,7 +465,7 @@ OLAP - Online Analytical + Online Analytical Processing @@ -475,7 +475,7 @@ OLTP - Online Transaction + Online Transaction Processing @@ -485,7 +485,7 @@ ORDBMS - Object-Relational + Object-Relational Database Management System @@ -496,7 +496,7 @@ Pluggable + url="https://en.wikipedia.org/wiki/Pluggable_Authentication_Modules">Pluggable Authentication Modules @@ -524,7 +524,7 @@ PID - Process Identifier + Process Identifier @@ -552,7 +552,7 @@ POSIX - Portable Operating + Portable Operating System Interface @@ -563,7 +563,7 @@ Relational + url="https://en.wikipedia.org/wiki/Relational_database_management_system">Relational Database Management System @@ -574,7 +574,7 @@ Request For + url="https://en.wikipedia.org/wiki/Request_for_Comments">Request For Comments @@ -584,7 +584,7 @@ SGML - Standard Generalized + Standard Generalized Markup Language @@ -612,7 +612,7 @@ SQL - Structured Query Language + Structured Query Language @@ -630,7 +630,7 @@ SSH - Secure + Secure Shell @@ -640,7 +640,7 @@ SSL - Secure Sockets Layer + Secure Sockets Layer @@ -649,7 +649,7 @@ SSPI - Security + Security Support Provider Interface @@ -659,7 +659,7 @@ SYSV - Unix System V + Unix System V @@ -669,7 +669,7 @@ Transmission + url="https://en.wikipedia.org/wiki/Transmission_Control_Protocol">Transmission Control Protocol (TCP) / Internet Protocol (IP) @@ -707,7 +707,7 @@ URL - Uniform Resource + Uniform Resource Locator @@ -718,7 +718,7 @@ Coordinated + url="https://en.wikipedia.org/wiki/Coordinated_Universal_Time">Coordinated Universal Time @@ -738,7 +738,7 @@ UTF8 - Eight-Bit Unicode + Eight-Bit Unicode Transformation Format @@ -775,7 +775,7 @@ XML - Extensible Markup + Extensible Markup Language diff --git a/doc/src/sgml/bloom.sgml b/doc/src/sgml/bloom.sgml index e13ebf80fd..f857b09bd6 100644 --- a/doc/src/sgml/bloom.sgml +++ b/doc/src/sgml/bloom.sgml @@ -9,7 +9,7 @@ bloom provides an index access method based on - Bloom filters. + Bloom filters. diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index 656d5f9417..c2114021c3 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1889,7 +1889,7 @@ host ... ldap ldapserver=ldap.example.net ldapbasedn="dc=example, dc=net" ldapse connected remote host name or IP address. Therefore the user must already exist in the database before PAM can be used for authentication. For more information about PAM, please read the - + Linux-PAM Page. diff --git a/doc/src/sgml/docguide.sgml b/doc/src/sgml/docguide.sgml index 21bb429745..420a2f9d6e 100644 --- a/doc/src/sgml/docguide.sgml +++ b/doc/src/sgml/docguide.sgml @@ -57,13 +57,13 @@ structure and content of a technical document without worrying about presentation details. A document style defines how that content is rendered into one of several final forms. DocBook is - maintained by the - OASIS group. The + maintained by the + OASIS group. The official DocBook site has good introductory and reference documentation and a complete O'Reilly book for your online reading pleasure. The NewbieDoc Docbook Guide is very helpful for beginners. - The + The FreeBSD Documentation Project also uses DocBook and has some good information, including a number of style guidelines that might be worth considering. @@ -187,12 +187,6 @@ pkg install docbook-xml docbook-xsl fop libxslt directory you'll need to use gmake, because the makefile provided is not suitable for FreeBSD's make. - - - More information about the FreeBSD documentation tools can be - found in the - FreeBSD Documentation Project's instructions. - @@ -276,7 +270,7 @@ checking for fop... fop To produce HTML documentation with the stylesheet used on postgresql.org instead of the + url="https://www.postgresql.org/docs/current/">postgresql.org instead of the default simple style use: doc/src/sgml$ make STYLE=website html diff --git a/doc/src/sgml/external-projects.sgml b/doc/src/sgml/external-projects.sgml index 364fe7d04a..81742d227b 100644 --- a/doc/src/sgml/external-projects.sgml +++ b/doc/src/sgml/external-projects.sgml @@ -65,7 +65,7 @@ DBD::Pg Perl Perl DBI driver - + @@ -107,7 +107,7 @@ pgtclng Tcl - + @@ -146,7 +146,7 @@ There are several administration tools available for PostgreSQL. The most popular is - pgAdmin, + pgAdmin, and there are several commercially available ones as well. diff --git a/doc/src/sgml/history.sgml b/doc/src/sgml/history.sgml index 59bfdb6055..180695afd9 100644 --- a/doc/src/sgml/history.sgml +++ b/doc/src/sgml/history.sgml @@ -64,9 +64,9 @@ POSTGRES has also been used as an educational tool at several universities. Finally, Illustra Information Technologies (later merged into - Informix, + Informix, which is now owned by IBM) picked up the code and + url="https://www.ibm.com/">IBM) picked up the code and commercialized it. In late 1992, POSTGRES became the primary data manager for the diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml index 276ea27461..9597bc35a1 100644 --- a/doc/src/sgml/install-windows.sgml +++ b/doc/src/sgml/install-windows.sgml @@ -182,7 +182,7 @@ $ENV{MSBFLAGS}="/m"; ActiveState Perl is required to run the build generation scripts. MinGW or Cygwin Perl will not work. It must also be present in the PATH. Binaries can be downloaded from - + (Note: version 5.8.3 or later is required, the free Standard Distribution is sufficient). @@ -296,7 +296,7 @@ $ENV{MSBFLAGS}="/m"; OpenSSL Required for SSL support. Binaries can be downloaded from - + or source from . @@ -314,7 +314,7 @@ $ENV{MSBFLAGS}="/m"; Python Required for building PL/Python. Binaries can - be downloaded from . + be downloaded from . @@ -473,7 +473,7 @@ $ENV{CONFIG}="Debug"; ActiveState Perl installation, nor in the ActiveState Perl Package Manager (PPM) library. To install, download the IPC-Run-<version>.tar.gz source archive from CPAN, - at , and + at , and uncompress. Edit the buildenv.pl file, and add a PERL5LIB variable to point to the lib subdirectory from the extracted archive. For example: diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 7a7823b7a3..fa90e9104a 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -316,7 +316,7 @@ su - postgres If you need to get a GNU package, you can find it at your local GNU mirror site (see + url="https://www.gnu.org/prep/ftp"> for a list) or at . @@ -1805,7 +1805,7 @@ setenv LD_LIBRARY_PATH /usr/local/pgsql/lib /etc/profile or ~/.bash_profile. Some good information about the caveats associated with this method can be found at . + url="http://xahlee.info/UnixResource_dir/_/ldpath.html">. @@ -2534,7 +2534,7 @@ PHSS_30849 s700_800 u2comp/be/plugin library Patch To build 64 bit binaries using MinGW, install the 64 bit tool set - from , put its bin + from , put its bin directory in the PATH, and run configure with the --host=x86_64-w64-mingw32 option. @@ -2593,14 +2593,14 @@ PHSS_30849 s700_800 u2comp/be/plugin library Patch You can download Sun Studio - from . + from . Many of GNU tools are integrated into Solaris 10, or they are present on the Solaris companion CD. If you like packages for older version of Solaris, you can find these tools at . If you prefer sources, look - at . + at . diff --git a/doc/src/sgml/isn.sgml b/doc/src/sgml/isn.sgml index 34d37ede01..598dda2e9a 100644 --- a/doc/src/sgml/isn.sgml +++ b/doc/src/sgml/isn.sgml @@ -355,19 +355,19 @@ SELECT isbn13(id) FROM test; The information to implement this module was collected from several sites, including: - + - - + + The prefixes used for hyphenation were also compiled from: - - + + - - + + Care was taken during the creation of the algorithms and they diff --git a/doc/src/sgml/nls.sgml b/doc/src/sgml/nls.sgml index 16e25abd31..0035746845 100644 --- a/doc/src/sgml/nls.sgml +++ b/doc/src/sgml/nls.sgml @@ -153,7 +153,7 @@ msgstr "another translated" can also be named language_region.po where region is the - + ISO 3166-1 two-letter country code (in upper case), e.g., pt_BR.po for Portuguese in Brazil. If you diff --git a/doc/src/sgml/passwordcheck.sgml b/doc/src/sgml/passwordcheck.sgml index 3db169b4c1..4128b6cc4f 100644 --- a/doc/src/sgml/passwordcheck.sgml +++ b/doc/src/sgml/passwordcheck.sgml @@ -25,7 +25,7 @@ You can adapt this module to your needs by changing the source code. For example, you can use - CrackLib + CrackLib to check passwords — this only requires uncommenting two lines in the Makefile and rebuilding the module. (We cannot include CrackLib diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index efa193d22e..7e726cc891 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -956,9 +956,9 @@ gpg -a --export-secret-keys KEYID > secret.key For more details see man gpg, - The GNU + The GNU Privacy Handbook and other documentation on - . + . @@ -1274,7 +1274,7 @@ gen_random_uuid() returns uuid The implementation does not resist - side-channel + side-channel attacks. For example, the time required for a pgcrypto decryption function to complete varies among ciphertexts of a given size. @@ -1286,7 +1286,7 @@ gen_random_uuid() returns uuid - + The GNU Privacy Handbook. @@ -1295,7 +1295,7 @@ gen_random_uuid() returns uuid - + How to choose a good password. @@ -1330,13 +1330,13 @@ gen_random_uuid() returns uuid - + Comparison of crypt-des, crypt-md5 and bcrypt algorithms. - + Description of Fortuna CSPRNG. diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index de38327242..d086ddf6ca 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -9,7 +9,7 @@ The PL/Python procedural language allows PostgreSQL functions to be written in the - Python language. + Python language. @@ -89,7 +89,7 @@ This scheme is analogous to the recommendations in PEP 394 regarding the + url="https://www.python.org/dev/peps/pep-0394/">PEP 394 regarding the naming and transitioning of the python command. @@ -165,7 +165,7 @@ See also the - document What's + document What's New In Python 3.0 for more information about porting to Python 3. @@ -1116,7 +1116,7 @@ $$ LANGUAGE plpythonu; batch of rows, never larger than the parameter value. Once all rows are exhausted, fetch starts returning an empty result object. Cursor objects also provide an - iterator + iterator interface, yielding one row at a time until all rows are exhausted. Data fetched that way is not returned as result objects, but rather as dictionaries, each dictionary corresponding to a single result @@ -1167,7 +1167,7 @@ $$ LANGUAGE plpythonu; Do not confuse objects created by plpy.cursor with DB-API cursors as defined by - the Python + the Python Database API specification. They don't have anything in common except for the name. @@ -1297,7 +1297,7 @@ $$ LANGUAGE plpythonu; helper object to manage explicit subtransactions that gets created with the plpy.subtransaction() function. Objects created by this function implement the - + context manager interface. Using explicit subtransactions we can rewrite our function as: @@ -1373,7 +1373,7 @@ $$ LANGUAGE plpythonu; Although context managers were implemented in Python 2.5, to use the with syntax in that version you need to use a future + url="https://docs.python.org/release/2.5/ref/future.html">future statement. Because of implementation details, however, you cannot use future statements in PL/Python functions. diff --git a/doc/src/sgml/problems.sgml b/doc/src/sgml/problems.sgml index 7d14789e51..eced8dfdf2 100644 --- a/doc/src/sgml/problems.sgml +++ b/doc/src/sgml/problems.sgml @@ -264,7 +264,7 @@ It is better to report everything the first time than us having to squeeze the facts out of you. On the other hand, if your input files are huge, it is fair to ask first whether somebody is interested in looking into it. Here is - an article + an article that outlines some more tips on reporting bugs. diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index 11a7f171c6..b78a942bcd 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -24,7 +24,7 @@ non-ASCII characters find using grep -P '[\x80-\xFF]' one page: http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html other lists: http://www.zipcon.net/~swhite/docs/computers/browsers/entities.html http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html - http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references + https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references We cannot use UTF8 because back branches still use SGML Docbook, which does not support it. Also, rendering engines have to @@ -58,9 +58,9 @@ For new features, add links to the documentation sections. A complete list of changes for each release can be obtained by viewing the Git logs for each release. The pgsql-committers + url="https://www.postgresql.org/list/pgsql-committers/">pgsql-committers email list records all source code changes as well. There is also - a web + a web interface that shows changes to specific files. diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 1c92e7df75..06c0ee7de2 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -248,7 +248,7 @@ postgres$ initdb -D /usr/local/pgsql/data If the client or server NFS implementation does not provide standard file system semantics, this can cause reliability problems (see ). + url="https://www.time-travellers.org/shane/papers/NFS_considered_harmful.html">). Specifically, delayed (asynchronous) writes to the NFS server can cause data corruption problems. If possible, mount the NFS file system synchronously (without caching) to avoid @@ -1400,7 +1400,7 @@ Out of Memory: Killed process 12345 (postgres). On Linux 2.6 and later, it is possible to modify the kernel's behavior so that it will not overcommit memory. Although this setting will not prevent the OOM killer from being invoked + url="https://lwn.net/Articles/104179/">OOM killer from being invoked altogether, it will lower the chances significantly and will therefore lead to more robust system behavior. This is done by selecting strict overcommit mode via sysctl: diff --git a/doc/src/sgml/spgist.sgml b/doc/src/sgml/spgist.sgml index 1816fdf1d5..d69f034f1c 100644 --- a/doc/src/sgml/spgist.sgml +++ b/doc/src/sgml/spgist.sgml @@ -43,7 +43,7 @@ Some of the information here is derived from Purdue University's SP-GiST Indexing Project - web site. + web site. The SP-GiST implementation in PostgreSQL is primarily maintained by Teodor Sigaev and Oleg Bartunov, and there is more information on their diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 8075ea94e7..6df424c63e 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -2871,12 +2871,12 @@ SELECT plainto_tsquery('supernova star'); The standard PostgreSQL distribution does not include any Ispell configuration files. Dictionaries for a large number of languages are available from Ispell. + url="https://www.cs.hmc.edu/~geoff/ispell.html">Ispell. Also, some more modern dictionary file formats are supported — MySpell (OO < 2.0.1) - and Hunspell + url="https://en.wikipedia.org/wiki/MySpell">MySpell (OO < 2.0.1) + and Hunspell (OO >= 2.0.2). A large list of dictionaries is available on the OpenOffice + url="https://wiki.openoffice.org/wiki/Dictionaries">OpenOffice Wiki. diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index 8727f3c26b..4eb8feb903 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -155,7 +155,7 @@ If you use SSDs, be aware that many of these do not honor cache flush commands by default. You can test for reliable I/O subsystem behavior using diskchecker.pl. + url="https://brad.livejournal.com/2116715.html">diskchecker.pl. 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);