mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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
This commit is contained in:
@ -3664,7 +3664,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
|
|||||||
{
|
{
|
||||||
if (state->sortKeys[0].comparator == ssup_datum_unsigned_cmp)
|
if (state->sortKeys[0].comparator == ssup_datum_unsigned_cmp)
|
||||||
{
|
{
|
||||||
elog(DEBUG1, "qsort_tuple_unsigned");
|
|
||||||
qsort_tuple_unsigned(state->memtuples,
|
qsort_tuple_unsigned(state->memtuples,
|
||||||
state->memtupcount,
|
state->memtupcount,
|
||||||
state);
|
state);
|
||||||
@ -3673,7 +3672,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
|
|||||||
#if SIZEOF_DATUM >= 8
|
#if SIZEOF_DATUM >= 8
|
||||||
else if (state->sortKeys[0].comparator == ssup_datum_signed_cmp)
|
else if (state->sortKeys[0].comparator == ssup_datum_signed_cmp)
|
||||||
{
|
{
|
||||||
elog(DEBUG1, "qsort_tuple_signed");
|
|
||||||
qsort_tuple_signed(state->memtuples,
|
qsort_tuple_signed(state->memtuples,
|
||||||
state->memtupcount,
|
state->memtupcount,
|
||||||
state);
|
state);
|
||||||
@ -3682,7 +3680,6 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
|
|||||||
#endif
|
#endif
|
||||||
else if (state->sortKeys[0].comparator == ssup_datum_int32_cmp)
|
else if (state->sortKeys[0].comparator == ssup_datum_int32_cmp)
|
||||||
{
|
{
|
||||||
elog(DEBUG1, "qsort_tuple_int32");
|
|
||||||
qsort_tuple_int32(state->memtuples,
|
qsort_tuple_int32(state->memtuples,
|
||||||
state->memtupcount,
|
state->memtupcount,
|
||||||
state);
|
state);
|
||||||
@ -3693,13 +3690,11 @@ tuplesort_sort_memtuples(Tuplesortstate *state)
|
|||||||
/* Can we use the single-key sort function? */
|
/* Can we use the single-key sort function? */
|
||||||
if (state->onlyKey != NULL)
|
if (state->onlyKey != NULL)
|
||||||
{
|
{
|
||||||
elog(DEBUG1, "qsort_ssup");
|
|
||||||
qsort_ssup(state->memtuples, state->memtupcount,
|
qsort_ssup(state->memtuples, state->memtupcount,
|
||||||
state->onlyKey);
|
state->onlyKey);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
elog(DEBUG1, "qsort_tuple");
|
|
||||||
qsort_tuple(state->memtuples,
|
qsort_tuple(state->memtuples,
|
||||||
state->memtupcount,
|
state->memtupcount,
|
||||||
state->comparetup,
|
state->comparetup,
|
||||||
|
Reference in New Issue
Block a user