"Dan \"Heron\" Myers" <heron@xxxxxxxxxx> writes: > It seems odd that they can compile PostgreSQL with Visual Studio (according > to Magnus, anyway) And according to several buildfarm machines, as well as quite a few other folks who have managed to build things successfully. You need to get over this concept of "Postgres is broken" and try to identify a specific reason why your DLL builds are not working. One thing you might try is looking at the build logs for the Windows buildfarm members http://www.pgbuildfarm.org/cgi-bin/show_status.pl to see if you can spot what they're doing differently than you are. Check out the contrib-module builds in particular, because I doubt there are any of them that aren't doing palloc. regards, tom lane