File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/backend/storage/large_object Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 58
58
bool lo_compat_privileges ;
59
59
60
60
/*
61
- * All accesses to pg_largeobject and its index make use of a single Relation
62
- * reference, so that we only need to open pg_relation once per transaction.
63
- * To avoid problems when the first such reference occurs inside a
64
- * subtransaction, we execute a slightly klugy maneuver to assign ownership of
65
- * the Relation reference to TopTransactionResourceOwner.
61
+ * All accesses to pg_largeobject and its index make use of a single
62
+ * Relation reference. To guarantee that the relcache entry remains
63
+ * in the cache, on the first reference inside a subtransaction, we
64
+ * execute a slightly klugy maneuver to assign ownership of the
65
+ * Relation reference to TopTransactionResourceOwner.
66
66
*/
67
67
static Relation lo_heap_r = NULL ;
68
68
static Relation lo_index_r = NULL ;
You can’t perform that action at this time.
0 commit comments