psql memory leaks

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема psql memory leaks
Дата
Msg-id 20230221.115555.89096938631423206.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответы Re: psql memory leaks  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
I noticed that \bind is leaking memory for each option.

=# SELECT $1, $2, $3 \ bind 1 2 3 \g

The leaked memory blocks are comming from
psql_scan_slash_option(). The attached small patch resolves that
issue.  I looked through the function's call sites, but I didn't find
the same mistake.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: psql \watch 2nd argument: iteration count
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Add WAL read stats to pg_stat_wal