Skip to content

Remove partition tables for postgres. #1063

@uzhao

Description

@uzhao

Is your feature request related to a problem? Please describe.
Postgres partition tables may result too many items in resources.

Describe the solution you'd like
Remove partition tables from resources.

Describe alternatives you've considered
Or make this an option, but I don't think LLM really need this.

Additional context
Replace query in src/postgres/index.ts with
SELECT t.table_name
FROM information_schema.tables t
JOIN pg_class c ON t.table_name = c.relname AND t.table_schema = c.relnamespace::regnamespace::text
WHERE t.table_schema = 'public'
AND (c.relkind = 'p' OR (c.relkind = 'r' AND c.relispartition = FALSE));

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions