feat:support system database and schemas

This commit is contained in:
SwallowGG
2024-03-17 21:56:50 +08:00
parent 0fe586d263
commit c96490a426
11 changed files with 92 additions and 0 deletions

View File

@ -305,4 +305,14 @@ public class PostgreSQLMetaData extends DefaultMetaService implements MetaData {
public String getMetaDataName(String... names) {
return Arrays.stream(names).filter(name -> StringUtils.isNotBlank(name)).map(name -> "\"" + name + "\"").collect(Collectors.joining("."));
}
@Override
public List<String> getSystemDatabases() {
return systemDatabases;
}
@Override
public List<String> getSystemSchemas() {
return systemSchemas;
}
}