Re: Mail thread references in commits - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Mail thread references in commits
Date
Msg-id 1614.1479503178@sss.pgh.pa.us
Whole thread Raw
In response to Re: Mail thread references in commits  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Mail thread references in commits  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Mail thread references in commits  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Nov 17, 2016 at 10:43 PM, Joshua Drake <jd@commandprompt.com> wrote:
>> Why not hash the URL? Something like:
>> Http://postgresopen.org/archive/743257890976432

> I suggested that upthread...

Don't like the hashing idea because that would be useless for searching,
eg, one's own local mail archives.  Also, if you are looking at a message
in your own mail store when composing a commit message (which I generally
am, don't know about other committers) how are you going to get the hash?
I think it's important to have the message-ID in cleartext.

AFAICS the proposal here is to go from, eg,

Discussion: <CAF4Au4w6rrH_j1bvVhzpOsRiHCog7sGJ3LSX0tY8ZdwhHT88LQ@mail.gmail.com>

to

Discussion: https://www.postgresql.org/message-id/CAF4Au4w6rrH_j1bvVhzpOsRiHCog7sGJ3LSX0tY8ZdwhHT88LQ@mail.gmail.com

which is annoying, but the line was overlength already.  Maybe we could
drop the Discussion: prefix and just write a URL:

https://www.postgresql.org/message-id/CAF4Au4w6rrH_j1bvVhzpOsRiHCog7sGJ3LSX0tY8ZdwhHT88LQ@mail.gmail.com

That's still overlength for gmail message-IDs, though, so I'm not sure
it's worth losing the label for.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [RFC] Should we fix postmaster to avoid slow shutdown?
Next
From: Robert Haas
Date:
Subject: Re: Fun fact about autovacuum and orphan temp tables