pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL URI
Date: Fri, 26 Feb 2021 19:02:11 +0100
Message-ID: <5EC34115-3585-4B05-838F-E9E918D9E8D6@gmail.com> (raw)
In-Reply-To: <284593.1614355983@sss.pgh.pa.us>
References: <20210226152035.GA4787@alvherre.pgsql>
	<284593.1614355983@sss.pgh.pa.us>

Hi Tom,

> On 26. Feb, 2021, at 17:13, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> WFM.  Who's going to write the patch?  (I can, but if one of you
> wants to, be my guest.)

as I said, I don't know how to write a patch. But I played around with diff & patch.

However, does this do when applied to https://www.postgresql.org/docs/current/libpq-connect.html? Would this be what is needed?


Cheers,
Paul

Attachments:

libpq-connect.patch (application/octet-stream, 957B) download --- libpq-connect.html 2021-02-26 18:31:27.000000000 +0100 +++ libpq-connect.html 2021-02-26 18:43:31.000000000 +0100 @@ -523,7 +523,13 @@ </div> <p>The general form for a connection <acronym class="acronym">URI</acronym> is:</p> <pre class="synopsis"> -postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&amp;...] +postgresql://[userspec@][hostspec][/dbname][?paramspec] +</pre> +<p>where</p> + <pre class="programlisting"> +userspec := user[:password]@ +hostspec := ([host][:port])[,...] +paramspec := name=value[&...] </pre> <p>The <acronym class="acronym">URI</acronym> scheme designator can be either <code class="literal">postgresql://</code> or <code class="literal">postgres://</code>. Each of the remaining <acronym class="acronym">URI</acronym> parts is optional. The following examples illustrate valid <acronym class="acronym">URI</acronym> syntax:</p> <pre class="programlisting">

view thread (18+ messages)  latest in thread

Message-ID: <5EC34115-3585-4B05-838F-E9E918D9E8D6@gmail.com>
Permalink:  ../5EC34115-3585-4B05-838F-E9E918D9E8D6@gmail.com/
Also on:    postgresql.org/message-id/5EC34115-3585-4B05-838F-E9E918D9E8D6@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, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org
  Subject: Re: PostgreSQL URI
  In-Reply-To: <5EC34115-3585-4B05-838F-E9E918D9E8D6@gmail.com>
  References: <20210226152035.GA4787@alvherre.pgsql> <284593.1614355983@sss.pgh.pa.us> <5EC34115-3585-4B05-838F-E9E918D9E8D6@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