diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2007-09-11 08:46:29 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2007-09-11 08:46:29 +0000 |
commit | 57cafe79823dcd3653cf5e19cbdf58300cb1576c (patch) | |
tree | 8616fa0d0c77fd151cf874184fa5f21f56717aef /src/backend/access/gist/gist.c | |
parent | ef4d38c86c1b1f834bd70115fd19f03431573c2d (diff) | |
download | postgresql-57cafe79823dcd3653cf5e19cbdf58300cb1576c.tar.gz |
Refactor from Heikki Linnakangas <heikki@enterprisedb.com>:
* Defined new struct WordEntryPosVector that holds a uint16 length and a
variable size array of WordEntries. This replaces the previous
convention of a variable size uint16 array, with the first element
implying the length. WordEntryPosVector has the same layout in memory,
but is more readable in source code. The POSDATAPTR and POSDATALEN
macros are still used, though it would now be more readable to access
the fields in WordEntryPosVector directly.
* Removed needfree field from DocRepresentation. It was always set to false.
* Miscellaneous other commenting and refactoring
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions