Re: BUG #16466: Valgrind detects an invalid read in dblink_open()with a cursor inside a transaction

Поиск
Список
Период
Сортировка
От Alexander Lakhin
Тема Re: BUG #16466: Valgrind detects an invalid read in dblink_open()with a cursor inside a transaction
Дата
Msg-id fb147109-0512-8dc7-5e29-7b4b89ed246e@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #16466: Valgrind detects an invalid read in dblink_open()with a cursor inside a transaction  (Joe Conway <mail@joeconway.com>)
Ответы Re: BUG #16466: Valgrind detects an invalid read in dblink_open()with a cursor inside a transaction
Список pgsql-bugs
Hello Joe,

27.05.2020 22:58, Joe Conway wrote:
> Hmmm, looks like a couple of the members of rconn are left uninitialized.
>
> When dblink_open() is called *without* an outer transaction it handles the
> initialization for us, but *with* an outer transaction it does not :-(
>
> I think the attached fixes it.
Yes, your patch makes valgrind silent.
Thanks!

Best regards,
Alexander



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: BUG #16466: Valgrind detects an invalid read in dblink_open()with a cursor inside a transaction
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16467: XX000 fun