Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)

Heikki Linnakangas <hlinnakangas@vmware.com>

From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2013-01-23T11:03:53Z
Lists: pgsql-hackers
For the record, on MSVC we can use __assume(0) to mark unreachable code. 
It does the same as gcc's __builtin_unreachable(). I tested it with the 
same Pavel's palloc-heavy test case that you used earlier, with the 
one-shot plan commit temporarily reverted, and saw a similar speedup you 
reported with gcc's __builtin_unreachable(). So, committed that.

- Heikki


Commits

  1. Prevent creation of postmaster's TCP socket during pg_upgrade testing.