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

Commit37c99d3

Browse files
committed
Fix stray double semicolons
Reported-by: John Naylor <john.naylor@enterprisedb.com>
1 parent5173e42 commit37c99d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/backend/access/brin/brin_minmax.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ brin_minmax_consistent(PG_FUNCTION_ARGS)
171171
* break out of the loop as soon as a false return value is obtained.
172172
*/
173173
if (!minmax_consistent_key(bdesc,column,key,colloid))
174-
PG_RETURN_DATUM(false);;
174+
PG_RETURN_DATUM(false);
175175
}
176176

177177
PG_RETURN_DATUM(true);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@ timestamp_bin(PG_FUNCTION_ARGS)
38423842
stride_usecs=stride->day*USECS_PER_DAY+stride->time;
38433843

38443844
tm_diff=timestamp-origin;
3845-
tm_delta=tm_diff-tm_diff %stride_usecs;;
3845+
tm_delta=tm_diff-tm_diff %stride_usecs;
38463846

38473847
result=origin+tm_delta;
38483848

@@ -4013,7 +4013,7 @@ timestamptz_bin(PG_FUNCTION_ARGS)
40134013
stride_usecs=stride->day*USECS_PER_DAY+stride->time;
40144014

40154015
tm_diff=timestamp-origin;
4016-
tm_delta=tm_diff-tm_diff %stride_usecs;;
4016+
tm_delta=tm_diff-tm_diff %stride_usecs;
40174017

40184018
result=origin+tm_delta;
40194019

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp