結果 : postgresql function use variable in query