Re: RFI: Database URIs

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Nov 25, 2013, at 3:50 AM, Jens Rehsack <[email protected]> wrote:

>    DBI->connect($dsn, $user, $passwd, \%attr)
> 
> 4th argument is wasted in your current proposal.

Er, well, I failed to provide a complete set of examples. Here’s one from the PostgreSQL docs:

  postgresql://other@localhost/otherdb?connect_timeout=10&application_name=myapp

All the attributes are provided by the GET query string.

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.