Re: dblink generates orphaned connections

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: dblink generates orphaned connections
Дата
Msg-id 4AAC2D38.4020306@joeconway.com
обсуждение исходный текст
Ответ на dblink generates orphaned connections  (Tatsuhito Kasahara <kasahara.tatsuhito@oss.ntt.co.jp>)
Список pgsql-bugs
Tatsuhito Kasahara wrote:
> dblink generates orphaned connections when we failed on performing dblink=
() function.
> # But it occurs only when dblink('conn_str', 'sql', true). See following =
examples.

> I think that the dblink should not ereport() before PQfinish(conn) in
> dblink_record_internal() when we use temporary connection.

Thanks for the report. Patch applied to HEAD and 8.4 branch. Problem
introduced in 8.4

Joe

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