git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 147a3ce) | patch
Allow GIN's extractQuery method to signal that nothing can satisfy the query.
2007年1月31日 15:09:45 +0000 (15:09 +0000)
2007年1月31日 15:09:45 +0000 (15:09 +0000)
commit d4c6da152782b580b24cd8b4054eb1b7fb72c5a0
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.
contrib/intarray/_int_gin.c diff | blob | blame | history
contrib/tsearch2/ginidx.c diff | blob | blame | history
doc/src/sgml/gin.sgml diff | blob | blame | history
src/backend/access/gin/ginarrayproc.c diff | blob | blame | history
src/backend/access/gin/ginbulk.c diff | blob | blame | history
src/backend/access/gin/ginget.c diff | blob | blame | history
src/backend/access/gin/gininsert.c diff | blob | blame | history
src/backend/access/gin/ginscan.c diff | blob | blame | history
src/backend/access/gin/ginutil.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/include/access/gin.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /