git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a7c58ab) | patch
Fix TransactionIdIsCurrentTransactionId() to use binary search instead of
2008年3月17日 02:18:55 +0000 (02:18 +0000)
2008年3月17日 02:18:55 +0000 (02:18 +0000)
commit 32846f815265b134b6ec2d20f16bf2d0c9e6f931
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
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/include/nodes/pg_list.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /