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

Commit5709b8a

Browse files
committed
Avoid a possible relcache leak in get_object_address_attribute.
There's no apparent way to trigger this, so I'm not going to worryabout back-patching it for now. But it's still wrong.Marti Raudsepp
1 parenta5bca4e commit5709b8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/catalog/objectaddress.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ get_object_address_attribute(ObjectType objtype, List *objname,
10241024
address.classId=RelationRelationId;
10251025
address.objectId=InvalidOid;
10261026
address.objectSubId=InvalidAttrNumber;
1027+
relation_close(relation,lockmode);
10271028
returnaddress;
10281029
}
10291030

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp