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 20:03:28 +0100
Message-ID: <2F9DD553-0163-4576-A8D0-3F8CE13CABE4@gmail.com> (raw)
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>
Hi Tom,
> On 26. Feb, 2021, at 19:02, Paul Förster <paul.foerster@gmail.com> wrote:
>
> 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?
sorry, I just realized I used a redundant @ character. So here's the corrected version.
Cheers,
Paul
Attachments:libpq-connect.patch (application/octet-stream, 956B) 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&...]+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">
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: <2F9DD553-0163-4576-A8D0-3F8CE13CABE4@gmail.com>
References: <20210226152035.GA4787@alvherre.pgsql> <284593.1614355983@sss.pgh.pa.us> <5EC34115-3585-4B05-838F-E9E918D9E8D6@gmail.com> <2F9DD553-0163-4576-A8D0-3F8CE13CABE4@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