Skip to content

Set default pool_max_conns=20 for PostgreSQL #1844

Closed
@AlekSi

Description

What should be done?

If pool_max_conns is not present in the PostgreSQL URL, assume it is 20, not pgx's default.

config, err := pgxpool.ParseConfig(uri)

Activity

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

Metadata

Assignees

No one assigned

    Labels

    code/enhancementSome user-visible feature could work bettergood first issueGood issues for new external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions