Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit780b3a4

Browse files
committed
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 cleaningthem up now.Discussion:https://postgr.es/m/E1dAmxK-0006EE-1r@gemulon.postgresql.orgDiscussion:https://postgr.es/m/30527.1495162840@sss.pgh.pa.us
1 parent81f056c commit780b3a4

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

‎src/backend/utils/adt/numeric.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8175,8 +8175,7 @@ power_var_int(NumericVar *base, int exp, NumericVar *result, int rscale)
81758175
* While 0 ^ 0 can be either 1 or indeterminate (error), we treat
81768176
* it as 1 because most programming languages do this. SQL:2003
81778177
* also requires a return value of 1.
8178-
* http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_pow
8179-
* er
8178+
* http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power
81808179
*/
81818180
set_var_from_var(&const_one,result);
81828181
result->dscale=rscale;/* no need to round */

‎src/backend/utils/adt/selfuncs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4220,8 +4220,7 @@ convert_string_datum(Datum value, Oid typid)
42204220

42214221
/*
42224222
*
4223-
* http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
4224-
* FeedbackID=99694
4223+
* http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99694
42254224
*/
42264225
{
42274226
charx[1];

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ get_pgpid(bool is_status_request)
257257
/*
258258
* The Linux Standard Base Core Specification 3.1 says this should
259259
* return '4, program or service status is unknown'
260-
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-g
261-
* eneric/iniscrptact.html
260+
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
262261
*/
263262
exit(is_status_request ?4 :1);
264263
}
@@ -1331,8 +1330,7 @@ do_status(void)
13311330
/*
13321331
* The Linux Standard Base Core Specification 3.1 says this should return
13331332
* '3, program is not running'
1334-
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-gener
1335-
* ic/iniscrptact.html
1333+
* https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
13361334
*/
13371335
exit(3);
13381336
}

‎src/bin/psql/copy.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary, PGresult **res)
629629
/*
630630
* This code erroneously assumes '\.' on a line alone
631631
* inside a quoted CSV string terminates the \copy.
632-
* http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@w
633-
* rigleys.postgresql.org
632+
* http://www.postgresql.org/message-id/E1TdNVQ-0001ju-GO@wrigleys.postgresql.org
634633
*/
635634
if (strcmp(buf,"\\.\n")==0||
636635
strcmp(buf,"\\.\r\n")==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp