tuplesort.c's copytup_index() is dead code - Mailing list pgsql-hackers

From Peter Geoghegan
Subject tuplesort.c's copytup_index() is dead code
Date
Msg-id CAM3SWZRcG5a3bLs1eUtBixE-D2ydvUJ0WJa+qfDJiqr=mwTswg@mail.gmail.com
Whole thread Raw
Responses Re: tuplesort.c's copytup_index() is dead code  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Commit 9f03ca915 removed the only COPYTUP() call that could reach
copytup_index() in practice, making copytup_index() dead code.

The attached patch removes this dead code, in line with the existing
copytup_datum() case, where tuplesort.c also doesn't directly support
COPYTUP() (due to similar considerations around memory management).

--
Peter Geoghegan

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Reviewing freeze map code
Next
From: "Joshua D. Drake"
Date:
Subject: Odd behavior with domains