This is pretty much the same debate in linux vs freebsd back in early 2000s. Better code quality doesn't get the most recognition. Usually the devs just go with what's hip. And MySQL just sounds better on the marketing end (just because of it's name) than postgres (I mean who can pronounce the name).