Population of the login array in settings.php does not honor a name such as 'Danny Database', while PostgreSQL itself does. Objective would be to respect current pg_hba.conf infrastructure - using real names - in a complex, multi-site environment.
PDOException: SQLSTATE[08006] [7] missing "=" after "Database" in connection info string in lock_may_be_available() (line 161 of /media/htdocs/vhosts/omniscloud/mcw/drupal-7.0-alpha6/includes/lock.inc).
Is there a way to escape this space into the PHP array?
(Further, by way of feature request, this login should also support _all_ of the login possibilities supported by PostgreSQL, including SSL, certificates, etc., for the very many environments in which the webserver and DB server are separate machines. In our case, they may be separated by continents... Yes, I'll post this as a feature request).
Comments
Comment #1
damien tournoud commentedThe array is just used to build a PDO DSN string, like documented on:
http://php.net/manual/en/ref.pdo-pgsql.connection.php
It doesn't seem that this support any form of escaping...
Comment #2
int commentedat this time all goes to 7.x-dev..
Comment #3
catchDon't see how this is critical.
Comment #4
marcingy commentedComment #5
jhedstromIs this still an issue?
Comment #19
smustgrave commentedMoving to outdated as there has not been a follow up since moving to PNMI 7 years ago.
If you still feel this is an issue please reopen with an updated issue summary and steps to reproduce please.