diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-17 02:18:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-17 02:18:55 +0000 |
commit | 32846f815265b134b6ec2d20f16bf2d0c9e6f931 (patch) | |
tree | 2b04b90bcce876ac7f6ed431adc6fdc5cdc5d6ea /src/backend/access/gist | |
parent | a7c58abeb1d510a31098b1eb706ae18b662af8df (diff) | |
download | postgresql-32846f815265b134b6ec2d20f16bf2d0c9e6f931.tar.gz postgresql-32846f815265b134b6ec2d20f16bf2d0c9e6f931.zip |
Fix TransactionIdIsCurrentTransactionId() to use binary search instead of
linear search when checking child-transaction XIDs. This makes for an
important speedup in transactions that have large numbers of children,
as in a recent example from Craig Ringer. We can also get rid of an
ugly kluge that represented lists of TransactionIds as lists of OIDs.
Heikki Linnakangas
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions