aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:41 +0000
commit06d9ce670be25a2d5918b6e22a79b757329f08cb (patch)
tree09d45b92a80cbfb7fc89f41e248c9c1db05db743 /src/backend/commands/async.c
parentcbcc5b11a819593c3b45ebccaeecea0f631e00f1 (diff)
downloadpostgresql-06d9ce670be25a2d5918b6e22a79b757329f08cb.tar.gz
postgresql-06d9ce670be25a2d5918b6e22a79b757329f08cb.zip
In PrepareToInvalidateCacheTuple, don't force initialization of catalog
caches that we don't actually need to touch. This saves some trivial number of cycles and avoids certain cases of deadlock when doing concurrent VACUUM FULL on system catalogs. Per report from Gavin Roy. Backpatch to 8.2. In earlier versions, CatalogCacheInitializeCache didn't lock the relation so there's no deadlock risk (though that certainly had plenty of risks of its own).
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions