Skip to content

Implement proper quote handling for full PostgreSQL connection string support #8

Description

@wdconinc

See Database.cpp:

        // Parse connection string (PostgreSQL libpq format)
        // Supported format: "key1=value1 key2=value2 ..."
        // Supported keys: host, dbname, user, password, port
        // 
        // NOTE: This parser does not handle quoted values (e.g., password='my pass').
        // Values containing spaces or special characters will be incorrectly parsed.
        // This limitation is acceptable for the keys currently parsed (host, dbname, 
        // user, password, port) as spaces are unlikely to appear in these values.
        // TODO: Create GitHub issue to implement proper quote handling for full 
        // PostgreSQL connection string support (see libpq documentation).

Activity

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

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions