pgsql: Remove unused code from tuplesort. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Remove unused code from tuplesort.
Date
Msg-id E1iV2hM-0004em-59@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove unused code from tuplesort.

copytup_index() is unused, as tuplesort_putindextuplevalues() doesn't
use COPYTUP(). Replace function body with an elog(ERROR), as already
done e.g. for copytup_datum().

Author: Andres Freund
Discussion: https://postgr.es/m/20191013144153.ooxrfglvnaocsrx2@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d962eaf50c093b4bb1d35a7b495d416a67b40e2

Modified Files
--------------
src/backend/utils/sort/tuplesort.c | 63 ++------------------------------------
1 file changed, 2 insertions(+), 61 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add missing check_collation_set call to bpcharne().
Next
From: Andres Freund
Date:
Subject: pgsql: Fix plan instability in the new tuplesort test.