pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Greg Stark <stark@mit.edu>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Add PostgreSQL home page to --help output
Date: Fri, 28 Feb 2020 14:02:17 +0100
Message-ID: <f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.com> (raw)
In-Reply-To: <56411288-E89A-418F-A228-153EB5C0F050@yesql.se>
References: <8d389c5f-7fb5-8e48-9a4a-68cec44786fa@2ndquadrant.com>
	<CAM-w4HMDdBLk4jaj6jugOV7OUT8W6=VJR2yeARJV4ysoQYRiMA@mail.gmail.com>
	<1622cf7f-af95-9096-23cd-52e15ce16bb6@2ndquadrant.com>
	<04D6B17B-5EE8-4889-AD2A-68C0F62F2B05@yesql.se>
	<56411288-E89A-418F-A228-153EB5C0F050@yesql.se>

On 2020-02-20 12:09, Daniel Gustafsson wrote:
>> On 20 Feb 2020, at 10:53, Daniel Gustafsson <daniel@yesql.se> wrote:
>>
>>> On 20 Feb 2020, at 10:15, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
>>>
>>> On 2020-02-13 14:24, Greg Stark wrote:
>>>> Sounds like a fine idea. But personally I would prefer it without the <> around the it, just a url on a line by itself. I think it would be clearer, look cleaner, and be easier to select to copy/paste elsewhere.
>>>
>>> I'm on the fence about this one, but I like the delimiters because it would also work consistently if we put a URL into running text where it might be immediately adjacent to other characters.  So I was actually going for easier to copy/paste here, but perhaps in other environments it's not easier?
>>
>> For URLs completely on their own, not using <> makes sense.  Copy pasting <url>
>> into the location bar of Safari makes it load the url, but Firefox and Chrome
>> turn it into a search engine query (no idea about Windows browsers).
>>
>> For URLs in running text it's not uncommon to have <> around the URL for the
>> very reason you mention.  Looking at --help and manpages from random open
>> source tools there seems to be roughly a 50/50 split on using <> or not.
> 
> RFC3986 discuss this in <https://tools.ietf.org/html/rfc3986#appendix-C;, with
> the content mostly carried over from RFC2396 appendix E.

I think we weren't going to get any more insights here, so I have 
committed it as is.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (15+ messages)  latest in thread

Message-ID: <f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.com>
Permalink:  ../f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.com/
Also on:    postgresql.org/message-id/f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.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-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, daniel@yesql.se, stark@mit.edu
  Subject: Re: Add PostgreSQL home page to --help output
  In-Reply-To: <f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.com>
  References: <8d389c5f-7fb5-8e48-9a4a-68cec44786fa@2ndquadrant.com> <CAM-w4HMDdBLk4jaj6jugOV7OUT8W6=VJR2yeARJV4ysoQYRiMA@mail.gmail.com> <1622cf7f-af95-9096-23cd-52e15ce16bb6@2ndquadrant.com> <04D6B17B-5EE8-4889-AD2A-68C0F62F2B05@yesql.se> <56411288-E89A-418F-A228-153EB5C0F050@yesql.se> <f68f2a93-c98a-4a7e-818b-39cf77e7d4da@2ndquadrant.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