Thanks for your suggestions.
Just to clarify, I was using the default postgres returner which comes with Salt pkg.
I went through the local_cache returner to understand how it stores the minion IDs that are supposed to return for a job.
Based on that I have developed a function in postgres returner that can collect the expected minion IDs for a job.
Currently, I have built my own postgres custom returner with the minion collection function which working as expected with missing=true.
I wanted to know if there is any plan to have this enhancement to the default postgres returner which comes with Salt pkg?