Skip to content

analyze_db_health incorrectly parses double quotation marks for db objects with them #109

@ChristophorusReyhan

Description

@ChristophorusReyhan

The MCP tools is checking dbarepo, but nowhere in the documentation that mention this.
Here's the response:

╭──────────────────── ✅ Tool Response postgres-mcp_8000.analyze_db_health ─────────────────────╮
│                                                                                               │
│  Arguments:                                                                                   │
│                                                                                               │
│                                                                                               │
│  {                                                                                            │
│    "health_type": "all"                                                                       │
│  }                                                                                            │
│                                                                                               │
│  Response:                                                                                    │
│                                                                                               │
│  Error calculating database health: relation "dbarepo."Count_Session_id_seq"" does not exist  │
│  LINE 5:                 FROM "dbarepo"."""Count_Session_id_seq"""                            │
│                               ^                                                               │
│                                                                                               │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions