pgsql: Remove unused code from tuplesort.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused code from tuplesort.
Date: 2019-11-14 00:09:20
Message-ID: E1iV2hM-0004em-59@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-11-14 00:39:10 pgsql: Fix plan instability in the new tuplesort test.
Previous Message Tom Lane 2019-11-13 20:54:01 pgsql: Add missing check_collation_set call to bpcharne().