1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-29 16:21:20 +03:00
Heikki Linnakangas 604d94d4ca Fix two bugs in tsquery @> operator.
1. The comparison for matching terms used only the CRC to decide if there's
a match. Two different terms with the same CRC gave a match.

2. It assumed that if the second operand has more terms than the first, it's
never a match. That assumption is bogus, because there can be duplicate
terms in either operand.

Rewrite the implementation in a way that doesn't have those bugs.

Backpatch to all supported versions.
2014-10-27 10:51:33 +02:00
..
2014-05-06 11:26:27 -04:00
2012-01-01 18:01:58 -05:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2014-05-06 11:26:27 -04:00
2012-01-01 18:01:58 -05:00
2012-04-23 22:43:09 -04:00
2014-05-15 18:31:00 +03:00
2012-01-01 18:01:58 -05:00
2014-05-06 11:26:27 -04:00