sqlchat / sqlchat

Chat-based SQL Client and Editor for the next decade

Home Page:https://sqlchat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres non-default (public) schema is not supported

tea-artist opened this issue · comments

Describe the bug

When you select a non-default schema in Postgres, 100% wrong table name will be provided.

To reproduce

  1. select a non-default Postgres schema
  2. start to chat

the wrong answer
image

the correct answer should be

SELECT * FROM "bseHkg2lxx5GN"."visual_Newtable_tblsL6zOsTW115ErShz";

Additional context

No response