[TransWarp] peak.storage patch

Phillip J. Eby pje at telecommunity.com
Mon Jun 23 18:38:48 EDT 2003


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

If the latter, then the syntax should be a little different.




More information about the PEAK mailing list