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

Commit1310ac2

Browse files
committed
Fix misplaced ReleaseSysCache call in get_default_partition_oid.
Julien RouhaudDiscussion:http://postgr.es/m/CAOBaU_Y4omLA+VbsVdA-JwBLoJWiPxfdKCkMjrZM7NMZxa1fKw@mail.gmail.com
1 parentd76886c commit1310ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/catalog/partition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,9 +2831,9 @@ get_default_partition_oid(Oid parentId)
28312831

28322832
part_table_form= (Form_pg_partitioned_table)GETSTRUCT(tuple);
28332833
defaultPartId=part_table_form->partdefid;
2834+
ReleaseSysCache(tuple);
28342835
}
28352836

2836-
ReleaseSysCache(tuple);
28372837
returndefaultPartId;
28382838
}
28392839

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp