Connection string for postgresql
Posted: 17.12.2009, 16:35
The formation of postgresql connection string is not as good as it could be. For example if you leave the database name field empty in TZConnection component on connect you'll get error saying dbname is "user=". While this is not a big problem as connection usually has database, user and password assigned, but improvements are welcome (I guess).
Also there is a issue of spaces in parameter values. Also quotes and backslashes in parameter values should be escaped by one backslash.
So this is what the patch does.
Also there is a issue of spaces in parameter values. Also quotes and backslashes in parameter values should be escaped by one backslash.
So this is what the patch does.