"How can I test if the query is executed every time or planner skips execution of select query and just gives me cached value from previous query execution?" . . . . .