Col Gray is on a personal weekend with his wife, and is shown earlier in the day wearing appropriate casual clothes for a lake setting. But late that evening, when Gomer and Sgt Carter arrive with three dogs, Gray is in full uniform.
It is unlikely that any apartment building would allow a tenant to have as many animals as the man has that sells the dog to Sgt. Carter.