Skip to content

Commit 6e647ef

Browse files
committed
Remove debug messages from tuplesort_sort_memtuples()
These were of value only during development. Reported by Justin Pryzby Discussion: https://www.postgresql.org/message-id/20220519201254.GU19626%40telsasoft.com
1 parent 7fdbdf2 commit 6e647ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/backend/utils/sort/tuplesort.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3664,7 +3664,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
36643664
{
36653665
if (state->sortKeys[0].comparator == ssup_datum_unsigned_cmp)
36663666
{
3667-
elog(DEBUG1, "qsort_tuple_unsigned");
36683667
qsort_tuple_unsigned(state->memtuples,
36693668
state->memtupcount,
36703669
state);
@@ -3673,7 +3672,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
36733672
#if SIZEOF_DATUM >= 8
36743673
else if (state->sortKeys[0].comparator == ssup_datum_signed_cmp)
36753674
{
3676-
elog(DEBUG1, "qsort_tuple_signed");
36773675
qsort_tuple_signed(state->memtuples,
36783676
state->memtupcount,
36793677
state);
@@ -3682,7 +3680,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
36823680
#endif
36833681
else if (state->sortKeys[0].comparator == ssup_datum_int32_cmp)
36843682
{
3685-
elog(DEBUG1, "qsort_tuple_int32");
36863683
qsort_tuple_int32(state->memtuples,
36873684
state->memtupcount,
36883685
state);
@@ -3693,13 +3690,11 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
36933690
/* Can we use the single-key sort function? */
36943691
if (state->onlyKey != NULL)
36953692
{
3696-
elog(DEBUG1, "qsort_ssup");
36973693
qsort_ssup(state->memtuples, state->memtupcount,
36983694
state->onlyKey);
36993695
}
37003696
else
37013697
{
3702-
elog(DEBUG1, "qsort_tuple");
37033698
qsort_tuple(state->memtuples,
37043699
state->memtupcount,
37053700
state->comparetup,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy