]> granicus.if.org Git - postgresql/commitdiff
Manually un-break a few URLs that pgindent used to insist on splitting.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jun 2017 20:02:08 +0000 (16:02 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jun 2017 20:02:08 +0000 (16:02 -0400)
These will no longer get re-split by pgindent runs, so it's worth cleaning
them up now.

Discussion: https://postgr.es/m/E1dAmxK-0006EE-1r@gemulon.postgresql.org
Discussion: https://postgr.es/m/30527.1495162840@sss.pgh.pa.us

src/backend/utils/adt/numeric.c
src/backend/utils/adt/selfuncs.c
src/bin/pg_ctl/pg_ctl.c
src/bin/psql/copy.c

index 1d0ca1b7943a8a6d9852071952be2603ddbb94a5..3e5614ece30d4f012e554084e83ab387ef10bd03 100644 (file)
@@ -8175,8 +8175,7 @@ power_var_int(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_pow
-                        * er
+                        * http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power
                         */
                        set_var_from_var(&const_one, result);
                        result->dscale = rscale;        /* no need to round */
index ce4c5b5078364d34788e68719567894abb2279ae..e103f5ef16c4d0b47de25248af73c01cacd07041 100644 (file)
@@ -4220,8 +4220,7 @@ convert_string_datum(Datum value, Oid typid)
 
                /*
                 *
-                * http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
-                * FeedbackID=99694
+                * http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99694
                 */
                {
                        char            x[1];
index 095d68e21d9c1427ea7fa367906687a3c374a11c..82ac62d5f482ae4c60fd57811629baad84d30925 100644 (file)
@@ -257,8 +257,7 @@ get_pgpid(bool is_status_request)
                /*
                 * The Linux Standard Base Core Specification 3.1 says this should
                 * return '4, program or service status is unknown'
-                * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-g
-                * eneric/iniscrptact.html
+                * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
                 */
                exit(is_status_request ? 4 : 1);
        }
@@ -1331,8 +1330,7 @@ do_status(void)
        /*
         * The Linux Standard Base Core Specification 3.1 says this should return
         * '3, program is not running'
-        * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-gener
-        * ic/iniscrptact.html
+        * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
         */
        exit(3);
 }
index cd2e656911f43a08eded1021706cd5b18f15cd57..724ea9211a7d34291336e6e9220a472a55a89f55 100644 (file)
@@ -629,8 +629,7 @@ handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary, PGresult **res)
                                        /*
                                         * This code erroneously assumes '\.' on a line alone
                                         * inside a quoted CSV string terminates the \copy.
-                                        * http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@w
-                                        * rigleys.postgresql.org
+                                        * http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@wrigleys.postgresql.org
                                         */
                                        if (strcmp(buf, "\\.\n") == 0 ||
                                                strcmp(buf, "\\.\r\n") == 0)