You can sometimes distinguish coating pinholes by their comet shape. This is a dot as Mirko describes but with a tail.

This is a very distinct and recognizable coating defect. If it is not comet shaped, then the defect has a lower chance of being a coating defect and a greater chance of being something else.