pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL URI
Date: Fri, 26 Feb 2021 15:47:37 +0100
Message-ID: <D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com> (raw)
In-Reply-To: <20210226143050.GA875@alvherre.pgsql>
References: <20210226143050.GA875@alvherre.pgsql>

Hi Alvaro,

> On 26. Feb, 2021, at 15:30, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> 
> We could say something like
> 
> postgresql://[userspec@][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





view thread (18+ messages)  latest in thread

Message-ID: <D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com>
Permalink:  ../D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com/
Also on:    postgresql.org/message-id/D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: paul.foerster@gmail.com, alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us
  Subject: Re: PostgreSQL URI
  In-Reply-To: <D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com>
  References: <20210226143050.GA875@alvherre.pgsql> <D027F719-999C-4797-974E-AEB1F1D4430D@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox