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

From Heikki Linnakangas
Subject Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)
Date
Msg-id 50FFC399.3030509@vmware.com
Whole thread Raw
In response to Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]
Next
From: Michael Paquier
Date:
Subject: Re: Request for vote to move forward with recovery.conf overhaul