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

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)
Date: 2013-01-23 11:03:53
Message-ID: 50FFC399.3030509@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2013-01-23 11:36:16 Re: Request for vote to move forward with recovery.conf overhaul
Previous Message Amit Kapila 2013-01-23 10:19:42 Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]