結果 : postgresql set variable to query result