Re: Mail thread references in commits

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mail thread references in commits
Дата
Msg-id 1614.1479503178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Mail thread references in commits  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Mail thread references in commits
Re: Mail thread references in commits
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [RFC] Should we fix postmaster to avoid slow shutdown?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Fun fact about autovacuum and orphan temp tables