From: | Denis Laxalde <denis(dot)laxalde(at)dalibo(dot)com> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [PATCH pglister] Add Archived-At header to delivered messages |
Date: | 2021-02-22 15:54:26 |
Message-ID: | be04931b-4504-05ff-639d-6e8158f980de@dalibo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hi,
Magnus Hagander a écrit :
> On Fri, Jan 29, 2021 at 4:38 PM Denis Laxalde <denis(dot)laxalde(at)dalibo(dot)com> wrote:
>> Notes:
>> To build the link, I used the urlpattern field from archive_server table
>> and replace '/list/' by '/message-id/':
>>
>> https://www.postgresql.org/list/% -> https://www.postgresql.org/message-id/
>>
>> The urlpattern field is now retrieved in 'mailinglists' view, hence the
>> migration.
>>
>> That's not very elegant, but I did not find a better way to achieve this.
>> Perhaps adding a 'messageidpattern' column to 'lists_archiveserver' table
>> would be better? Or maybe I missed something?
>
> There is already a field called "mailurlpattern" that links to the
> individual message. Was there a particular reason you couldn't use
> that one, or did you just miss that it existed?
I just missed that it existed; thanks for pointing that out.
Please find attached an updated version of the patch.
Denis
Attachment | Content-Type | Size |
---|---|---|
0001-Add-Archived-At-header-to-delivered-messages.patch | text/x-patch | 6.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2021-02-26 23:13:23 | Re: Mailing list archives – design ideas |
Previous Message | Magnus Hagander | 2021-02-22 12:21:22 | Re: [PATCH pglister] Add Archived-At header to delivered messages |