Skip to content

Commit

Permalink
Optimize SimpleTableSegmentBinder, add table of pg_catalog (#34075)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangML authored Dec 16, 2024
1 parent af7316a commit a445f3f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,21 @@
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class SimpleTableSegmentBinder {

private static final Collection<String> SYSTEM_CATALOG_TABLES = new CaseInsensitiveSet<>(4, 1F);
private static final Collection<String> SYSTEM_CATALOG_TABLES = new CaseInsensitiveSet<>(10, 1F);

private static final String PG_CATALOG = "pg_catalog";

static {
SYSTEM_CATALOG_TABLES.add("pg_class");
SYSTEM_CATALOG_TABLES.add("pg_database");
SYSTEM_CATALOG_TABLES.add("pg_tables");
SYSTEM_CATALOG_TABLES.add("pg_roles");
SYSTEM_CATALOG_TABLES.add("pg_settings");
SYSTEM_CATALOG_TABLES.add("pg_depend");
SYSTEM_CATALOG_TABLES.add("pg_attribute");
SYSTEM_CATALOG_TABLES.add("pg_attrdef");
SYSTEM_CATALOG_TABLES.add("pg_type");
SYSTEM_CATALOG_TABLES.add("pg_description");
}

/**
Expand Down

0 comments on commit a445f3f

Please sign in to comment.