pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Kovalenko <d.kovalenko@postgrespro.ru>
Cc: Álvaro Herrera <alvherre@kurilemu.de>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18960: Mistake in test test_simple_pipeline (libpq_pipeline.c)
Date: Sat, 21 Jun 2025 17:46:18 -0400
Message-ID: <2831375.1750542378@sss.pgh.pa.us> (raw)
In-Reply-To: <5ff4b743-b9ab-4406-92db-d6e00be2b301@postgrespro.ru>
References: <18960-09cd4a5100152e58@postgresql.org>
	<1181606.1750280943@sss.pgh.pa.us>
	<2790652.1750536063@sss.pgh.pa.us>
	<5ff4b743-b9ab-4406-92db-d6e00be2b301@postgrespro.ru>

Dmitry Kovalenko <d.kovalenko@postgrespro.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





view thread (9+ messages)  latest in thread

Message-ID: <2831375.1750542378@sss.pgh.pa.us>
Permalink:  ../2831375.1750542378@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2831375.1750542378@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, d.kovalenko@postgrespro.ru, alvherre@kurilemu.de, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18960: Mistake in test test_simple_pipeline (libpq_pipeline.c)
  In-Reply-To: <2831375.1750542378@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox