結果 : postgres set variable to result of query