pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgreSQL URI
18+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2021-02-26 4e90052c46 5744931830 fb1e218cb0 de19e5e0ca 8386f5840a Doc: further clarify libpq's description of connection string URIs.
* PostgreSQL URI
@ 2021-02-25 14:45 Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-25 14:45 UTC (permalink / raw)
To: pgsql-general list <pgsql-general@lists.postgresql.org>
Hi,
in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING it says that the syntax for a PostgreSQL URI is:
postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
What I don't understand is the [,...] part, i.e. optionally repeating argument.
I know that this is a valid URI:
postgresql://user1:pass1@host1:port1,host2:port2/dbname?target_session_attrs=read-write
But is the following valid?
postgresql://user1:pass1@host1:port1,user2:pass2@host2:port2/dbname?target_session_attrs=read-write
i.e. can (or should) the user[:pass] part be repeated, and possibly can even be different, if I provide more than one host:port information? Or is the user[:pass] part definitely a one-time only argument and must not appear a second time? I don't know how to read this repetition [,...] syntax. A repeat syntax usually means providing more parameters like the one immediately before that, which in this case, is the port.
I think, it should be more correct this way (note the angle bracket):
postgresql://[user[:password]@][host[:port]][,...][/dbname][?param1=value1&...]
I tried this with psql but failed miserably, though both user1:pass1 and user2:pass2 exist on both databases.
The documentation also claims that any of the parts is optional except the postgresql:// part. This means, specifying a port without a host would be perfectly fine, which IMHO makes no sense.
Can someone enlighten me? Is this just a misleading line to me in the documentation?
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:09 Tom Lane <tgl@sss.pgh.pa.us>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2021-02-25 15:09 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
> in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING it says that the syntax for a PostgreSQL URI is:
> postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
> What I don't understand is the [,...] part, i.e. optionally repeating argument.
You can repeat the host[:port] part, no more.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:14 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-25 15:14 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Hi Tom,
> On 25. Feb, 2021, at 16:09, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> =?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
>> in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING it says that the syntax for a PostgreSQL URI is:
>
>> postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
>
>> What I don't understand is the [,...] part, i.e. optionally repeating argument.
>
> You can repeat the host[:port] part, no more.
I suspected this already. Still the position of the closing angle bracket behind the "host" part in the syntax is IMHO wrong in the doc.
It currently says:
postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
But shouldn't it say instead:
postgresql://[user[:password]@][host[:port]][,...][/dbname][?param1=value1&...]
Thanks very much.
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:22 Tom Lane <tgl@sss.pgh.pa.us>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2021-02-25 15:22 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
> I suspected this already. Still the position of the closing angle bracket behind the "host" part in the syntax is IMHO wrong in the doc.
Hmm. Maybe
postgresql://[user[:password]@][host[:port][,...]][/dbname][?param1=value1&...]
? Seems like that would clarify how much you can repeat.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:24 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-25 15:24 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Hi Tom,
> On 25. Feb, 2021, at 16:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Hmm. Maybe
>
> postgresql://[user[:password]@][host[:port][,...]][/dbname][?param1=value1&...]
>
> ? Seems like that would clarify how much you can repeat.
yes, that looks better, thanks.
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:43 Tom Lane <tgl@sss.pgh.pa.us>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2021-02-25 15:43 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
>> On 25. Feb, 2021, at 16:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hmm. Maybe
>> postgresql://[user[:password]@][host[:port][,...]][/dbname][?param1=value1&...]
>> ? Seems like that would clarify how much you can repeat.
> yes, that looks better, thanks.
Experimenting, it does let you omit the host and specify a port:
$ psql -d postgresql://:5433
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5433"?
So the original syntax diagram is not wrong. We could add brackets
to clarify the repeatable part:
postgresql://[user[:password]@][[host][:port][,...]][/dbname][?param1=value1&...]
but I'm less sure that that's an improvement.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-25 15:59 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-25 15:59 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Hi Tom,
> On 25. Feb, 2021, at 16:43, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Experimenting, it does let you omit the host and specify a port:
>
> $ psql -d postgresql://:5433
> psql: error: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5433"?
>
> So the original syntax diagram is not wrong. We could add brackets
> to clarify the repeatable part:
>
> postgresql://[user[:password]@][[host][:port][,...]][/dbname][?param1=value1&...]
>
> but I'm less sure that that's an improvement.
hmm, the following indeed connects me to the primary, leaving out the host part completely:
$ psql -d postgresql://:5432,:5433/postgres?target_session_attrs=read-write
psql (13.2, server 12.6)
Type "help" for help.
postgres=# select user, current_setting('data_directory');
user | current_setting
----------+----------------------
postgres | /data/pg01/cdb01b/db
(1 row)
remark: cdb01a currently is replica and cdb01b is currently primary of a local Patroni test cluster, replicating between /data/pg01/cdb01a/db and /data/pg01/cdb01b/db.
So, my suggestion is:
postgresql://[user[:password]@][[host][:port]][,...][/dbname][?param1=value1&...]
Still, I think that it's an improvement, because it makes clear that not only the port, but also the host may be repeated.
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 14:30 Alvaro Herrera <alvherre@alvh.no-ip.org>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 2 replies; 18+ messages in thread
From: Alvaro Herrera @ 2021-02-26 14:30 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-general list <pgsql-general@lists.postgresql.org>
On 2021-Feb-25, Paul Förster wrote:
> So, my suggestion is:
>
> postgresql://[user[:password]@][[host][:port]][,...][/dbname][?param1=value1&...]
>
> Still, I think that it's an improvement, because it makes clear that not only the port, but also the host may be repeated.
I wonder if we shouldn't instead try to break it up in parts that can be
explained or described separately. This many brackets makes it pretty
hard to read.
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.)
--
Álvaro Herrera Valdivia, Chile
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 14:47 Paul Förster <paul.foerster@gmail.com>
parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
1 sibling, 0 replies; 18+ messages in thread
From: Paul Förster @ 2021-02-26 14:47 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-general list <pgsql-general@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 14:51 Tom Lane <tgl@sss.pgh.pa.us>
parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
1 sibling, 1 reply; 18+ messages in thread
From: Tom Lane @ 2021-02-26 14:51 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: Paul Förster <paul.foerster@gmail.com>; pgsql-general list <pgsql-general@lists.postgresql.org>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I wonder if we shouldn't instead try to break it up in parts that can be
> explained or described separately. This many brackets makes it pretty
> hard to read.
> We could say something like
> postgresql://[userspec@][hostspec][/dbname][?paramspec]
> where
> userspec is user[:password]
> hostspec is [[host][:port]][,...]
> paramspec is param1=value1&...
+1. I think you could lose the outer brackets in hostspec in
this formulation, ie given that hostspec is already bracketed
above, it should be enough to write
hostspec is [host][:port][,...]
Also, the paramspec is under-bracketed today. Should be
more like
paramspec is param=value[&...]
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 14:57 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-26 14:57 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
Hi Tom,
> On 26. Feb, 2021, at 15:51, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> +1. I think you could lose the outer brackets in hostspec in
> this formulation, ie given that hostspec is already bracketed
> above, it should be enough to write
>
> hostspec is [host][:port][,...]
>
> Also, the paramspec is under-bracketed today. Should be
> more like
>
> paramspec is param=value[&...]
if you remove the outer brackets of host spec, then that means that only the port may be repeated. The repeat is always meant to refer to its immediate preceding argument. The outer brackets make sure that it refers to either of both host *and* port.
This is exactly what I was initially confused about. So I consider the outer brackets essential for that.
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 15:20 Alvaro Herrera <alvherre@alvh.no-ip.org>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Alvaro Herrera @ 2021-02-26 15:20 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-general list <pgsql-general@lists.postgresql.org>
On 2021-Feb-26, Paul Förster wrote:
> Hi Tom,
>
> > On 26. Feb, 2021, at 15:51, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >
> > +1. I think you could lose the outer brackets in hostspec in
> > this formulation, ie given that hostspec is already bracketed
> > above, it should be enough to write
> >
> > hostspec is [host][:port][,...]
>
> if you remove the outer brackets of host spec, then that means that
> only the port may be repeated. The repeat is always meant to refer to
> its immediate preceding argument. The outer brackets make sure that it
> refers to either of both host *and* port.
I think an easier fix is to move the repeat to the main line, i.e., make
it "hostspec[,...]" and then hostspec is only [host][:port].
> > Also, the paramspec is under-bracketed today. Should be
> > more like
> >
> > paramspec is param=value[&...]
True.
--
Álvaro Herrera Valdivia, Chile
"Estoy de acuerdo contigo en que la verdad absoluta no existe...
El problema es que la mentira sí existe y tu estás mintiendo" (G. Lama)
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 16:13 Tom Lane <tgl@sss.pgh.pa.us>
parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
0 siblings, 2 replies; 18+ messages in thread
From: Tom Lane @ 2021-02-26 16:13 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: Paul Förster <paul.foerster@gmail.com>; pgsql-general list <pgsql-general@lists.postgresql.org>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2021-Feb-26, Paul Förster wrote:
>> if you remove the outer brackets of host spec, then that means that
>> only the port may be repeated. The repeat is always meant to refer to
>> its immediate preceding argument. The outer brackets make sure that it
>> refers to either of both host *and* port.
> I think an easier fix is to move the repeat to the main line, i.e., make
> it "hostspec[,...]" and then hostspec is only [host][:port].
WFM. Who's going to write the patch? (I can, but if one of you
wants to, be my guest.)
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 16:21 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 18+ messages in thread
From: Paul Förster @ 2021-02-26 16:21 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
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.)
I don't know how to write a patch. Is there any documentation about that?
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 18:02 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-26 18:02 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
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&...]
+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">
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 19:03 Paul Förster <paul.foerster@gmail.com>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Paul Förster @ 2021-02-26 19:03 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
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">
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-26 20:29 Tom Lane <tgl@sss.pgh.pa.us>
parent: Paul Förster <paul.foerster@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2021-02-26 20:29 UTC (permalink / raw)
To: Paul Förster <paul.foerster@gmail.com>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
> sorry, I just realized I used a redundant @ character. So here's the corrected version.
Actually we need a patch against the SGML sources, not the generated
files. I took this and marked it up into SGML, and (as usual when
looking at this text, it seems) failed to resist the temptation to
do some nearby copy-editing too. Pushed at
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=4e90052c46c7751779ed83627676ed5e7...
BTW, I ended up leaving out the extra brackets in the hostspec.
I do not buy the argument that those are needed to clarify what
you can repeat; I think they add confusion not clarity. Besides,
the adjacent text and examples make this quite clear.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: PostgreSQL URI
@ 2021-02-27 08:27 Paul Förster <paul.foerster@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 18+ messages in thread
From: Paul Förster @ 2021-02-27 08:27 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>; pgsql-general list <pgsql-general@lists.postgresql.org>
Hi Tom,
> On 26. Feb, 2021, at 21:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Actually we need a patch against the SGML sources, not the generated
> files.
I didn't know this, sorry. I'm not a developer. :-)
> I took this and marked it up into SGML, and (as usual when
> looking at this text, it seems) failed to resist the temptation to
> do some nearby copy-editing too. Pushed at
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=4e90052c46c7751779ed83627676ed5e7...
thanks very much.
> BTW, I ended up leaving out the extra brackets in the hostspec.
> I do not buy the argument that those are needed to clarify what
> you can repeat; I think they add confusion not clarity. Besides,
> the adjacent text and examples make this quite clear.
ok, you have the final word. I just made a suggestion.
Cheers,
Paul
^ permalink raw reply [nested|flat] 18+ messages in thread
end of thread, other threads:[~2021-02-27 08:27 UTC | newest]
Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 14:45 PostgreSQL URI Paul Förster <paul.foerster@gmail.com>
2021-02-25 15:09 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-25 15:14 ` Paul Förster <paul.foerster@gmail.com>
2021-02-25 15:22 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-25 15:24 ` Paul Förster <paul.foerster@gmail.com>
2021-02-25 15:43 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-25 15:59 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 14:30 ` Alvaro Herrera <alvherre@alvh.no-ip.org>
2021-02-26 14:47 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 14:51 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-26 14:57 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 15:20 ` Alvaro Herrera <alvherre@alvh.no-ip.org>
2021-02-26 16:13 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-26 16:21 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 18:02 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 19:03 ` Paul Förster <paul.foerster@gmail.com>
2021-02-26 20:29 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-02-27 08:27 ` Paul Förster <paul.foerster@gmail.com>
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