aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:33 +0000
commit9436257b411058f4e73b4f780c5bfe831e5a5d7e (patch)
tree2f2bc01a59f65e9aad13aaacbccacec67836a672 /src/tutorial/basics.source
parent0f8a34a73052950eb434618cef8d61f0ffef8b9e (diff)
downloadpostgresql-9436257b411058f4e73b4f780c5bfe831e5a5d7e.tar.gz
postgresql-9436257b411058f4e73b4f780c5bfe831e5a5d7e.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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions