From: | "Amir Rohan" <amir(dot)rohan(at)mail(dot)com> |
---|---|
To: | magnus(at)hagander(dot)net |
Cc: | "Andres Freund" <andres(at)anarazel(dot)de>, "PostgreSQL www" <pgsql-www(at)postgresql(dot)org>, "Stephen Frost" <sfrost(at)snowman(dot)net>, "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com> |
Subject: | Re: No easy way to join discussion in existing thread when not subscribed |
Date: | 2015-09-29 16:18:25 |
Message-ID: | trinity-88479eaf-7a2d-4feb-9aa2-b3d331d6e314-1443543505225@3capp-mailcom-lxa06 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On 09/29/2015 06:51 PM, Amir Rohan wrote:
> Magnus,
>
> Please, see attached patch adding a "whole thread[as mbox] link"
> to pgarchives, by popular request upthread.
>
> It checks hiddenstatus, but does materialize the entire raw thread
> in memory (including attachments) to form the response, which
> is unbounded in principle and can be sizable in practice.
>
> Perhaps django can do streaming requests, so we can bound
> the memory usage + timeout. It's been a while.
>
> If you'd like changes (hard limits, strip attachments, etc'),
> do let me know.
>
Too quickly sent. Cleaned debugging noise and avoided unicode issues by
keeping things as bytes.
Amir
Attachment | Content-Type | Size |
---|---|---|
20150929.pgarchives.add_thread_mbox_dl_amir_v2.patch | text/x-patch | 4.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2015-09-29 17:32:19 | Re: No easy way to join discussion in existing thread when not subscribed |
Previous Message | Amir Rohan | 2015-09-29 15:51:02 | Re: No easy way to join discussion in existing thread when not subscribed |