- Notifications
You must be signed in to change notification settings - Fork28
Commit978de9d
committed
Improvements from Heikki Linnakangas <heikki@enterprisedb.com>
- change the alignment requirement of lexemes in TSVector slightly.Lexeme strings were always padded to 2-byte aligned length to make surethat if there's position array (uint16[]) it has the right alignment.The patch changes that so that the padding is not done when there's nopositions. That makes the storage of tsvectors without positionsslightly more compact.- added some #include "miscadmin.h" lines I missed in the earlier when Iadded calls to check_stack_depth().- Reimplement the send/recv functions, and added a commentabove them describing the on-wire format. The CRC is now recalculated intsquery as well per previous discussion.1 parent8983852 commit978de9d
File tree
9 files changed
+286
-219
lines changed- src
- backend/utils/adt
- include/tsearch
9 files changed
+286
-219
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments
Comments
(0)