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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 785941c) | patch
Fix GiST index-only scans for opclasses with different storage type.
2015年3月26日 21:07:52 +0000 (23:07 +0200)
2015年3月26日 21:07:52 +0000 (23:07 +0200)
commit 55b59eda13a742f8af913734e22ecc8a21754414
Fix GiST index-only scans for opclasses with different storage type.

We cannot use the index's tuple descriptor directly to describe the index
tuples returned in an index-only scan. That's because the index might use
a different datatype for the values stored on disk than the type originally
indexed. As long as they were both pass-by-ref, it worked, but will not work
for pass-by-value types of different sizes. I noticed this as a crash when I
started hacking a patch to add fetch methods to btree_gist.
src/backend/access/gist/gistscan.c diff | blob | blame | history
src/backend/access/gist/gistutil.c diff | blob | blame | history
src/include/access/gist_private.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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