Skip to content

Cannot set null/empty connection string #4460

Closed

Description

@roji

In NpgsqlConnection, we throw if a null or empty connection string is passed to the constructor or to the ConnectionString setter. We should be setting the connection to the same state as if it was created via the parameterless constructor.

Activity

  1. added this to the 6.0.5 milestone on May 16, 2022
  2. self-assigned this
    on May 16, 2022
  3. added a commit that references this issue on May 16, 2022
    c25c497
  4. added a commit that references this issue on May 16, 2022
    1f0d326
  5. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions