結果 : postgres cannot get array length of a scalar