Skip to content

No database shown if schema "public" does not exist #1662

Closed

Description

@pixelpeter

What happened?

On a single Postgres instance I'm running different databases

  • database A with schema foo
  • database B with schema bar
  • database C with schema baz

When the "public" schema does not exist (for a database) I can NOT see/select any tables.
So I have to add an empty "public" schema for the schema select to appear.
Then I'm able to select e.g. the schema "foo" and see the tables for database A

Steps to reproduce

See above

Expected behavior

If there's only a single schema available use this automatically instead of relying on "public"

Database type

PostgreSQL

TablePro version

No response

macOS version & chip

No response

Screenshots / Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions