Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c5a1712

Browse files
committed
fixup previous
1 parent 10d0eda commit c5a1712

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

multimaster.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5772,13 +5772,18 @@ MtmWaitForExtensionCreation(void)
57725772
{
57735773
RangeVar *rv;
57745774
Oid rel_oid;
5775-
int rc;
57765775

57775776
StartTransactionCommand();
57785777
rv = makeRangeVar(MULTIMASTER_SCHEMA_NAME, "local_tables", -1);
57795778
rel_oid = RangeVarGetRelid(rv, NoLock, true);
57805779
CommitTransactionCommand();
57815780

5781+
if (OidIsValid(rel_oid))
5782+
{
5783+
Mtm->extension_created = true;
5784+
break;
5785+
}
5786+
57825787
MtmSleep(USECS_PER_SEC);
57835788
}
57845789
}

0 commit comments

Comments
 (0)