summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-06-21 20:02:08 +0000
committerTom Lane2017-06-21 20:02:08 +0000
commit780b3a4c43fd47867825d5d628e96a0966e63aa8 (patch)
tree506074faff27307b3395a01e458914ba964dbf91
parent81f056c7256f01a39ecc926bf6a4d2d1fa525633 (diff)
Manually un-break a few URLs that pgindent used to insist on splitting.
These will no longer get re-split by pgindent runs, so it's worth cleaning them up now. Discussion: https://postgr.es/m/[email protected] Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/backend/utils/adt/numeric.c3
-rw-r--r--src/backend/utils/adt/selfuncs.c3
-rw-r--r--src/bin/pg_ctl/pg_ctl.c6
-rw-r--r--src/bin/psql/copy.c3
4 files changed, 5 insertions, 10 deletions
diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c
index 1d0ca1b794..3e5614ece3 100644
--- a/src/backend/utils/adt/numeric.c
+++ b/src/backend/utils/adt/numeric.c
@@ -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 */
diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c
index ce4c5b5078..e103f5ef16 100644
--- a/src/backend/utils/adt/selfuncs.c
+++ b/src/backend/utils/adt/selfuncs.c
@@ -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];
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 095d68e21d..82ac62d5f4 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -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);
}
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c
index cd2e656911..724ea9211a 100644
--- a/src/bin/psql/copy.c
+++ b/src/bin/psql/copy.c
@@ -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/[email protected]
*/
if (strcmp(buf, "\\.\n") == 0 ||
strcmp(buf, "\\.\r\n") == 0)