Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$dbname is not used in driver_pgsql.php #87

Closed
waffleboot opened this issue Dec 19, 2023 · 1 comment · Fixed by #88
Closed

$dbname is not used in driver_pgsql.php #87

waffleboot opened this issue Dec 19, 2023 · 1 comment · Fixed by #88

Comments

@waffleboot
Copy link

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

@mattbucci
Copy link
Collaborator

Duplicate of #74 so it closes that one too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants