Re: [HACKERS] Error: dsa_area could not attach to a segment that has been freed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Error: dsa_area could not attach to a segment that has been freed
Дата
Msg-id 5111.1505914630@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Error: dsa_area could not attach to a segment that hasbeen freed  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Craig Ringer <craig@2ndquadrant.com> writes:
> On 20 September 2017 at 16:55, Thomas Munro <thomas.munro@enterprisedb.com>
> wrote:
>> There is a kind of garbage collection for palloc'd memory and
>> also for other resources like file handles, but if you're using a big
>> long lived DSA area you have nothing like that.

> We need, IMO, a DSA-backed heirachical MemoryContext system.

Perhaps the ResourceManager subsystem would help here.
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] [PATCH] Generic type subscripting
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] SCRAM in the PG 10 release notes