Skip to content

pgbouncer like dynamic database support #923

@szguoxz

Description

@szguoxz

Currently, pgcat requires clients to use poolname as database name in their connectionstring, which is really limiting its use.
How about have a default pool, then any database name in the provided connectionstring does not have a matching pool name will use the default pool? And the default pool will simply connect to the database specified in the connectionstring, and ignore the database specified in shard config.

together with the auth_query feature, this could solve a lot problems.

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