Skip to content

Correct the default connection database for psql --list in v5.6 #472

Open

Description

@Hanabi9248

The English and Chinese tool references say psql -l uses postgres as the default connection database. When neither -d nor a positional database argument is provided, IvorySQL v5.6 explicitly passes ivorysql to libpq. A user who expects psql -l to work because the postgres database is available can instead receive a connection error if ivorysql is unavailable. English reference Chinese reference Release connection parameters

The explicit ivorysql parameter takes precedence over the PGDATABASE fallback. An explicit -d or positional argument can supply a database name or a connection string. Update the --list option description to reflect these behaviors. Command-line parsing Positional arguments libpq connection-string expansion libpq defaults

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions