W3C home > Mailing lists > Public > uri@w3.org > April 2001

postgres:// url, jdbc:// url

From: Linas Vepstas <linas@backlot.linas.org>
Date: Sat, 14 Apr 2001 11:51:14 +0900
Message-Id: <4.2.0.58.J.20010414115035.03d7cef0@sh.w3.mag.keio.ac.jp>
To: uri@w3.org
Hi,

I tripped across http://www.w3.org/Addressing/schemes.html
recently.  Wanted to mention a couple of quickies:

The jdbc naming scheme is linked to the Sun documentation for the
jdbc class that doesn't seem to even mention the URL scheme.
A quick search on google reveals what the jdbc url should look
like, but doesn't show up any authoritative documentation.

In GnuCash, we've started using a jdbc-like URL of the form:

postgres://some.hostname.com:portno/dbname?option=value&user=username&passwd 
=pwd

I beleive that the way we use this syntax is identical to its jdbc
equivalent:

jdbc:postgres://some.hostname.com:portno/dbname?option=value&user=username&p 
asswd=pwd

except that it is understood that the former uses the native postgres
format for the wire protocol, whereas the latter uses the jdbc wire
protocol.

I don't know if this usage is too trite to mention, but I thought I'd
mention it anyway ... (BTW, we are now actually using a half-dozen
private URL schemes in order to control the display an layout of the
financial reports.  I won't describe them here, as they are still
evolving.)

--linas

Linas Vepstas



Received on Friday, 13 April 2001 22:51:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:02 UTC