結果 : postgresql as function