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

Commitde3077a

Browse files
committed
Bugfix. close heap relation in the case of races between backend and
'DROP EXTENSION aqo'.
1 parent6c50453 commitde3077a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎storage.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ open_aqo_relation(char *heaprelnspname, char *heaprelname,
6767
/* Try to open index relation carefully. */
6868
*irel=try_relation_open(reloid,lockmode);
6969
if (*irel==NULL)
70+
{
71+
relation_close(*hrel,lockmode);
7072
gotocleanup;
73+
}
7174
return true;
7275

7376
cleanup:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp