mirror of https://github.com/citusdata/citus.git
Remove warnings on some builds (#7680)
Co-authored-by: Pavel Seleznev <PNSeleznev@sberbank.ru>pull/7770/head^2
parent
248ff5d52a
commit
fe6d198ab2
|
@ -3021,6 +3021,8 @@ AvailableExtensionVersionColumnar(void)
|
||||||
|
|
||||||
ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||||
errmsg("citus extension is not found")));
|
errmsg("citus extension is not found")));
|
||||||
|
|
||||||
|
return NULL; /* keep compiler happy */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2522,6 +2522,8 @@ AvailableExtensionVersion(void)
|
||||||
|
|
||||||
ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||||
errmsg("citus extension is not found")));
|
errmsg("citus extension is not found")));
|
||||||
|
|
||||||
|
return NULL; /* keep compiler happy */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1810,6 +1810,8 @@ CastExpr(Expr *expr, Oid sourceType, Oid targetType, Oid targetCollation,
|
||||||
ereport(ERROR, (errmsg("could not find a conversion path from type %d to %d",
|
ereport(ERROR, (errmsg("could not find a conversion path from type %d to %d",
|
||||||
sourceType, targetType)));
|
sourceType, targetType)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return NULL; /* keep compiler happy */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue