Yes, it would be helpful if it was done for you automatically :)  There is
already an issue open for this, though: 
http://framework.zend.com/issues/browse/ZF-4834

I added your email to the comments. I hope you don't mind :)




Justin Verweel wrote:
> 
> Hello all,
> 
> I'm using Zend_Db to connect to a postgresql database server, works fine 
> until today when I added a new login role with a whitespace in it's 
> rolename.
> When I try to connect to the database with that rolename, an exception 
> tells me there is something wrong with the rolename.
> 
> I tried to connect to the database with that rolename in PgAdmin III and 
> that works fine, so postgresql accepts a rolename with a whitespace.
> 
> [..]
> 
> I figured out that escaping the whitespace fixes this problem, but 
> shouldn't this been done by Zend_Db instead of myself?
> 
> Thnx and greetings.
> 
> Justin Verweel
> 
> p.s. Used ZF version is 1.7.1
> 
> 


-----
Regards,

A.J. Brown
Zend Certified PHP Engineer
http://ajbrown.me
-- 
View this message in context: 
http://www.nabble.com/pdo_pgsql-connection-info-string-error-tp20976038p20984543.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to