Cleanup explain_memoize function after test

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Cleanup explain_memoize function after test
Date: 2026-04-22 06:49:32
Message-ID: CALdSSPij9tx019ZzR+VVj7cEEd7HL4-SPiu+YKx66n9-rVPkUg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

I was doing some hacking today, when I noticed that the memoize
regression test does not clean up the explain_memoize function after
its end. I checked other regression tests and they tend to do it. So,
I am not sure if there is a rule about `you should drop all objects
that you create in regression test`, but if there is such a rule, PFA.

--
Best regards,
Kirill Reshke

Attachment Content-Type Size
v1-0001-Cleanup-explain_memoize-after-resgression-test.patch application/octet-stream 721 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-04-22 07:04:16 Re: Re: pg_test_timing: fix unit typo and widen diff type
Previous Message Chao Li 2026-04-22 06:45:29 Re: Fix memory leak in postmasterMain