Since PostgreSQL is released under the OSI-approved PostgreSQL Licence, it is free to use in commercial software products as well.