Skip to content

When dbname is not specified, pgcat responds with error #231

Closed
@fritshoogland-yugabyte

Description

@fritshoogland-yugabyte

Describe the bug
I am trying to use a rust postgres project which uses r2d2.
When the connection url does not include dbname, pgcat responds with ClientError.
The behaviour should be that the username is taken and used as database.

I am testing this with YugabyteDB, where the default database is yugabyte, not postgres.
We are 100% wire compatible and use the postgres source for the database.

Expected behavior
The behaviour should be that the username is taken and used as database.

Desktop (please complete the following information):

  • OS: Mac OSX 12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions