diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-09-02 08:39:39 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-09-02 08:39:39 +0300 |
commit | 9f85784cae4d057f307b83b0d33edede33434f04 (patch) | |
tree | 199b29051330542df1f8e3e9353dae492798f8a2 /src/include/access/gin_private.h | |
parent | 76f9dd4fa82270899f7b56b002b5d34226dc99d8 (diff) | |
download | postgresql-9f85784cae4d057f307b83b0d33edede33434f04.tar.gz postgresql-9f85784cae4d057f307b83b0d33edede33434f04.zip |
Support multiple iterators in the Red-Black Tree implementation.
While we don't need multiple iterators at the moment, the interface is
nicer and less dangerous this way.
Aleksander Alekseev, with some changes by me.
Diffstat (limited to 'src/include/access/gin_private.h')
-rw-r--r-- | src/include/access/gin_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/access/gin_private.h b/src/include/access/gin_private.h index 68cfe0c1ac0..bf589ab7a1a 100644 --- a/src/include/access/gin_private.h +++ b/src/include/access/gin_private.h @@ -919,6 +919,7 @@ typedef struct GinEntryAccumulator *entryallocator; uint32 eas_used; RBTree *tree; + RBTreeIterator tree_walk; } BuildAccumulator; extern void ginInitBA(BuildAccumulator *accum); |