Re: Why our Valgrind reports suck

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Richard Guo <guofenglinux(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Why our Valgrind reports suck
Date: 2026-06-10 20:53:31
Message-ID: 1475457.1781124811@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Hah, nice one. Apparently the "detach the queue" path in
> mq_putmessage() has never ever been tested, because it
> contains a double pfree, and this fixes it:

or, actually, the bug's not so old: apparently I broke it in
e78d1d6d4. Where's my brown paper bag?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-06-10 20:54:15 Re: Support EXCEPT for TABLES IN SCHEMA publications
Previous Message Zsolt Parragi 2026-06-10 20:43:41 Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements