Skip to content

$dbname is not used in driver_pgsql.php #87

@waffleboot

Description

@waffleboot

Hi, it looks it's an error

driver_pgsql.php @ 103

$dbname = defined('DB_NAME') && DB_NAME ? DB_NAME : $database;
$pg_connstr = $GLOBALS['pg4wp_connstr'] . ' dbname=' . $database;

$dbname is not used and $pg_connstr is constructed with $database instead of $dbname

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