We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7283ef commit b78953bCopy full SHA for b78953b
src/hypertable.c
@@ -861,7 +861,7 @@ hypertable_create(PG_FUNCTION_ARGS)
861
DimensionInfo time_dim_info = {
862
.table_relid = table_relid,
863
.colname = PG_ARGISNULL(1) ? NULL : PG_GETARG_NAME(1),
864
- .interval_datum = PG_ARGISNULL(6) ? DatumGetInt64(-1) : PG_GETARG_DATUM(6),
+ .interval_datum = PG_ARGISNULL(6) ? Int64GetDatum(-1) : PG_GETARG_DATUM(6),
865
.interval_type = PG_ARGISNULL(6) ? InvalidOid : get_fn_expr_argtype(fcinfo->flinfo, 6),
866
};
867
DimensionInfo space_dim_info = {
0 commit comments