Skip to content

DB failover mechanism #800

@rogierlommers

Description

@rogierlommers

Hey people! I have a question; in the Java world, we can setup a connection like this: jdbc:postgresql://pro-das-db-001.domain.net:5437,pro-das-db-002.pro-db.domain.net:5437/das?targetServerType=master

If the 001 node will be down, the connection will automatically be reconnected to the 002 node. Now my question: is this posible through the various Go postgres packages? I can't find any information about this.

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