]> granicus.if.org Git - postgresql/commit
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:37 +0000 (23:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Apr 2008 23:28:37 +0000 (23:28 +0000)
commit90cdbe43e074b13cae9c84a51ee4040af90a9421
treea073a2eeb11ad80b4e56b817d64a18e63d3e7442
parent6750c7a7517f293524299d23d4285a0070e165d5
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