I assume you mean their nearest competitor for consumer and small to medium business desktop operating systems? Because that statement isn't true for say, mobile phones, video game systems, cloud services, or database, enterprise, and web server software.
Microsoft offers product to compete at many different levels of the market. Postgres is their competition for some needs, but I would think that if you need more advanced features like you mention it would be more of a comparison to Oracle and db2.