Re: {heap,minimal}_expand_tuple() are unused

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: {heap,minimal}_expand_tuple() are unused
Date: 2026-08-07 19:35:16
Message-ID: 1567000.1786131316@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
>> Both heap_expand_tuple() and minimal_expand_tuple() being unused, make
>> expand_tuple() unused in turn.
>> I think we probably ought to remove all three in 20? I didn't find external
>> callers. It's nontrivial enough code that I don't think we should keep it
>> around just because somebody might be using it.

... BTW, upon looking at the code coverage report to confirm these
are unused, I noticed that the adjacent heap_copytuple_with_tuple is
also unreferenced.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-08-07 19:42:56 Re: Fix detection of truncated zstd-compressed backups
Previous Message Tom Lane 2026-08-07 19:28:10 Re: {heap,minimal}_expand_tuple() are unused