postgresql/src/backend
Teodor Sigaev d4c6da1527 Allow GIN's extractQuery method to signal that nothing can satisfy the query.
In this case extractQuery should returns -1 as nentries. This changes
prototype of extractQuery method to use int32* instead of uint32* for
nentries argument.
Based on that gincostestimate may see two corner cases: nothing will be found
or seqscan should be used.

Per proposal at http://archives.postgresql.org/pgsql-hackers/2007-01/msg01581.php

PS tsearch_core patch should be sightly modified to support changes, but I'm
waiting a verdict about reviewing of tsearch_core patch.
2007-01-31 15:09:45 +00:00
..
access Allow GIN's extractQuery method to signal that nothing can satisfy the query. 2007-01-31 15:09:45 +00:00
bootstrap Add COST and ROWS options to CREATE/ALTER FUNCTION, plus underlying pg_proc 2007-01-22 01:35:23 +00:00
catalog Prevent WAL logging when COPY is done in the same transation that 2007-01-25 02:17:26 +00:00
commands Remove some unnecessary conversion work in build_regtype_array(). 2007-01-28 19:05:35 +00:00
executor Add support for cross-type hashing in hash index searches and hash joins. 2007-01-30 01:33:36 +00:00
lib Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
libpq On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 2007-01-26 20:06:52 +00:00
main Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
nodes Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR 2007-01-23 05:07:18 +00:00
optimizer Add support for cross-type hashing in hash index searches and hash joins. 2007-01-30 01:33:36 +00:00
parser Various fixes in the logic of XML functions: 2007-01-25 11:53:52 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 2007-01-26 20:06:52 +00:00
postmaster Update process termination message to display signal number and name 2007-01-29 20:17:40 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
storage Add GUC temp_tablespaces to provide a default location for temporary 2007-01-25 04:35:11 +00:00
tcop Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR 2007-01-23 05:07:18 +00:00
utils Allow GIN's extractQuery method to signal that nothing can satisfy the query. 2007-01-31 15:09:45 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00