aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-02-01 20:35:42 -0500
committerRobert Haas <rhaas@postgresql.org>2012-02-01 20:35:42 -0500
commitb4e0741727685443657b55932da0c06f028fbc00 (patch)
treef1a7b6150b071b9f1a4825406de90b4fcb6f7411 /src/backend/utils/adt/json.c
parent8a02339e9ba3f2f962c5967be8c5d053a1fa39d2 (diff)
downloadpostgresql-b4e0741727685443657b55932da0c06f028fbc00.tar.gz
postgresql-b4e0741727685443657b55932da0c06f028fbc00.zip
Avoid re-checking for visibility map extension too frequently.
When testing bits (but not when setting or clearing them), we now won't check whether the map has been extended. This significantly improves performance in the case where the visibility map doesn't exist yet, by avoiding an extra system call per tuple. To make sure backends notice eventually, send an smgr inval on VM extension. Dean Rasheed, with minor modifications by me.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions