Fix stray double semicolons

Reported-by: John Naylor <john.naylor@enterprisedb.com>
pull/64/head
Peter Eisentraut 5 years ago
parent 5173e42892
commit 37c99d304d
  1. 2
      src/backend/access/brin/brin_minmax.c
  2. 4
      src/backend/utils/adt/timestamp.c

@ -171,7 +171,7 @@ brin_minmax_consistent(PG_FUNCTION_ARGS)
* break out of the loop as soon as a false return value is obtained. * break out of the loop as soon as a false return value is obtained.
*/ */
if (!minmax_consistent_key(bdesc, column, key, colloid)) if (!minmax_consistent_key(bdesc, column, key, colloid))
PG_RETURN_DATUM(false);; PG_RETURN_DATUM(false);
} }
PG_RETURN_DATUM(true); PG_RETURN_DATUM(true);

@ -3842,7 +3842,7 @@ timestamp_bin(PG_FUNCTION_ARGS)
stride_usecs = stride->day * USECS_PER_DAY + stride->time; stride_usecs = stride->day * USECS_PER_DAY + stride->time;
tm_diff = timestamp - origin; tm_diff = timestamp - origin;
tm_delta = tm_diff - tm_diff % stride_usecs;; tm_delta = tm_diff - tm_diff % stride_usecs;
result = origin + tm_delta; result = origin + tm_delta;
@ -4013,7 +4013,7 @@ timestamptz_bin(PG_FUNCTION_ARGS)
stride_usecs = stride->day * USECS_PER_DAY + stride->time; stride_usecs = stride->day * USECS_PER_DAY + stride->time;
tm_diff = timestamp - origin; tm_diff = timestamp - origin;
tm_delta = tm_diff - tm_diff % stride_usecs;; tm_delta = tm_diff - tm_diff % stride_usecs;
result = origin + tm_delta; result = origin + tm_delta;

Loading…
Cancel
Save