We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d0eda commit c5a1712Copy full SHA for c5a1712
multimaster.c
@@ -5772,13 +5772,18 @@ MtmWaitForExtensionCreation(void)
5772
{
5773
RangeVar *rv;
5774
Oid rel_oid;
5775
- int rc;
5776
5777
StartTransactionCommand();
5778
rv = makeRangeVar(MULTIMASTER_SCHEMA_NAME, "local_tables", -1);
5779
rel_oid = RangeVarGetRelid(rv, NoLock, true);
5780
CommitTransactionCommand();
5781
+ if (OidIsValid(rel_oid))
5782
+ {
5783
+ Mtm->extension_created = true;
5784
+ break;
5785
+ }
5786
+
5787
MtmSleep(USECS_PER_SEC);
5788
}
5789
0 commit comments