結果 : postgresql declare date variable in query