Re: Feature proposal, DBURL: psql pgsql://joe:p4zzw0rd@example.org:2345/dbname

From: Hans Schou <hans(dot)schou(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Feature proposal, DBURL: psql pgsql://joe:p4zzw0rd@example.org:2345/dbname
Date: 2017-07-05 15:31:51
Message-ID: CAApBw35=jtTcAUD2tizwcOE0yrbHOGJthAatC51g6Tat5Nm=eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2017-07-05 15:41 GMT+02:00 Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>:

>
> [scheme[<+>dsn]]://[[username[:[password]](at)][host][:port][/[
> dbname][/[[table[/[column[,column...]*]]]|sql]]]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> The thing is that in a quick search on this I did not find a reference
> implementation of this to compare against.
>

"dsn" is only relevant when the scheme is ODBC.

In a situation where an application (like Drupal) get connect string (URI)
it should be able to find the right driver to use. In case with of ODBC, a
dsn (Data Source Name) is needed.

./hans

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2017-07-05 15:45:45 Re: Strange case of database bloat
Previous Message Moreno Andreo 2017-07-05 15:29:19 Re: [SPAM] Re: Invalid field size