mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-25 15:50:27 +08:00
Fix spelling error in time_bucket error message
This commit is contained in:
parent
6b2b4d936a
commit
04328b51c9
@ -21,7 +21,7 @@
|
|||||||
if (period <= 0) \
|
if (period <= 0) \
|
||||||
ereport(ERROR, \
|
ereport(ERROR, \
|
||||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
|
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
|
||||||
errmsg("period must be greater then 0"))); \
|
errmsg("period must be greater than 0"))); \
|
||||||
if (offset != 0) \
|
if (offset != 0) \
|
||||||
{ \
|
{ \
|
||||||
/* We need to ensure that the timestamp is in range _after_ the */ \
|
/* 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) \
|
if (period <= 0) \
|
||||||
ereport(ERROR, \
|
ereport(ERROR, \
|
||||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
|
(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 */ \
|
/* shift = shift % period, but use TMODULO */ \
|
||||||
TMODULO(shift, result, period); \
|
TMODULO(shift, result, period); \
|
||||||
\
|
\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user