Re: BUG #16666: Slight memory leak when running pg_ctl reload

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #16666: Slight memory leak when running pg_ctl reload
Дата
Msg-id 20201012141938.GB24889@momjian.us
обсуждение исходный текст
Ответ на BUG #16666: Slight memory leak when running pg_ctl reload  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #16666: Slight memory leak when running pg_ctl reload  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Mon, Oct 12, 2020 at 01:32:13PM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      16666
> Logged by:          BoChen
> Email address:      bchen90@163.com
> PostgreSQL version: 11.8
> Operating system:   SUSE Linux Enterprise Server 11 (x86_64)
> Description:        
> 
> I found slighting memory leakage occured when running pg_ctl reload command
> for the following code segment(guc.c:6726-6740). When runing 'pg_ctl
> reload', for these string type PGC_POSTMASTER GUC variables like
> 'unix_socket_directories', the following code segment will leak newval's
> memery.

Uh, you are saying pg_ctl leaks memory or the database server leaks
memory?  I don't see any memory allocation in the code you posted.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16666: Slight memory leak when running pg_ctl reload