Page 1 of 1

Connection string for postgresql

Posted: 17.12.2009, 16:35
by Wild_Pointer
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.

Posted: 19.12.2009, 11:29
by mdaems
SVN Rev 743.
Will also be merged to 6.6-patches

Mark