summaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/netbsd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-05 17:01:26 +0000
commit649e856c33c1f91a9e1f8a0f55cc9171d241103b (patch)
tree0ee8c88ef9382f094852c8494f4f6996e4a47d59 /src/backend/port/dynloader/netbsd.c
parent91215f62411a9801c15e8b6890972cb3497002a1 (diff)
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/port/dynloader/netbsd.c')
0 files changed, 0 insertions, 0 deletions