postgresql/src/backend/access
Heikki Linnakangas 8d260911e8 Change the way the offset of downlink is stored in GISTInsertStack.
GISTInsertStack.childoffnum used to mean "offset of the downlink in this
node, pointing to the child node in the stack". It's now replaced with
downlinkoffnum, which means "offset of the downlink in the parent of this
node". gistFindPath() already used childoffnum with this new meaning, and
had an extra step at the end to pull all the childoffnum values down one
node in the stack, to adjust the stack for the meaning that childoffnum had
elsewhere. That's no longer required.

The reason to do this now is this new representation is more convenient for
the GiST fast build patch that Alexander Korotkov is working on.

While we're at it, replace the linked list used in gistFindPath with a
standard List, and make gistFindPath() static.

Alexander Korotkov, with some changes by me.
2011-07-15 12:18:30 +03:00
..
common Enable CHECK constraints to be declared NOT VALID 2011-06-30 11:24:31 -04:00
gin Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 2011-07-04 14:35:58 -04:00
gist Change the way the offset of downlink is stored in GISTInsertStack. 2011-07-15 12:18:30 +03:00
hash Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 2011-07-04 14:35:58 -04:00
heap Try to acquire relation locks in RangeVarGetRelid. 2011-07-08 22:19:30 -04:00
index Avoid having two copies of the HOT-chain search logic. 2011-06-27 10:27:17 -04:00
nbtree Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 2011-07-04 14:35:58 -04:00
transam Introduce a pipe between postmaster and each backend, which can be used to 2011-07-08 18:44:07 +03:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00