forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitabc1026
committed
Fix erroneous parsing of tsquery input "... & !(subexpression) | ..."
After parsing a parenthesized subexpression, we must pop all pendingANDs and NOTs off the stack, just like the case for a simple operand.Per bug #5793.Also fix clones of this routine in contrib/intarray and contrib/ltree,where input of types query_int and ltxtquery had the same problem.Back-patch to all supported versions.1 parentdcb09b5 commitabc1026
File tree
3 files changed
+6
-6
lines changed- contrib
- intarray
- ltree
- src/backend/utils/adt
3 files changed
+6
-6
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
| 199 | + | |
| 200 | + | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
244 |
| - | |
245 |
| - | |
| 244 | + | |
| 245 | + | |
246 | 246 |
| |
247 | 247 |
| |
248 | 248 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
374 |
| - | |
375 |
| - | |
| 374 | + | |
| 375 | + | |
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
|
0 commit comments
Comments
(0)