Re: BUG #14515: tsquery with only a negative term doesn't match empty tsvector
Tom Dunstan <pgsql@tomd.cc>
From: Tom Dunstan <pgsql@tomd.cc>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org,
Oleg Bartunov <obartunov@gmail.com>,
Teodor Sigaev <teodor@sigaev.ru>
Date: 2017-01-27T05:08:53Z
Lists: pgsql-bugs
> On 27 Jan 2017, at 2:06 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > In short, I now agree both that this is a bug, and that you've correctly > identified the cause. Will patch. Thanks Tom!
Commits
-
Ensure that a tsquery like '!foo' matches empty tsvectors.
- 9d4ca01314ba 10.0 landed
- fe6120f9b359 9.2.20 landed
- 423ad86f4223 9.5.6 landed
- 2e024f83bd42 9.3.16 landed
- 2dfc12647138 9.6.2 landed
- 2c1976a6cc4b 9.4.11 landed
-
Move some things from builtins.h to new header files
- f21a563d25db 10.0 cited