Re: [bug] relcache leaks in get_object_address

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [bug] relcache leaks in get_object_address
Дата
Msg-id CA+TgmoZ30Cr-s02h97vz=8v+vj-FdTtWu6hOAyzBe3w-YopwvA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [bug] relcache leaks in get_object_address  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
On Thu, Oct 13, 2011 at 12:27 PM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote:
> The attached patch fixes this problem.
> Unfortunately, we have no code that invokes get_object_address()
> with missing_ok = true now, so please apply a couple of patches
> to rework DROP statement of mine.
>
> DROP TRIGGER no_such_trigger ON existing_table;
>
> shall cause a relcache reference leaks, without this patch.

We could argue that that's a bug in your drop reworks rather than the
existing code, but I'm willing to go along with this approach, so,
committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: patch for new feature: Buffer Cache Hibernation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Isolation tests still falling over routinely