Lai JunHao
Lai JunHao
Is this what you mean? 
It has the same `createForeignTable` code design in opengauss and postgresql's DDLStatement.  If we test the same sql in postgresql\DDLStatement.g4, the parse tree also has the same error.
> Hi @strongduanmu @Netter99 I test this syntax by openGauss 5.0.0, `server name` is optional segment,here is the test result.  And Here is the developer guide of creating foreign...
Sorry @strongduanmu , I try but can't understand `gram.y` source code in openGauss. Since I have,'t use Shardingsphere before, I have a question about it. Does it support foreign syntax(sql...