結果 : postgresql cannot get array length of a scalar