RelStorage and PostgreSQL without 'dsn' parameter remove all other keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collective.buildout |
New
|
Undecided
|
Unassigned |
Bug Description
RelStorage support when used with postgresql driver type can be specified in two ways (with and without dsn key).
Ex, with dsn key:
rel-storage =
type postgresql
dsn dbname='zodb' user='ruda' host='localhost' password='12345'
cache-
cache-servers 127.0.0.1:11211
or without dns key:
rel-storage =
type postgresql
dbname zodb
user ruda
host localhost
password 12345
cache-
cache-servers 127.0.0.1:11211
When this last format is used, plone.recipe.
Follow attached a patch to solve this issue, inserting the new 'dsn' key and removing all other db connection keys.