Re: pgsql: Remove inappropriate memory context switch in

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: pgsql: Remove inappropriate memory context switch in
Дата
Msg-id b4e5ce320811301303w4d1878fch50431c8fa3aecf25@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Remove inappropriate memory context switch in  (tgl@postgresql.org (Tom Lane))
Ответы Re: pgsql: Remove inappropriate memory context switch in
Список pgsql-committers
On Sun, Nov 30, 2008 at 10:49 AM, Tom Lane <tgl@postgresql.org> wrote:
> Remove inappropriate memory context switch in shutdown_MultiFuncCall().
> This was a thinko introduced in a patch from last February; it results
> in memory leakage if an SRF is shut down before the actual end of query,
> because subsequent code will be running in a longer-lived context than
> it's expecting to be.

I added that context switch for a reason:

http://archives.postgresql.org/pgsql-patches/2008-02/msg00153.php

Presumably that's why the build farm is crashing on dblink.

Neil

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Clean up the API for DestReceiver objects by eliminating the
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Remove inappropriate memory context switch in