pgsql: Remove TRACE_SORT macro

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove TRACE_SORT macro
Date: 2024-08-14 06:12:38
Message-ID: E1se7FO-0045ef-Br@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)iki(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-14 09:49:50 pgsql: Apply PGDLLIMPORT markings to some GUC variables
Previous Message Thomas Munro 2024-08-14 03:06:20 pgsql: Harmonize MinGW CODESET lookup with MSVC.