Re: [SQLObject] incorrect parsing of DSN
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Cliff W. <cl...@de...> - 2005-12-30 22:48:19
|
Oleg Broytmann wrote: > On Fri, Dec 30, 2005 at 01:07:19PM -0800, Cliff Wells wrote: > >> postgres:/user:pass@/path/to/local/socket:/database >> >> This doesn't work because SO decides that /path/to/local/socket is the >> name of the database because it starts with a slash. >> The obvious workaround is to use >> >> postgres:///?host=/path/to/local/socket&dbname=database >> > > I would rather fix SQLObject to allow to write something like > postgres://user:pass@/path/to/local/socket/database > In this case host must be None, and this must make SQLObject to split > the database to socket path and dbname. > > I will see about doing this if you like. Is there a Trac for SQLObject? Where is the best place to submit patches? >> P.S. Hi Oleg! I haven't seen you in what seems like years (on c.l.py). >> Hope things are well with you. >> > > Hello, hello. I am alive and well. I have left c.l.py long ago - the > flow is too intensive there, I don't have time to read and write so much. > Yes, I haven't been on there in a while myself. It has gotten a lot less friendly and useful (IMO, anyway). Plus I've left my job and do contracting work now, so no one pays me to make comments on mailing lists anymore ;-) Happy new year to you too. Cliff > But I have never left Python. Exactly opposite - I left all other languages > I had been using (Pascal, Object Pascal, Modula-2). > Happy New Year! > > Oleg. > |