forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3f43446
committed
Persuade tsearch/tsearch2 to work (or at least pass their regression
tests) when using flex 2.5.31. The fix is to *not* try to use pallocand pfree for allocations within the lexer; when you do that, theyy_buffer_stack gets freed at inopportune times. The code is alreadyset up to do manual deallocation, so I see no particular advantage tousing palloc anyway.1 parent0441e26 commit3f43446
2 files changed
+0
-23
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 | 10 |
| |
21 | 11 |
| |
22 | 12 |
| |
|
Lines changed: 0 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 11 |
| |
22 | 12 |
| |
23 | 13 |
| |
| |||
303 | 293 |
| |
304 | 294 |
| |
305 | 295 |
| |
306 |
| - | |
307 |
| - | |
308 |
| - |
0 commit comments
Comments
(0)