結果 : save query result in variable postgres