mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:21:25 +02:00
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/E1dAmxK-0006EE-1r@gemulon.postgresql.org Discussion: https://postgr.es/m/30527.1495162840@sss.pgh.pa.us
This commit is contained in:
parent
81f056c725
commit
780b3a4c43
@ -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
|
* While 0 ^ 0 can be either 1 or indeterminate (error), we treat
|
||||||
* it as 1 because most programming languages do this. SQL:2003
|
* it as 1 because most programming languages do this. SQL:2003
|
||||||
* also requires a return value of 1.
|
* also requires a return value of 1.
|
||||||
* http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_pow
|
* http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power
|
||||||
* er
|
|
||||||
*/
|
*/
|
||||||
set_var_from_var(&const_one, result);
|
set_var_from_var(&const_one, result);
|
||||||
result->dscale = rscale; /* no need to round */
|
result->dscale = rscale; /* no need to round */
|
||||||
|
@ -4220,8 +4220,7 @@ convert_string_datum(Datum value, Oid typid)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
|
* http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99694
|
||||||
* FeedbackID=99694
|
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
char x[1];
|
char x[1];
|
||||||
|
@ -257,8 +257,7 @@ get_pgpid(bool is_status_request)
|
|||||||
/*
|
/*
|
||||||
* The Linux Standard Base Core Specification 3.1 says this should
|
* The Linux Standard Base Core Specification 3.1 says this should
|
||||||
* return '4, program or service status is unknown'
|
* return '4, program or service status is unknown'
|
||||||
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-g
|
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
|
||||||
* eneric/iniscrptact.html
|
|
||||||
*/
|
*/
|
||||||
exit(is_status_request ? 4 : 1);
|
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
|
* The Linux Standard Base Core Specification 3.1 says this should return
|
||||||
* '3, program is not running'
|
* '3, program is not running'
|
||||||
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-gener
|
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
|
||||||
* ic/iniscrptact.html
|
|
||||||
*/
|
*/
|
||||||
exit(3);
|
exit(3);
|
||||||
}
|
}
|
||||||
|
@ -629,8 +629,7 @@ handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary, PGresult **res)
|
|||||||
/*
|
/*
|
||||||
* This code erroneously assumes '\.' on a line alone
|
* This code erroneously assumes '\.' on a line alone
|
||||||
* inside a quoted CSV string terminates the \copy.
|
* inside a quoted CSV string terminates the \copy.
|
||||||
* http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@w
|
* http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@wrigleys.postgresql.org
|
||||||
* rigleys.postgresql.org
|
|
||||||
*/
|
*/
|
||||||
if (strcmp(buf, "\\.\n") == 0 ||
|
if (strcmp(buf, "\\.\n") == 0 ||
|
||||||
strcmp(buf, "\\.\r\n") == 0)
|
strcmp(buf, "\\.\r\n") == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user