結果 : declare variable and set value in postgresql function