aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-05-17 18:52:01 -0700
committerAndres Freund <andres@anarazel.de>2019-05-17 18:56:55 -0700
commit147e3722f7e531f15ba389a4d518efe8cd0bd736 (patch)
treee48a71b19f0e9412b93ef15b8e40edd65f7a5415 /src/backend/utils/adt/jsonpath_exec.c
parent7f44ede5941499c4cee13b812dd93335f4005095 (diff)
downloadpostgresql-147e3722f7e531f15ba389a4d518efe8cd0bd736.tar.gz
postgresql-147e3722f7e531f15ba389a4d518efe8cd0bd736.zip
tableam: Avoid relying on relation size to determine validity of tids.
Instead add a tableam callback to do so. To avoid adding per validation overhead, pass a scan to tuple_tid_valid. In heap's case we'd otherwise incurred a RelationGetNumberOfBlocks() call for each tid - which'd have added noticable overhead to nodeTidscan.c. Author: Andres Freund Reviewed-By: Ashwin Agrawal Discussion: https://postgr.es/m/20190515185447.gno2jtqxyktylyvs@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions