Re: BUG #18960: Mistake in test test_simple_pipeline (libpq_pipeline.c)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitry Kovalenko <d(dot)kovalenko(at)postgrespro(dot)ru>
Cc: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18960: Mistake in test test_simple_pipeline (libpq_pipeline.c)
Date: 2025-06-21 21:46:18
Message-ID: 2831375.1750542378@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dmitry Kovalenko <d(dot)kovalenko(at)postgrespro(dot)ru> writes:
> As I understand, you have leaks of 'res' when (PQresultStatus(res) !=
> status)

I don't think we really care about leaks when pg_fatal is called.
(If we do, there are a lot of others to worry about.)

> I spent the some time to fix a leaks in tests and PG itself here:
> https://github.com/dmitry-lipetsk/postgres/commits/D20250617_001-pg_master/

Ah, I did not know you were working on this. Perhaps you can merge
what we've done.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message vignesh C 2025-06-22 02:57:49 Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5
Previous Message Dmitry Kovalenko 2025-06-21 20:42:42 Re: BUG #18960: Mistake in test test_simple_pipeline (libpq_pipeline.c)