forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2bd3e2
committed
Thank you very much, you catch it :). This bug had a long life, because it
exists if and only if locale of postmasterwas a different from C (or ru_RU.KOI8-R).Please, apply patch for current CVS & 7.3.1Magnus Naeslund(f) wrote:> Ok, I nailed the bug, but i'm not sure what the correct fix is.> Attached tsearch_morph.diff that remedies this problem by avoiding it.> Also there's a debug aid patch if someone would like to know how i> finally found it out :)>> There problem in the lemmatize() function is that GETDICT(...) returned> a value not handled (BYLOCALE).> The value (-1) and later used as an index into the dicts[] array.> After that everything went berserk stack went crazy somehow so trapping> the fault sent me to the wrong place, and every time i read the value it> was positive ;)>> So now i just return the initial word passed to the lemmatize function,> because i don't know what to do with it.Magnus Naeslund1 parentf679690 commita2bd3e2
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
176 | 180 |
| |
177 | 181 |
| |
178 | 182 |
| |
|
0 commit comments
Comments
(0)