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

Commit4bd4295

Browse files
committed
mark 'prel' invalid before locking parent
1 parent41d87d8 commit4bd4295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/relation_info.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ refresh_pathman_relation_info(Oid relid,
104104
FreeRangesArray(prel);
105105
}
106106

107+
/* First we assume that this entry is invalid */
108+
prel->valid= false;
109+
107110
/* Try locking parent, exit fast if 'allow_incomplete' */
108111
if (allow_incomplete)
109112
{
@@ -121,9 +124,6 @@ refresh_pathman_relation_info(Oid relid,
121124
returnNULL;/* exit */
122125
}
123126

124-
/* First we assume that this entry is invalid */
125-
prel->valid= false;
126-
127127
/* Make both arrays point to NULL */
128128
prel->children=NULL;
129129
prel->ranges=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp