And I'm not sure about their ability to release said code under a different license either.
Postgres has a pretty permissive license, but that doesn't mean you can just ignore it.