Re: PostgreSQL URI

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL URI
Date: 2021-02-26 14:47:37
Message-ID: D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Alvaro,

> On 26. Feb, 2021, at 15:30, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
>
> We could say something like
>
> postgresql://[userspec(at)][hostspec][/dbname][?paramspec]
>
> where
> userspec is user[:password]
> hostspec is [[host][:port]][,...]
> paramspec is param1=value1&...
>
> which makes it easier to focus on each part separately, and we can
> provide more verbose explanations or examples where needed. (Now that I
> broke it up, the original line became very clear to me, but when I saw
> it in isolation it was not. You need to count brackets carefully to be
> able to read it.)

+1

Cheers,
Paul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2021-02-26 14:51:14 Re: PostgreSQL URI
Previous Message Alvaro Herrera 2021-02-26 14:30:50 Re: PostgreSQL URI