Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a00035

Browse files
bmomjianpull[bot]
authored andcommitted
doc: correct reference to pg_relation in comment
Reported-by: Dagfinn Ilmari MannsåkerDiscussion:https://postgr.es/m/87sf9apnr0.fsf@wibble.ilmari.orgBackpatch-through: master
1 parentd3245d3 commit5a00035

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/storage/large_object/inv_api.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
boollo_compat_privileges;
5959

6060
/*
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 firstsuchreferenceoccursinside a
64-
*subtransaction, weexecute a slightly klugy maneuver to assign ownership of
65-
*theRelation reference to TopTransactionResourceOwner.
61+
* All accesses to pg_largeobject and its index make use of a single
62+
*Relationreference. 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.
6666
*/
6767
staticRelationlo_heap_r=NULL;
6868
staticRelationlo_index_r=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp