Fix spelling error in time_bucket error message

This commit is contained in:
James Winegar 2021-04-29 21:36:44 -05:00 committed by Sven Klemm
parent 6b2b4d936a
commit 04328b51c9

View File

@ -21,7 +21,7 @@
if (period <= 0) \
ereport(ERROR, \
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
errmsg("period must be greater then 0"))); \
errmsg("period must be greater than 0"))); \
if (offset != 0) \
{ \
/* We need to ensure that the timestamp is in range _after_ the */ \
@ -105,7 +105,7 @@ ts_int64_bucket(PG_FUNCTION_ARGS)
if (period <= 0) \
ereport(ERROR, \
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
errmsg("period must be greater then 0"))); \
errmsg("period must be greater than 0"))); \
/* shift = shift % period, but use TMODULO */ \
TMODULO(shift, result, period); \
\