Skip to content

make url_to_dsn smarter #37

@chadwhitacre

Description

@chadwhitacre

Postgres >= 9.2 can parse URLs itself, so we should check versions and pass through.

We should also be smart about not including host in the connection string at all if it's not set in the URL, because that affects whether Postgres uses a Unix or TCP socket. See https://botbot.me/freenode/gittip/msg/10532161/.

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