Thread: pgsql: Remove TRACE_SORT macro

pgsql: Remove TRACE_SORT macro

From
Peter Eisentraut
Date:
Remove TRACE_SORT macro

The TRACE_SORT macro guarded the availability of the trace_sort GUC
setting.  But it has been enabled by default ever since it was
introduced in PostgreSQL 8.1, and there have been no reports that
someone wanted to disable it.  So just remove the macro to simplify
things.  (For the avoidance of doubt: The trace_sort GUC is still
there.  This only removes the rarely-used macro guarding it.)

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/flat/be5f7162-7c1d-44e3-9a78-74dcaa6529f2%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c8e2d422fd556292ab751392bf76f713fe9e9fc1

Modified Files
--------------
doc/src/sgml/config.sgml                   |  3 ---
src/backend/utils/adt/mac.c                |  6 -----
src/backend/utils/adt/network.c            |  6 -----
src/backend/utils/adt/numeric.c            |  6 -----
src/backend/utils/adt/uuid.c               |  6 -----
src/backend/utils/adt/varlena.c            |  4 ---
src/backend/utils/misc/guc_tables.c        |  2 --
src/backend/utils/sort/tuplesort.c         | 39 ------------------------------
src/backend/utils/sort/tuplesortvariants.c | 14 -----------
src/include/pg_config_manual.h             |  6 -----
src/include/utils/guc.h                    |  3 ---
11 files changed, 95 deletions(-)