[TransWarp] peak.storage patch

Radek Kanovsky rk at dat.cz
Tue Jun 24 03:29:59 EDT 2003


On Mon, Jun 23, 2003 at 06:38:48PM -0400, Phillip J. Eby wrote:

> At 09:51 PM 6/23/03 +0200, Radek Kanovsky wrote:
> 
> >+    syntax = naming.URL.Sequence(
> >+        ('//',), (user, (':', passwd), '@'), (server,), ('/', db)
> >+    )
> >+
> 
> Quick question: does this work correctly if someone has a URL:
> 
> pgsql://foo:bar@/baz
> 
> I mean, is it valid to have a user/password for an empty server?  Or is it 
> only valid like this:
> 
> pgsql:///baz

"pgsql://foo:bar@/baz" works correctly.

RadekK



More information about the PEAK mailing list