| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [PATCH] Fix compilation of nodeMergejoin.c with EXEC_MERGEJOINDEBUG |
| Date: | 2026-08-16 06:56:03 |
| Message-ID: | aoFfAvp6xdk7Cdi6@paquier.xyz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Aug 16, 2026 at 03:27:43PM +0900, Tatsuya Kawata wrote:
> debugtup() is declared in access/printtup.h, but execdebug.h includes
> only executor/executor.h and nodes/print.h. The attached one-line patch
> adds it.
>
> As for back-patching, I think master alone is enough since this is
> debug-only code, but I don't have a strong opinion.
The oldest version of the tree I have around is v11, and if I enable
EXEC_MERGEJOINDEBUG I get the exact same failure. This means that
this has been unnoticed for at least 10 years.
So question time: Is this debugging code still relevant and wouldn't
it be better to just remove it? It looks pretty clear to me that
nobody is using this #define at all, or this failure would have been
noticed a long time ago.
Note that an all-time search of EXEC_MERGEJOINDEBUG on pgsql-hackers
and pgsql-bugs points only at this thread.
--
Michael
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-08-16 06:57:25 | Re: psql \d+ shows "Replica Identity: ???" for REPLICA IDENTITY NOTHING |
| Previous Message | Michael Paquier | 2026-08-16 06:45:08 | Re: [BUG] hstore integer overflow when constructing large values |