Skip to content

max: undefined gives a pool of one connection #108

Open

Description

@okomarov

Passing max: undefined explicitly gives a pool of one connection instead of the default. Reported as porsager#833.

Activity

  1. added
    bug
    area: config
    upstream
    on Oct 16, 2026
  2. moved this to Later in Roadmapon Oct 16, 2026
  3. added this to the 4.5.0 milestone on Oct 16, 2026
  4. moved this from Later to In progress in Roadmapon Oct 16, 2026
  5. removed this from the 4.5.0 milestone on Oct 17, 2026
  6. okomarov commented on Oct 17, 2026

    @okomarov
    Author

    Taken out of 4.5.0. Making an explicit undefined mean "use the default" for every option also flips options people may rely on today: prepare: undefined and fetch_types: undefined currently mean off and would mean on (named prepared statements behind PgBouncer in transaction mode), ssl: undefined would start reading PGSSL or the URL, connect_timeout: undefined would go from no timeout to 30 s. To decide later, possibly with the switching tool (#55) detecting options passed as possibly-undefined values in user code and suggesting what to write instead. Related: #129.

  7. moved this from In progress to Later in Roadmapon Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: configbugupstream

    Type

    No type

    Projects

    • Status
      Later

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions