OSDN Git Service

Fix nodeTidscan.c to not trigger an error if the block number portion of
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Apr 2008 23:28:32 +0000 (23:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Apr 2008 23:28:32 +0000 (23:28 +0000)
commit772f63dd6a4d57bc082d701fab4f9cca281efdc1
tree69a673c70457ae028c34b64fea01f44d0b2b661d
parentca0aecfdefbca04f2a6ed05044f9cafc3605389f
Fix nodeTidscan.c to not trigger an error if the block number portion of
a user-supplied TID is out of range for the relation.  This is needed to
preserve compatibility with our pre-8.3 behavior, and it is sensible anyway
since if the query were implemented by brute force rather than optimized
into a TidScan, the behavior for a non-existent TID would be zero rows out,
never an error.  Per gripe from Gurjeet Singh.
src/backend/executor/nodeTidscan.c