Mix in the pid in the top 16 bits for the initial xid.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 25 Oct 2013 23:16:43 +0000 (16:16 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 25 Oct 2013 23:16:43 +0000 (16:16 -0700)
commit6fda9871a037fdbac341f55f0b9a175e3977281e
tree938caaa284e9c5e6393f25556daff8e866e5b2dc
parente7f3a78172bd69ae6c825aab840ffa384a375b1f
Mix in the pid in the top 16 bits for the initial xid.
This helps for users which rapidly fork a lot of processes that then
immediately create a new context (I am looking at you dbench)
to awoid having lots of processes starting and using overlapping xid values.
lib/init.c