結果 : postgresql store query result in variable